OSDN Git Service

* configure.ac: Do not check for gconv.h.
[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 glibcxx_thread_h WERROR SECTION_FLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_C_GLOBAL_TRUE GLIBCXX_C_HEADERS_C_GLOBAL_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE GLIBCXX_C_HEADERS_EXTRA_TRUE GLIBCXX_C_HEADERS_EXTRA_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE ENABLE_PARALLEL_TRUE ENABLE_PARALLEL_FALSE EXTRA_CXX_FLAGS 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         # differences in whitespace do not lead to failure.
1480         ac_old_val_w=`echo x $ac_old_val`
1481         ac_new_val_w=`echo x $ac_new_val`
1482         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1483           { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1484 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1485           ac_cache_corrupted=:
1486         else
1487           { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1488 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1489           eval $ac_var=\$ac_old_val
1490         fi
1491         { echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1492 echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1493         { echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1494 echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1495       fi;;
1496   esac
1497   # Pass precious variables to config.status.
1498   if test "$ac_new_set" = set; then
1499     case $ac_new_val in
1500     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1501       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1502     *) ac_arg=$ac_var=$ac_new_val ;;
1503     esac
1504     case " $ac_configure_args " in
1505       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1506       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1507     esac
1508   fi
1509 done
1510 if $ac_cache_corrupted; then
1511   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1512 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1513   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1514 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1515    { (exit 1); exit 1; }; }
1516 fi
1517
1518 ac_ext=c
1519 ac_cpp='$CPP $CPPFLAGS'
1520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551           ac_config_headers="$ac_config_headers config.h"
1552
1553
1554 # This works around the fact that libtool configuration may change LD
1555 # for this particular configuration, but some shells, instead of
1556 # keeping the changes in LD private, export them just because LD is
1557 # exported.  Only used at the end of this file.
1558 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1559
1560 # For libtool versioning info, format is CURRENT:REVISION:AGE
1561 libtool_VERSION=6:11:0
1562
1563
1564 # Find the rest of the source tree framework.
1565 # Default to --enable-multilib
1566 # Check whether --enable-multilib or --disable-multilib was given.
1567 if test "${enable_multilib+set}" = set; then
1568   enableval="$enable_multilib"
1569   case "$enableval" in
1570   yes) multilib=yes ;;
1571   no)  multilib=no ;;
1572   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1573 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1574    { (exit 1); exit 1; }; } ;;
1575  esac
1576 else
1577   multilib=yes
1578 fi;
1579
1580 # We may get other options which we leave undocumented:
1581 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1582 # See config-ml.in if you want the gory details.
1583
1584 if test "$srcdir" = "."; then
1585   if test "$with_target_subdir" != "."; then
1586     multi_basedir="$srcdir/$with_multisrctop../.."
1587   else
1588     multi_basedir="$srcdir/$with_multisrctop.."
1589   fi
1590 else
1591   multi_basedir="$srcdir/.."
1592 fi
1593
1594
1595 # Even if the default multilib is not a cross compilation,
1596 # it may be that some of the other multilibs are.
1597 if test $cross_compiling = no && test $multilib = yes \
1598    && test "x${with_multisubdir}" != x ; then
1599    cross_compiling=maybe
1600 fi
1601
1602           ac_config_commands="$ac_config_commands default-1"
1603
1604
1605 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1606 #
1607 # You will slowly go insane if you do not grok the following fact:  when
1608 # building v3 as part of the compiler, the top-level /target/ becomes the
1609 # library's /host/.  configure then causes --target to default to --host,
1610 # exactly like any other package using autoconf.  Therefore, 'target' and
1611 # 'host' will always be the same.  This makes sense both for native and
1612 # cross compilers, just think about it for a little while.  :-)
1613 #
1614 # Also, if v3 is being configured as part of a cross compiler, the top-level
1615 # configure script will pass the "real" host as $with_cross_host.
1616 #
1617 # Do not delete or change the following two lines.  For why, see
1618 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1619 ac_aux_dir=
1620 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1621   if test -f $ac_dir/install-sh; then
1622     ac_aux_dir=$ac_dir
1623     ac_install_sh="$ac_aux_dir/install-sh -c"
1624     break
1625   elif test -f $ac_dir/install.sh; then
1626     ac_aux_dir=$ac_dir
1627     ac_install_sh="$ac_aux_dir/install.sh -c"
1628     break
1629   elif test -f $ac_dir/shtool; then
1630     ac_aux_dir=$ac_dir
1631     ac_install_sh="$ac_aux_dir/shtool install -c"
1632     break
1633   fi
1634 done
1635 if test -z "$ac_aux_dir"; then
1636   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1637 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1638    { (exit 1); exit 1; }; }
1639 fi
1640 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1641 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1642 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1643
1644 # Make sure we can run config.sub.
1645 $ac_config_sub sun4 >/dev/null 2>&1 ||
1646   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1647 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1648    { (exit 1); exit 1; }; }
1649
1650 echo "$as_me:$LINENO: checking build system type" >&5
1651 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1652 if test "${ac_cv_build+set}" = set; then
1653   echo $ECHO_N "(cached) $ECHO_C" >&6
1654 else
1655   ac_cv_build_alias=$build_alias
1656 test -z "$ac_cv_build_alias" &&
1657   ac_cv_build_alias=`$ac_config_guess`
1658 test -z "$ac_cv_build_alias" &&
1659   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1660 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1661    { (exit 1); exit 1; }; }
1662 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1663   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1664 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1665    { (exit 1); exit 1; }; }
1666
1667 fi
1668 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1669 echo "${ECHO_T}$ac_cv_build" >&6
1670 build=$ac_cv_build
1671 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1672 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1673 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1674
1675
1676 echo "$as_me:$LINENO: checking host system type" >&5
1677 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1678 if test "${ac_cv_host+set}" = set; then
1679   echo $ECHO_N "(cached) $ECHO_C" >&6
1680 else
1681   ac_cv_host_alias=$host_alias
1682 test -z "$ac_cv_host_alias" &&
1683   ac_cv_host_alias=$ac_cv_build_alias
1684 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1685   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1686 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1687    { (exit 1); exit 1; }; }
1688
1689 fi
1690 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1691 echo "${ECHO_T}$ac_cv_host" >&6
1692 host=$ac_cv_host
1693 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1694 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1695 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1696
1697
1698 echo "$as_me:$LINENO: checking target system type" >&5
1699 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1700 if test "${ac_cv_target+set}" = set; then
1701   echo $ECHO_N "(cached) $ECHO_C" >&6
1702 else
1703   ac_cv_target_alias=$target_alias
1704 test "x$ac_cv_target_alias" = "x" &&
1705   ac_cv_target_alias=$ac_cv_host_alias
1706 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1707   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1708 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1709    { (exit 1); exit 1; }; }
1710
1711 fi
1712 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1713 echo "${ECHO_T}$ac_cv_target" >&6
1714 target=$ac_cv_target
1715 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1716 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1717 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1718
1719
1720 # The aliases save the names the user supplied, while $host etc.
1721 # will get canonicalized.
1722 test -n "$target_alias" &&
1723   test "$program_prefix$program_suffix$program_transform_name" = \
1724     NONENONEs,x,x, &&
1725   program_prefix=${target_alias}-
1726 target_alias=${target_alias-$host_alias}
1727
1728 # Handy for debugging:
1729 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1730
1731 if test "$build" != "$host"; then
1732   # We are being configured with some form of cross compiler.
1733   GLIBCXX_IS_NATIVE=false
1734   case "$host","$target" in
1735     # Darwin crosses can use the host system's libraries and headers,
1736     # because of the fat library support.  Of course, it must be the
1737     # same version of Darwin on both sides.  Allow the user to
1738     # just say --target=foo-darwin without a version number to mean
1739     # "the version on this system".
1740       *-*-darwin*,*-*-darwin*)
1741         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1742         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1743         if test $hostos = $targetos -o $targetos = darwin ; then
1744           GLIBCXX_IS_NATIVE=true
1745         fi
1746         ;;
1747
1748       *)
1749
1750         ;;
1751   esac
1752 else
1753   GLIBCXX_IS_NATIVE=true
1754 fi
1755
1756 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1757 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1758 #  1.x:  minimum required version
1759 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1760 #              of other PACKAGE_* variables will, however, and there's nothing
1761 #              we can do about that; they come from AC_INIT).
1762 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1763 #            file in the top srcdir, etc, etc), so stop complaining.
1764 #  no-dependencies:  turns off auto dependency generation (just for now)
1765 #  -Wall:  turns on all automake warnings...
1766 #  -Wno-portability:  ...except this one, since GNU make is now required.
1767 am__api_version="1.9"
1768 # Find a good install program.  We prefer a C program (faster),
1769 # so one script is as good as another.  But avoid the broken or
1770 # incompatible versions:
1771 # SysV /etc/install, /usr/sbin/install
1772 # SunOS /usr/etc/install
1773 # IRIX /sbin/install
1774 # AIX /bin/install
1775 # AmigaOS /C/install, which installs bootblocks on floppy discs
1776 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1777 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1778 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1779 # OS/2's system install, which has a completely different semantic
1780 # ./install, which can be erroneously created by make from ./install.sh.
1781 # Reject install programs that cannot install multiple files.
1782 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1783 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1784 if test -z "$INSTALL"; then
1785 if test "${ac_cv_path_install+set}" = set; then
1786   echo $ECHO_N "(cached) $ECHO_C" >&6
1787 else
1788   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1789 for as_dir in $PATH
1790 do
1791   IFS=$as_save_IFS
1792   test -z "$as_dir" && as_dir=.
1793   # Account for people who put trailing slashes in PATH elements.
1794 case $as_dir/ in
1795   ./ | .// | /cC/* | \
1796   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1797   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1798   /usr/ucb/* ) ;;
1799   *)
1800     # OSF1 and SCO ODT 3.0 have their own names for install.
1801     # Don't use installbsd from OSF since it installs stuff as root
1802     # by default.
1803     for ac_prog in ginstall scoinst install; do
1804       for ac_exec_ext in '' $ac_executable_extensions; do
1805         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1806           if test $ac_prog = install &&
1807             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1808             # AIX install.  It has an incompatible calling convention.
1809             :
1810           elif test $ac_prog = install &&
1811             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1812             # program-specific install script used by HP pwplus--don't use.
1813             :
1814           else
1815             rm -rf conftest.one conftest.two conftest.dir
1816             echo one > conftest.one
1817             echo two > conftest.two
1818             mkdir conftest.dir
1819             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1820               test -s conftest.one && test -s conftest.two &&
1821               test -s conftest.dir/conftest.one &&
1822               test -s conftest.dir/conftest.two
1823             then
1824               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1825               break 3
1826             fi
1827           fi
1828         fi
1829       done
1830     done
1831     ;;
1832 esac
1833 done
1834
1835 rm -rf conftest.one conftest.two conftest.dir
1836
1837 fi
1838   if test "${ac_cv_path_install+set}" = set; then
1839     INSTALL=$ac_cv_path_install
1840   else
1841     # As a last resort, use the slow shell script.  Don't cache a
1842     # value for INSTALL within a source directory, because that will
1843     # break other packages using the cache if that directory is
1844     # removed, or if the value is a relative name.
1845     INSTALL=$ac_install_sh
1846   fi
1847 fi
1848 echo "$as_me:$LINENO: result: $INSTALL" >&5
1849 echo "${ECHO_T}$INSTALL" >&6
1850
1851 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1852 # It thinks the first close brace ends the variable substitution.
1853 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1854
1855 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1856
1857 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1858
1859 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1860 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1861 # Just in case
1862 sleep 1
1863 echo timestamp > conftest.file
1864 # Do `set' in a subshell so we don't clobber the current shell's
1865 # arguments.  Must try -L first in case configure is actually a
1866 # symlink; some systems play weird games with the mod time of symlinks
1867 # (eg FreeBSD returns the mod time of the symlink's containing
1868 # directory).
1869 if (
1870    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1871    if test "$*" = "X"; then
1872       # -L didn't work.
1873       set X `ls -t $srcdir/configure conftest.file`
1874    fi
1875    rm -f conftest.file
1876    if test "$*" != "X $srcdir/configure conftest.file" \
1877       && test "$*" != "X conftest.file $srcdir/configure"; then
1878
1879       # If neither matched, then we have a broken ls.  This can happen
1880       # if, for instance, CONFIG_SHELL is bash and it inherits a
1881       # broken ls alias from the environment.  This has actually
1882       # happened.  Such a system could not be considered "sane".
1883       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1884 alias in your environment" >&5
1885 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1886 alias in your environment" >&2;}
1887    { (exit 1); exit 1; }; }
1888    fi
1889
1890    test "$2" = conftest.file
1891    )
1892 then
1893    # Ok.
1894    :
1895 else
1896    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1897 Check your system clock" >&5
1898 echo "$as_me: error: newly created file is older than distributed files!
1899 Check your system clock" >&2;}
1900    { (exit 1); exit 1; }; }
1901 fi
1902 echo "$as_me:$LINENO: result: yes" >&5
1903 echo "${ECHO_T}yes" >&6
1904 test "$program_prefix" != NONE &&
1905   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1906 # Use a double $ so make ignores it.
1907 test "$program_suffix" != NONE &&
1908   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1909 # Double any \ or $.  echo might interpret backslashes.
1910 # By default was `s,x,x', remove it if useless.
1911 cat <<\_ACEOF >conftest.sed
1912 s/[\\$]/&&/g;s/;s,x,x,$//
1913 _ACEOF
1914 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1915 rm conftest.sed
1916
1917 # expand $ac_aux_dir to an absolute path
1918 am_aux_dir=`cd $ac_aux_dir && pwd`
1919
1920 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1921 # Use eval to expand $SHELL
1922 if eval "$MISSING --run true"; then
1923   am_missing_run="$MISSING --run "
1924 else
1925   am_missing_run=
1926   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1927 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1928 fi
1929
1930 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1931   # We used to keeping the `.' as first argument, in order to
1932   # allow $(mkdir_p) to be used without argument.  As in
1933   #   $(mkdir_p) $(somedir)
1934   # where $(somedir) is conditionally defined.  However this is wrong
1935   # for two reasons:
1936   #  1. if the package is installed by a user who cannot write `.'
1937   #     make install will fail,
1938   #  2. the above comment should most certainly read
1939   #     $(mkdir_p) $(DESTDIR)$(somedir)
1940   #     so it does not work when $(somedir) is undefined and
1941   #     $(DESTDIR) is not.
1942   #  To support the latter case, we have to write
1943   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1944   #  so the `.' trick is pointless.
1945   mkdir_p='mkdir -p --'
1946 else
1947   # On NextStep and OpenStep, the `mkdir' command does not
1948   # recognize any option.  It will interpret all options as
1949   # directories to create, and then abort because `.' already
1950   # exists.
1951   for d in ./-p ./--version;
1952   do
1953     test -d $d && rmdir $d
1954   done
1955   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1956   if test -f "$ac_aux_dir/mkinstalldirs"; then
1957     mkdir_p='$(mkinstalldirs)'
1958   else
1959     mkdir_p='$(install_sh) -d'
1960   fi
1961 fi
1962
1963 for ac_prog in gawk mawk nawk awk
1964 do
1965   # Extract the first word of "$ac_prog", so it can be a program name with args.
1966 set dummy $ac_prog; ac_word=$2
1967 echo "$as_me:$LINENO: checking for $ac_word" >&5
1968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1969 if test "${ac_cv_prog_AWK+set}" = set; then
1970   echo $ECHO_N "(cached) $ECHO_C" >&6
1971 else
1972   if test -n "$AWK"; then
1973   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1974 else
1975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1976 for as_dir in $PATH
1977 do
1978   IFS=$as_save_IFS
1979   test -z "$as_dir" && as_dir=.
1980   for ac_exec_ext in '' $ac_executable_extensions; do
1981   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1982     ac_cv_prog_AWK="$ac_prog"
1983     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1984     break 2
1985   fi
1986 done
1987 done
1988
1989 fi
1990 fi
1991 AWK=$ac_cv_prog_AWK
1992 if test -n "$AWK"; then
1993   echo "$as_me:$LINENO: result: $AWK" >&5
1994 echo "${ECHO_T}$AWK" >&6
1995 else
1996   echo "$as_me:$LINENO: result: no" >&5
1997 echo "${ECHO_T}no" >&6
1998 fi
1999
2000   test -n "$AWK" && break
2001 done
2002
2003 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2004 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2005 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2006 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2007   echo $ECHO_N "(cached) $ECHO_C" >&6
2008 else
2009   cat >conftest.make <<\_ACEOF
2010 all:
2011         @echo 'ac_maketemp="$(MAKE)"'
2012 _ACEOF
2013 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2014 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2015 if test -n "$ac_maketemp"; then
2016   eval ac_cv_prog_make_${ac_make}_set=yes
2017 else
2018   eval ac_cv_prog_make_${ac_make}_set=no
2019 fi
2020 rm -f conftest.make
2021 fi
2022 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2023   echo "$as_me:$LINENO: result: yes" >&5
2024 echo "${ECHO_T}yes" >&6
2025   SET_MAKE=
2026 else
2027   echo "$as_me:$LINENO: result: no" >&5
2028 echo "${ECHO_T}no" >&6
2029   SET_MAKE="MAKE=${MAKE-make}"
2030 fi
2031
2032 rm -rf .tst 2>/dev/null
2033 mkdir .tst 2>/dev/null
2034 if test -d .tst; then
2035   am__leading_dot=.
2036 else
2037   am__leading_dot=_
2038 fi
2039 rmdir .tst 2>/dev/null
2040
2041 # test to see if srcdir already configured
2042 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2043    test -f $srcdir/config.status; then
2044   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2045 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2046    { (exit 1); exit 1; }; }
2047 fi
2048
2049 # test whether we have cygpath
2050 if test -z "$CYGPATH_W"; then
2051   if (cygpath --version) >/dev/null 2>/dev/null; then
2052     CYGPATH_W='cygpath -w'
2053   else
2054     CYGPATH_W=echo
2055   fi
2056 fi
2057
2058
2059 # Define the identity of the package.
2060  PACKAGE='libstdc++'
2061  VERSION='version-unused'
2062
2063
2064 # Some tools Automake needs.
2065
2066 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2067
2068
2069 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2070
2071
2072 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2073
2074
2075 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2076
2077
2078 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2079
2080 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2081
2082 # Installed binaries are usually stripped using `strip' when the user
2083 # run `make install-strip'.  However `strip' might not be the right
2084 # tool to use in cross-compilation environments, therefore Automake
2085 # will honor the `STRIP' environment variable to overrule this program.
2086 if test "$cross_compiling" != no; then
2087   if test -n "$ac_tool_prefix"; then
2088   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2089 set dummy ${ac_tool_prefix}strip; ac_word=$2
2090 echo "$as_me:$LINENO: checking for $ac_word" >&5
2091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2092 if test "${ac_cv_prog_STRIP+set}" = set; then
2093   echo $ECHO_N "(cached) $ECHO_C" >&6
2094 else
2095   if test -n "$STRIP"; then
2096   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2097 else
2098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2099 for as_dir in $PATH
2100 do
2101   IFS=$as_save_IFS
2102   test -z "$as_dir" && as_dir=.
2103   for ac_exec_ext in '' $ac_executable_extensions; do
2104   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2105     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2106     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2107     break 2
2108   fi
2109 done
2110 done
2111
2112 fi
2113 fi
2114 STRIP=$ac_cv_prog_STRIP
2115 if test -n "$STRIP"; then
2116   echo "$as_me:$LINENO: result: $STRIP" >&5
2117 echo "${ECHO_T}$STRIP" >&6
2118 else
2119   echo "$as_me:$LINENO: result: no" >&5
2120 echo "${ECHO_T}no" >&6
2121 fi
2122
2123 fi
2124 if test -z "$ac_cv_prog_STRIP"; then
2125   ac_ct_STRIP=$STRIP
2126   # Extract the first word of "strip", so it can be a program name with args.
2127 set dummy strip; ac_word=$2
2128 echo "$as_me:$LINENO: checking for $ac_word" >&5
2129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2130 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2131   echo $ECHO_N "(cached) $ECHO_C" >&6
2132 else
2133   if test -n "$ac_ct_STRIP"; then
2134   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2135 else
2136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2137 for as_dir in $PATH
2138 do
2139   IFS=$as_save_IFS
2140   test -z "$as_dir" && as_dir=.
2141   for ac_exec_ext in '' $ac_executable_extensions; do
2142   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2143     ac_cv_prog_ac_ct_STRIP="strip"
2144     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2145     break 2
2146   fi
2147 done
2148 done
2149
2150   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2151 fi
2152 fi
2153 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2154 if test -n "$ac_ct_STRIP"; then
2155   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2156 echo "${ECHO_T}$ac_ct_STRIP" >&6
2157 else
2158   echo "$as_me:$LINENO: result: no" >&5
2159 echo "${ECHO_T}no" >&6
2160 fi
2161
2162   STRIP=$ac_ct_STRIP
2163 else
2164   STRIP="$ac_cv_prog_STRIP"
2165 fi
2166
2167 fi
2168 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2169
2170 # We need awk for the "check" target.  The system "awk" is bad on
2171 # some platforms.
2172 # Always define AMTAR for backward compatibility.
2173
2174 AMTAR=${AMTAR-"${am_missing_run}tar"}
2175
2176 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
2188 # up critical shell variables.
2189
2190 ac_ext=c
2191 ac_cpp='$CPP $CPPFLAGS'
2192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2195 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2196 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2197 # On Suns, sometimes $CPP names a directory.
2198 if test -n "$CPP" && test -d "$CPP"; then
2199   CPP=
2200 fi
2201 if test -z "$CPP"; then
2202   if test "${ac_cv_prog_CPP+set}" = set; then
2203   echo $ECHO_N "(cached) $ECHO_C" >&6
2204 else
2205       # Double quotes because CPP needs to be expanded
2206     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2207     do
2208       ac_preproc_ok=false
2209 for ac_c_preproc_warn_flag in '' yes
2210 do
2211   # Use a header file that comes with gcc, so configuring glibc
2212   # with a fresh cross-compiler works.
2213   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2214   # <limits.h> exists even on freestanding compilers.
2215   # On the NeXT, cc -E runs the code through the compiler's parser,
2216   # not just through cpp. "Syntax error" is here to catch this case.
2217   cat >conftest.$ac_ext <<_ACEOF
2218 /* confdefs.h.  */
2219 _ACEOF
2220 cat confdefs.h >>conftest.$ac_ext
2221 cat >>conftest.$ac_ext <<_ACEOF
2222 /* end confdefs.h.  */
2223 #ifdef __STDC__
2224 # include <limits.h>
2225 #else
2226 # include <assert.h>
2227 #endif
2228                      Syntax error
2229 _ACEOF
2230 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2231   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2232   ac_status=$?
2233   grep -v '^ *+' conftest.er1 >conftest.err
2234   rm -f conftest.er1
2235   cat conftest.err >&5
2236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2237   (exit $ac_status); } >/dev/null; then
2238   if test -s conftest.err; then
2239     ac_cpp_err=$ac_c_preproc_warn_flag
2240     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2241   else
2242     ac_cpp_err=
2243   fi
2244 else
2245   ac_cpp_err=yes
2246 fi
2247 if test -z "$ac_cpp_err"; then
2248   :
2249 else
2250   echo "$as_me: failed program was:" >&5
2251 sed 's/^/| /' conftest.$ac_ext >&5
2252
2253   # Broken: fails on valid input.
2254 continue
2255 fi
2256 rm -f conftest.err conftest.$ac_ext
2257
2258   # OK, works on sane cases.  Now check whether non-existent headers
2259   # can be detected and how.
2260   cat >conftest.$ac_ext <<_ACEOF
2261 /* confdefs.h.  */
2262 _ACEOF
2263 cat confdefs.h >>conftest.$ac_ext
2264 cat >>conftest.$ac_ext <<_ACEOF
2265 /* end confdefs.h.  */
2266 #include <ac_nonexistent.h>
2267 _ACEOF
2268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2269   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2270   ac_status=$?
2271   grep -v '^ *+' conftest.er1 >conftest.err
2272   rm -f conftest.er1
2273   cat conftest.err >&5
2274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275   (exit $ac_status); } >/dev/null; then
2276   if test -s conftest.err; then
2277     ac_cpp_err=$ac_c_preproc_warn_flag
2278     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2279   else
2280     ac_cpp_err=
2281   fi
2282 else
2283   ac_cpp_err=yes
2284 fi
2285 if test -z "$ac_cpp_err"; then
2286   # Broken: success on invalid input.
2287 continue
2288 else
2289   echo "$as_me: failed program was:" >&5
2290 sed 's/^/| /' conftest.$ac_ext >&5
2291
2292   # Passes both tests.
2293 ac_preproc_ok=:
2294 break
2295 fi
2296 rm -f conftest.err conftest.$ac_ext
2297
2298 done
2299 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2300 rm -f conftest.err conftest.$ac_ext
2301 if $ac_preproc_ok; then
2302   break
2303 fi
2304
2305     done
2306     ac_cv_prog_CPP=$CPP
2307
2308 fi
2309   CPP=$ac_cv_prog_CPP
2310 else
2311   ac_cv_prog_CPP=$CPP
2312 fi
2313 echo "$as_me:$LINENO: result: $CPP" >&5
2314 echo "${ECHO_T}$CPP" >&6
2315 ac_preproc_ok=false
2316 for ac_c_preproc_warn_flag in '' yes
2317 do
2318   # Use a header file that comes with gcc, so configuring glibc
2319   # with a fresh cross-compiler works.
2320   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2321   # <limits.h> exists even on freestanding compilers.
2322   # On the NeXT, cc -E runs the code through the compiler's parser,
2323   # not just through cpp. "Syntax error" is here to catch this case.
2324   cat >conftest.$ac_ext <<_ACEOF
2325 /* confdefs.h.  */
2326 _ACEOF
2327 cat confdefs.h >>conftest.$ac_ext
2328 cat >>conftest.$ac_ext <<_ACEOF
2329 /* end confdefs.h.  */
2330 #ifdef __STDC__
2331 # include <limits.h>
2332 #else
2333 # include <assert.h>
2334 #endif
2335                      Syntax error
2336 _ACEOF
2337 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2338   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2339   ac_status=$?
2340   grep -v '^ *+' conftest.er1 >conftest.err
2341   rm -f conftest.er1
2342   cat conftest.err >&5
2343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344   (exit $ac_status); } >/dev/null; then
2345   if test -s conftest.err; then
2346     ac_cpp_err=$ac_c_preproc_warn_flag
2347     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2348   else
2349     ac_cpp_err=
2350   fi
2351 else
2352   ac_cpp_err=yes
2353 fi
2354 if test -z "$ac_cpp_err"; then
2355   :
2356 else
2357   echo "$as_me: failed program was:" >&5
2358 sed 's/^/| /' conftest.$ac_ext >&5
2359
2360   # Broken: fails on valid input.
2361 continue
2362 fi
2363 rm -f conftest.err conftest.$ac_ext
2364
2365   # OK, works on sane cases.  Now check whether non-existent headers
2366   # can be detected and how.
2367   cat >conftest.$ac_ext <<_ACEOF
2368 /* confdefs.h.  */
2369 _ACEOF
2370 cat confdefs.h >>conftest.$ac_ext
2371 cat >>conftest.$ac_ext <<_ACEOF
2372 /* end confdefs.h.  */
2373 #include <ac_nonexistent.h>
2374 _ACEOF
2375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2376   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2377   ac_status=$?
2378   grep -v '^ *+' conftest.er1 >conftest.err
2379   rm -f conftest.er1
2380   cat conftest.err >&5
2381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382   (exit $ac_status); } >/dev/null; then
2383   if test -s conftest.err; then
2384     ac_cpp_err=$ac_c_preproc_warn_flag
2385     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2386   else
2387     ac_cpp_err=
2388   fi
2389 else
2390   ac_cpp_err=yes
2391 fi
2392 if test -z "$ac_cpp_err"; then
2393   # Broken: success on invalid input.
2394 continue
2395 else
2396   echo "$as_me: failed program was:" >&5
2397 sed 's/^/| /' conftest.$ac_ext >&5
2398
2399   # Passes both tests.
2400 ac_preproc_ok=:
2401 break
2402 fi
2403 rm -f conftest.err conftest.$ac_ext
2404
2405 done
2406 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2407 rm -f conftest.err conftest.$ac_ext
2408 if $ac_preproc_ok; then
2409   :
2410 else
2411   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2412 See \`config.log' for more details." >&5
2413 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2414 See \`config.log' for more details." >&2;}
2415    { (exit 1); exit 1; }; }
2416 fi
2417
2418 ac_ext=c
2419 ac_cpp='$CPP $CPPFLAGS'
2420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2423
2424
2425 echo "$as_me:$LINENO: checking for egrep" >&5
2426 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2427 if test "${ac_cv_prog_egrep+set}" = set; then
2428   echo $ECHO_N "(cached) $ECHO_C" >&6
2429 else
2430   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2431     then ac_cv_prog_egrep='grep -E'
2432     else ac_cv_prog_egrep='egrep'
2433     fi
2434 fi
2435 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2436 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2437  EGREP=$ac_cv_prog_egrep
2438
2439
2440
2441   # Keep these sync'd with the list in Makefile.am.  The first provides an
2442   # expandable list at autoconf time; the second provides an expandable list
2443   # (i.e., shell variable) at configure time.
2444
2445   SUBDIRS='include libmath libsupc++ src doc po testsuite'
2446
2447   # These need to be absolute paths, yet at the same time need to
2448   # canonicalize only relative paths, because then amd will not unmount
2449   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2450   glibcxx_builddir=`${PWDCMD-pwd}`
2451   case $srcdir in
2452     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2453     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2454   esac
2455   toplevel_srcdir=${glibcxx_srcdir}/..
2456
2457
2458
2459
2460   # We use these options to decide which functions to include.  They are
2461   # set from the top level.
2462
2463 # Check whether --with-target-subdir or --without-target-subdir was given.
2464 if test "${with_target_subdir+set}" = set; then
2465   withval="$with_target_subdir"
2466
2467 fi;
2468
2469
2470 # Check whether --with-cross-host or --without-cross-host was given.
2471 if test "${with_cross_host+set}" = set; then
2472   withval="$with_cross_host"
2473
2474 fi;
2475
2476
2477 # Check whether --with-newlib or --without-newlib was given.
2478 if test "${with_newlib+set}" = set; then
2479   withval="$with_newlib"
2480
2481 fi;
2482
2483   # We're almost certainly being configured before anything else which uses
2484   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
2485   # we not cache the value of CXX that we "discover" here, because it's set
2486   # to something unique for us and libjava.  Other target libraries need to
2487   # find CXX for themselves.  We yank the rug out from under the normal AC_*
2488   # process by sneakily renaming the cache variable.  This also lets us debug
2489   # the value of "our" CXX in postmortems.
2490   #
2491   # We must also force CXX to /not/ be a precious variable, otherwise the
2492   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
2493   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
2494   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2495   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2496   #
2497   # -fno-builtin must be present here so that a non-conflicting form of
2498   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2499
2500
2501
2502
2503   save_CXXFLAGS="$CXXFLAGS"
2504   CXXFLAGS="$CXXFLAGS -fno-builtin"
2505   ac_ext=c
2506 ac_cpp='$CPP $CPPFLAGS'
2507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2510 if test -n "$ac_tool_prefix"; then
2511   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2512 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2513 echo "$as_me:$LINENO: checking for $ac_word" >&5
2514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2515 if test "${ac_cv_prog_CC+set}" = set; then
2516   echo $ECHO_N "(cached) $ECHO_C" >&6
2517 else
2518   if test -n "$CC"; then
2519   ac_cv_prog_CC="$CC" # Let the user override the test.
2520 else
2521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2522 for as_dir in $PATH
2523 do
2524   IFS=$as_save_IFS
2525   test -z "$as_dir" && as_dir=.
2526   for ac_exec_ext in '' $ac_executable_extensions; do
2527   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2528     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2529     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2530     break 2
2531   fi
2532 done
2533 done
2534
2535 fi
2536 fi
2537 CC=$ac_cv_prog_CC
2538 if test -n "$CC"; then
2539   echo "$as_me:$LINENO: result: $CC" >&5
2540 echo "${ECHO_T}$CC" >&6
2541 else
2542   echo "$as_me:$LINENO: result: no" >&5
2543 echo "${ECHO_T}no" >&6
2544 fi
2545
2546 fi
2547 if test -z "$ac_cv_prog_CC"; then
2548   ac_ct_CC=$CC
2549   # Extract the first word of "gcc", so it can be a program name with args.
2550 set dummy gcc; ac_word=$2
2551 echo "$as_me:$LINENO: checking for $ac_word" >&5
2552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2553 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2554   echo $ECHO_N "(cached) $ECHO_C" >&6
2555 else
2556   if test -n "$ac_ct_CC"; then
2557   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2558 else
2559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2560 for as_dir in $PATH
2561 do
2562   IFS=$as_save_IFS
2563   test -z "$as_dir" && as_dir=.
2564   for ac_exec_ext in '' $ac_executable_extensions; do
2565   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2566     ac_cv_prog_ac_ct_CC="gcc"
2567     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2568     break 2
2569   fi
2570 done
2571 done
2572
2573 fi
2574 fi
2575 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2576 if test -n "$ac_ct_CC"; then
2577   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2578 echo "${ECHO_T}$ac_ct_CC" >&6
2579 else
2580   echo "$as_me:$LINENO: result: no" >&5
2581 echo "${ECHO_T}no" >&6
2582 fi
2583
2584   CC=$ac_ct_CC
2585 else
2586   CC="$ac_cv_prog_CC"
2587 fi
2588
2589 if test -z "$CC"; then
2590   if test -n "$ac_tool_prefix"; then
2591   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2592 set dummy ${ac_tool_prefix}cc; ac_word=$2
2593 echo "$as_me:$LINENO: checking for $ac_word" >&5
2594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2595 if test "${ac_cv_prog_CC+set}" = set; then
2596   echo $ECHO_N "(cached) $ECHO_C" >&6
2597 else
2598   if test -n "$CC"; then
2599   ac_cv_prog_CC="$CC" # Let the user override the test.
2600 else
2601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2602 for as_dir in $PATH
2603 do
2604   IFS=$as_save_IFS
2605   test -z "$as_dir" && as_dir=.
2606   for ac_exec_ext in '' $ac_executable_extensions; do
2607   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2608     ac_cv_prog_CC="${ac_tool_prefix}cc"
2609     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2610     break 2
2611   fi
2612 done
2613 done
2614
2615 fi
2616 fi
2617 CC=$ac_cv_prog_CC
2618 if test -n "$CC"; then
2619   echo "$as_me:$LINENO: result: $CC" >&5
2620 echo "${ECHO_T}$CC" >&6
2621 else
2622   echo "$as_me:$LINENO: result: no" >&5
2623 echo "${ECHO_T}no" >&6
2624 fi
2625
2626 fi
2627 if test -z "$ac_cv_prog_CC"; then
2628   ac_ct_CC=$CC
2629   # Extract the first word of "cc", so it can be a program name with args.
2630 set dummy cc; ac_word=$2
2631 echo "$as_me:$LINENO: checking for $ac_word" >&5
2632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2633 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2634   echo $ECHO_N "(cached) $ECHO_C" >&6
2635 else
2636   if test -n "$ac_ct_CC"; then
2637   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2638 else
2639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2640 for as_dir in $PATH
2641 do
2642   IFS=$as_save_IFS
2643   test -z "$as_dir" && as_dir=.
2644   for ac_exec_ext in '' $ac_executable_extensions; do
2645   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2646     ac_cv_prog_ac_ct_CC="cc"
2647     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2648     break 2
2649   fi
2650 done
2651 done
2652
2653 fi
2654 fi
2655 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2656 if test -n "$ac_ct_CC"; then
2657   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2658 echo "${ECHO_T}$ac_ct_CC" >&6
2659 else
2660   echo "$as_me:$LINENO: result: no" >&5
2661 echo "${ECHO_T}no" >&6
2662 fi
2663
2664   CC=$ac_ct_CC
2665 else
2666   CC="$ac_cv_prog_CC"
2667 fi
2668
2669 fi
2670 if test -z "$CC"; then
2671   # Extract the first word of "cc", so it can be a program name with args.
2672 set dummy cc; ac_word=$2
2673 echo "$as_me:$LINENO: checking for $ac_word" >&5
2674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2675 if test "${ac_cv_prog_CC+set}" = set; then
2676   echo $ECHO_N "(cached) $ECHO_C" >&6
2677 else
2678   if test -n "$CC"; then
2679   ac_cv_prog_CC="$CC" # Let the user override the test.
2680 else
2681   ac_prog_rejected=no
2682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2683 for as_dir in $PATH
2684 do
2685   IFS=$as_save_IFS
2686   test -z "$as_dir" && as_dir=.
2687   for ac_exec_ext in '' $ac_executable_extensions; do
2688   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2689     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2690        ac_prog_rejected=yes
2691        continue
2692      fi
2693     ac_cv_prog_CC="cc"
2694     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2695     break 2
2696   fi
2697 done
2698 done
2699
2700 if test $ac_prog_rejected = yes; then
2701   # We found a bogon in the path, so make sure we never use it.
2702   set dummy $ac_cv_prog_CC
2703   shift
2704   if test $# != 0; then
2705     # We chose a different compiler from the bogus one.
2706     # However, it has the same basename, so the bogon will be chosen
2707     # first if we set CC to just the basename; use the full file name.
2708     shift
2709     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2710   fi
2711 fi
2712 fi
2713 fi
2714 CC=$ac_cv_prog_CC
2715 if test -n "$CC"; then
2716   echo "$as_me:$LINENO: result: $CC" >&5
2717 echo "${ECHO_T}$CC" >&6
2718 else
2719   echo "$as_me:$LINENO: result: no" >&5
2720 echo "${ECHO_T}no" >&6
2721 fi
2722
2723 fi
2724 if test -z "$CC"; then
2725   if test -n "$ac_tool_prefix"; then
2726   for ac_prog in cl
2727   do
2728     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2729 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2730 echo "$as_me:$LINENO: checking for $ac_word" >&5
2731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2732 if test "${ac_cv_prog_CC+set}" = set; then
2733   echo $ECHO_N "(cached) $ECHO_C" >&6
2734 else
2735   if test -n "$CC"; then
2736   ac_cv_prog_CC="$CC" # Let the user override the test.
2737 else
2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2739 for as_dir in $PATH
2740 do
2741   IFS=$as_save_IFS
2742   test -z "$as_dir" && as_dir=.
2743   for ac_exec_ext in '' $ac_executable_extensions; do
2744   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2745     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2746     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2747     break 2
2748   fi
2749 done
2750 done
2751
2752 fi
2753 fi
2754 CC=$ac_cv_prog_CC
2755 if test -n "$CC"; then
2756   echo "$as_me:$LINENO: result: $CC" >&5
2757 echo "${ECHO_T}$CC" >&6
2758 else
2759   echo "$as_me:$LINENO: result: no" >&5
2760 echo "${ECHO_T}no" >&6
2761 fi
2762
2763     test -n "$CC" && break
2764   done
2765 fi
2766 if test -z "$CC"; then
2767   ac_ct_CC=$CC
2768   for ac_prog in cl
2769 do
2770   # Extract the first word of "$ac_prog", so it can be a program name with args.
2771 set dummy $ac_prog; ac_word=$2
2772 echo "$as_me:$LINENO: checking for $ac_word" >&5
2773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2774 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2775   echo $ECHO_N "(cached) $ECHO_C" >&6
2776 else
2777   if test -n "$ac_ct_CC"; then
2778   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2779 else
2780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2781 for as_dir in $PATH
2782 do
2783   IFS=$as_save_IFS
2784   test -z "$as_dir" && as_dir=.
2785   for ac_exec_ext in '' $ac_executable_extensions; do
2786   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2787     ac_cv_prog_ac_ct_CC="$ac_prog"
2788     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2789     break 2
2790   fi
2791 done
2792 done
2793
2794 fi
2795 fi
2796 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2797 if test -n "$ac_ct_CC"; then
2798   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2799 echo "${ECHO_T}$ac_ct_CC" >&6
2800 else
2801   echo "$as_me:$LINENO: result: no" >&5
2802 echo "${ECHO_T}no" >&6
2803 fi
2804
2805   test -n "$ac_ct_CC" && break
2806 done
2807
2808   CC=$ac_ct_CC
2809 fi
2810
2811 fi
2812
2813
2814 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2815 See \`config.log' for more details." >&5
2816 echo "$as_me: error: no acceptable C compiler found in \$PATH
2817 See \`config.log' for more details." >&2;}
2818    { (exit 1); exit 1; }; }
2819
2820 # Provide some information about the compiler.
2821 echo "$as_me:$LINENO:" \
2822      "checking for C compiler version" >&5
2823 ac_compiler=`set X $ac_compile; echo $2`
2824 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2825   (eval $ac_compiler --version </dev/null >&5) 2>&5
2826   ac_status=$?
2827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2828   (exit $ac_status); }
2829 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2830   (eval $ac_compiler -v </dev/null >&5) 2>&5
2831   ac_status=$?
2832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833   (exit $ac_status); }
2834 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2835   (eval $ac_compiler -V </dev/null >&5) 2>&5
2836   ac_status=$?
2837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838   (exit $ac_status); }
2839
2840 cat >conftest.$ac_ext <<_ACEOF
2841 /* confdefs.h.  */
2842 _ACEOF
2843 cat confdefs.h >>conftest.$ac_ext
2844 cat >>conftest.$ac_ext <<_ACEOF
2845 /* end confdefs.h.  */
2846
2847 int
2848 main ()
2849 {
2850
2851   ;
2852   return 0;
2853 }
2854 _ACEOF
2855 # FIXME: Cleanup?
2856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2857   (eval $ac_link) 2>&5
2858   ac_status=$?
2859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860   (exit $ac_status); }; then
2861   gcc_no_link=no
2862 else
2863   gcc_no_link=yes
2864 fi
2865
2866 if test x$gcc_no_link = xyes; then
2867   # Setting cross_compile will disable run tests; it will
2868   # also disable AC_CHECK_FILE but that's generally
2869   # correct if we can't link.
2870   cross_compiling=yes
2871   EXEEXT=
2872 else
2873   cat >conftest.$ac_ext <<_ACEOF
2874 /* confdefs.h.  */
2875 _ACEOF
2876 cat confdefs.h >>conftest.$ac_ext
2877 cat >>conftest.$ac_ext <<_ACEOF
2878 /* end confdefs.h.  */
2879
2880 int
2881 main ()
2882 {
2883
2884   ;
2885   return 0;
2886 }
2887 _ACEOF
2888 ac_clean_files_save=$ac_clean_files
2889 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2890 # Try to create an executable without -o first, disregard a.out.
2891 # It will help us diagnose broken compilers, and finding out an intuition
2892 # of exeext.
2893 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2894 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2895 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2896 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2897   (eval $ac_link_default) 2>&5
2898   ac_status=$?
2899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900   (exit $ac_status); }; then
2901   # Find the output, starting from the most likely.  This scheme is
2902 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2903 # resort.
2904
2905 # Be careful to initialize this variable, since it used to be cached.
2906 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2907 ac_cv_exeext=
2908 # b.out is created by i960 compilers.
2909 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2910 do
2911   test -f "$ac_file" || continue
2912   case $ac_file in
2913     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2914         ;;
2915     conftest.$ac_ext )
2916         # This is the source file.
2917         ;;
2918     [ab].out )
2919         # We found the default executable, but exeext='' is most
2920         # certainly right.
2921         break;;
2922     *.* )
2923         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2924         # FIXME: I believe we export ac_cv_exeext for Libtool,
2925         # but it would be cool to find out if it's true.  Does anybody
2926         # maintain Libtool? --akim.
2927         export ac_cv_exeext
2928         break;;
2929     * )
2930         break;;
2931   esac
2932 done
2933 else
2934   echo "$as_me: failed program was:" >&5
2935 sed 's/^/| /' conftest.$ac_ext >&5
2936
2937 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2938 See \`config.log' for more details." >&5
2939 echo "$as_me: error: C compiler cannot create executables
2940 See \`config.log' for more details." >&2;}
2941    { (exit 77); exit 77; }; }
2942 fi
2943
2944 ac_exeext=$ac_cv_exeext
2945 echo "$as_me:$LINENO: result: $ac_file" >&5
2946 echo "${ECHO_T}$ac_file" >&6
2947
2948 # Check the compiler produces executables we can run.  If not, either
2949 # the compiler is broken, or we cross compile.
2950 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2951 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2952 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2953 # If not cross compiling, check that we can run a simple program.
2954 if test "$cross_compiling" != yes; then
2955   if { ac_try='./$ac_file'
2956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2957   (eval $ac_try) 2>&5
2958   ac_status=$?
2959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960   (exit $ac_status); }; }; then
2961     cross_compiling=no
2962   else
2963     if test "$cross_compiling" = maybe; then
2964         cross_compiling=yes
2965     else
2966         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2967 If you meant to cross compile, use \`--host'.
2968 See \`config.log' for more details." >&5
2969 echo "$as_me: error: cannot run C compiled programs.
2970 If you meant to cross compile, use \`--host'.
2971 See \`config.log' for more details." >&2;}
2972    { (exit 1); exit 1; }; }
2973     fi
2974   fi
2975 fi
2976 echo "$as_me:$LINENO: result: yes" >&5
2977 echo "${ECHO_T}yes" >&6
2978
2979 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2980 ac_clean_files=$ac_clean_files_save
2981 # Check the compiler produces executables we can run.  If not, either
2982 # the compiler is broken, or we cross compile.
2983 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2984 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2985 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2986 echo "${ECHO_T}$cross_compiling" >&6
2987
2988 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2989 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2991   (eval $ac_link) 2>&5
2992   ac_status=$?
2993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994   (exit $ac_status); }; then
2995   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2996 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2997 # work properly (i.e., refer to `conftest.exe'), while it won't with
2998 # `rm'.
2999 for ac_file in conftest.exe conftest conftest.*; do
3000   test -f "$ac_file" || continue
3001   case $ac_file in
3002     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3003     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3004           export ac_cv_exeext
3005           break;;
3006     * ) break;;
3007   esac
3008 done
3009 else
3010   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3011 See \`config.log' for more details." >&5
3012 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3013 See \`config.log' for more details." >&2;}
3014    { (exit 1); exit 1; }; }
3015 fi
3016
3017 rm -f conftest$ac_cv_exeext
3018 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3019 echo "${ECHO_T}$ac_cv_exeext" >&6
3020
3021 rm -f conftest.$ac_ext
3022 EXEEXT=$ac_cv_exeext
3023 ac_exeext=$EXEEXT
3024 fi
3025 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3026 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3027 if test "${ac_cv_objext+set}" = set; then
3028   echo $ECHO_N "(cached) $ECHO_C" >&6
3029 else
3030   cat >conftest.$ac_ext <<_ACEOF
3031 /* confdefs.h.  */
3032 _ACEOF
3033 cat confdefs.h >>conftest.$ac_ext
3034 cat >>conftest.$ac_ext <<_ACEOF
3035 /* end confdefs.h.  */
3036
3037 int
3038 main ()
3039 {
3040
3041   ;
3042   return 0;
3043 }
3044 _ACEOF
3045 rm -f conftest.o conftest.obj
3046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3047   (eval $ac_compile) 2>&5
3048   ac_status=$?
3049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050   (exit $ac_status); }; then
3051   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3052   case $ac_file in
3053     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3054     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3055        break;;
3056   esac
3057 done
3058 else
3059   echo "$as_me: failed program was:" >&5
3060 sed 's/^/| /' conftest.$ac_ext >&5
3061
3062 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3063 See \`config.log' for more details." >&5
3064 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3065 See \`config.log' for more details." >&2;}
3066    { (exit 1); exit 1; }; }
3067 fi
3068
3069 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3070 fi
3071 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3072 echo "${ECHO_T}$ac_cv_objext" >&6
3073 OBJEXT=$ac_cv_objext
3074 ac_objext=$OBJEXT
3075 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3076 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3077 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3078   echo $ECHO_N "(cached) $ECHO_C" >&6
3079 else
3080   cat >conftest.$ac_ext <<_ACEOF
3081 /* confdefs.h.  */
3082 _ACEOF
3083 cat confdefs.h >>conftest.$ac_ext
3084 cat >>conftest.$ac_ext <<_ACEOF
3085 /* end confdefs.h.  */
3086
3087 int
3088 main ()
3089 {
3090 #ifndef __GNUC__
3091        choke me
3092 #endif
3093
3094   ;
3095   return 0;
3096 }
3097 _ACEOF
3098 rm -f conftest.$ac_objext
3099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3100   (eval $ac_compile) 2>conftest.er1
3101   ac_status=$?
3102   grep -v '^ *+' conftest.er1 >conftest.err
3103   rm -f conftest.er1
3104   cat conftest.err >&5
3105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106   (exit $ac_status); } &&
3107          { ac_try='test -z "$ac_c_werror_flag"
3108                          || test ! -s conftest.err'
3109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3110   (eval $ac_try) 2>&5
3111   ac_status=$?
3112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113   (exit $ac_status); }; } &&
3114          { ac_try='test -s conftest.$ac_objext'
3115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3116   (eval $ac_try) 2>&5
3117   ac_status=$?
3118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119   (exit $ac_status); }; }; then
3120   ac_compiler_gnu=yes
3121 else
3122   echo "$as_me: failed program was:" >&5
3123 sed 's/^/| /' conftest.$ac_ext >&5
3124
3125 ac_compiler_gnu=no
3126 fi
3127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3128 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3129
3130 fi
3131 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3132 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3133 GCC=`test $ac_compiler_gnu = yes && echo yes`
3134 ac_test_CFLAGS=${CFLAGS+set}
3135 ac_save_CFLAGS=$CFLAGS
3136 CFLAGS="-g"
3137 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3138 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3139 if test "${ac_cv_prog_cc_g+set}" = set; then
3140   echo $ECHO_N "(cached) $ECHO_C" >&6
3141 else
3142   cat >conftest.$ac_ext <<_ACEOF
3143 /* confdefs.h.  */
3144 _ACEOF
3145 cat confdefs.h >>conftest.$ac_ext
3146 cat >>conftest.$ac_ext <<_ACEOF
3147 /* end confdefs.h.  */
3148
3149 int
3150 main ()
3151 {
3152
3153   ;
3154   return 0;
3155 }
3156 _ACEOF
3157 rm -f conftest.$ac_objext
3158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3159   (eval $ac_compile) 2>conftest.er1
3160   ac_status=$?
3161   grep -v '^ *+' conftest.er1 >conftest.err
3162   rm -f conftest.er1
3163   cat conftest.err >&5
3164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165   (exit $ac_status); } &&
3166          { ac_try='test -z "$ac_c_werror_flag"
3167                          || test ! -s conftest.err'
3168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3169   (eval $ac_try) 2>&5
3170   ac_status=$?
3171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172   (exit $ac_status); }; } &&
3173          { ac_try='test -s conftest.$ac_objext'
3174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3175   (eval $ac_try) 2>&5
3176   ac_status=$?
3177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178   (exit $ac_status); }; }; then
3179   ac_cv_prog_cc_g=yes
3180 else
3181   echo "$as_me: failed program was:" >&5
3182 sed 's/^/| /' conftest.$ac_ext >&5
3183
3184 ac_cv_prog_cc_g=no
3185 fi
3186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3187 fi
3188 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3189 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3190 if test "$ac_test_CFLAGS" = set; then
3191   CFLAGS=$ac_save_CFLAGS
3192 elif test $ac_cv_prog_cc_g = yes; then
3193   if test "$GCC" = yes; then
3194     CFLAGS="-g -O2"
3195   else
3196     CFLAGS="-g"
3197   fi
3198 else
3199   if test "$GCC" = yes; then
3200     CFLAGS="-O2"
3201   else
3202     CFLAGS=
3203   fi
3204 fi
3205 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3206 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3207 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3208   echo $ECHO_N "(cached) $ECHO_C" >&6
3209 else
3210   ac_cv_prog_cc_stdc=no
3211 ac_save_CC=$CC
3212 cat >conftest.$ac_ext <<_ACEOF
3213 /* confdefs.h.  */
3214 _ACEOF
3215 cat confdefs.h >>conftest.$ac_ext
3216 cat >>conftest.$ac_ext <<_ACEOF
3217 /* end confdefs.h.  */
3218 #include <stdarg.h>
3219 #include <stdio.h>
3220 #include <sys/types.h>
3221 #include <sys/stat.h>
3222 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3223 struct buf { int x; };
3224 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3225 static char *e (p, i)
3226      char **p;
3227      int i;
3228 {
3229   return p[i];
3230 }
3231 static char *f (char * (*g) (char **, int), char **p, ...)
3232 {
3233   char *s;
3234   va_list v;
3235   va_start (v,p);
3236   s = g (p, va_arg (v,int));
3237   va_end (v);
3238   return s;
3239 }
3240
3241 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3242    function prototypes and stuff, but not '\xHH' hex character constants.
3243    These don't provoke an error unfortunately, instead are silently treated
3244    as 'x'.  The following induces an error, until -std1 is added to get
3245    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3246    array size at least.  It's necessary to write '\x00'==0 to get something
3247    that's true only with -std1.  */
3248 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3249
3250 int test (int i, double x);
3251 struct s1 {int (*f) (int a);};
3252 struct s2 {int (*f) (double a);};
3253 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3254 int argc;
3255 char **argv;
3256 int
3257 main ()
3258 {
3259 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3260   ;
3261   return 0;
3262 }
3263 _ACEOF
3264 # Don't try gcc -ansi; that turns off useful extensions and
3265 # breaks some systems' header files.
3266 # AIX                   -qlanglvl=ansi
3267 # Ultrix and OSF/1      -std1
3268 # HP-UX 10.20 and later -Ae
3269 # HP-UX older versions  -Aa -D_HPUX_SOURCE
3270 # SVR4                  -Xc -D__EXTENSIONS__
3271 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3272 do
3273   CC="$ac_save_CC $ac_arg"
3274   rm -f conftest.$ac_objext
3275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3276   (eval $ac_compile) 2>conftest.er1
3277   ac_status=$?
3278   grep -v '^ *+' conftest.er1 >conftest.err
3279   rm -f conftest.er1
3280   cat conftest.err >&5
3281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282   (exit $ac_status); } &&
3283          { ac_try='test -z "$ac_c_werror_flag"
3284                          || test ! -s conftest.err'
3285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3286   (eval $ac_try) 2>&5
3287   ac_status=$?
3288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289   (exit $ac_status); }; } &&
3290          { ac_try='test -s conftest.$ac_objext'
3291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3292   (eval $ac_try) 2>&5
3293   ac_status=$?
3294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295   (exit $ac_status); }; }; then
3296   ac_cv_prog_cc_stdc=$ac_arg
3297 break
3298 else
3299   echo "$as_me: failed program was:" >&5
3300 sed 's/^/| /' conftest.$ac_ext >&5
3301
3302 fi
3303 rm -f conftest.err conftest.$ac_objext
3304 done
3305 rm -f conftest.$ac_ext conftest.$ac_objext
3306 CC=$ac_save_CC
3307
3308 fi
3309
3310 case "x$ac_cv_prog_cc_stdc" in
3311   x|xno)
3312     echo "$as_me:$LINENO: result: none needed" >&5
3313 echo "${ECHO_T}none needed" >&6 ;;
3314   *)
3315     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3316 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3317     CC="$CC $ac_cv_prog_cc_stdc" ;;
3318 esac
3319
3320 # Some people use a C++ compiler to compile C.  Since we use `exit',
3321 # in C++ we need to declare it.  In case someone uses the same compiler
3322 # for both compiling C and C++ we need to have the C++ compiler decide
3323 # the declaration of exit, since it's the most demanding environment.
3324 cat >conftest.$ac_ext <<_ACEOF
3325 #ifndef __cplusplus
3326   choke me
3327 #endif
3328 _ACEOF
3329 rm -f conftest.$ac_objext
3330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3331   (eval $ac_compile) 2>conftest.er1
3332   ac_status=$?
3333   grep -v '^ *+' conftest.er1 >conftest.err
3334   rm -f conftest.er1
3335   cat conftest.err >&5
3336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337   (exit $ac_status); } &&
3338          { ac_try='test -z "$ac_c_werror_flag"
3339                          || test ! -s conftest.err'
3340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3341   (eval $ac_try) 2>&5
3342   ac_status=$?
3343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344   (exit $ac_status); }; } &&
3345          { ac_try='test -s conftest.$ac_objext'
3346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3347   (eval $ac_try) 2>&5
3348   ac_status=$?
3349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350   (exit $ac_status); }; }; then
3351   for ac_declaration in \
3352    '' \
3353    'extern "C" void std::exit (int) throw (); using std::exit;' \
3354    'extern "C" void std::exit (int); using std::exit;' \
3355    'extern "C" void exit (int) throw ();' \
3356    'extern "C" void exit (int);' \
3357    'void exit (int);'
3358 do
3359   cat >conftest.$ac_ext <<_ACEOF
3360 /* confdefs.h.  */
3361 _ACEOF
3362 cat confdefs.h >>conftest.$ac_ext
3363 cat >>conftest.$ac_ext <<_ACEOF
3364 /* end confdefs.h.  */
3365 $ac_declaration
3366 #include <stdlib.h>
3367 int
3368 main ()
3369 {
3370 exit (42);
3371   ;
3372   return 0;
3373 }
3374 _ACEOF
3375 rm -f conftest.$ac_objext
3376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3377   (eval $ac_compile) 2>conftest.er1
3378   ac_status=$?
3379   grep -v '^ *+' conftest.er1 >conftest.err
3380   rm -f conftest.er1
3381   cat conftest.err >&5
3382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383   (exit $ac_status); } &&
3384          { ac_try='test -z "$ac_c_werror_flag"
3385                          || test ! -s conftest.err'
3386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3387   (eval $ac_try) 2>&5
3388   ac_status=$?
3389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390   (exit $ac_status); }; } &&
3391          { ac_try='test -s conftest.$ac_objext'
3392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3393   (eval $ac_try) 2>&5
3394   ac_status=$?
3395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396   (exit $ac_status); }; }; then
3397   :
3398 else
3399   echo "$as_me: failed program was:" >&5
3400 sed 's/^/| /' conftest.$ac_ext >&5
3401
3402 continue
3403 fi
3404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3405   cat >conftest.$ac_ext <<_ACEOF
3406 /* confdefs.h.  */
3407 _ACEOF
3408 cat confdefs.h >>conftest.$ac_ext
3409 cat >>conftest.$ac_ext <<_ACEOF
3410 /* end confdefs.h.  */
3411 $ac_declaration
3412 int
3413 main ()
3414 {
3415 exit (42);
3416   ;
3417   return 0;
3418 }
3419 _ACEOF
3420 rm -f conftest.$ac_objext
3421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3422   (eval $ac_compile) 2>conftest.er1
3423   ac_status=$?
3424   grep -v '^ *+' conftest.er1 >conftest.err
3425   rm -f conftest.er1
3426   cat conftest.err >&5
3427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428   (exit $ac_status); } &&
3429          { ac_try='test -z "$ac_c_werror_flag"
3430                          || test ! -s conftest.err'
3431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3432   (eval $ac_try) 2>&5
3433   ac_status=$?
3434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3435   (exit $ac_status); }; } &&
3436          { ac_try='test -s conftest.$ac_objext'
3437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3438   (eval $ac_try) 2>&5
3439   ac_status=$?
3440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441   (exit $ac_status); }; }; then
3442   break
3443 else
3444   echo "$as_me: failed program was:" >&5
3445 sed 's/^/| /' conftest.$ac_ext >&5
3446
3447 fi
3448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3449 done
3450 rm -f conftest*
3451 if test -n "$ac_declaration"; then
3452   echo '#ifdef __cplusplus' >>confdefs.h
3453   echo $ac_declaration      >>confdefs.h
3454   echo '#endif'             >>confdefs.h
3455 fi
3456
3457 else
3458   echo "$as_me: failed program was:" >&5
3459 sed 's/^/| /' conftest.$ac_ext >&5
3460
3461 fi
3462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3463 ac_ext=c
3464 ac_cpp='$CPP $CPPFLAGS'
3465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3468
3469   ac_ext=cc
3470 ac_cpp='$CXXCPP $CPPFLAGS'
3471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3474 if test -n "$ac_tool_prefix"; then
3475   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3476   do
3477     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3478 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3479 echo "$as_me:$LINENO: checking for $ac_word" >&5
3480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3481 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3482   echo $ECHO_N "(cached) $ECHO_C" >&6
3483 else
3484   if test -n "$CXX"; then
3485   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3486 else
3487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3488 for as_dir in $PATH
3489 do
3490   IFS=$as_save_IFS
3491   test -z "$as_dir" && as_dir=.
3492   for ac_exec_ext in '' $ac_executable_extensions; do
3493   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3494     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3495     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3496     break 2
3497   fi
3498 done
3499 done
3500
3501 fi
3502 fi
3503 CXX=$glibcxx_cv_prog_CXX
3504 if test -n "$CXX"; then
3505   echo "$as_me:$LINENO: result: $CXX" >&5
3506 echo "${ECHO_T}$CXX" >&6
3507 else
3508   echo "$as_me:$LINENO: result: no" >&5
3509 echo "${ECHO_T}no" >&6
3510 fi
3511
3512     test -n "$CXX" && break
3513   done
3514 fi
3515 if test -z "$CXX"; then
3516   ac_ct_CXX=$CXX
3517   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3518 do
3519   # Extract the first word of "$ac_prog", so it can be a program name with args.
3520 set dummy $ac_prog; ac_word=$2
3521 echo "$as_me:$LINENO: checking for $ac_word" >&5
3522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3523 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3524   echo $ECHO_N "(cached) $ECHO_C" >&6
3525 else
3526   if test -n "$ac_ct_CXX"; then
3527   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3528 else
3529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3530 for as_dir in $PATH
3531 do
3532   IFS=$as_save_IFS
3533   test -z "$as_dir" && as_dir=.
3534   for ac_exec_ext in '' $ac_executable_extensions; do
3535   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3536     ac_cv_prog_ac_ct_CXX="$ac_prog"
3537     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3538     break 2
3539   fi
3540 done
3541 done
3542
3543 fi
3544 fi
3545 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3546 if test -n "$ac_ct_CXX"; then
3547   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3548 echo "${ECHO_T}$ac_ct_CXX" >&6
3549 else
3550   echo "$as_me:$LINENO: result: no" >&5
3551 echo "${ECHO_T}no" >&6
3552 fi
3553
3554   test -n "$ac_ct_CXX" && break
3555 done
3556 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3557
3558   CXX=$ac_ct_CXX
3559 fi
3560
3561
3562 # Provide some information about the compiler.
3563 echo "$as_me:$LINENO:" \
3564      "checking for C++ compiler version" >&5
3565 ac_compiler=`set X $ac_compile; echo $2`
3566 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3567   (eval $ac_compiler --version </dev/null >&5) 2>&5
3568   ac_status=$?
3569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570   (exit $ac_status); }
3571 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3572   (eval $ac_compiler -v </dev/null >&5) 2>&5
3573   ac_status=$?
3574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575   (exit $ac_status); }
3576 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3577   (eval $ac_compiler -V </dev/null >&5) 2>&5
3578   ac_status=$?
3579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580   (exit $ac_status); }
3581
3582 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3583 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3584 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3585   echo $ECHO_N "(cached) $ECHO_C" >&6
3586 else
3587   cat >conftest.$ac_ext <<_ACEOF
3588 /* confdefs.h.  */
3589 _ACEOF
3590 cat confdefs.h >>conftest.$ac_ext
3591 cat >>conftest.$ac_ext <<_ACEOF
3592 /* end confdefs.h.  */
3593
3594 int
3595 main ()
3596 {
3597 #ifndef __GNUC__
3598        choke me
3599 #endif
3600
3601   ;
3602   return 0;
3603 }
3604 _ACEOF
3605 rm -f conftest.$ac_objext
3606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3607   (eval $ac_compile) 2>conftest.er1
3608   ac_status=$?
3609   grep -v '^ *+' conftest.er1 >conftest.err
3610   rm -f conftest.er1
3611   cat conftest.err >&5
3612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613   (exit $ac_status); } &&
3614          { ac_try='test -z "$ac_cxx_werror_flag"
3615                          || test ! -s conftest.err'
3616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3617   (eval $ac_try) 2>&5
3618   ac_status=$?
3619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620   (exit $ac_status); }; } &&
3621          { ac_try='test -s conftest.$ac_objext'
3622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3623   (eval $ac_try) 2>&5
3624   ac_status=$?
3625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626   (exit $ac_status); }; }; then
3627   ac_compiler_gnu=yes
3628 else
3629   echo "$as_me: failed program was:" >&5
3630 sed 's/^/| /' conftest.$ac_ext >&5
3631
3632 ac_compiler_gnu=no
3633 fi
3634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3635 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3636
3637 fi
3638 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3639 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3640 GXX=`test $ac_compiler_gnu = yes && echo yes`
3641 ac_test_CXXFLAGS=${CXXFLAGS+set}
3642 ac_save_CXXFLAGS=$CXXFLAGS
3643 CXXFLAGS="-g"
3644 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3645 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3646 if test "${ac_cv_prog_cxx_g+set}" = set; then
3647   echo $ECHO_N "(cached) $ECHO_C" >&6
3648 else
3649   cat >conftest.$ac_ext <<_ACEOF
3650 /* confdefs.h.  */
3651 _ACEOF
3652 cat confdefs.h >>conftest.$ac_ext
3653 cat >>conftest.$ac_ext <<_ACEOF
3654 /* end confdefs.h.  */
3655
3656 int
3657 main ()
3658 {
3659
3660   ;
3661   return 0;
3662 }
3663 _ACEOF
3664 rm -f conftest.$ac_objext
3665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3666   (eval $ac_compile) 2>conftest.er1
3667   ac_status=$?
3668   grep -v '^ *+' conftest.er1 >conftest.err
3669   rm -f conftest.er1
3670   cat conftest.err >&5
3671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672   (exit $ac_status); } &&
3673          { ac_try='test -z "$ac_cxx_werror_flag"
3674                          || test ! -s conftest.err'
3675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3676   (eval $ac_try) 2>&5
3677   ac_status=$?
3678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3679   (exit $ac_status); }; } &&
3680          { ac_try='test -s conftest.$ac_objext'
3681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3682   (eval $ac_try) 2>&5
3683   ac_status=$?
3684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3685   (exit $ac_status); }; }; then
3686   ac_cv_prog_cxx_g=yes
3687 else
3688   echo "$as_me: failed program was:" >&5
3689 sed 's/^/| /' conftest.$ac_ext >&5
3690
3691 ac_cv_prog_cxx_g=no
3692 fi
3693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3694 fi
3695 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3696 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3697 if test "$ac_test_CXXFLAGS" = set; then
3698   CXXFLAGS=$ac_save_CXXFLAGS
3699 elif test $ac_cv_prog_cxx_g = yes; then
3700   if test "$GXX" = yes; then
3701     CXXFLAGS="-g -O2"
3702   else
3703     CXXFLAGS="-g"
3704   fi
3705 else
3706   if test "$GXX" = yes; then
3707     CXXFLAGS="-O2"
3708   else
3709     CXXFLAGS=
3710   fi
3711 fi
3712 for ac_declaration in \
3713    '' \
3714    'extern "C" void std::exit (int) throw (); using std::exit;' \
3715    'extern "C" void std::exit (int); using std::exit;' \
3716    'extern "C" void exit (int) throw ();' \
3717    'extern "C" void exit (int);' \
3718    'void exit (int);'
3719 do
3720   cat >conftest.$ac_ext <<_ACEOF
3721 /* confdefs.h.  */
3722 _ACEOF
3723 cat confdefs.h >>conftest.$ac_ext
3724 cat >>conftest.$ac_ext <<_ACEOF
3725 /* end confdefs.h.  */
3726 $ac_declaration
3727 #include <stdlib.h>
3728 int
3729 main ()
3730 {
3731 exit (42);
3732   ;
3733   return 0;
3734 }
3735 _ACEOF
3736 rm -f conftest.$ac_objext
3737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3738   (eval $ac_compile) 2>conftest.er1
3739   ac_status=$?
3740   grep -v '^ *+' conftest.er1 >conftest.err
3741   rm -f conftest.er1
3742   cat conftest.err >&5
3743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3744   (exit $ac_status); } &&
3745          { ac_try='test -z "$ac_cxx_werror_flag"
3746                          || test ! -s conftest.err'
3747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3748   (eval $ac_try) 2>&5
3749   ac_status=$?
3750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3751   (exit $ac_status); }; } &&
3752          { ac_try='test -s conftest.$ac_objext'
3753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3754   (eval $ac_try) 2>&5
3755   ac_status=$?
3756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757   (exit $ac_status); }; }; then
3758   :
3759 else
3760   echo "$as_me: failed program was:" >&5
3761 sed 's/^/| /' conftest.$ac_ext >&5
3762
3763 continue
3764 fi
3765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3766   cat >conftest.$ac_ext <<_ACEOF
3767 /* confdefs.h.  */
3768 _ACEOF
3769 cat confdefs.h >>conftest.$ac_ext
3770 cat >>conftest.$ac_ext <<_ACEOF
3771 /* end confdefs.h.  */
3772 $ac_declaration
3773 int
3774 main ()
3775 {
3776 exit (42);
3777   ;
3778   return 0;
3779 }
3780 _ACEOF
3781 rm -f conftest.$ac_objext
3782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3783   (eval $ac_compile) 2>conftest.er1
3784   ac_status=$?
3785   grep -v '^ *+' conftest.er1 >conftest.err
3786   rm -f conftest.er1
3787   cat conftest.err >&5
3788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789   (exit $ac_status); } &&
3790          { ac_try='test -z "$ac_cxx_werror_flag"
3791                          || test ! -s conftest.err'
3792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3793   (eval $ac_try) 2>&5
3794   ac_status=$?
3795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796   (exit $ac_status); }; } &&
3797          { ac_try='test -s conftest.$ac_objext'
3798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3799   (eval $ac_try) 2>&5
3800   ac_status=$?
3801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802   (exit $ac_status); }; }; then
3803   break
3804 else
3805   echo "$as_me: failed program was:" >&5
3806 sed 's/^/| /' conftest.$ac_ext >&5
3807
3808 fi
3809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3810 done
3811 rm -f conftest*
3812 if test -n "$ac_declaration"; then
3813   echo '#ifdef __cplusplus' >>confdefs.h
3814   echo $ac_declaration      >>confdefs.h
3815   echo '#endif'             >>confdefs.h
3816 fi
3817
3818 ac_ext=c
3819 ac_cpp='$CPP $CPPFLAGS'
3820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3823
3824   CXXFLAGS="$save_CXXFLAGS"
3825
3826
3827
3828
3829   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3830   # available).  Uncomment the next line to force a particular method.
3831   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3832 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3833 LN_S=$as_ln_s
3834 if test "$LN_S" = "ln -s"; then
3835   echo "$as_me:$LINENO: result: yes" >&5
3836 echo "${ECHO_T}yes" >&6
3837 else
3838   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3839 echo "${ECHO_T}no, using $LN_S" >&6
3840 fi
3841
3842   #LN_S='cp -p'
3843
3844   if test -n "$ac_tool_prefix"; then
3845   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3846 set dummy ${ac_tool_prefix}as; ac_word=$2
3847 echo "$as_me:$LINENO: checking for $ac_word" >&5
3848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3849 if test "${ac_cv_prog_AS+set}" = set; then
3850   echo $ECHO_N "(cached) $ECHO_C" >&6
3851 else
3852   if test -n "$AS"; then
3853   ac_cv_prog_AS="$AS" # Let the user override the test.
3854 else
3855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3856 for as_dir in $PATH
3857 do
3858   IFS=$as_save_IFS
3859   test -z "$as_dir" && as_dir=.
3860   for ac_exec_ext in '' $ac_executable_extensions; do
3861   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3862     ac_cv_prog_AS="${ac_tool_prefix}as"
3863     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3864     break 2
3865   fi
3866 done
3867 done
3868
3869 fi
3870 fi
3871 AS=$ac_cv_prog_AS
3872 if test -n "$AS"; then
3873   echo "$as_me:$LINENO: result: $AS" >&5
3874 echo "${ECHO_T}$AS" >&6
3875 else
3876   echo "$as_me:$LINENO: result: no" >&5
3877 echo "${ECHO_T}no" >&6
3878 fi
3879
3880 fi
3881 if test -z "$ac_cv_prog_AS"; then
3882   ac_ct_AS=$AS
3883   # Extract the first word of "as", so it can be a program name with args.
3884 set dummy as; ac_word=$2
3885 echo "$as_me:$LINENO: checking for $ac_word" >&5
3886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3887 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3888   echo $ECHO_N "(cached) $ECHO_C" >&6
3889 else
3890   if test -n "$ac_ct_AS"; then
3891   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3892 else
3893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3894 for as_dir in $PATH
3895 do
3896   IFS=$as_save_IFS
3897   test -z "$as_dir" && as_dir=.
3898   for ac_exec_ext in '' $ac_executable_extensions; do
3899   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3900     ac_cv_prog_ac_ct_AS="as"
3901     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3902     break 2
3903   fi
3904 done
3905 done
3906
3907 fi
3908 fi
3909 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3910 if test -n "$ac_ct_AS"; then
3911   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3912 echo "${ECHO_T}$ac_ct_AS" >&6
3913 else
3914   echo "$as_me:$LINENO: result: no" >&5
3915 echo "${ECHO_T}no" >&6
3916 fi
3917
3918   AS=$ac_ct_AS
3919 else
3920   AS="$ac_cv_prog_AS"
3921 fi
3922
3923   if test -n "$ac_tool_prefix"; then
3924   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3925 set dummy ${ac_tool_prefix}ar; ac_word=$2
3926 echo "$as_me:$LINENO: checking for $ac_word" >&5
3927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3928 if test "${ac_cv_prog_AR+set}" = set; then
3929   echo $ECHO_N "(cached) $ECHO_C" >&6
3930 else
3931   if test -n "$AR"; then
3932   ac_cv_prog_AR="$AR" # Let the user override the test.
3933 else
3934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3935 for as_dir in $PATH
3936 do
3937   IFS=$as_save_IFS
3938   test -z "$as_dir" && as_dir=.
3939   for ac_exec_ext in '' $ac_executable_extensions; do
3940   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3941     ac_cv_prog_AR="${ac_tool_prefix}ar"
3942     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3943     break 2
3944   fi
3945 done
3946 done
3947
3948 fi
3949 fi
3950 AR=$ac_cv_prog_AR
3951 if test -n "$AR"; then
3952   echo "$as_me:$LINENO: result: $AR" >&5
3953 echo "${ECHO_T}$AR" >&6
3954 else
3955   echo "$as_me:$LINENO: result: no" >&5
3956 echo "${ECHO_T}no" >&6
3957 fi
3958
3959 fi
3960 if test -z "$ac_cv_prog_AR"; then
3961   ac_ct_AR=$AR
3962   # Extract the first word of "ar", so it can be a program name with args.
3963 set dummy ar; ac_word=$2
3964 echo "$as_me:$LINENO: checking for $ac_word" >&5
3965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3966 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3967   echo $ECHO_N "(cached) $ECHO_C" >&6
3968 else
3969   if test -n "$ac_ct_AR"; then
3970   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3971 else
3972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3973 for as_dir in $PATH
3974 do
3975   IFS=$as_save_IFS
3976   test -z "$as_dir" && as_dir=.
3977   for ac_exec_ext in '' $ac_executable_extensions; do
3978   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3979     ac_cv_prog_ac_ct_AR="ar"
3980     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3981     break 2
3982   fi
3983 done
3984 done
3985
3986 fi
3987 fi
3988 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3989 if test -n "$ac_ct_AR"; then
3990   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3991 echo "${ECHO_T}$ac_ct_AR" >&6
3992 else
3993   echo "$as_me:$LINENO: result: no" >&5
3994 echo "${ECHO_T}no" >&6
3995 fi
3996
3997   AR=$ac_ct_AR
3998 else
3999   AR="$ac_cv_prog_AR"
4000 fi
4001
4002   if test -n "$ac_tool_prefix"; then
4003   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4004 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4005 echo "$as_me:$LINENO: checking for $ac_word" >&5
4006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4007 if test "${ac_cv_prog_RANLIB+set}" = set; then
4008   echo $ECHO_N "(cached) $ECHO_C" >&6
4009 else
4010   if test -n "$RANLIB"; then
4011   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4012 else
4013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4014 for as_dir in $PATH
4015 do
4016   IFS=$as_save_IFS
4017   test -z "$as_dir" && as_dir=.
4018   for ac_exec_ext in '' $ac_executable_extensions; do
4019   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4020     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4021     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4022     break 2
4023   fi
4024 done
4025 done
4026
4027 fi
4028 fi
4029 RANLIB=$ac_cv_prog_RANLIB
4030 if test -n "$RANLIB"; then
4031   echo "$as_me:$LINENO: result: $RANLIB" >&5
4032 echo "${ECHO_T}$RANLIB" >&6
4033 else
4034   echo "$as_me:$LINENO: result: no" >&5
4035 echo "${ECHO_T}no" >&6
4036 fi
4037
4038 fi
4039 if test -z "$ac_cv_prog_RANLIB"; then
4040   ac_ct_RANLIB=$RANLIB
4041   # Extract the first word of "ranlib", so it can be a program name with args.
4042 set dummy ranlib; ac_word=$2
4043 echo "$as_me:$LINENO: checking for $ac_word" >&5
4044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4045 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4046   echo $ECHO_N "(cached) $ECHO_C" >&6
4047 else
4048   if test -n "$ac_ct_RANLIB"; then
4049   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4050 else
4051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4052 for as_dir in $PATH
4053 do
4054   IFS=$as_save_IFS
4055   test -z "$as_dir" && as_dir=.
4056   for ac_exec_ext in '' $ac_executable_extensions; do
4057   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4058     ac_cv_prog_ac_ct_RANLIB="ranlib"
4059     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4060     break 2
4061   fi
4062 done
4063 done
4064
4065   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4066 fi
4067 fi
4068 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4069 if test -n "$ac_ct_RANLIB"; then
4070   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4071 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4072 else
4073   echo "$as_me:$LINENO: result: no" >&5
4074 echo "${ECHO_T}no" >&6
4075 fi
4076
4077   RANLIB=$ac_ct_RANLIB
4078 else
4079   RANLIB="$ac_cv_prog_RANLIB"
4080 fi
4081
4082
4083   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4084 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4085     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4086 if test "${enable_maintainer_mode+set}" = set; then
4087   enableval="$enable_maintainer_mode"
4088   USE_MAINTAINER_MODE=$enableval
4089 else
4090   USE_MAINTAINER_MODE=no
4091 fi;
4092   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4093 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4094
4095
4096 if test $USE_MAINTAINER_MODE = yes; then
4097   MAINTAINER_MODE_TRUE=
4098   MAINTAINER_MODE_FALSE='#'
4099 else
4100   MAINTAINER_MODE_TRUE='#'
4101   MAINTAINER_MODE_FALSE=
4102 fi
4103
4104   MAINT=$MAINTAINER_MODE_TRUE
4105
4106
4107
4108   # Set up safe default values for all subsequent AM_CONDITIONAL tests
4109   # which are themselves conditionally expanded.
4110   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4111   ## other macros from doing the same.  This should be automated.)  -pme
4112   need_libmath=no
4113
4114   # Check for uClibc since Linux platforms use different configuration
4115   # directories depending on the C library in use.
4116   cat >conftest.$ac_ext <<_ACEOF
4117 /* confdefs.h.  */
4118 _ACEOF
4119 cat confdefs.h >>conftest.$ac_ext
4120 cat >>conftest.$ac_ext <<_ACEOF
4121 /* end confdefs.h.  */
4122
4123   #include <stdio.h>
4124   #if __UCLIBC__
4125     _using_uclibc
4126   #endif
4127
4128 _ACEOF
4129 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4130   $EGREP "_using_uclibc" >/dev/null 2>&1; then
4131   uclibc=yes
4132 else
4133   uclibc=no
4134 fi
4135 rm -f conftest*
4136
4137
4138   # Find platform-specific directories containing configuration info.
4139   # Also possibly modify flags used elsewhere, as needed by the platform.
4140
4141   . $glibcxx_srcdir/configure.host
4142   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4143 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4144   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4145 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4146
4147
4148
4149 if test "x${with_newlib}" != "xyes"; then
4150   enable_dlopen=yes
4151
4152
4153
4154 fi
4155
4156
4157 macro_version='2.1a'
4158 macro_revision='1.2435'
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171 ltmain="$ac_aux_dir/ltmain.sh"
4172
4173 # Set options
4174
4175
4176 enable_win32_dll=no
4177
4178
4179 # Check whether --enable-shared or --disable-shared was given.
4180 if test "${enable_shared+set}" = set; then
4181   enableval="$enable_shared"
4182   p=${PACKAGE-default}
4183     case $enableval in
4184     yes) enable_shared=yes ;;
4185     no) enable_shared=no ;;
4186     *)
4187       enable_shared=no
4188       # Look at the argument we got.  We use all the common list separators.
4189       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4190       for pkg in $enableval; do
4191         IFS="$lt_save_ifs"
4192         if test "X$pkg" = "X$p"; then
4193           enable_shared=yes
4194         fi
4195       done
4196       IFS="$lt_save_ifs"
4197       ;;
4198     esac
4199 else
4200   enable_shared=yes
4201 fi;
4202
4203
4204
4205
4206
4207
4208
4209
4210 # Check whether --enable-static or --disable-static was given.
4211 if test "${enable_static+set}" = set; then
4212   enableval="$enable_static"
4213   p=${PACKAGE-default}
4214     case $enableval in
4215     yes) enable_static=yes ;;
4216     no) enable_static=no ;;
4217     *)
4218      enable_static=no
4219       # Look at the argument we got.  We use all the common list separators.
4220       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4221       for pkg in $enableval; do
4222         IFS="$lt_save_ifs"
4223         if test "X$pkg" = "X$p"; then
4224           enable_static=yes
4225         fi
4226       done
4227       IFS="$lt_save_ifs"
4228       ;;
4229     esac
4230 else
4231   enable_static=yes
4232 fi;
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242 # Check whether --with-pic or --without-pic was given.
4243 if test "${with_pic+set}" = set; then
4244   withval="$with_pic"
4245   pic_mode="$withval"
4246 else
4247   pic_mode=default
4248 fi;
4249
4250 test -z "$pic_mode" && pic_mode=default
4251
4252
4253
4254
4255
4256
4257
4258 # Check whether --enable-fast-install or --disable-fast-install was given.
4259 if test "${enable_fast_install+set}" = set; then
4260   enableval="$enable_fast_install"
4261   p=${PACKAGE-default}
4262     case $enableval in
4263     yes) enable_fast_install=yes ;;
4264     no) enable_fast_install=no ;;
4265     *)
4266       enable_fast_install=no
4267       # Look at the argument we got.  We use all the common list separators.
4268       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4269       for pkg in $enableval; do
4270         IFS="$lt_save_ifs"
4271         if test "X$pkg" = "X$p"; then
4272           enable_fast_install=yes
4273         fi
4274       done
4275       IFS="$lt_save_ifs"
4276       ;;
4277     esac
4278 else
4279   enable_fast_install=yes
4280 fi;
4281
4282
4283
4284
4285
4286
4287
4288
4289 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4290 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4291 if test "${lt_cv_path_SED+set}" = set; then
4292   echo $ECHO_N "(cached) $ECHO_C" >&6
4293 else
4294   # Loop through the user's path and test for sed and gsed.
4295 # Then use that list of sed's as ones to test for truncation.
4296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4297 for as_dir in $PATH
4298 do
4299   IFS=$as_save_IFS
4300   test -z "$as_dir" && as_dir=.
4301   for lt_ac_prog in sed gsed; do
4302     for ac_exec_ext in '' $ac_executable_extensions; do
4303       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4304         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4305       fi
4306     done
4307   done
4308 done
4309 IFS=$as_save_IFS
4310 lt_ac_max=0
4311 lt_ac_count=0
4312 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4313 # along with /bin/sed that truncates output.
4314 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4315   test ! -f $lt_ac_sed && continue
4316   cat /dev/null > conftest.in
4317   lt_ac_count=0
4318   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4319   # Check for GNU sed and select it if it is found.
4320   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4321     lt_cv_path_SED=$lt_ac_sed
4322     break
4323   fi
4324   while true; do
4325     cat conftest.in conftest.in >conftest.tmp
4326     mv conftest.tmp conftest.in
4327     cp conftest.in conftest.nl
4328     echo >>conftest.nl
4329     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4330     cmp -s conftest.out conftest.nl || break
4331     # 10000 chars as input seems more than enough
4332     test $lt_ac_count -gt 10 && break
4333     lt_ac_count=`expr $lt_ac_count + 1`
4334     if test $lt_ac_count -gt $lt_ac_max; then
4335       lt_ac_max=$lt_ac_count
4336       lt_cv_path_SED=$lt_ac_sed
4337     fi
4338   done
4339 done
4340
4341 fi
4342
4343 SED=$lt_cv_path_SED
4344
4345 echo "$as_me:$LINENO: result: $SED" >&5
4346 echo "${ECHO_T}$SED" >&6
4347
4348 test -z "$SED" && SED=sed
4349 Xsed="$SED -e 1s/^X//"
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361 echo "$as_me:$LINENO: checking for fgrep" >&5
4362 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4363 if test "${ac_cv_prog_fgrep+set}" = set; then
4364   echo $ECHO_N "(cached) $ECHO_C" >&6
4365 else
4366   if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4367     then ac_cv_prog_fgrep='grep -F'
4368     else ac_cv_prog_fgrep='fgrep'
4369     fi
4370 fi
4371 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4372 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4373  FGREP=$ac_cv_prog_fgrep
4374
4375
4376 test -z "$GREP" && GREP=grep
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4397 if test "${with_gnu_ld+set}" = set; then
4398   withval="$with_gnu_ld"
4399   test "$withval" = no || with_gnu_ld=yes
4400 else
4401   with_gnu_ld=no
4402 fi;
4403 ac_prog=ld
4404 if test "$GCC" = yes; then
4405   # Check if gcc -print-prog-name=ld gives a path.
4406   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4407 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4408   case $host in
4409   *-*-mingw*)
4410     # gcc leaves a trailing carriage return which upsets mingw
4411     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4412   *)
4413     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4414   esac
4415   case $ac_prog in
4416     # Accept absolute paths.
4417     [\\/]* | ?:[\\/]*)
4418       re_direlt='/[^/][^/]*/\.\./'
4419       # Canonicalize the pathname of ld
4420       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4421       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4422         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4423       done
4424       test -z "$LD" && LD="$ac_prog"
4425       ;;
4426   "")
4427     # If it fails, then pretend we aren't using GCC.
4428     ac_prog=ld
4429     ;;
4430   *)
4431     # If it is relative, then search for the first ld in PATH.
4432     with_gnu_ld=unknown
4433     ;;
4434   esac
4435 elif test "$with_gnu_ld" = yes; then
4436   echo "$as_me:$LINENO: checking for GNU ld" >&5
4437 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4438 else
4439   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4440 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4441 fi
4442 if test "${lt_cv_path_LD+set}" = set; then
4443   echo $ECHO_N "(cached) $ECHO_C" >&6
4444 else
4445   if test -z "$LD"; then
4446   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4447   for ac_dir in $PATH; do
4448     IFS="$lt_save_ifs"
4449     test -z "$ac_dir" && ac_dir=.
4450     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4451       lt_cv_path_LD="$ac_dir/$ac_prog"
4452       # Check to see if the program is GNU ld.  I'd rather use --version,
4453       # but apparently some variants of GNU ld only accept -v.
4454       # Break only if it was the GNU/non-GNU ld that we prefer.
4455       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4456       *GNU* | *'with BFD'*)
4457         test "$with_gnu_ld" != no && break
4458         ;;
4459       *)
4460         test "$with_gnu_ld" != yes && break
4461         ;;
4462       esac
4463     fi
4464   done
4465   IFS="$lt_save_ifs"
4466 else
4467   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4468 fi
4469 fi
4470
4471 LD="$lt_cv_path_LD"
4472 if test -n "$LD"; then
4473   echo "$as_me:$LINENO: result: $LD" >&5
4474 echo "${ECHO_T}$LD" >&6
4475 else
4476   echo "$as_me:$LINENO: result: no" >&5
4477 echo "${ECHO_T}no" >&6
4478 fi
4479 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4480 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4481    { (exit 1); exit 1; }; }
4482 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4483 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4484 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4485   echo $ECHO_N "(cached) $ECHO_C" >&6
4486 else
4487   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4488 case `$LD -v 2>&1 </dev/null` in
4489 *GNU* | *'with BFD'*)
4490   lt_cv_prog_gnu_ld=yes
4491   ;;
4492 *)
4493   lt_cv_prog_gnu_ld=no
4494   ;;
4495 esac
4496 fi
4497 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4498 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4499 with_gnu_ld=$lt_cv_prog_gnu_ld
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4511 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4512 if test "${lt_cv_path_NM+set}" = set; then
4513   echo $ECHO_N "(cached) $ECHO_C" >&6
4514 else
4515   if test -n "$NM"; then
4516   # Let the user override the test.
4517   lt_cv_path_NM="$NM"
4518 else
4519   lt_nm_to_check="${ac_tool_prefix}nm"
4520   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4521     lt_nm_to_check="$lt_nm_to_check nm"
4522   fi
4523   for lt_tmp_nm in $lt_nm_to_check; do
4524     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4525     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4526       IFS="$lt_save_ifs"
4527       test -z "$ac_dir" && ac_dir=.
4528       tmp_nm="$ac_dir/$lt_tmp_nm"
4529       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4530         # Check to see if the nm accepts a BSD-compat flag.
4531         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4532         #   nm: unknown option "B" ignored
4533         # Tru64's nm complains that /dev/null is an invalid object file
4534         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4535         */dev/null* | *'Invalid file or object type'*)
4536           lt_cv_path_NM="$tmp_nm -B"
4537           break
4538           ;;
4539         *)
4540           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4541           */dev/null*)
4542             lt_cv_path_NM="$tmp_nm -p"
4543             break
4544             ;;
4545           *)
4546             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4547             continue # so that we can try to find one that supports BSD flags
4548             ;;
4549           esac
4550           ;;
4551         esac
4552       fi
4553     done
4554     IFS="$lt_save_ifs"
4555   done
4556   : ${lt_cv_path_NM=no}
4557 fi
4558 fi
4559 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4560 echo "${ECHO_T}$lt_cv_path_NM" >&6
4561 if test "$lt_cv_path_NM" != "no"; then
4562   NM="$lt_cv_path_NM"
4563 else
4564   # Didn't find any BSD compatible name lister, look for dumpbin.
4565   if test -n "$ac_tool_prefix"; then
4566   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4567   do
4568     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4569 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4570 echo "$as_me:$LINENO: checking for $ac_word" >&5
4571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4572 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4573   echo $ECHO_N "(cached) $ECHO_C" >&6
4574 else
4575   if test -n "$DUMPBIN"; then
4576   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4577 else
4578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4579 for as_dir in $PATH
4580 do
4581   IFS=$as_save_IFS
4582   test -z "$as_dir" && as_dir=.
4583   for ac_exec_ext in '' $ac_executable_extensions; do
4584   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4585     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4586     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4587     break 2
4588   fi
4589 done
4590 done
4591
4592 fi
4593 fi
4594 DUMPBIN=$ac_cv_prog_DUMPBIN
4595 if test -n "$DUMPBIN"; then
4596   echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4597 echo "${ECHO_T}$DUMPBIN" >&6
4598 else
4599   echo "$as_me:$LINENO: result: no" >&5
4600 echo "${ECHO_T}no" >&6
4601 fi
4602
4603     test -n "$DUMPBIN" && break
4604   done
4605 fi
4606 if test -z "$DUMPBIN"; then
4607   ac_ct_DUMPBIN=$DUMPBIN
4608   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4609 do
4610   # Extract the first word of "$ac_prog", so it can be a program name with args.
4611 set dummy $ac_prog; ac_word=$2
4612 echo "$as_me:$LINENO: checking for $ac_word" >&5
4613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4614 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4615   echo $ECHO_N "(cached) $ECHO_C" >&6
4616 else
4617   if test -n "$ac_ct_DUMPBIN"; then
4618   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4619 else
4620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4621 for as_dir in $PATH
4622 do
4623   IFS=$as_save_IFS
4624   test -z "$as_dir" && as_dir=.
4625   for ac_exec_ext in '' $ac_executable_extensions; do
4626   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4627     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4628     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4629     break 2
4630   fi
4631 done
4632 done
4633
4634 fi
4635 fi
4636 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4637 if test -n "$ac_ct_DUMPBIN"; then
4638   echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4639 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4640 else
4641   echo "$as_me:$LINENO: result: no" >&5
4642 echo "${ECHO_T}no" >&6
4643 fi
4644
4645   test -n "$ac_ct_DUMPBIN" && break
4646 done
4647 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4648
4649   DUMPBIN=$ac_ct_DUMPBIN
4650 fi
4651
4652
4653   if test "$DUMPBIN" != ":"; then
4654     NM="$DUMPBIN"
4655   fi
4656 fi
4657 test -z "$NM" && NM=nm
4658
4659
4660
4661
4662
4663
4664 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4665 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4666 if test "${lt_cv_nm_interface+set}" = set; then
4667   echo $ECHO_N "(cached) $ECHO_C" >&6
4668 else
4669   lt_cv_nm_interface="BSD nm"
4670   echo "int some_variable = 0;" > conftest.$ac_ext
4671   (eval echo "\"\$as_me:4671: $ac_compile\"" >&5)
4672   (eval "$ac_compile" 2>conftest.err)
4673   cat conftest.err >&5
4674   (eval echo "\"\$as_me:4674: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4675   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4676   cat conftest.err >&5
4677   (eval echo "\"\$as_me:4677: output\"" >&5)
4678   cat conftest.out >&5
4679   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4680     lt_cv_nm_interface="MS dumpbin"
4681   fi
4682   rm -f conftest*
4683 fi
4684 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4685 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4686
4687 # find the maximum length of command line arguments
4688 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4689 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4690 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4691   echo $ECHO_N "(cached) $ECHO_C" >&6
4692 else
4693     i=0
4694   teststring="ABCD"
4695
4696   case $build_os in
4697   msdosdjgpp*)
4698     # On DJGPP, this test can blow up pretty badly due to problems in libc
4699     # (any single argument exceeding 2000 bytes causes a buffer overrun
4700     # during glob expansion).  Even if it were fixed, the result of this
4701     # check would be larger than it should be.
4702     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4703     ;;
4704
4705   gnu*)
4706     # Under GNU Hurd, this test is not required because there is
4707     # no limit to the length of command line arguments.
4708     # Libtool will interpret -1 as no limit whatsoever
4709     lt_cv_sys_max_cmd_len=-1;
4710     ;;
4711
4712   cygwin* | mingw*)
4713     # On Win9x/ME, this test blows up -- it succeeds, but takes
4714     # about 5 minutes as the teststring grows exponentially.
4715     # Worse, since 9x/ME are not pre-emptively multitasking,
4716     # you end up with a "frozen" computer, even though with patience
4717     # the test eventually succeeds (with a max line length of 256k).
4718     # Instead, let's just punt: use the minimum linelength reported by
4719     # all of the supported platforms: 8192 (on NT/2K/XP).
4720     lt_cv_sys_max_cmd_len=8192;
4721     ;;
4722
4723   amigaos*)
4724     # On AmigaOS with pdksh, this test takes hours, literally.
4725     # So we just punt and use a minimum line length of 8192.
4726     lt_cv_sys_max_cmd_len=8192;
4727     ;;
4728
4729   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4730     # This has been around since 386BSD, at least.  Likely further.
4731     if test -x /sbin/sysctl; then
4732       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4733     elif test -x /usr/sbin/sysctl; then
4734       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4735     else
4736       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4737     fi
4738     # And add a safety zone
4739     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4740     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4741     ;;
4742
4743   interix*)
4744     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4745     lt_cv_sys_max_cmd_len=196608
4746     ;;
4747
4748   osf*)
4749     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4750     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4751     # nice to cause kernel panics so lets avoid the loop below.
4752     # First set a reasonable default.
4753     lt_cv_sys_max_cmd_len=16384
4754     #
4755     if test -x /sbin/sysconfig; then
4756       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4757         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4758       esac
4759     fi
4760     ;;
4761   sco3.2v5*)
4762     lt_cv_sys_max_cmd_len=102400
4763     ;;
4764   sysv5* | sco5v6* | sysv4.2uw2*)
4765     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4766     if test -n "$kargmax"; then
4767       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4768     else
4769       lt_cv_sys_max_cmd_len=32768
4770     fi
4771     ;;
4772   *)
4773     lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4774     if test -n $lt_cv_sys_max_cmd_len; then
4775       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4776       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4777     else
4778       # Make teststring a little bigger before we do anything with it.
4779       # a 1K string should be a reasonable start.
4780       for i in 1 2 3 4 5 6 7 8 ; do
4781         teststring=$teststring$teststring
4782       done
4783       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4784       # If test is not a shell built-in, we'll probably end up computing a
4785       # maximum length that is only half of the actual maximum length, but
4786       # we can't tell.
4787       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4788                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4789               test $i != 17 # 1/2 MB should be enough
4790       do
4791         i=`expr $i + 1`
4792         teststring=$teststring$teststring
4793       done
4794       # Only check the string length outside the loop.
4795       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4796       teststring=
4797       # Add a significant safety factor because C++ compilers can tack on
4798       # massive amounts of additional arguments before passing them to the
4799       # linker.  It appears as though 1/2 is a usable value.
4800       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4801     fi
4802     ;;
4803   esac
4804
4805 fi
4806
4807 if test -n $lt_cv_sys_max_cmd_len ; then
4808   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4809 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4810 else
4811   echo "$as_me:$LINENO: result: none" >&5
4812 echo "${ECHO_T}none" >&6
4813 fi
4814 max_cmd_len=$lt_cv_sys_max_cmd_len
4815
4816
4817
4818
4819
4820
4821
4822 : ${CP="cp -f"}
4823 : ${MV="mv -f"}
4824 : ${RM="rm -f"}
4825
4826 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4827 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4828 # Try some XSI features
4829 xsi_shell=no
4830 ( _lt_dummy="a/b/c"
4831   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4832       = c,a/b,, ) >/dev/null 2>&1 \
4833   && xsi_shell=yes
4834 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4835 echo "${ECHO_T}$xsi_shell" >&6
4836
4837
4838 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4839 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4840 lt_shell_append=no
4841 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4842     >/dev/null 2>&1 \
4843   && lt_shell_append=yes
4844 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4845 echo "${ECHO_T}$lt_shell_append" >&6
4846
4847
4848 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4849   lt_unset=unset
4850 else
4851   lt_unset=false
4852 fi
4853
4854
4855
4856
4857
4858 # test EBCDIC or ASCII
4859 case `echo X|tr X '\101'` in
4860  A) # ASCII based system
4861     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4862   lt_SP2NL='tr \040 \012'
4863   lt_NL2SP='tr \015\012 \040\040'
4864   ;;
4865  *) # EBCDIC based system
4866   lt_SP2NL='tr \100 \n'
4867   lt_NL2SP='tr \r\n \100\100'
4868   ;;
4869 esac
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4880 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4881 if test "${lt_cv_ld_reload_flag+set}" = set; then
4882   echo $ECHO_N "(cached) $ECHO_C" >&6
4883 else
4884   lt_cv_ld_reload_flag='-r'
4885 fi
4886 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4887 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4888 reload_flag=$lt_cv_ld_reload_flag
4889 case $reload_flag in
4890 "" | " "*) ;;
4891 *) reload_flag=" $reload_flag" ;;
4892 esac
4893 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4894 case $host_os in
4895   darwin*)
4896     if test "$GCC" = yes; then
4897       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4898     else
4899       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4900     fi
4901     ;;
4902 esac
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4914 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4915 if test "${lt_cv_deplibs_check_method+set}" = set; then
4916   echo $ECHO_N "(cached) $ECHO_C" >&6
4917 else
4918   lt_cv_file_magic_cmd='$MAGIC_CMD'
4919 lt_cv_file_magic_test_file=
4920 lt_cv_deplibs_check_method='unknown'
4921 # Need to set the preceding variable on all platforms that support
4922 # interlibrary dependencies.
4923 # 'none' -- dependencies not supported.
4924 # `unknown' -- same as none, but documents that we really don't know.
4925 # 'pass_all' -- all dependencies passed with no checks.
4926 # 'test_compile' -- check by making test program.
4927 # 'file_magic [[regex]]' -- check by looking for files in library path
4928 # which responds to the $file_magic_cmd with a given extended regex.
4929 # If you have `file' or equivalent on your system and you're not sure
4930 # whether `pass_all' will *always* work, you probably want this one.
4931
4932 case $host_os in
4933 aix[4-9]*)
4934   lt_cv_deplibs_check_method=pass_all
4935   ;;
4936
4937 beos*)
4938   lt_cv_deplibs_check_method=pass_all
4939   ;;
4940
4941 bsdi[45]*)
4942   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4943   lt_cv_file_magic_cmd='/usr/bin/file -L'
4944   lt_cv_file_magic_test_file=/shlib/libc.so
4945   ;;
4946
4947 cygwin*)
4948   # func_win32_libid is a shell function defined in ltmain.sh
4949   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4950   lt_cv_file_magic_cmd='func_win32_libid'
4951   ;;
4952
4953 mingw* | pw32*)
4954   # Base MSYS/MinGW do not provide the 'file' command needed by
4955   # func_win32_libid shell function, so use a weaker test based on 'objdump',
4956   # unless we find 'file', for example because we are cross-compiling.
4957   if ( file / ) >/dev/null 2>&1; then
4958     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4959     lt_cv_file_magic_cmd='func_win32_libid'
4960   else
4961     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4962     lt_cv_file_magic_cmd='$OBJDUMP -f'
4963   fi
4964   ;;
4965
4966 darwin* | rhapsody*)
4967   lt_cv_deplibs_check_method=pass_all
4968   ;;
4969
4970 freebsd* | dragonfly*)
4971   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4972     case $host_cpu in
4973     i*86 )
4974       # Not sure whether the presence of OpenBSD here was a mistake.
4975       # Let's accept both of them until this is cleared up.
4976       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4977       lt_cv_file_magic_cmd=/usr/bin/file
4978       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4979       ;;
4980     esac
4981   else
4982     lt_cv_deplibs_check_method=pass_all
4983   fi
4984   ;;
4985
4986 gnu*)
4987   lt_cv_deplibs_check_method=pass_all
4988   ;;
4989
4990 hpux10.20* | hpux11*)
4991   lt_cv_file_magic_cmd=/usr/bin/file
4992   case $host_cpu in
4993   ia64*)
4994     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4995     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4996     ;;
4997   hppa*64*)
4998     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]'
4999     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5000     ;;
5001   *)
5002     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5003     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5004     ;;
5005   esac
5006   ;;
5007
5008 interix[3-9]*)
5009   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5010   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5011   ;;
5012
5013 irix5* | irix6* | nonstopux*)
5014   case $LD in
5015   *-32|*"-32 ") libmagic=32-bit;;
5016   *-n32|*"-n32 ") libmagic=N32;;
5017   *-64|*"-64 ") libmagic=64-bit;;
5018   *) libmagic=never-match;;
5019   esac
5020   lt_cv_deplibs_check_method=pass_all
5021   ;;
5022
5023 # This must be Linux ELF.
5024 linux* | k*bsd*-gnu)
5025   lt_cv_deplibs_check_method=pass_all
5026   ;;
5027
5028 netbsd*)
5029   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5030     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5031   else
5032     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5033   fi
5034   ;;
5035
5036 newos6*)
5037   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5038   lt_cv_file_magic_cmd=/usr/bin/file
5039   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5040   ;;
5041
5042 *nto* | *qnx*)
5043   lt_cv_deplibs_check_method=pass_all
5044   ;;
5045
5046 openbsd*)
5047   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5048     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5049   else
5050     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5051   fi
5052   ;;
5053
5054 osf3* | osf4* | osf5*)
5055   lt_cv_deplibs_check_method=pass_all
5056   ;;
5057
5058 rdos*)
5059   lt_cv_deplibs_check_method=pass_all
5060   ;;
5061
5062 solaris*)
5063   lt_cv_deplibs_check_method=pass_all
5064   ;;
5065
5066 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5067   lt_cv_deplibs_check_method=pass_all
5068   ;;
5069
5070 sysv4 | sysv4.3*)
5071   case $host_vendor in
5072   motorola)
5073     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]'
5074     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5075     ;;
5076   ncr)
5077     lt_cv_deplibs_check_method=pass_all
5078     ;;
5079   sequent)
5080     lt_cv_file_magic_cmd='/bin/file'
5081     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5082     ;;
5083   sni)
5084     lt_cv_file_magic_cmd='/bin/file'
5085     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5086     lt_cv_file_magic_test_file=/lib/libc.so
5087     ;;
5088   siemens)
5089     lt_cv_deplibs_check_method=pass_all
5090     ;;
5091   pc)
5092     lt_cv_deplibs_check_method=pass_all
5093     ;;
5094   esac
5095   ;;
5096
5097 tpf*)
5098   lt_cv_deplibs_check_method=pass_all
5099   ;;
5100 esac
5101
5102 fi
5103 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5104 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5105 file_magic_cmd=$lt_cv_file_magic_cmd
5106 deplibs_check_method=$lt_cv_deplibs_check_method
5107 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120 if test -n "$ac_tool_prefix"; then
5121   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5122 set dummy ${ac_tool_prefix}ar; ac_word=$2
5123 echo "$as_me:$LINENO: checking for $ac_word" >&5
5124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5125 if test "${ac_cv_prog_AR+set}" = set; then
5126   echo $ECHO_N "(cached) $ECHO_C" >&6
5127 else
5128   if test -n "$AR"; then
5129   ac_cv_prog_AR="$AR" # Let the user override the test.
5130 else
5131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5132 for as_dir in $PATH
5133 do
5134   IFS=$as_save_IFS
5135   test -z "$as_dir" && as_dir=.
5136   for ac_exec_ext in '' $ac_executable_extensions; do
5137   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5138     ac_cv_prog_AR="${ac_tool_prefix}ar"
5139     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5140     break 2
5141   fi
5142 done
5143 done
5144
5145 fi
5146 fi
5147 AR=$ac_cv_prog_AR
5148 if test -n "$AR"; then
5149   echo "$as_me:$LINENO: result: $AR" >&5
5150 echo "${ECHO_T}$AR" >&6
5151 else
5152   echo "$as_me:$LINENO: result: no" >&5
5153 echo "${ECHO_T}no" >&6
5154 fi
5155
5156 fi
5157 if test -z "$ac_cv_prog_AR"; then
5158   ac_ct_AR=$AR
5159   # Extract the first word of "ar", so it can be a program name with args.
5160 set dummy ar; ac_word=$2
5161 echo "$as_me:$LINENO: checking for $ac_word" >&5
5162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5163 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5164   echo $ECHO_N "(cached) $ECHO_C" >&6
5165 else
5166   if test -n "$ac_ct_AR"; then
5167   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5168 else
5169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5170 for as_dir in $PATH
5171 do
5172   IFS=$as_save_IFS
5173   test -z "$as_dir" && as_dir=.
5174   for ac_exec_ext in '' $ac_executable_extensions; do
5175   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5176     ac_cv_prog_ac_ct_AR="ar"
5177     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5178     break 2
5179   fi
5180 done
5181 done
5182
5183   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5184 fi
5185 fi
5186 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5187 if test -n "$ac_ct_AR"; then
5188   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5189 echo "${ECHO_T}$ac_ct_AR" >&6
5190 else
5191   echo "$as_me:$LINENO: result: no" >&5
5192 echo "${ECHO_T}no" >&6
5193 fi
5194
5195   AR=$ac_ct_AR
5196 else
5197   AR="$ac_cv_prog_AR"
5198 fi
5199
5200 test -z "$AR" && AR=ar
5201 test -z "$AR_FLAGS" && AR_FLAGS=cru
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213 if test -n "$ac_tool_prefix"; then
5214   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5215 set dummy ${ac_tool_prefix}strip; ac_word=$2
5216 echo "$as_me:$LINENO: checking for $ac_word" >&5
5217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5218 if test "${ac_cv_prog_STRIP+set}" = set; then
5219   echo $ECHO_N "(cached) $ECHO_C" >&6
5220 else
5221   if test -n "$STRIP"; then
5222   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5223 else
5224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5225 for as_dir in $PATH
5226 do
5227   IFS=$as_save_IFS
5228   test -z "$as_dir" && as_dir=.
5229   for ac_exec_ext in '' $ac_executable_extensions; do
5230   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5231     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5232     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5233     break 2
5234   fi
5235 done
5236 done
5237
5238 fi
5239 fi
5240 STRIP=$ac_cv_prog_STRIP
5241 if test -n "$STRIP"; then
5242   echo "$as_me:$LINENO: result: $STRIP" >&5
5243 echo "${ECHO_T}$STRIP" >&6
5244 else
5245   echo "$as_me:$LINENO: result: no" >&5
5246 echo "${ECHO_T}no" >&6
5247 fi
5248
5249 fi
5250 if test -z "$ac_cv_prog_STRIP"; then
5251   ac_ct_STRIP=$STRIP
5252   # Extract the first word of "strip", so it can be a program name with args.
5253 set dummy strip; ac_word=$2
5254 echo "$as_me:$LINENO: checking for $ac_word" >&5
5255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5256 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5257   echo $ECHO_N "(cached) $ECHO_C" >&6
5258 else
5259   if test -n "$ac_ct_STRIP"; then
5260   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5261 else
5262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5263 for as_dir in $PATH
5264 do
5265   IFS=$as_save_IFS
5266   test -z "$as_dir" && as_dir=.
5267   for ac_exec_ext in '' $ac_executable_extensions; do
5268   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5269     ac_cv_prog_ac_ct_STRIP="strip"
5270     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5271     break 2
5272   fi
5273 done
5274 done
5275
5276   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5277 fi
5278 fi
5279 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5280 if test -n "$ac_ct_STRIP"; then
5281   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5282 echo "${ECHO_T}$ac_ct_STRIP" >&6
5283 else
5284   echo "$as_me:$LINENO: result: no" >&5
5285 echo "${ECHO_T}no" >&6
5286 fi
5287
5288   STRIP=$ac_ct_STRIP
5289 else
5290   STRIP="$ac_cv_prog_STRIP"
5291 fi
5292
5293 test -z "$STRIP" && STRIP=:
5294
5295
5296
5297
5298
5299
5300 if test -n "$ac_tool_prefix"; then
5301   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5302 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5303 echo "$as_me:$LINENO: checking for $ac_word" >&5
5304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5305 if test "${ac_cv_prog_RANLIB+set}" = set; then
5306   echo $ECHO_N "(cached) $ECHO_C" >&6
5307 else
5308   if test -n "$RANLIB"; then
5309   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5310 else
5311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5312 for as_dir in $PATH
5313 do
5314   IFS=$as_save_IFS
5315   test -z "$as_dir" && as_dir=.
5316   for ac_exec_ext in '' $ac_executable_extensions; do
5317   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5318     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5319     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5320     break 2
5321   fi
5322 done
5323 done
5324
5325 fi
5326 fi
5327 RANLIB=$ac_cv_prog_RANLIB
5328 if test -n "$RANLIB"; then
5329   echo "$as_me:$LINENO: result: $RANLIB" >&5
5330 echo "${ECHO_T}$RANLIB" >&6
5331 else
5332   echo "$as_me:$LINENO: result: no" >&5
5333 echo "${ECHO_T}no" >&6
5334 fi
5335
5336 fi
5337 if test -z "$ac_cv_prog_RANLIB"; then
5338   ac_ct_RANLIB=$RANLIB
5339   # Extract the first word of "ranlib", so it can be a program name with args.
5340 set dummy ranlib; ac_word=$2
5341 echo "$as_me:$LINENO: checking for $ac_word" >&5
5342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5343 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5344   echo $ECHO_N "(cached) $ECHO_C" >&6
5345 else
5346   if test -n "$ac_ct_RANLIB"; then
5347   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5348 else
5349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5350 for as_dir in $PATH
5351 do
5352   IFS=$as_save_IFS
5353   test -z "$as_dir" && as_dir=.
5354   for ac_exec_ext in '' $ac_executable_extensions; do
5355   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5356     ac_cv_prog_ac_ct_RANLIB="ranlib"
5357     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5358     break 2
5359   fi
5360 done
5361 done
5362
5363   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5364 fi
5365 fi
5366 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5367 if test -n "$ac_ct_RANLIB"; then
5368   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5369 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5370 else
5371   echo "$as_me:$LINENO: result: no" >&5
5372 echo "${ECHO_T}no" >&6
5373 fi
5374
5375   RANLIB=$ac_ct_RANLIB
5376 else
5377   RANLIB="$ac_cv_prog_RANLIB"
5378 fi
5379
5380 test -z "$RANLIB" && RANLIB=:
5381
5382
5383
5384
5385
5386
5387 # Determine commands to create old-style static archives.
5388 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5389 old_postinstall_cmds='chmod 644 $oldlib'
5390 old_postuninstall_cmds=
5391
5392 if test -n "$RANLIB"; then
5393   case $host_os in
5394   openbsd*)
5395     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5396     ;;
5397   *)
5398     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5399     ;;
5400   esac
5401   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5402 fi
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437 # If no C compiler was specified, use CC.
5438 LTCC=${LTCC-"$CC"}
5439
5440 # If no C compiler flags were specified, use CFLAGS.
5441 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5442
5443 # Allow CC to be a program name with arguments.
5444 compiler=$CC
5445
5446
5447 # Check for command to grab the raw symbol name followed by C symbol from nm.
5448 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5449 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5450 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5451   echo $ECHO_N "(cached) $ECHO_C" >&6
5452 else
5453
5454 # These are sane defaults that work on at least a few old systems.
5455 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5456
5457 # Character class describing NM global symbol codes.
5458 symcode='[BCDEGRST]'
5459
5460 # Regexp to match symbols that can be accessed directly from C.
5461 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5462
5463 # Define system-specific variables.
5464 case $host_os in
5465 aix*)
5466   symcode='[BCDT]'
5467   ;;
5468 cygwin* | mingw* | pw32*)
5469   symcode='[ABCDGISTW]'
5470   ;;
5471 hpux*)
5472   if test "$host_cpu" = ia64; then
5473     symcode='[ABCDEGRST]'
5474   fi
5475   ;;
5476 irix* | nonstopux*)
5477   symcode='[BCDEGRST]'
5478   ;;
5479 osf*)
5480   symcode='[BCDEGQRST]'
5481   ;;
5482 solaris*)
5483   symcode='[BDRT]'
5484   ;;
5485 sco3.2v5*)
5486   symcode='[DT]'
5487   ;;
5488 sysv4.2uw2*)
5489   symcode='[DT]'
5490   ;;
5491 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5492   symcode='[ABDT]'
5493   ;;
5494 sysv4)
5495   symcode='[DFNSTU]'
5496   ;;
5497 esac
5498
5499 # If we're using GNU nm, then use its standard symbol codes.
5500 case `$NM -V 2>&1` in
5501 *GNU* | *'with BFD'*)
5502   symcode='[ABCDGIRSTW]' ;;
5503 esac
5504
5505 # Transform an extracted symbol line into a proper C declaration.
5506 # Some systems (esp. on ia64) link data and code symbols differently,
5507 # so use this general approach.
5508 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5509
5510 # Transform an extracted symbol line into symbol name and symbol address
5511 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5512
5513 # Handle CRLF in mingw tool chain
5514 opt_cr=
5515 case $build_os in
5516 mingw*)
5517   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5518   ;;
5519 esac
5520
5521 # Try without a prefix underscore, then with it.
5522 for ac_symprfx in "" "_"; do
5523
5524   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5525   symxfrm="\\1 $ac_symprfx\\2 \\2"
5526
5527   # Write the raw and C identifiers.
5528   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5529     # Fake it for dumpbin and say T for any non-static function
5530     # and D for any global variable.
5531     # Also find C++ and __fastcall symbols from MSVC++,
5532     # which start with @ or ?.
5533     lt_cv_sys_global_symbol_pipe="$AWK '"\
5534 "     {last_section=section; section=\$ 3};"\
5535 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5536 "     \$ 0!~/External *\|/{next};"\
5537 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5538 "     {if(hide[section]) next};"\
5539 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5540 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5541 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5542 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5543 "     ' prfx=^$ac_symprfx"
5544   else
5545     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5546   fi
5547
5548   # Check to see that the pipe works correctly.
5549   pipe_works=no
5550
5551   rm -f conftest*
5552   cat > conftest.$ac_ext <<_LT_EOF
5553 #ifdef __cplusplus
5554 extern "C" {
5555 #endif
5556 char nm_test_var;
5557 void nm_test_func(void);
5558 void nm_test_func(void){}
5559 #ifdef __cplusplus
5560 }
5561 #endif
5562 int main(){nm_test_var='a';nm_test_func();return(0);}
5563 _LT_EOF
5564
5565   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5566   (eval $ac_compile) 2>&5
5567   ac_status=$?
5568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5569   (exit $ac_status); }; then
5570     # Now try to grab the symbols.
5571     nlist=conftest.nm
5572     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5573   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5574   ac_status=$?
5575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576   (exit $ac_status); } && test -s "$nlist"; then
5577       # Try sorting and uniquifying the output.
5578       if sort "$nlist" | uniq > "$nlist"T; then
5579         mv -f "$nlist"T "$nlist"
5580       else
5581         rm -f "$nlist"T
5582       fi
5583
5584       # Make sure that we snagged all the symbols we need.
5585       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5586         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5587           cat <<_LT_EOF > conftest.$ac_ext
5588 #ifdef __cplusplus
5589 extern "C" {
5590 #endif
5591
5592 _LT_EOF
5593           # Now generate the symbol file.
5594           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5595
5596           cat <<_LT_EOF >> conftest.$ac_ext
5597
5598 /* The mapping between symbol names and symbols.  */
5599 const struct {
5600   const char *name;
5601   void       *address;
5602 }
5603 lt__PROGRAM__LTX_preloaded_symbols[] =
5604 {
5605   { "@PROGRAM@", (void *) 0 },
5606 _LT_EOF
5607           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5608           cat <<\_LT_EOF >> conftest.$ac_ext
5609   {0, (void *) 0}
5610 };
5611
5612 /* This works around a problem in FreeBSD linker */
5613 #ifdef FREEBSD_WORKAROUND
5614 static const void *lt_preloaded_setup() {
5615   return lt__PROGRAM__LTX_preloaded_symbols;
5616 }
5617 #endif
5618
5619 #ifdef __cplusplus
5620 }
5621 #endif
5622 _LT_EOF
5623           # Now try linking the two files.
5624           mv conftest.$ac_objext conftstm.$ac_objext
5625           lt_save_LIBS="$LIBS"
5626           lt_save_CFLAGS="$CFLAGS"
5627           LIBS="conftstm.$ac_objext"
5628           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5629           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5630   (eval $ac_link) 2>&5
5631   ac_status=$?
5632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633   (exit $ac_status); } && test -s conftest${ac_exeext}; then
5634             pipe_works=yes
5635           fi
5636           LIBS="$lt_save_LIBS"
5637           CFLAGS="$lt_save_CFLAGS"
5638         else
5639           echo "cannot find nm_test_func in $nlist" >&5
5640         fi
5641       else
5642         echo "cannot find nm_test_var in $nlist" >&5
5643       fi
5644     else
5645       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5646     fi
5647   else
5648     echo "$progname: failed program was:" >&5
5649     cat conftest.$ac_ext >&5
5650   fi
5651   rm -f conftest* conftst*
5652
5653   # Do not use the global_symbol_pipe unless it works.
5654   if test "$pipe_works" = yes; then
5655     break
5656   else
5657     lt_cv_sys_global_symbol_pipe=
5658   fi
5659 done
5660
5661 fi
5662
5663 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5664   lt_cv_sys_global_symbol_to_cdecl=
5665 fi
5666 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5667   echo "$as_me:$LINENO: result: failed" >&5
5668 echo "${ECHO_T}failed" >&6
5669 else
5670   echo "$as_me:$LINENO: result: ok" >&5
5671 echo "${ECHO_T}ok" >&6
5672 fi
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5691 if test "${enable_libtool_lock+set}" = set; then
5692   enableval="$enable_libtool_lock"
5693
5694 fi;
5695 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5696
5697 # Some flags need to be propagated to the compiler or linker for good
5698 # libtool support.
5699 case $host in
5700 ia64-*-hpux*)
5701   # Find out which ABI we are using.
5702   echo 'int i;' > conftest.$ac_ext
5703   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5704   (eval $ac_compile) 2>&5
5705   ac_status=$?
5706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707   (exit $ac_status); }; then
5708     case `/usr/bin/file conftest.$ac_objext` in
5709       *ELF-32*)
5710         HPUX_IA64_MODE="32"
5711         ;;
5712       *ELF-64*)
5713         HPUX_IA64_MODE="64"
5714         ;;
5715     esac
5716   fi
5717   rm -rf conftest*
5718   ;;
5719 *-*-irix6*)
5720   # Find out which ABI we are using.
5721   echo '#line 5721 "configure"' > conftest.$ac_ext
5722   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5723   (eval $ac_compile) 2>&5
5724   ac_status=$?
5725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5726   (exit $ac_status); }; then
5727     if test "$lt_cv_prog_gnu_ld" = yes; then
5728       case `/usr/bin/file conftest.$ac_objext` in
5729         *32-bit*)
5730           LD="${LD-ld} -melf32bsmip"
5731           ;;
5732         *N32*)
5733           LD="${LD-ld} -melf32bmipn32"
5734           ;;
5735         *64-bit*)
5736           LD="${LD-ld} -melf64bmip"
5737         ;;
5738       esac
5739     else
5740       case `/usr/bin/file conftest.$ac_objext` in
5741         *32-bit*)
5742           LD="${LD-ld} -32"
5743           ;;
5744         *N32*)
5745           LD="${LD-ld} -n32"
5746           ;;
5747         *64-bit*)
5748           LD="${LD-ld} -64"
5749           ;;
5750       esac
5751     fi
5752   fi
5753   rm -rf conftest*
5754   ;;
5755
5756 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5757 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5758   # Find out which ABI we are using.
5759   echo 'int i;' > conftest.$ac_ext
5760   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5761   (eval $ac_compile) 2>&5
5762   ac_status=$?
5763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764   (exit $ac_status); }; then
5765     case `/usr/bin/file conftest.o` in
5766       *32-bit*)
5767         case $host in
5768           x86_64-*kfreebsd*-gnu)
5769             LD="${LD-ld} -m elf_i386_fbsd"
5770             ;;
5771           x86_64-*linux*)
5772             LD="${LD-ld} -m elf_i386"
5773             ;;
5774           ppc64-*linux*|powerpc64-*linux*)
5775             LD="${LD-ld} -m elf32ppclinux"
5776             ;;
5777           s390x-*linux*)
5778             LD="${LD-ld} -m elf_s390"
5779             ;;
5780           sparc64-*linux*)
5781             LD="${LD-ld} -m elf32_sparc"
5782             ;;
5783         esac
5784         ;;
5785       *64-bit*)
5786         case $host in
5787           x86_64-*kfreebsd*-gnu)
5788             LD="${LD-ld} -m elf_x86_64_fbsd"
5789             ;;
5790           x86_64-*linux*)
5791             LD="${LD-ld} -m elf_x86_64"
5792             ;;
5793           ppc*-*linux*|powerpc*-*linux*)
5794             LD="${LD-ld} -m elf64ppc"
5795             ;;
5796           s390*-*linux*|s390*-*tpf*)
5797             LD="${LD-ld} -m elf64_s390"
5798             ;;
5799           sparc*-*linux*)
5800             LD="${LD-ld} -m elf64_sparc"
5801             ;;
5802         esac
5803         ;;
5804     esac
5805   fi
5806   rm -rf conftest*
5807   ;;
5808
5809 *-*-sco3.2v5*)
5810   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5811   SAVE_CFLAGS="$CFLAGS"
5812   CFLAGS="$CFLAGS -belf"
5813   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5814 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5815 if test "${lt_cv_cc_needs_belf+set}" = set; then
5816   echo $ECHO_N "(cached) $ECHO_C" >&6
5817 else
5818   ac_ext=c
5819 ac_cpp='$CPP $CPPFLAGS'
5820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5823
5824      if test x$gcc_no_link = xyes; then
5825   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5827    { (exit 1); exit 1; }; }
5828 fi
5829 cat >conftest.$ac_ext <<_ACEOF
5830 /* confdefs.h.  */
5831 _ACEOF
5832 cat confdefs.h >>conftest.$ac_ext
5833 cat >>conftest.$ac_ext <<_ACEOF
5834 /* end confdefs.h.  */
5835
5836 int
5837 main ()
5838 {
5839
5840   ;
5841   return 0;
5842 }
5843 _ACEOF
5844 rm -f conftest.$ac_objext conftest$ac_exeext
5845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5846   (eval $ac_link) 2>conftest.er1
5847   ac_status=$?
5848   grep -v '^ *+' conftest.er1 >conftest.err
5849   rm -f conftest.er1
5850   cat conftest.err >&5
5851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852   (exit $ac_status); } &&
5853          { ac_try='test -z "$ac_c_werror_flag"
5854                          || test ! -s conftest.err'
5855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5856   (eval $ac_try) 2>&5
5857   ac_status=$?
5858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859   (exit $ac_status); }; } &&
5860          { ac_try='test -s conftest$ac_exeext'
5861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5862   (eval $ac_try) 2>&5
5863   ac_status=$?
5864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865   (exit $ac_status); }; }; then
5866   lt_cv_cc_needs_belf=yes
5867 else
5868   echo "$as_me: failed program was:" >&5
5869 sed 's/^/| /' conftest.$ac_ext >&5
5870
5871 lt_cv_cc_needs_belf=no
5872 fi
5873 rm -f conftest.err conftest.$ac_objext \
5874       conftest$ac_exeext conftest.$ac_ext
5875      ac_ext=c
5876 ac_cpp='$CPP $CPPFLAGS'
5877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5880
5881 fi
5882 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5883 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5884   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5885     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5886     CFLAGS="$SAVE_CFLAGS"
5887   fi
5888   ;;
5889 sparc*-*solaris*)
5890   # Find out which ABI we are using.
5891   echo 'int i;' > conftest.$ac_ext
5892   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5893   (eval $ac_compile) 2>&5
5894   ac_status=$?
5895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5896   (exit $ac_status); }; then
5897     case `/usr/bin/file conftest.o` in
5898     *64-bit*)
5899       case $lt_cv_prog_gnu_ld in
5900       yes*) LD="${LD-ld} -m elf64_sparc" ;;
5901       *)    LD="${LD-ld} -64" ;;
5902       esac
5903       ;;
5904     esac
5905   fi
5906   rm -rf conftest*
5907   ;;
5908 esac
5909
5910 need_locks="$enable_libtool_lock"
5911
5912 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5913 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5914 if test "${ac_cv_header_stdc+set}" = set; then
5915   echo $ECHO_N "(cached) $ECHO_C" >&6
5916 else
5917   cat >conftest.$ac_ext <<_ACEOF
5918 /* confdefs.h.  */
5919 _ACEOF
5920 cat confdefs.h >>conftest.$ac_ext
5921 cat >>conftest.$ac_ext <<_ACEOF
5922 /* end confdefs.h.  */
5923 #include <stdlib.h>
5924 #include <stdarg.h>
5925 #include <string.h>
5926 #include <float.h>
5927
5928 int
5929 main ()
5930 {
5931
5932   ;
5933   return 0;
5934 }
5935 _ACEOF
5936 rm -f conftest.$ac_objext
5937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5938   (eval $ac_compile) 2>conftest.er1
5939   ac_status=$?
5940   grep -v '^ *+' conftest.er1 >conftest.err
5941   rm -f conftest.er1
5942   cat conftest.err >&5
5943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944   (exit $ac_status); } &&
5945          { ac_try='test -z "$ac_c_werror_flag"
5946                          || test ! -s conftest.err'
5947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5948   (eval $ac_try) 2>&5
5949   ac_status=$?
5950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5951   (exit $ac_status); }; } &&
5952          { ac_try='test -s conftest.$ac_objext'
5953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5954   (eval $ac_try) 2>&5
5955   ac_status=$?
5956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957   (exit $ac_status); }; }; then
5958   ac_cv_header_stdc=yes
5959 else
5960   echo "$as_me: failed program was:" >&5
5961 sed 's/^/| /' conftest.$ac_ext >&5
5962
5963 ac_cv_header_stdc=no
5964 fi
5965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5966
5967 if test $ac_cv_header_stdc = yes; then
5968   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5969   cat >conftest.$ac_ext <<_ACEOF
5970 /* confdefs.h.  */
5971 _ACEOF
5972 cat confdefs.h >>conftest.$ac_ext
5973 cat >>conftest.$ac_ext <<_ACEOF
5974 /* end confdefs.h.  */
5975 #include <string.h>
5976
5977 _ACEOF
5978 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5979   $EGREP "memchr" >/dev/null 2>&1; then
5980   :
5981 else
5982   ac_cv_header_stdc=no
5983 fi
5984 rm -f conftest*
5985
5986 fi
5987
5988 if test $ac_cv_header_stdc = yes; then
5989   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5990   cat >conftest.$ac_ext <<_ACEOF
5991 /* confdefs.h.  */
5992 _ACEOF
5993 cat confdefs.h >>conftest.$ac_ext
5994 cat >>conftest.$ac_ext <<_ACEOF
5995 /* end confdefs.h.  */
5996 #include <stdlib.h>
5997
5998 _ACEOF
5999 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6000   $EGREP "free" >/dev/null 2>&1; then
6001   :
6002 else
6003   ac_cv_header_stdc=no
6004 fi
6005 rm -f conftest*
6006
6007 fi
6008
6009 if test $ac_cv_header_stdc = yes; then
6010   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6011   if test "$cross_compiling" = yes; then
6012   :
6013 else
6014   cat >conftest.$ac_ext <<_ACEOF
6015 /* confdefs.h.  */
6016 _ACEOF
6017 cat confdefs.h >>conftest.$ac_ext
6018 cat >>conftest.$ac_ext <<_ACEOF
6019 /* end confdefs.h.  */
6020 #include <ctype.h>
6021 #if ((' ' & 0x0FF) == 0x020)
6022 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6023 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6024 #else
6025 # define ISLOWER(c) \
6026                    (('a' <= (c) && (c) <= 'i') \
6027                      || ('j' <= (c) && (c) <= 'r') \
6028                      || ('s' <= (c) && (c) <= 'z'))
6029 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6030 #endif
6031
6032 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6033 int
6034 main ()
6035 {
6036   int i;
6037   for (i = 0; i < 256; i++)
6038     if (XOR (islower (i), ISLOWER (i))
6039         || toupper (i) != TOUPPER (i))
6040       exit(2);
6041   exit (0);
6042 }
6043 _ACEOF
6044 rm -f conftest$ac_exeext
6045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6046   (eval $ac_link) 2>&5
6047   ac_status=$?
6048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6049   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6051   (eval $ac_try) 2>&5
6052   ac_status=$?
6053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6054   (exit $ac_status); }; }; then
6055   :
6056 else
6057   echo "$as_me: program exited with status $ac_status" >&5
6058 echo "$as_me: failed program was:" >&5
6059 sed 's/^/| /' conftest.$ac_ext >&5
6060
6061 ( exit $ac_status )
6062 ac_cv_header_stdc=no
6063 fi
6064 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6065 fi
6066 fi
6067 fi
6068 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6069 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6070 if test $ac_cv_header_stdc = yes; then
6071
6072 cat >>confdefs.h <<\_ACEOF
6073 #define STDC_HEADERS 1
6074 _ACEOF
6075
6076 fi
6077
6078 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6089                   inttypes.h stdint.h unistd.h
6090 do
6091 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6092 echo "$as_me:$LINENO: checking for $ac_header" >&5
6093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6095   echo $ECHO_N "(cached) $ECHO_C" >&6
6096 else
6097   cat >conftest.$ac_ext <<_ACEOF
6098 /* confdefs.h.  */
6099 _ACEOF
6100 cat confdefs.h >>conftest.$ac_ext
6101 cat >>conftest.$ac_ext <<_ACEOF
6102 /* end confdefs.h.  */
6103 $ac_includes_default
6104
6105 #include <$ac_header>
6106 _ACEOF
6107 rm -f conftest.$ac_objext
6108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6109   (eval $ac_compile) 2>conftest.er1
6110   ac_status=$?
6111   grep -v '^ *+' conftest.er1 >conftest.err
6112   rm -f conftest.er1
6113   cat conftest.err >&5
6114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115   (exit $ac_status); } &&
6116          { ac_try='test -z "$ac_c_werror_flag"
6117                          || test ! -s conftest.err'
6118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6119   (eval $ac_try) 2>&5
6120   ac_status=$?
6121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122   (exit $ac_status); }; } &&
6123          { ac_try='test -s conftest.$ac_objext'
6124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6125   (eval $ac_try) 2>&5
6126   ac_status=$?
6127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6128   (exit $ac_status); }; }; then
6129   eval "$as_ac_Header=yes"
6130 else
6131   echo "$as_me: failed program was:" >&5
6132 sed 's/^/| /' conftest.$ac_ext >&5
6133
6134 eval "$as_ac_Header=no"
6135 fi
6136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6137 fi
6138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6139 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6140 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6141   cat >>confdefs.h <<_ACEOF
6142 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6143 _ACEOF
6144
6145 fi
6146
6147 done
6148
6149
6150
6151 for ac_header in dlfcn.h
6152 do
6153 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6154 echo "$as_me:$LINENO: checking for $ac_header" >&5
6155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6157   echo $ECHO_N "(cached) $ECHO_C" >&6
6158 else
6159   cat >conftest.$ac_ext <<_ACEOF
6160 /* confdefs.h.  */
6161 _ACEOF
6162 cat confdefs.h >>conftest.$ac_ext
6163 cat >>conftest.$ac_ext <<_ACEOF
6164 /* end confdefs.h.  */
6165 $ac_includes_default
6166
6167 #include <$ac_header>
6168 _ACEOF
6169 rm -f conftest.$ac_objext
6170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6171   (eval $ac_compile) 2>conftest.er1
6172   ac_status=$?
6173   grep -v '^ *+' conftest.er1 >conftest.err
6174   rm -f conftest.er1
6175   cat conftest.err >&5
6176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177   (exit $ac_status); } &&
6178          { ac_try='test -z "$ac_c_werror_flag"
6179                          || test ! -s conftest.err'
6180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6181   (eval $ac_try) 2>&5
6182   ac_status=$?
6183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184   (exit $ac_status); }; } &&
6185          { ac_try='test -s conftest.$ac_objext'
6186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6187   (eval $ac_try) 2>&5
6188   ac_status=$?
6189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6190   (exit $ac_status); }; }; then
6191   eval "$as_ac_Header=yes"
6192 else
6193   echo "$as_me: failed program was:" >&5
6194 sed 's/^/| /' conftest.$ac_ext >&5
6195
6196 eval "$as_ac_Header=no"
6197 fi
6198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6199 fi
6200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6201 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6202 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6203   cat >>confdefs.h <<_ACEOF
6204 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6205 _ACEOF
6206
6207 fi
6208
6209 done
6210
6211
6212
6213 ac_ext=cc
6214 ac_cpp='$CXXCPP $CPPFLAGS'
6215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6218 if test -n "$ac_tool_prefix"; then
6219   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6220   do
6221     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6222 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6223 echo "$as_me:$LINENO: checking for $ac_word" >&5
6224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6225 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6226   echo $ECHO_N "(cached) $ECHO_C" >&6
6227 else
6228   if test -n "$CXX"; then
6229   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6230 else
6231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6232 for as_dir in $PATH
6233 do
6234   IFS=$as_save_IFS
6235   test -z "$as_dir" && as_dir=.
6236   for ac_exec_ext in '' $ac_executable_extensions; do
6237   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6238     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6239     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6240     break 2
6241   fi
6242 done
6243 done
6244
6245 fi
6246 fi
6247 CXX=$glibcxx_cv_prog_CXX
6248 if test -n "$CXX"; then
6249   echo "$as_me:$LINENO: result: $CXX" >&5
6250 echo "${ECHO_T}$CXX" >&6
6251 else
6252   echo "$as_me:$LINENO: result: no" >&5
6253 echo "${ECHO_T}no" >&6
6254 fi
6255
6256     test -n "$CXX" && break
6257   done
6258 fi
6259 if test -z "$CXX"; then
6260   ac_ct_CXX=$CXX
6261   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6262 do
6263   # Extract the first word of "$ac_prog", so it can be a program name with args.
6264 set dummy $ac_prog; ac_word=$2
6265 echo "$as_me:$LINENO: checking for $ac_word" >&5
6266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6267 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6268   echo $ECHO_N "(cached) $ECHO_C" >&6
6269 else
6270   if test -n "$ac_ct_CXX"; then
6271   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6272 else
6273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6274 for as_dir in $PATH
6275 do
6276   IFS=$as_save_IFS
6277   test -z "$as_dir" && as_dir=.
6278   for ac_exec_ext in '' $ac_executable_extensions; do
6279   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6280     ac_cv_prog_ac_ct_CXX="$ac_prog"
6281     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6282     break 2
6283   fi
6284 done
6285 done
6286
6287 fi
6288 fi
6289 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6290 if test -n "$ac_ct_CXX"; then
6291   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6292 echo "${ECHO_T}$ac_ct_CXX" >&6
6293 else
6294   echo "$as_me:$LINENO: result: no" >&5
6295 echo "${ECHO_T}no" >&6
6296 fi
6297
6298   test -n "$ac_ct_CXX" && break
6299 done
6300 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6301
6302   CXX=$ac_ct_CXX
6303 fi
6304
6305
6306 # Provide some information about the compiler.
6307 echo "$as_me:$LINENO:" \
6308      "checking for C++ compiler version" >&5
6309 ac_compiler=`set X $ac_compile; echo $2`
6310 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6311   (eval $ac_compiler --version </dev/null >&5) 2>&5
6312   ac_status=$?
6313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6314   (exit $ac_status); }
6315 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6316   (eval $ac_compiler -v </dev/null >&5) 2>&5
6317   ac_status=$?
6318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6319   (exit $ac_status); }
6320 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6321   (eval $ac_compiler -V </dev/null >&5) 2>&5
6322   ac_status=$?
6323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6324   (exit $ac_status); }
6325
6326 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6327 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6328 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6329   echo $ECHO_N "(cached) $ECHO_C" >&6
6330 else
6331   cat >conftest.$ac_ext <<_ACEOF
6332 /* confdefs.h.  */
6333 _ACEOF
6334 cat confdefs.h >>conftest.$ac_ext
6335 cat >>conftest.$ac_ext <<_ACEOF
6336 /* end confdefs.h.  */
6337
6338 int
6339 main ()
6340 {
6341 #ifndef __GNUC__
6342        choke me
6343 #endif
6344
6345   ;
6346   return 0;
6347 }
6348 _ACEOF
6349 rm -f conftest.$ac_objext
6350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6351   (eval $ac_compile) 2>conftest.er1
6352   ac_status=$?
6353   grep -v '^ *+' conftest.er1 >conftest.err
6354   rm -f conftest.er1
6355   cat conftest.err >&5
6356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6357   (exit $ac_status); } &&
6358          { ac_try='test -z "$ac_cxx_werror_flag"
6359                          || test ! -s conftest.err'
6360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6361   (eval $ac_try) 2>&5
6362   ac_status=$?
6363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364   (exit $ac_status); }; } &&
6365          { ac_try='test -s conftest.$ac_objext'
6366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6367   (eval $ac_try) 2>&5
6368   ac_status=$?
6369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370   (exit $ac_status); }; }; then
6371   ac_compiler_gnu=yes
6372 else
6373   echo "$as_me: failed program was:" >&5
6374 sed 's/^/| /' conftest.$ac_ext >&5
6375
6376 ac_compiler_gnu=no
6377 fi
6378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6379 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6380
6381 fi
6382 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6383 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6384 GXX=`test $ac_compiler_gnu = yes && echo yes`
6385 ac_test_CXXFLAGS=${CXXFLAGS+set}
6386 ac_save_CXXFLAGS=$CXXFLAGS
6387 CXXFLAGS="-g"
6388 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6389 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6390 if test "${ac_cv_prog_cxx_g+set}" = set; then
6391   echo $ECHO_N "(cached) $ECHO_C" >&6
6392 else
6393   cat >conftest.$ac_ext <<_ACEOF
6394 /* confdefs.h.  */
6395 _ACEOF
6396 cat confdefs.h >>conftest.$ac_ext
6397 cat >>conftest.$ac_ext <<_ACEOF
6398 /* end confdefs.h.  */
6399
6400 int
6401 main ()
6402 {
6403
6404   ;
6405   return 0;
6406 }
6407 _ACEOF
6408 rm -f conftest.$ac_objext
6409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6410   (eval $ac_compile) 2>conftest.er1
6411   ac_status=$?
6412   grep -v '^ *+' conftest.er1 >conftest.err
6413   rm -f conftest.er1
6414   cat conftest.err >&5
6415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6416   (exit $ac_status); } &&
6417          { ac_try='test -z "$ac_cxx_werror_flag"
6418                          || test ! -s conftest.err'
6419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6420   (eval $ac_try) 2>&5
6421   ac_status=$?
6422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423   (exit $ac_status); }; } &&
6424          { ac_try='test -s conftest.$ac_objext'
6425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6426   (eval $ac_try) 2>&5
6427   ac_status=$?
6428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429   (exit $ac_status); }; }; then
6430   ac_cv_prog_cxx_g=yes
6431 else
6432   echo "$as_me: failed program was:" >&5
6433 sed 's/^/| /' conftest.$ac_ext >&5
6434
6435 ac_cv_prog_cxx_g=no
6436 fi
6437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6438 fi
6439 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6440 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6441 if test "$ac_test_CXXFLAGS" = set; then
6442   CXXFLAGS=$ac_save_CXXFLAGS
6443 elif test $ac_cv_prog_cxx_g = yes; then
6444   if test "$GXX" = yes; then
6445     CXXFLAGS="-g -O2"
6446   else
6447     CXXFLAGS="-g"
6448   fi
6449 else
6450   if test "$GXX" = yes; then
6451     CXXFLAGS="-O2"
6452   else
6453     CXXFLAGS=
6454   fi
6455 fi
6456 for ac_declaration in \
6457    '' \
6458    'extern "C" void std::exit (int) throw (); using std::exit;' \
6459    'extern "C" void std::exit (int); using std::exit;' \
6460    'extern "C" void exit (int) throw ();' \
6461    'extern "C" void exit (int);' \
6462    'void exit (int);'
6463 do
6464   cat >conftest.$ac_ext <<_ACEOF
6465 /* confdefs.h.  */
6466 _ACEOF
6467 cat confdefs.h >>conftest.$ac_ext
6468 cat >>conftest.$ac_ext <<_ACEOF
6469 /* end confdefs.h.  */
6470 $ac_declaration
6471 #include <stdlib.h>
6472 int
6473 main ()
6474 {
6475 exit (42);
6476   ;
6477   return 0;
6478 }
6479 _ACEOF
6480 rm -f conftest.$ac_objext
6481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6482   (eval $ac_compile) 2>conftest.er1
6483   ac_status=$?
6484   grep -v '^ *+' conftest.er1 >conftest.err
6485   rm -f conftest.er1
6486   cat conftest.err >&5
6487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488   (exit $ac_status); } &&
6489          { ac_try='test -z "$ac_cxx_werror_flag"
6490                          || test ! -s conftest.err'
6491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6492   (eval $ac_try) 2>&5
6493   ac_status=$?
6494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495   (exit $ac_status); }; } &&
6496          { ac_try='test -s conftest.$ac_objext'
6497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6498   (eval $ac_try) 2>&5
6499   ac_status=$?
6500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501   (exit $ac_status); }; }; then
6502   :
6503 else
6504   echo "$as_me: failed program was:" >&5
6505 sed 's/^/| /' conftest.$ac_ext >&5
6506
6507 continue
6508 fi
6509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6510   cat >conftest.$ac_ext <<_ACEOF
6511 /* confdefs.h.  */
6512 _ACEOF
6513 cat confdefs.h >>conftest.$ac_ext
6514 cat >>conftest.$ac_ext <<_ACEOF
6515 /* end confdefs.h.  */
6516 $ac_declaration
6517 int
6518 main ()
6519 {
6520 exit (42);
6521   ;
6522   return 0;
6523 }
6524 _ACEOF
6525 rm -f conftest.$ac_objext
6526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6527   (eval $ac_compile) 2>conftest.er1
6528   ac_status=$?
6529   grep -v '^ *+' conftest.er1 >conftest.err
6530   rm -f conftest.er1
6531   cat conftest.err >&5
6532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6533   (exit $ac_status); } &&
6534          { ac_try='test -z "$ac_cxx_werror_flag"
6535                          || test ! -s conftest.err'
6536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6537   (eval $ac_try) 2>&5
6538   ac_status=$?
6539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540   (exit $ac_status); }; } &&
6541          { ac_try='test -s conftest.$ac_objext'
6542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6543   (eval $ac_try) 2>&5
6544   ac_status=$?
6545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546   (exit $ac_status); }; }; then
6547   break
6548 else
6549   echo "$as_me: failed program was:" >&5
6550 sed 's/^/| /' conftest.$ac_ext >&5
6551
6552 fi
6553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6554 done
6555 rm -f conftest*
6556 if test -n "$ac_declaration"; then
6557   echo '#ifdef __cplusplus' >>confdefs.h
6558   echo $ac_declaration      >>confdefs.h
6559   echo '#endif'             >>confdefs.h
6560 fi
6561
6562 ac_ext=c
6563 ac_cpp='$CPP $CPPFLAGS'
6564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6567
6568 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6569     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6570     (test "X$CXX" != "Xg++"))) ; then
6571   ac_ext=cc
6572 ac_cpp='$CXXCPP $CPPFLAGS'
6573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6576 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6577 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6578 if test -z "$CXXCPP"; then
6579   if test "${ac_cv_prog_CXXCPP+set}" = set; then
6580   echo $ECHO_N "(cached) $ECHO_C" >&6
6581 else
6582       # Double quotes because CXXCPP needs to be expanded
6583     for CXXCPP in "$CXX -E" "/lib/cpp"
6584     do
6585       ac_preproc_ok=false
6586 for ac_cxx_preproc_warn_flag in '' yes
6587 do
6588   # Use a header file that comes with gcc, so configuring glibc
6589   # with a fresh cross-compiler works.
6590   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6591   # <limits.h> exists even on freestanding compilers.
6592   # On the NeXT, cc -E runs the code through the compiler's parser,
6593   # not just through cpp. "Syntax error" is here to catch this case.
6594   cat >conftest.$ac_ext <<_ACEOF
6595 /* confdefs.h.  */
6596 _ACEOF
6597 cat confdefs.h >>conftest.$ac_ext
6598 cat >>conftest.$ac_ext <<_ACEOF
6599 /* end confdefs.h.  */
6600 #ifdef __STDC__
6601 # include <limits.h>
6602 #else
6603 # include <assert.h>
6604 #endif
6605                      Syntax error
6606 _ACEOF
6607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6608   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6609   ac_status=$?
6610   grep -v '^ *+' conftest.er1 >conftest.err
6611   rm -f conftest.er1
6612   cat conftest.err >&5
6613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6614   (exit $ac_status); } >/dev/null; then
6615   if test -s conftest.err; then
6616     ac_cpp_err=$ac_cxx_preproc_warn_flag
6617     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6618   else
6619     ac_cpp_err=
6620   fi
6621 else
6622   ac_cpp_err=yes
6623 fi
6624 if test -z "$ac_cpp_err"; then
6625   :
6626 else
6627   echo "$as_me: failed program was:" >&5
6628 sed 's/^/| /' conftest.$ac_ext >&5
6629
6630   # Broken: fails on valid input.
6631 continue
6632 fi
6633 rm -f conftest.err conftest.$ac_ext
6634
6635   # OK, works on sane cases.  Now check whether non-existent headers
6636   # can be detected and how.
6637   cat >conftest.$ac_ext <<_ACEOF
6638 /* confdefs.h.  */
6639 _ACEOF
6640 cat confdefs.h >>conftest.$ac_ext
6641 cat >>conftest.$ac_ext <<_ACEOF
6642 /* end confdefs.h.  */
6643 #include <ac_nonexistent.h>
6644 _ACEOF
6645 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6646   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6647   ac_status=$?
6648   grep -v '^ *+' conftest.er1 >conftest.err
6649   rm -f conftest.er1
6650   cat conftest.err >&5
6651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6652   (exit $ac_status); } >/dev/null; then
6653   if test -s conftest.err; then
6654     ac_cpp_err=$ac_cxx_preproc_warn_flag
6655     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6656   else
6657     ac_cpp_err=
6658   fi
6659 else
6660   ac_cpp_err=yes
6661 fi
6662 if test -z "$ac_cpp_err"; then
6663   # Broken: success on invalid input.
6664 continue
6665 else
6666   echo "$as_me: failed program was:" >&5
6667 sed 's/^/| /' conftest.$ac_ext >&5
6668
6669   # Passes both tests.
6670 ac_preproc_ok=:
6671 break
6672 fi
6673 rm -f conftest.err conftest.$ac_ext
6674
6675 done
6676 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6677 rm -f conftest.err conftest.$ac_ext
6678 if $ac_preproc_ok; then
6679   break
6680 fi
6681
6682     done
6683     ac_cv_prog_CXXCPP=$CXXCPP
6684
6685 fi
6686   CXXCPP=$ac_cv_prog_CXXCPP
6687 else
6688   ac_cv_prog_CXXCPP=$CXXCPP
6689 fi
6690 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6691 echo "${ECHO_T}$CXXCPP" >&6
6692 ac_preproc_ok=false
6693 for ac_cxx_preproc_warn_flag in '' yes
6694 do
6695   # Use a header file that comes with gcc, so configuring glibc
6696   # with a fresh cross-compiler works.
6697   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6698   # <limits.h> exists even on freestanding compilers.
6699   # On the NeXT, cc -E runs the code through the compiler's parser,
6700   # not just through cpp. "Syntax error" is here to catch this case.
6701   cat >conftest.$ac_ext <<_ACEOF
6702 /* confdefs.h.  */
6703 _ACEOF
6704 cat confdefs.h >>conftest.$ac_ext
6705 cat >>conftest.$ac_ext <<_ACEOF
6706 /* end confdefs.h.  */
6707 #ifdef __STDC__
6708 # include <limits.h>
6709 #else
6710 # include <assert.h>
6711 #endif
6712                      Syntax error
6713 _ACEOF
6714 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6715   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6716   ac_status=$?
6717   grep -v '^ *+' conftest.er1 >conftest.err
6718   rm -f conftest.er1
6719   cat conftest.err >&5
6720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6721   (exit $ac_status); } >/dev/null; then
6722   if test -s conftest.err; then
6723     ac_cpp_err=$ac_cxx_preproc_warn_flag
6724     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6725   else
6726     ac_cpp_err=
6727   fi
6728 else
6729   ac_cpp_err=yes
6730 fi
6731 if test -z "$ac_cpp_err"; then
6732   :
6733 else
6734   echo "$as_me: failed program was:" >&5
6735 sed 's/^/| /' conftest.$ac_ext >&5
6736
6737   # Broken: fails on valid input.
6738 continue
6739 fi
6740 rm -f conftest.err conftest.$ac_ext
6741
6742   # OK, works on sane cases.  Now check whether non-existent headers
6743   # can be detected and how.
6744   cat >conftest.$ac_ext <<_ACEOF
6745 /* confdefs.h.  */
6746 _ACEOF
6747 cat confdefs.h >>conftest.$ac_ext
6748 cat >>conftest.$ac_ext <<_ACEOF
6749 /* end confdefs.h.  */
6750 #include <ac_nonexistent.h>
6751 _ACEOF
6752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6753   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6754   ac_status=$?
6755   grep -v '^ *+' conftest.er1 >conftest.err
6756   rm -f conftest.er1
6757   cat conftest.err >&5
6758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759   (exit $ac_status); } >/dev/null; then
6760   if test -s conftest.err; then
6761     ac_cpp_err=$ac_cxx_preproc_warn_flag
6762     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6763   else
6764     ac_cpp_err=
6765   fi
6766 else
6767   ac_cpp_err=yes
6768 fi
6769 if test -z "$ac_cpp_err"; then
6770   # Broken: success on invalid input.
6771 continue
6772 else
6773   echo "$as_me: failed program was:" >&5
6774 sed 's/^/| /' conftest.$ac_ext >&5
6775
6776   # Passes both tests.
6777 ac_preproc_ok=:
6778 break
6779 fi
6780 rm -f conftest.err conftest.$ac_ext
6781
6782 done
6783 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6784 rm -f conftest.err conftest.$ac_ext
6785 if $ac_preproc_ok; then
6786   :
6787 else
6788   _lt_caught_CXX_error=yes
6789 fi
6790
6791 ac_ext=c
6792 ac_cpp='$CPP $CPPFLAGS'
6793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6796
6797 else
6798   _lt_caught_CXX_error=yes
6799 fi
6800
6801
6802
6803
6804
6805 # This can be used to rebuild libtool when needed
6806 LIBTOOL_DEPS="$ltmain"
6807
6808 # Always use our own libtool.
6809 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835 test -z "$LN_S" && LN_S="ln -s"
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850 if test -n "${ZSH_VERSION+set}" ; then
6851    setopt NO_GLOB_SUBST
6852 fi
6853
6854 echo "$as_me:$LINENO: checking for objdir" >&5
6855 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6856 if test "${lt_cv_objdir+set}" = set; then
6857   echo $ECHO_N "(cached) $ECHO_C" >&6
6858 else
6859   rm -f .libs 2>/dev/null
6860 mkdir .libs 2>/dev/null
6861 if test -d .libs; then
6862   lt_cv_objdir=.libs
6863 else
6864   # MS-DOS does not allow filenames that begin with a dot.
6865   lt_cv_objdir=_libs
6866 fi
6867 rmdir .libs 2>/dev/null
6868 fi
6869 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6870 echo "${ECHO_T}$lt_cv_objdir" >&6
6871 objdir=$lt_cv_objdir
6872
6873
6874
6875
6876
6877 cat >>confdefs.h <<_ACEOF
6878 #define LT_OBJDIR "$lt_cv_objdir/"
6879 _ACEOF
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897 case $host_os in
6898 aix3*)
6899   # AIX sometimes has problems with the GCC collect2 program.  For some
6900   # reason, if we set the COLLECT_NAMES environment variable, the problems
6901   # vanish in a puff of smoke.
6902   if test "X${COLLECT_NAMES+set}" != Xset; then
6903     COLLECT_NAMES=
6904     export COLLECT_NAMES
6905   fi
6906   ;;
6907 esac
6908
6909 # Sed substitution that helps us do robust quoting.  It backslashifies
6910 # metacharacters that are still active within double-quoted strings.
6911 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6912
6913 # Same as above, but do not quote variable references.
6914 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6915
6916 # Sed substitution to delay expansion of an escaped shell variable in a
6917 # double_quote_subst'ed string.
6918 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6919
6920 # Sed substitution to delay expansion of an escaped single quote.
6921 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6922
6923 # Sed substitution to avoid accidental globbing in evaled expressions
6924 no_glob_subst='s/\*/\\\*/g'
6925
6926 # Global variables:
6927 ofile=libtool
6928 can_build_shared=yes
6929
6930 # All known linkers require a `.a' archive for static linking (except MSVC,
6931 # which needs '.lib').
6932 libext=a
6933
6934 with_gnu_ld="$lt_cv_prog_gnu_ld"
6935
6936 old_CC="$CC"
6937 old_CFLAGS="$CFLAGS"
6938
6939 # Set sane defaults for various variables
6940 test -z "$CC" && CC=cc
6941 test -z "$LTCC" && LTCC=$CC
6942 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6943 test -z "$LD" && LD=ld
6944 test -z "$ac_objext" && ac_objext=o
6945
6946 for cc_temp in $compiler""; do
6947   case $cc_temp in
6948     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6949     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6950     \-*) ;;
6951     *) break;;
6952   esac
6953 done
6954 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6955
6956
6957 # Only perform the check for file, if the check method requires it
6958 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6959 case $deplibs_check_method in
6960 file_magic*)
6961   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6962     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6963 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6964 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6965   echo $ECHO_N "(cached) $ECHO_C" >&6
6966 else
6967   case $MAGIC_CMD in
6968 [\\/*] |  ?:[\\/]*)
6969   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6970   ;;
6971 *)
6972   lt_save_MAGIC_CMD="$MAGIC_CMD"
6973   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6974   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6975   for ac_dir in $ac_dummy; do
6976     IFS="$lt_save_ifs"
6977     test -z "$ac_dir" && ac_dir=.
6978     if test -f $ac_dir/${ac_tool_prefix}file; then
6979       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6980       if test -n "$file_magic_test_file"; then
6981         case $deplibs_check_method in
6982         "file_magic "*)
6983           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6984           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6985           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6986             $EGREP "$file_magic_regex" > /dev/null; then
6987             :
6988           else
6989             cat <<_LT_EOF 1>&2
6990
6991 *** Warning: the command libtool uses to detect shared libraries,
6992 *** $file_magic_cmd, produces output that libtool cannot recognize.
6993 *** The result is that libtool may fail to recognize shared libraries
6994 *** as such.  This will affect the creation of libtool libraries that
6995 *** depend on shared libraries, but programs linked with such libtool
6996 *** libraries will work regardless of this problem.  Nevertheless, you
6997 *** may want to report the problem to your system manager and/or to
6998 *** bug-libtool@gnu.org
6999
7000 _LT_EOF
7001           fi ;;
7002         esac
7003       fi
7004       break
7005     fi
7006   done
7007   IFS="$lt_save_ifs"
7008   MAGIC_CMD="$lt_save_MAGIC_CMD"
7009   ;;
7010 esac
7011 fi
7012
7013 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7014 if test -n "$MAGIC_CMD"; then
7015   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7016 echo "${ECHO_T}$MAGIC_CMD" >&6
7017 else
7018   echo "$as_me:$LINENO: result: no" >&5
7019 echo "${ECHO_T}no" >&6
7020 fi
7021
7022
7023
7024
7025
7026 if test -z "$lt_cv_path_MAGIC_CMD"; then
7027   if test -n "$ac_tool_prefix"; then
7028     echo "$as_me:$LINENO: checking for file" >&5
7029 echo $ECHO_N "checking for file... $ECHO_C" >&6
7030 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7031   echo $ECHO_N "(cached) $ECHO_C" >&6
7032 else
7033   case $MAGIC_CMD in
7034 [\\/*] |  ?:[\\/]*)
7035   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7036   ;;
7037 *)
7038   lt_save_MAGIC_CMD="$MAGIC_CMD"
7039   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7040   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7041   for ac_dir in $ac_dummy; do
7042     IFS="$lt_save_ifs"
7043     test -z "$ac_dir" && ac_dir=.
7044     if test -f $ac_dir/file; then
7045       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7046       if test -n "$file_magic_test_file"; then
7047         case $deplibs_check_method in
7048         "file_magic "*)
7049           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7050           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7051           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7052             $EGREP "$file_magic_regex" > /dev/null; then
7053             :
7054           else
7055             cat <<_LT_EOF 1>&2
7056
7057 *** Warning: the command libtool uses to detect shared libraries,
7058 *** $file_magic_cmd, produces output that libtool cannot recognize.
7059 *** The result is that libtool may fail to recognize shared libraries
7060 *** as such.  This will affect the creation of libtool libraries that
7061 *** depend on shared libraries, but programs linked with such libtool
7062 *** libraries will work regardless of this problem.  Nevertheless, you
7063 *** may want to report the problem to your system manager and/or to
7064 *** bug-libtool@gnu.org
7065
7066 _LT_EOF
7067           fi ;;
7068         esac
7069       fi
7070       break
7071     fi
7072   done
7073   IFS="$lt_save_ifs"
7074   MAGIC_CMD="$lt_save_MAGIC_CMD"
7075   ;;
7076 esac
7077 fi
7078
7079 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7080 if test -n "$MAGIC_CMD"; then
7081   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7082 echo "${ECHO_T}$MAGIC_CMD" >&6
7083 else
7084   echo "$as_me:$LINENO: result: no" >&5
7085 echo "${ECHO_T}no" >&6
7086 fi
7087
7088
7089   else
7090     MAGIC_CMD=:
7091   fi
7092 fi
7093
7094   fi
7095   ;;
7096 esac
7097
7098 # Use C for the default configuration in the libtool script
7099
7100 lt_save_CC="$CC"
7101 ac_ext=c
7102 ac_cpp='$CPP $CPPFLAGS'
7103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7106
7107
7108 # Source file extension for C test sources.
7109 ac_ext=c
7110
7111 # Object file extension for compiled C test sources.
7112 objext=o
7113 objext=$objext
7114
7115 # Code to be used in simple compile tests
7116 lt_simple_compile_test_code="int some_variable = 0;"
7117
7118 # Code to be used in simple link tests
7119 lt_simple_link_test_code='int main(){return(0);}'
7120
7121
7122
7123
7124
7125
7126
7127 # If no C compiler was specified, use CC.
7128 LTCC=${LTCC-"$CC"}
7129
7130 # If no C compiler flags were specified, use CFLAGS.
7131 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7132
7133 # Allow CC to be a program name with arguments.
7134 compiler=$CC
7135
7136 # Save the default compiler, since it gets overwritten when the other
7137 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7138 compiler_DEFAULT=$CC
7139
7140 # save warnings/boilerplate of simple test code
7141 ac_outfile=conftest.$ac_objext
7142 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7143 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7144 _lt_compiler_boilerplate=`cat conftest.err`
7145 $RM conftest*
7146
7147 ac_outfile=conftest.$ac_objext
7148 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7149 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7150 _lt_linker_boilerplate=`cat conftest.err`
7151 $RM conftest*
7152
7153
7154 ## CAVEAT EMPTOR:
7155 ## There is no encapsulation within the following macros, do not change
7156 ## the running order or otherwise move them around unless you know exactly
7157 ## what you are doing...
7158 if test -n "$compiler"; then
7159
7160 lt_prog_compiler_no_builtin_flag=
7161
7162 if test "$GCC" = yes; then
7163   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7164
7165   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7166 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7167 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7168   echo $ECHO_N "(cached) $ECHO_C" >&6
7169 else
7170   lt_cv_prog_compiler_rtti_exceptions=no
7171    ac_outfile=conftest.$ac_objext
7172    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7173    lt_compiler_flag="-fno-rtti -fno-exceptions"
7174    # Insert the option either (1) after the last *FLAGS variable, or
7175    # (2) before a word containing "conftest.", or (3) at the end.
7176    # Note that $ac_compile itself does not contain backslashes and begins
7177    # with a dollar sign (not a hyphen), so the echo should work correctly.
7178    # The option is referenced via a variable to avoid confusing sed.
7179    lt_compile=`echo "$ac_compile" | $SED \
7180    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7181    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7182    -e 's:$: $lt_compiler_flag:'`
7183    (eval echo "\"\$as_me:7183: $lt_compile\"" >&5)
7184    (eval "$lt_compile" 2>conftest.err)
7185    ac_status=$?
7186    cat conftest.err >&5
7187    echo "$as_me:7187: \$? = $ac_status" >&5
7188    if (exit $ac_status) && test -s "$ac_outfile"; then
7189      # The compiler can only warn and ignore the option if not recognized
7190      # So say no if there are warnings other than the usual output.
7191      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7192      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7193      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7194        lt_cv_prog_compiler_rtti_exceptions=yes
7195      fi
7196    fi
7197    $RM conftest*
7198
7199 fi
7200 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7201 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7202
7203 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7204     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7205 else
7206     :
7207 fi
7208
7209 fi
7210
7211
7212
7213
7214
7215
7216   lt_prog_compiler_wl=
7217 lt_prog_compiler_pic=
7218 lt_prog_compiler_static=
7219
7220 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7221 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7222
7223   if test "$GCC" = yes; then
7224     lt_prog_compiler_wl='-Wl,'
7225     lt_prog_compiler_static='-static'
7226
7227     case $host_os in
7228       aix*)
7229       # All AIX code is PIC.
7230       if test "$host_cpu" = ia64; then
7231         # AIX 5 now supports IA64 processor
7232         lt_prog_compiler_static='-Bstatic'
7233       fi
7234       ;;
7235
7236     amigaos*)
7237       if test "$host_cpu" = m68k; then
7238         # FIXME: we need at least 68020 code to build shared libraries, but
7239         # adding the `-m68020' flag to GCC prevents building anything better,
7240         # like `-m68040'.
7241         lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7242       fi
7243       ;;
7244
7245     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7246       # PIC is the default for these OSes.
7247       ;;
7248
7249     mingw* | cygwin* | pw32* | os2*)
7250       # This hack is so that the source file can tell whether it is being
7251       # built for inclusion in a dll (and should export symbols for example).
7252       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7253       # (--disable-auto-import) libraries
7254       lt_prog_compiler_pic='-DDLL_EXPORT'
7255       ;;
7256
7257     darwin* | rhapsody*)
7258       # PIC is the default on this platform
7259       # Common symbols not allowed in MH_DYLIB files
7260       lt_prog_compiler_pic='-fno-common'
7261       ;;
7262
7263     hpux*)
7264       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7265       # not for PA HP-UX.
7266       case $host_cpu in
7267       hppa*64*|ia64*)
7268         # +Z the default
7269         ;;
7270       *)
7271         lt_prog_compiler_pic='-fPIC'
7272         ;;
7273       esac
7274       ;;
7275
7276     interix[3-9]*)
7277       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7278       # Instead, we relocate shared libraries at runtime.
7279       ;;
7280
7281     msdosdjgpp*)
7282       # Just because we use GCC doesn't mean we suddenly get shared libraries
7283       # on systems that don't support them.
7284       lt_prog_compiler_can_build_shared=no
7285       enable_shared=no
7286       ;;
7287
7288     *nto* | *qnx*)
7289       # QNX uses GNU C++, but need to define -shared option too, otherwise
7290       # it will coredump.
7291       lt_prog_compiler_pic='-fPIC -shared'
7292       ;;
7293
7294     sysv4*MP*)
7295       if test -d /usr/nec; then
7296         lt_prog_compiler_pic=-Kconform_pic
7297       fi
7298       ;;
7299
7300     *)
7301       lt_prog_compiler_pic='-fPIC'
7302       ;;
7303     esac
7304   else
7305     # PORTME Check for flag to pass linker flags through the system compiler.
7306     case $host_os in
7307     aix*)
7308       lt_prog_compiler_wl='-Wl,'
7309       if test "$host_cpu" = ia64; then
7310         # AIX 5 now supports IA64 processor
7311         lt_prog_compiler_static='-Bstatic'
7312       else
7313         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7314       fi
7315       ;;
7316     darwin*)
7317       # PIC is the default on this platform
7318       # Common symbols not allowed in MH_DYLIB files
7319       case $cc_basename in
7320       xlc*)
7321         lt_prog_compiler_pic='-qnocommon'
7322         lt_prog_compiler_wl='-Wl,'
7323         ;;
7324       esac
7325       ;;
7326
7327     mingw* | cygwin* | pw32* | os2*)
7328       # This hack is so that the source file can tell whether it is being
7329       # built for inclusion in a dll (and should export symbols for example).
7330       lt_prog_compiler_pic='-DDLL_EXPORT'
7331       ;;
7332
7333     hpux9* | hpux10* | hpux11*)
7334       lt_prog_compiler_wl='-Wl,'
7335       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7336       # not for PA HP-UX.
7337       case $host_cpu in
7338       hppa*64*|ia64*)
7339         # +Z the default
7340         ;;
7341       *)
7342         lt_prog_compiler_pic='+Z'
7343         ;;
7344       esac
7345       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7346       lt_prog_compiler_static='${wl}-a ${wl}archive'
7347       ;;
7348
7349     irix5* | irix6* | nonstopux*)
7350       lt_prog_compiler_wl='-Wl,'
7351       # PIC (with -KPIC) is the default.
7352       lt_prog_compiler_static='-non_shared'
7353       ;;
7354
7355     linux* | k*bsd*-gnu)
7356       case $cc_basename in
7357       icc* | ecc*)
7358         lt_prog_compiler_wl='-Wl,'
7359         lt_prog_compiler_pic='-KPIC'
7360         lt_prog_compiler_static='-static'
7361         ;;
7362       pgcc* | pgf77* | pgf90* | pgf95*)
7363         # Portland Group compilers (*not* the Pentium gcc compiler,
7364         # which looks to be a dead project)
7365         lt_prog_compiler_wl='-Wl,'
7366         lt_prog_compiler_pic='-fpic'
7367         lt_prog_compiler_static='-Bstatic'
7368         ;;
7369       ccc*)
7370         lt_prog_compiler_wl='-Wl,'
7371         # All Alpha code is PIC.
7372         lt_prog_compiler_static='-non_shared'
7373         ;;
7374       *)
7375         case `$CC -V 2>&1 | sed 5q` in
7376         *Sun\ C*)
7377           # Sun C 5.9
7378           lt_prog_compiler_pic='-KPIC'
7379           lt_prog_compiler_static='-Bstatic'
7380           lt_prog_compiler_wl='-Wl,'
7381           ;;
7382         *Sun\ F*)
7383           # Sun Fortran 8.3 passes all unrecognized flags to the linker
7384           lt_prog_compiler_pic='-KPIC'
7385           lt_prog_compiler_static='-Bstatic'
7386           lt_prog_compiler_wl=''
7387           ;;
7388         esac
7389         ;;
7390       esac
7391       ;;
7392
7393     newsos6)
7394       lt_prog_compiler_pic='-KPIC'
7395       lt_prog_compiler_static='-Bstatic'
7396       ;;
7397
7398     *nto* | *qnx*)
7399       # QNX uses GNU C++, but need to define -shared option too, otherwise
7400       # it will coredump.
7401       lt_prog_compiler_pic='-fPIC -shared'
7402       ;;
7403
7404     osf3* | osf4* | osf5*)
7405       lt_prog_compiler_wl='-Wl,'
7406       # All OSF/1 code is PIC.
7407       lt_prog_compiler_static='-non_shared'
7408       ;;
7409
7410     rdos*)
7411       lt_prog_compiler_static='-non_shared'
7412       ;;
7413
7414     solaris*)
7415       lt_prog_compiler_pic='-KPIC'
7416       lt_prog_compiler_static='-Bstatic'
7417       case $cc_basename in
7418       f77* | f90* | f95*)
7419         lt_prog_compiler_wl='-Qoption ld ';;
7420       *)
7421         lt_prog_compiler_wl='-Wl,';;
7422       esac
7423       ;;
7424
7425     sunos4*)
7426       lt_prog_compiler_wl='-Qoption ld '
7427       lt_prog_compiler_pic='-PIC'
7428       lt_prog_compiler_static='-Bstatic'
7429       ;;
7430
7431     sysv4 | sysv4.2uw2* | sysv4.3*)
7432       lt_prog_compiler_wl='-Wl,'
7433       lt_prog_compiler_pic='-KPIC'
7434       lt_prog_compiler_static='-Bstatic'
7435       ;;
7436
7437     sysv4*MP*)
7438       if test -d /usr/nec ;then
7439         lt_prog_compiler_pic='-Kconform_pic'
7440         lt_prog_compiler_static='-Bstatic'
7441       fi
7442       ;;
7443
7444     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7445       lt_prog_compiler_wl='-Wl,'
7446       lt_prog_compiler_pic='-KPIC'
7447       lt_prog_compiler_static='-Bstatic'
7448       ;;
7449
7450     unicos*)
7451       lt_prog_compiler_wl='-Wl,'
7452       lt_prog_compiler_can_build_shared=no
7453       ;;
7454
7455     uts4*)
7456       lt_prog_compiler_pic='-pic'
7457       lt_prog_compiler_static='-Bstatic'
7458       ;;
7459
7460     *)
7461       lt_prog_compiler_can_build_shared=no
7462       ;;
7463     esac
7464   fi
7465
7466 case $host_os in
7467   # For platforms which do not support PIC, -DPIC is meaningless:
7468   *djgpp*)
7469     lt_prog_compiler_pic=
7470     ;;
7471   *)
7472     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7473     ;;
7474 esac
7475 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7476 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7477
7478
7479
7480
7481
7482
7483 #
7484 # Check to make sure the PIC flag actually works.
7485 #
7486 if test -n "$lt_prog_compiler_pic"; then
7487   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7488 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7489 if test "${lt_prog_compiler_pic_works+set}" = set; then
7490   echo $ECHO_N "(cached) $ECHO_C" >&6
7491 else
7492   lt_prog_compiler_pic_works=no
7493    ac_outfile=conftest.$ac_objext
7494    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7495    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7496    # Insert the option either (1) after the last *FLAGS variable, or
7497    # (2) before a word containing "conftest.", or (3) at the end.
7498    # Note that $ac_compile itself does not contain backslashes and begins
7499    # with a dollar sign (not a hyphen), so the echo should work correctly.
7500    # The option is referenced via a variable to avoid confusing sed.
7501    lt_compile=`echo "$ac_compile" | $SED \
7502    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7503    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7504    -e 's:$: $lt_compiler_flag:'`
7505    (eval echo "\"\$as_me:7505: $lt_compile\"" >&5)
7506    (eval "$lt_compile" 2>conftest.err)
7507    ac_status=$?
7508    cat conftest.err >&5
7509    echo "$as_me:7509: \$? = $ac_status" >&5
7510    if (exit $ac_status) && test -s "$ac_outfile"; then
7511      # The compiler can only warn and ignore the option if not recognized
7512      # So say no if there are warnings other than the usual output.
7513      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7514      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7515      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7516        lt_prog_compiler_pic_works=yes
7517      fi
7518    fi
7519    $RM conftest*
7520
7521 fi
7522 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7523 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7524
7525 if test x"$lt_prog_compiler_pic_works" = xyes; then
7526     case $lt_prog_compiler_pic in
7527      "" | " "*) ;;
7528      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7529      esac
7530 else
7531     lt_prog_compiler_pic=
7532      lt_prog_compiler_can_build_shared=no
7533 fi
7534
7535 fi
7536
7537
7538
7539
7540
7541
7542 #
7543 # Check to make sure the static flag actually works.
7544 #
7545 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7546 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7547 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7548 if test "${lt_prog_compiler_static_works+set}" = set; then
7549   echo $ECHO_N "(cached) $ECHO_C" >&6
7550 else
7551   lt_prog_compiler_static_works=no
7552    save_LDFLAGS="$LDFLAGS"
7553    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7554    echo "$lt_simple_link_test_code" > conftest.$ac_ext
7555    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7556      # The linker can only warn and ignore the option if not recognized
7557      # So say no if there are warnings
7558      if test -s conftest.err; then
7559        # Append any errors to the config.log.
7560        cat conftest.err 1>&5
7561        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7562        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7563        if diff conftest.exp conftest.er2 >/dev/null; then
7564          lt_prog_compiler_static_works=yes
7565        fi
7566      else
7567        lt_prog_compiler_static_works=yes
7568      fi
7569    fi
7570    $RM conftest*
7571    LDFLAGS="$save_LDFLAGS"
7572
7573 fi
7574 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7575 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7576
7577 if test x"$lt_prog_compiler_static_works" = xyes; then
7578     :
7579 else
7580     lt_prog_compiler_static=
7581 fi
7582
7583
7584
7585
7586
7587
7588
7589   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7590 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7591 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7592   echo $ECHO_N "(cached) $ECHO_C" >&6
7593 else
7594   lt_cv_prog_compiler_c_o=no
7595    $RM -r conftest 2>/dev/null
7596    mkdir conftest
7597    cd conftest
7598    mkdir out
7599    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7600
7601    lt_compiler_flag="-o out/conftest2.$ac_objext"
7602    # Insert the option either (1) after the last *FLAGS variable, or
7603    # (2) before a word containing "conftest.", or (3) at the end.
7604    # Note that $ac_compile itself does not contain backslashes and begins
7605    # with a dollar sign (not a hyphen), so the echo should work correctly.
7606    lt_compile=`echo "$ac_compile" | $SED \
7607    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7608    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7609    -e 's:$: $lt_compiler_flag:'`
7610    (eval echo "\"\$as_me:7610: $lt_compile\"" >&5)
7611    (eval "$lt_compile" 2>out/conftest.err)
7612    ac_status=$?
7613    cat out/conftest.err >&5
7614    echo "$as_me:7614: \$? = $ac_status" >&5
7615    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7616    then
7617      # The compiler can only warn and ignore the option if not recognized
7618      # So say no if there are warnings
7619      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7620      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7621      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7622        lt_cv_prog_compiler_c_o=yes
7623      fi
7624    fi
7625    chmod u+w . 2>&5
7626    $RM conftest*
7627    # SGI C++ compiler will create directory out/ii_files/ for
7628    # template instantiation
7629    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7630    $RM out/* && rmdir out
7631    cd ..
7632    $RM -r conftest
7633    $RM conftest*
7634
7635 fi
7636 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7637 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7638
7639
7640
7641
7642
7643
7644   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7645 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7646 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7647   echo $ECHO_N "(cached) $ECHO_C" >&6
7648 else
7649   lt_cv_prog_compiler_c_o=no
7650    $RM -r conftest 2>/dev/null
7651    mkdir conftest
7652    cd conftest
7653    mkdir out
7654    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7655
7656    lt_compiler_flag="-o out/conftest2.$ac_objext"
7657    # Insert the option either (1) after the last *FLAGS variable, or
7658    # (2) before a word containing "conftest.", or (3) at the end.
7659    # Note that $ac_compile itself does not contain backslashes and begins
7660    # with a dollar sign (not a hyphen), so the echo should work correctly.
7661    lt_compile=`echo "$ac_compile" | $SED \
7662    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7663    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7664    -e 's:$: $lt_compiler_flag:'`
7665    (eval echo "\"\$as_me:7665: $lt_compile\"" >&5)
7666    (eval "$lt_compile" 2>out/conftest.err)
7667    ac_status=$?
7668    cat out/conftest.err >&5
7669    echo "$as_me:7669: \$? = $ac_status" >&5
7670    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7671    then
7672      # The compiler can only warn and ignore the option if not recognized
7673      # So say no if there are warnings
7674      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7675      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7676      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7677        lt_cv_prog_compiler_c_o=yes
7678      fi
7679    fi
7680    chmod u+w . 2>&5
7681    $RM conftest*
7682    # SGI C++ compiler will create directory out/ii_files/ for
7683    # template instantiation
7684    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7685    $RM out/* && rmdir out
7686    cd ..
7687    $RM -r conftest
7688    $RM conftest*
7689
7690 fi
7691 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7692 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7693
7694
7695
7696
7697 hard_links="nottested"
7698 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7699   # do not overwrite the value of need_locks provided by the user
7700   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7701 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7702   hard_links=yes
7703   $RM conftest*
7704   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7705   touch conftest.a
7706   ln conftest.a conftest.b 2>&5 || hard_links=no
7707   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7708   echo "$as_me:$LINENO: result: $hard_links" >&5
7709 echo "${ECHO_T}$hard_links" >&6
7710   if test "$hard_links" = no; then
7711     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7712 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7713     need_locks=warn
7714   fi
7715 else
7716   need_locks=no
7717 fi
7718
7719
7720
7721
7722
7723
7724   echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7725 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7726
7727   runpath_var=
7728   allow_undefined_flag=
7729   always_export_symbols=no
7730   archive_cmds=
7731   archive_expsym_cmds=
7732   compiler_needs_object=no
7733   enable_shared_with_static_runtimes=no
7734   export_dynamic_flag_spec=
7735   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7736   hardcode_automatic=no
7737   hardcode_direct=no
7738   hardcode_direct_absolute=no
7739   hardcode_libdir_flag_spec=
7740   hardcode_libdir_flag_spec_ld=
7741   hardcode_libdir_separator=
7742   hardcode_minus_L=no
7743   hardcode_shlibpath_var=unsupported
7744   inherit_rpath=no
7745   link_all_deplibs=unknown
7746   module_cmds=
7747   module_expsym_cmds=
7748   old_archive_from_new_cmds=
7749   old_archive_from_expsyms_cmds=
7750   thread_safe_flag_spec=
7751   whole_archive_flag_spec=
7752   # include_expsyms should be a list of space-separated symbols to be *always*
7753   # included in the symbol list
7754   include_expsyms=
7755   # exclude_expsyms can be an extended regexp of symbols to exclude
7756   # it will be wrapped by ` (' and `)$', so one must not match beginning or
7757   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7758   # as well as any symbol that contains `d'.
7759   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7760   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7761   # platforms (ab)use it in PIC code, but their linkers get confused if
7762   # the symbol is explicitly referenced.  Since portable code cannot
7763   # rely on this symbol name, it's probably fine to never include it in
7764   # preloaded symbol tables.
7765   extract_expsyms_cmds=
7766
7767   case $host_os in
7768   cygwin* | mingw* | pw32*)
7769     # FIXME: the MSVC++ port hasn't been tested in a loooong time
7770     # When not using gcc, we currently assume that we are using
7771     # Microsoft Visual C++.
7772     if test "$GCC" != yes; then
7773       with_gnu_ld=no
7774     fi
7775     ;;
7776   interix*)
7777     # we just hope/assume this is gcc and not c89 (= MSVC++)
7778     with_gnu_ld=yes
7779     ;;
7780   openbsd*)
7781     with_gnu_ld=no
7782     ;;
7783   esac
7784
7785   ld_shlibs=yes
7786   if test "$with_gnu_ld" = yes; then
7787     # If archive_cmds runs LD, not CC, wlarc should be empty
7788     wlarc='${wl}'
7789
7790     # Set some defaults for GNU ld with shared library support. These
7791     # are reset later if shared libraries are not supported. Putting them
7792     # here allows them to be overridden if necessary.
7793     runpath_var=LD_RUN_PATH
7794     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7795     export_dynamic_flag_spec='${wl}--export-dynamic'
7796     # ancient GNU ld didn't support --whole-archive et. al.
7797     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7798       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7799     else
7800       whole_archive_flag_spec=
7801     fi
7802     supports_anon_versioning=no
7803     case `$LD -v 2>&1` in
7804       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7805       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7806       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7807       *\ 2.11.*) ;; # other 2.11 versions
7808       *) supports_anon_versioning=yes ;;
7809     esac
7810
7811     # See if GNU ld supports shared libraries.
7812     case $host_os in
7813     aix[3-9]*)
7814       # On AIX/PPC, the GNU linker is very broken
7815       if test "$host_cpu" != ia64; then
7816         ld_shlibs=no
7817         cat <<_LT_EOF 1>&2
7818
7819 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7820 *** to be unable to reliably create shared libraries on AIX.
7821 *** Therefore, libtool is disabling shared libraries support.  If you
7822 *** really care for shared libraries, you may want to modify your PATH
7823 *** so that a non-GNU linker is found, and then restart.
7824
7825 _LT_EOF
7826       fi
7827       ;;
7828
7829     amigaos*)
7830       if test "$host_cpu" = m68k; then
7831         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)'
7832         hardcode_libdir_flag_spec='-L$libdir'
7833         hardcode_minus_L=yes
7834       fi
7835
7836       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7837       # that the semantics of dynamic libraries on AmigaOS, at least up
7838       # to version 4, is to share data among multiple programs linked
7839       # with the same dynamic library.  Since this doesn't match the
7840       # behavior of shared libraries on other platforms, we can't use
7841       # them.
7842       ld_shlibs=no
7843       ;;
7844
7845     beos*)
7846       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7847         allow_undefined_flag=unsupported
7848         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7849         # support --undefined.  This deserves some investigation.  FIXME
7850         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7851       else
7852         ld_shlibs=no
7853       fi
7854       ;;
7855
7856     cygwin* | mingw* | pw32*)
7857       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7858       # as there is no search path for DLLs.
7859       hardcode_libdir_flag_spec='-L$libdir'
7860       allow_undefined_flag=unsupported
7861       always_export_symbols=no
7862       enable_shared_with_static_runtimes=yes
7863       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7864
7865       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7866         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7867         # If the export-symbols file already is a .def file (1st line
7868         # is EXPORTS), use it as is; otherwise, prepend...
7869         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7870           cp $export_symbols $output_objdir/$soname.def;
7871         else
7872           echo EXPORTS > $output_objdir/$soname.def;
7873           cat $export_symbols >> $output_objdir/$soname.def;
7874         fi~
7875         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7876       else
7877         ld_shlibs=no
7878       fi
7879       ;;
7880
7881     interix[3-9]*)
7882       hardcode_direct=no
7883       hardcode_shlibpath_var=no
7884       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7885       export_dynamic_flag_spec='${wl}-E'
7886       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7887       # Instead, shared libraries are loaded at an image base (0x10000000 by
7888       # default) and relocated if they conflict, which is a slow very memory
7889       # consuming and fragmenting process.  To avoid this, we pick a random,
7890       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7891       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
7892       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7893       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'
7894       ;;
7895
7896     gnu* | linux* | tpf* | k*bsd*-gnu)
7897       tmp_diet=no
7898       if test "$host_os" = linux-dietlibc; then
7899         case $cc_basename in
7900           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
7901         esac
7902       fi
7903       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7904          && test "$tmp_diet" = no
7905       then
7906         tmp_addflag=
7907         case $cc_basename,$host_cpu in
7908         pgcc*)                          # Portland Group C compiler
7909           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'
7910           tmp_addflag=' $pic_flag'
7911           ;;
7912         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
7913           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'
7914           tmp_addflag=' $pic_flag -Mnomain' ;;
7915         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
7916           tmp_addflag=' -i_dynamic' ;;
7917         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
7918           tmp_addflag=' -i_dynamic -nofor_main' ;;
7919         ifc* | ifort*)                  # Intel Fortran compiler
7920           tmp_addflag=' -nofor_main' ;;
7921         esac
7922         case `$CC -V 2>&1 | sed 5q` in
7923         *Sun\ C*)                       # Sun C 5.9
7924           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'
7925           compiler_needs_object=yes
7926           tmp_sharedflag='-G' ;;
7927         *Sun\ F*)                       # Sun Fortran 8.3
7928           tmp_sharedflag='-G' ;;
7929         *)
7930           tmp_sharedflag='-shared' ;;
7931         esac
7932         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7933
7934         if test "x$supports_anon_versioning" = xyes; then
7935           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7936             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7937             echo "local: *; };" >> $output_objdir/$libname.ver~
7938             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7939         fi
7940       else
7941         ld_shlibs=no
7942       fi
7943       ;;
7944
7945     netbsd*)
7946       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7947         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7948         wlarc=
7949       else
7950         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7951         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7952       fi
7953       ;;
7954
7955     solaris*)
7956       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7957         ld_shlibs=no
7958         cat <<_LT_EOF 1>&2
7959
7960 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7961 *** create shared libraries on Solaris systems.  Therefore, libtool
7962 *** is disabling shared libraries support.  We urge you to upgrade GNU
7963 *** binutils to release 2.9.1 or newer.  Another option is to modify
7964 *** your PATH or compiler configuration so that the native linker is
7965 *** used, and then restart.
7966
7967 _LT_EOF
7968       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7969         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7970         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7971       else
7972         ld_shlibs=no
7973       fi
7974       ;;
7975
7976     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7977       case `$LD -v 2>&1` in
7978         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7979         ld_shlibs=no
7980         cat <<_LT_EOF 1>&2
7981
7982 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7983 *** reliably create shared libraries on SCO systems.  Therefore, libtool
7984 *** is disabling shared libraries support.  We urge you to upgrade GNU
7985 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
7986 *** your PATH or compiler configuration so that the native linker is
7987 *** used, and then restart.
7988
7989 _LT_EOF
7990         ;;
7991         *)
7992           # For security reasons, it is highly recommended that you always
7993           # use absolute paths for naming shared libraries, and exclude the
7994           # DT_RUNPATH tag from executables and libraries.  But doing so
7995           # requires that you compile everything twice, which is a pain.
7996           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7997             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7998             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7999             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8000           else
8001             ld_shlibs=no
8002           fi
8003         ;;
8004       esac
8005       ;;
8006
8007     sunos4*)
8008       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8009       wlarc=
8010       hardcode_direct=yes
8011       hardcode_shlibpath_var=no
8012       ;;
8013
8014     *)
8015       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8016         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8017         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8018       else
8019         ld_shlibs=no
8020       fi
8021       ;;
8022     esac
8023
8024     if test "$ld_shlibs" = no; then
8025       runpath_var=
8026       hardcode_libdir_flag_spec=
8027       export_dynamic_flag_spec=
8028       whole_archive_flag_spec=
8029     fi
8030   else
8031     # PORTME fill in a description of your system's linker (not GNU ld)
8032     case $host_os in
8033     aix3*)
8034       allow_undefined_flag=unsupported
8035       always_export_symbols=yes
8036       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'
8037       # Note: this linker hardcodes the directories in LIBPATH if there
8038       # are no directories specified by -L.
8039       hardcode_minus_L=yes
8040       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8041         # Neither direct hardcoding nor static linking is supported with a
8042         # broken collect2.
8043         hardcode_direct=unsupported
8044       fi
8045       ;;
8046
8047     aix[4-9]*)
8048       if test "$host_cpu" = ia64; then
8049         # On IA64, the linker does run time linking by default, so we don't
8050         # have to do anything special.
8051         aix_use_runtimelinking=no
8052         exp_sym_flag='-Bexport'
8053         no_entry_flag=""
8054       else
8055         # If we're using GNU nm, then we don't want the "-C" option.
8056         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8057         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8058           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'
8059         else
8060           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'
8061         fi
8062         aix_use_runtimelinking=no
8063
8064         # Test if we are trying to use run time linking or normal
8065         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8066         # need to do runtime linking.
8067         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8068           for ld_flag in $LDFLAGS; do
8069           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8070             aix_use_runtimelinking=yes
8071             break
8072           fi
8073           done
8074           ;;
8075         esac
8076
8077         exp_sym_flag='-bexport'
8078         no_entry_flag='-bnoentry'
8079       fi
8080
8081       # When large executables or shared objects are built, AIX ld can
8082       # have problems creating the table of contents.  If linking a library
8083       # or program results in "error TOC overflow" add -mminimal-toc to
8084       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8085       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8086
8087       archive_cmds=''
8088       hardcode_direct=yes
8089       hardcode_direct_absolute=yes
8090       hardcode_libdir_separator=':'
8091       link_all_deplibs=yes
8092       file_list_spec='${wl}-f,'
8093
8094       if test "$GCC" = yes; then
8095         case $host_os in aix4.[012]|aix4.[012].*)
8096         # We only want to do this on AIX 4.2 and lower, the check
8097         # below for broken collect2 doesn't work under 4.3+
8098           collect2name=`${CC} -print-prog-name=collect2`
8099           if test -f "$collect2name" &&
8100            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8101           then
8102           # We have reworked collect2
8103           :
8104           else
8105           # We have old collect2
8106           hardcode_direct=unsupported
8107           # It fails to find uninstalled libraries when the uninstalled
8108           # path is not listed in the libpath.  Setting hardcode_minus_L
8109           # to unsupported forces relinking
8110           hardcode_minus_L=yes
8111           hardcode_libdir_flag_spec='-L$libdir'
8112           hardcode_libdir_separator=
8113           fi
8114           ;;
8115         esac
8116         shared_flag='-shared'
8117         if test "$aix_use_runtimelinking" = yes; then
8118           shared_flag="$shared_flag "'${wl}-G'
8119         fi
8120       else
8121         # not using gcc
8122         if test "$host_cpu" = ia64; then
8123         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8124         # chokes on -Wl,-G. The following line is correct:
8125           shared_flag='-G'
8126         else
8127           if test "$aix_use_runtimelinking" = yes; then
8128             shared_flag='${wl}-G'
8129           else
8130             shared_flag='${wl}-bM:SRE'
8131           fi
8132         fi
8133       fi
8134
8135       # It seems that -bexpall does not export symbols beginning with
8136       # underscore (_), so it is better to generate a list of symbols to export.
8137       always_export_symbols=yes
8138       if test "$aix_use_runtimelinking" = yes; then
8139         # Warning - without using the other runtime loading flags (-brtl),
8140         # -berok will link without error, but may produce a broken library.
8141         allow_undefined_flag='-berok'
8142         # Determine the default libpath from the value encoded in an
8143         # empty executable.
8144         if test x$gcc_no_link = xyes; then
8145   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8147    { (exit 1); exit 1; }; }
8148 fi
8149 cat >conftest.$ac_ext <<_ACEOF
8150 /* confdefs.h.  */
8151 _ACEOF
8152 cat confdefs.h >>conftest.$ac_ext
8153 cat >>conftest.$ac_ext <<_ACEOF
8154 /* end confdefs.h.  */
8155
8156 int
8157 main ()
8158 {
8159
8160   ;
8161   return 0;
8162 }
8163 _ACEOF
8164 rm -f conftest.$ac_objext conftest$ac_exeext
8165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8166   (eval $ac_link) 2>conftest.er1
8167   ac_status=$?
8168   grep -v '^ *+' conftest.er1 >conftest.err
8169   rm -f conftest.er1
8170   cat conftest.err >&5
8171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172   (exit $ac_status); } &&
8173          { ac_try='test -z "$ac_c_werror_flag"
8174                          || test ! -s conftest.err'
8175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8176   (eval $ac_try) 2>&5
8177   ac_status=$?
8178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8179   (exit $ac_status); }; } &&
8180          { ac_try='test -s conftest$ac_exeext'
8181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8182   (eval $ac_try) 2>&5
8183   ac_status=$?
8184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8185   (exit $ac_status); }; }; then
8186
8187 lt_aix_libpath_sed='
8188     /Import File Strings/,/^$/ {
8189         /^0/ {
8190             s/^0  *\(.*\)$/\1/
8191             p
8192         }
8193     }'
8194 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8195 # Check for a 64-bit object if we didn't find anything.
8196 if test -z "$aix_libpath"; then
8197   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8198 fi
8199 else
8200   echo "$as_me: failed program was:" >&5
8201 sed 's/^/| /' conftest.$ac_ext >&5
8202
8203 fi
8204 rm -f conftest.err conftest.$ac_objext \
8205       conftest$ac_exeext conftest.$ac_ext
8206 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8207
8208         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8209         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"
8210       else
8211         if test "$host_cpu" = ia64; then
8212           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8213           allow_undefined_flag="-z nodefs"
8214           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"
8215         else
8216          # Determine the default libpath from the value encoded in an
8217          # empty executable.
8218          if test x$gcc_no_link = xyes; then
8219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8221    { (exit 1); exit 1; }; }
8222 fi
8223 cat >conftest.$ac_ext <<_ACEOF
8224 /* confdefs.h.  */
8225 _ACEOF
8226 cat confdefs.h >>conftest.$ac_ext
8227 cat >>conftest.$ac_ext <<_ACEOF
8228 /* end confdefs.h.  */
8229
8230 int
8231 main ()
8232 {
8233
8234   ;
8235   return 0;
8236 }
8237 _ACEOF
8238 rm -f conftest.$ac_objext conftest$ac_exeext
8239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8240   (eval $ac_link) 2>conftest.er1
8241   ac_status=$?
8242   grep -v '^ *+' conftest.er1 >conftest.err
8243   rm -f conftest.er1
8244   cat conftest.err >&5
8245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8246   (exit $ac_status); } &&
8247          { ac_try='test -z "$ac_c_werror_flag"
8248                          || test ! -s conftest.err'
8249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8250   (eval $ac_try) 2>&5
8251   ac_status=$?
8252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253   (exit $ac_status); }; } &&
8254          { ac_try='test -s conftest$ac_exeext'
8255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8256   (eval $ac_try) 2>&5
8257   ac_status=$?
8258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8259   (exit $ac_status); }; }; then
8260
8261 lt_aix_libpath_sed='
8262     /Import File Strings/,/^$/ {
8263         /^0/ {
8264             s/^0  *\(.*\)$/\1/
8265             p
8266         }
8267     }'
8268 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8269 # Check for a 64-bit object if we didn't find anything.
8270 if test -z "$aix_libpath"; then
8271   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8272 fi
8273 else
8274   echo "$as_me: failed program was:" >&5
8275 sed 's/^/| /' conftest.$ac_ext >&5
8276
8277 fi
8278 rm -f conftest.err conftest.$ac_objext \
8279       conftest$ac_exeext conftest.$ac_ext
8280 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8281
8282          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8283           # Warning - without using the other run time loading flags,
8284           # -berok will link without error, but may produce a broken library.
8285           no_undefined_flag=' ${wl}-bernotok'
8286           allow_undefined_flag=' ${wl}-berok'
8287           # Exported symbols can be pulled into shared objects from archives
8288           whole_archive_flag_spec='$convenience'
8289           archive_cmds_need_lc=yes
8290           # This is similar to how AIX traditionally builds its shared libraries.
8291           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'
8292         fi
8293       fi
8294       ;;
8295
8296     amigaos*)
8297       if test "$host_cpu" = m68k; then
8298         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)'
8299         hardcode_libdir_flag_spec='-L$libdir'
8300         hardcode_minus_L=yes
8301       fi
8302       # see comment about different semantics on the GNU ld section
8303       ld_shlibs=no
8304       ;;
8305
8306     bsdi[45]*)
8307       export_dynamic_flag_spec=-rdynamic
8308       ;;
8309
8310     cygwin* | mingw* | pw32*)
8311       # When not using gcc, we currently assume that we are using
8312       # Microsoft Visual C++.
8313       # hardcode_libdir_flag_spec is actually meaningless, as there is
8314       # no search path for DLLs.
8315       hardcode_libdir_flag_spec=' '
8316       allow_undefined_flag=unsupported
8317       # Tell ltmain to make .lib files, not .a files.
8318       libext=lib
8319       # Tell ltmain to make .dll files, not .so files.
8320       shrext_cmds=".dll"
8321       # FIXME: Setting linknames here is a bad hack.
8322       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8323       # The linker will automatically build a .lib file if we build a DLL.
8324       old_archive_from_new_cmds='true'
8325       # FIXME: Should let the user specify the lib program.
8326       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8327       fix_srcfile_path='`cygpath -w "$srcfile"`'
8328       enable_shared_with_static_runtimes=yes
8329       ;;
8330
8331     darwin* | rhapsody*)
8332       case $host_os in
8333       rhapsody* | darwin1.[012])
8334         allow_undefined_flag='${wl}-undefined ${wl}suppress'
8335         ;;
8336       *) # Darwin 1.3 on
8337         case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8338         10.[012])
8339           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8340           ;;
8341         10.*)
8342           allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8343           ;;
8344         esac
8345         ;;
8346       esac
8347       archive_cmds_need_lc=no
8348       hardcode_direct=no
8349       hardcode_automatic=yes
8350       hardcode_shlibpath_var=unsupported
8351       whole_archive_flag_spec=''
8352       link_all_deplibs=yes
8353       if test "$GCC" = yes ; then
8354         if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8355   echo $ECHO_N "(cached) $ECHO_C" >&6
8356 else
8357   lt_cv_apple_cc_single_mod=no
8358         if test -z "${LT_MULTI_MODULE}"; then
8359           # By default we will add the -single_module flag. You can override
8360           # by either setting the environment variable LT_MULTI_MODULE
8361           # non-empty at configure time, or by adding -multi-module to the
8362           # link flags.
8363           echo "int foo(void){return 1;}" > conftest.c
8364           $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8365               -dynamiclib ${wl}-single_module conftest.c
8366           if test -f libconftest.dylib; then
8367               lt_cv_apple_cc_single_mod=yes
8368               rm libconftest.dylib
8369           fi
8370           rm conftest.$ac_ext
8371         fi
8372 fi
8373
8374         output_verbose_link_cmd=echo
8375         if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8376           archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8377           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}'
8378         else
8379           archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8380           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}'
8381         fi
8382         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8383         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}'
8384       else
8385         case $cc_basename in
8386         xlc*)
8387           output_verbose_link_cmd=echo
8388           archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8389           module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8390           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8391           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}'
8392           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}'
8393           ;;
8394         *)
8395           ld_shlibs=no
8396           ;;
8397         esac
8398       fi
8399       ;;
8400
8401     dgux*)
8402       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8403       hardcode_libdir_flag_spec='-L$libdir'
8404       hardcode_shlibpath_var=no
8405       ;;
8406
8407     freebsd1*)
8408       ld_shlibs=no
8409       ;;
8410
8411     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8412     # support.  Future versions do this automatically, but an explicit c++rt0.o
8413     # does not break anything, and helps significantly (at the cost of a little
8414     # extra space).
8415     freebsd2.2*)
8416       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8417       hardcode_libdir_flag_spec='-R$libdir'
8418       hardcode_direct=yes
8419       hardcode_shlibpath_var=no
8420       ;;
8421
8422     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8423     freebsd2*)
8424       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8425       hardcode_direct=yes
8426       hardcode_minus_L=yes
8427       hardcode_shlibpath_var=no
8428       ;;
8429
8430     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8431     freebsd* | dragonfly*)
8432       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8433       hardcode_libdir_flag_spec='-R$libdir'
8434       hardcode_direct=yes
8435       hardcode_shlibpath_var=no
8436       ;;
8437
8438     hpux9*)
8439       if test "$GCC" = yes; then
8440         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'
8441       else
8442         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'
8443       fi
8444       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8445       hardcode_libdir_separator=:
8446       hardcode_direct=yes
8447
8448       # hardcode_minus_L: Not really in the search PATH,
8449       # but as the default location of the library.
8450       hardcode_minus_L=yes
8451       export_dynamic_flag_spec='${wl}-E'
8452       ;;
8453
8454     hpux10*)
8455       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8456         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8457       else
8458         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8459       fi
8460       if test "$with_gnu_ld" = no; then
8461         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8462         hardcode_libdir_flag_spec_ld='+b $libdir'
8463         hardcode_libdir_separator=:
8464         hardcode_direct=yes
8465         hardcode_direct_absolute=yes
8466         export_dynamic_flag_spec='${wl}-E'
8467         # hardcode_minus_L: Not really in the search PATH,
8468         # but as the default location of the library.
8469         hardcode_minus_L=yes
8470       fi
8471       ;;
8472
8473     hpux11*)
8474       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8475         case $host_cpu in
8476         hppa*64*)
8477           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8478           ;;
8479         ia64*)
8480           archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8481           ;;
8482         *)
8483           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8484           ;;
8485         esac
8486       else
8487         case $host_cpu in
8488         hppa*64*)
8489           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8490           ;;
8491         ia64*)
8492           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8493           ;;
8494         *)
8495           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8496           ;;
8497         esac
8498       fi
8499       if test "$with_gnu_ld" = no; then
8500         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8501         hardcode_libdir_separator=:
8502
8503         case $host_cpu in
8504         hppa*64*|ia64*)
8505           hardcode_direct=no
8506           hardcode_shlibpath_var=no
8507           ;;
8508         *)
8509           hardcode_direct=yes
8510           hardcode_direct_absolute=yes
8511           export_dynamic_flag_spec='${wl}-E'
8512
8513           # hardcode_minus_L: Not really in the search PATH,
8514           # but as the default location of the library.
8515           hardcode_minus_L=yes
8516           ;;
8517         esac
8518       fi
8519       ;;
8520
8521     irix5* | irix6* | nonstopux*)
8522       if test "$GCC" = yes; then
8523         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'
8524         # Try to use the -exported_symbol ld option, if it does not
8525         # work, assume that -exports_file does not work either and
8526         # implicitly export all symbols.
8527         save_LDFLAGS="$LDFLAGS"
8528         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8529         if test x$gcc_no_link = xyes; then
8530   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8532    { (exit 1); exit 1; }; }
8533 fi
8534 cat >conftest.$ac_ext <<_ACEOF
8535 int foo(void) {}
8536 _ACEOF
8537 rm -f conftest.$ac_objext conftest$ac_exeext
8538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8539   (eval $ac_link) 2>conftest.er1
8540   ac_status=$?
8541   grep -v '^ *+' conftest.er1 >conftest.err
8542   rm -f conftest.er1
8543   cat conftest.err >&5
8544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8545   (exit $ac_status); } &&
8546          { ac_try='test -z "$ac_c_werror_flag"
8547                          || test ! -s conftest.err'
8548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8549   (eval $ac_try) 2>&5
8550   ac_status=$?
8551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8552   (exit $ac_status); }; } &&
8553          { ac_try='test -s conftest$ac_exeext'
8554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8555   (eval $ac_try) 2>&5
8556   ac_status=$?
8557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558   (exit $ac_status); }; }; then
8559   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'
8560
8561 else
8562   echo "$as_me: failed program was:" >&5
8563 sed 's/^/| /' conftest.$ac_ext >&5
8564
8565 fi
8566 rm -f conftest.err conftest.$ac_objext \
8567       conftest$ac_exeext conftest.$ac_ext
8568         LDFLAGS="$save_LDFLAGS"
8569       else
8570         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'
8571         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'
8572       fi
8573       archive_cmds_need_lc='no'
8574       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8575       hardcode_libdir_separator=:
8576       inherit_rpath=yes
8577       link_all_deplibs=yes
8578       ;;
8579
8580     netbsd*)
8581       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8582         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8583       else
8584         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8585       fi
8586       hardcode_libdir_flag_spec='-R$libdir'
8587       hardcode_direct=yes
8588       hardcode_shlibpath_var=no
8589       ;;
8590
8591     newsos6)
8592       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8593       hardcode_direct=yes
8594       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8595       hardcode_libdir_separator=:
8596       hardcode_shlibpath_var=no
8597       ;;
8598
8599     *nto* | *qnx*)
8600       ;;
8601
8602     openbsd*)
8603       hardcode_direct=yes
8604       hardcode_shlibpath_var=no
8605       hardcode_direct_absolute=yes
8606       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8607         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8608         archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8609         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8610         export_dynamic_flag_spec='${wl}-E'
8611       else
8612         case $host_os in
8613         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8614           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8615           hardcode_libdir_flag_spec='-R$libdir'
8616           ;;
8617         *)
8618           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8619           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8620           ;;
8621         esac
8622       fi
8623       ;;
8624
8625     os2*)
8626       hardcode_libdir_flag_spec='-L$libdir'
8627       hardcode_minus_L=yes
8628       allow_undefined_flag=unsupported
8629       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'
8630       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8631       ;;
8632
8633     osf3*)
8634       if test "$GCC" = yes; then
8635         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8636         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'
8637       else
8638         allow_undefined_flag=' -expect_unresolved \*'
8639         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'
8640       fi
8641       archive_cmds_need_lc='no'
8642       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8643       hardcode_libdir_separator=:
8644       ;;
8645
8646     osf4* | osf5*)      # as osf3* with the addition of -msym flag
8647       if test "$GCC" = yes; then
8648         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8649         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'
8650         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8651       else
8652         allow_undefined_flag=' -expect_unresolved \*'
8653         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'
8654         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~
8655         $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'
8656
8657         # Both c and cxx compiler support -rpath directly
8658         hardcode_libdir_flag_spec='-rpath $libdir'
8659       fi
8660       archive_cmds_need_lc='no'
8661       hardcode_libdir_separator=:
8662       ;;
8663
8664     solaris*)
8665       no_undefined_flag=' -z defs'
8666       if test "$GCC" = yes; then
8667         wlarc='${wl}'
8668         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8669         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8670           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8671       else
8672         case `$CC -V 2>&1` in
8673         *"Compilers 5.0"*)
8674           wlarc=''
8675           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8676           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8677           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8678           ;;
8679         *)
8680           wlarc='${wl}'
8681           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8682           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8683           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8684           ;;
8685         esac
8686       fi
8687       hardcode_libdir_flag_spec='-R$libdir'
8688       hardcode_shlibpath_var=no
8689       case $host_os in
8690       solaris2.[0-5] | solaris2.[0-5].*) ;;
8691       *)
8692         # The compiler driver will combine and reorder linker options,
8693         # but understands `-z linker_flag'.  GCC discards it without `$wl',
8694         # but is careful enough not to reorder.
8695         # Supported since Solaris 2.6 (maybe 2.5.1?)
8696         if test "$GCC" = yes; then
8697           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8698         else
8699           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8700         fi
8701         ;;
8702       esac
8703       link_all_deplibs=yes
8704       ;;
8705
8706     sunos4*)
8707       if test "x$host_vendor" = xsequent; then
8708         # Use $CC to link under sequent, because it throws in some extra .o
8709         # files that make .init and .fini sections work.
8710         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8711       else
8712         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8713       fi
8714       hardcode_libdir_flag_spec='-L$libdir'
8715       hardcode_direct=yes
8716       hardcode_minus_L=yes
8717       hardcode_shlibpath_var=no
8718       ;;
8719
8720     sysv4)
8721       case $host_vendor in
8722         sni)
8723           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8724           hardcode_direct=yes # is this really true???
8725         ;;
8726         siemens)
8727           ## LD is ld it makes a PLAMLIB
8728           ## CC just makes a GrossModule.
8729           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8730           reload_cmds='$CC -r -o $output$reload_objs'
8731           hardcode_direct=no
8732         ;;
8733         motorola)
8734           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8735           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8736         ;;
8737       esac
8738       runpath_var='LD_RUN_PATH'
8739       hardcode_shlibpath_var=no
8740       ;;
8741
8742     sysv4.3*)
8743       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8744       hardcode_shlibpath_var=no
8745       export_dynamic_flag_spec='-Bexport'
8746       ;;
8747
8748     sysv4*MP*)
8749       if test -d /usr/nec; then
8750         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8751         hardcode_shlibpath_var=no
8752         runpath_var=LD_RUN_PATH
8753         hardcode_runpath_var=yes
8754         ld_shlibs=yes
8755       fi
8756       ;;
8757
8758     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8759       no_undefined_flag='${wl}-z,text'
8760       archive_cmds_need_lc=no
8761       hardcode_shlibpath_var=no
8762       runpath_var='LD_RUN_PATH'
8763
8764       if test "$GCC" = yes; then
8765         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8766         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8767       else
8768         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8769         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8770       fi
8771       ;;
8772
8773     sysv5* | sco3.2v5* | sco5v6*)
8774       # Note: We can NOT use -z defs as we might desire, because we do not
8775       # link with -lc, and that would cause any symbols used from libc to
8776       # always be unresolved, which means just about no library would
8777       # ever link correctly.  If we're not using GNU ld we use -z text
8778       # though, which does catch some bad symbols but isn't as heavy-handed
8779       # as -z defs.
8780       no_undefined_flag='${wl}-z,text'
8781       allow_undefined_flag='${wl}-z,nodefs'
8782       archive_cmds_need_lc=no
8783       hardcode_shlibpath_var=no
8784       hardcode_libdir_flag_spec='${wl}-R,$libdir'
8785       hardcode_libdir_separator=':'
8786       link_all_deplibs=yes
8787       export_dynamic_flag_spec='${wl}-Bexport'
8788       runpath_var='LD_RUN_PATH'
8789
8790       if test "$GCC" = yes; then
8791         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8792         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8793       else
8794         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8795         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8796       fi
8797       ;;
8798
8799     uts4*)
8800       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8801       hardcode_libdir_flag_spec='-L$libdir'
8802       hardcode_shlibpath_var=no
8803       ;;
8804
8805     *)
8806       ld_shlibs=no
8807       ;;
8808     esac
8809
8810     if test x$host_vendor = xsni; then
8811       case $host in
8812       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8813         export_dynamic_flag_spec='${wl}-Blargedynsym'
8814         ;;
8815       esac
8816     fi
8817   fi
8818
8819 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8820 echo "${ECHO_T}$ld_shlibs" >&6
8821 test "$ld_shlibs" = no && can_build_shared=no
8822
8823 with_gnu_ld=$with_gnu_ld
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839 #
8840 # Do we need to explicitly link libc?
8841 #
8842 case "x$archive_cmds_need_lc" in
8843 x|xyes)
8844   # Assume -lc should be added
8845   archive_cmds_need_lc=yes
8846
8847   if test "$enable_shared" = yes && test "$GCC" = yes; then
8848     case $archive_cmds in
8849     *'~'*)
8850       # FIXME: we may have to deal with multi-command sequences.
8851       ;;
8852     '$CC '*)
8853       # Test whether the compiler implicitly links with -lc since on some
8854       # systems, -lgcc has to come before -lc. If gcc already passes -lc
8855       # to ld, don't add -lc before -lgcc.
8856       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8857 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8858       $RM conftest*
8859       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8860
8861       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8862   (eval $ac_compile) 2>&5
8863   ac_status=$?
8864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8865   (exit $ac_status); } 2>conftest.err; then
8866         soname=conftest
8867         lib=conftest
8868         libobjs=conftest.$ac_objext
8869         deplibs=
8870         wl=$lt_prog_compiler_wl
8871         pic_flag=$lt_prog_compiler_pic
8872         compiler_flags=-v
8873         linker_flags=-v
8874         verstring=
8875         output_objdir=.
8876         libname=conftest
8877         lt_save_allow_undefined_flag=$allow_undefined_flag
8878         allow_undefined_flag=
8879         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8880   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8881   ac_status=$?
8882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883   (exit $ac_status); }
8884         then
8885           archive_cmds_need_lc=no
8886         else
8887           archive_cmds_need_lc=yes
8888         fi
8889         allow_undefined_flag=$lt_save_allow_undefined_flag
8890       else
8891         cat conftest.err 1>&5
8892       fi
8893       $RM conftest*
8894       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8895 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8896       ;;
8897     esac
8898   fi
8899   ;;
8900 esac
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
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9059 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9060 withGCC=$GCC
9061 if test "$withGCC" = yes; then
9062   case $host_os in
9063     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9064     *) lt_awk_arg="/^libraries:/" ;;
9065   esac
9066   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9067   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9068     # if the path contains ";" then we assume it to be the separator
9069     # otherwise default to the standard path separator (i.e. ":") - it is
9070     # assumed that no part of a normal pathname contains ";" but that should
9071     # okay in the real world where ";" in dirpaths is itself problematic.
9072     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9073   else
9074     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9075   fi
9076   # Ok, now we have the path, separated by spaces, we can step through it
9077   # and add multilib dir if necessary.
9078   lt_tmp_lt_search_path_spec=
9079   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9080   for lt_sys_path in $lt_search_path_spec; do
9081     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9082       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9083     else
9084       test -d "$lt_sys_path" && \
9085         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9086     fi
9087   done
9088   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9089 BEGIN {RS=" "; FS="/|\n";} {
9090   lt_foo="";
9091   lt_count=0;
9092   for (lt_i = NF; lt_i > 0; lt_i--) {
9093     if ($lt_i != "" && $lt_i != ".") {
9094       if ($lt_i == "..") {
9095         lt_count++;
9096       } else {
9097         if (lt_count == 0) {
9098           lt_foo="/" $lt_i lt_foo;
9099         } else {
9100           lt_count--;
9101         }
9102       }
9103     }
9104   }
9105   if (lt_foo != "") { lt_freq[lt_foo]++; }
9106   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9107 }'`
9108   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9109 else
9110   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9111 fi
9112 library_names_spec=
9113 libname_spec='lib$name'
9114 soname_spec=
9115 shrext_cmds=".so"
9116 postinstall_cmds=
9117 postuninstall_cmds=
9118 finish_cmds=
9119 finish_eval=
9120 shlibpath_var=
9121 shlibpath_overrides_runpath=unknown
9122 version_type=none
9123 dynamic_linker="$host_os ld.so"
9124 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9125 need_lib_prefix=unknown
9126 hardcode_into_libs=no
9127
9128 # when you set need_version to no, make sure it does not cause -set_version
9129 # flags to be left without arguments
9130 need_version=unknown
9131
9132 case $host_os in
9133 aix3*)
9134   version_type=linux
9135   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9136   shlibpath_var=LIBPATH
9137
9138   # AIX 3 has no versioning support, so we append a major version to the name.
9139   soname_spec='${libname}${release}${shared_ext}$major'
9140   ;;
9141
9142 aix[4-9]*)
9143   version_type=linux
9144   need_lib_prefix=no
9145   need_version=no
9146   hardcode_into_libs=yes
9147   if test "$host_cpu" = ia64; then
9148     # AIX 5 supports IA64
9149     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9150     shlibpath_var=LD_LIBRARY_PATH
9151   else
9152     # With GCC up to 2.95.x, collect2 would create an import file
9153     # for dependence libraries.  The import file would start with
9154     # the line `#! .'.  This would cause the generated library to
9155     # depend on `.', always an invalid library.  This was fixed in
9156     # development snapshots of GCC prior to 3.0.
9157     case $host_os in
9158       aix4 | aix4.[01] | aix4.[01].*)
9159       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9160            echo ' yes '
9161            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9162         :
9163       else
9164         can_build_shared=no
9165       fi
9166       ;;
9167     esac
9168     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9169     # soname into executable. Probably we can add versioning support to
9170     # collect2, so additional links can be useful in future.
9171     if test "$aix_use_runtimelinking" = yes; then
9172       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9173       # instead of lib<name>.a to let people know that these are not
9174       # typical AIX shared libraries.
9175       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9176     else
9177       # We preserve .a as extension for shared libraries through AIX4.2
9178       # and later when we are not doing run time linking.
9179       library_names_spec='${libname}${release}.a $libname.a'
9180       soname_spec='${libname}${release}${shared_ext}$major'
9181     fi
9182     shlibpath_var=LIBPATH
9183   fi
9184   ;;
9185
9186 amigaos*)
9187   if test "$host_cpu" = m68k; then
9188     library_names_spec='$libname.ixlibrary $libname.a'
9189     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9190     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'
9191   else
9192     dynamic_linker=no
9193   fi
9194   ;;
9195
9196 beos*)
9197   library_names_spec='${libname}${shared_ext}'
9198   dynamic_linker="$host_os ld.so"
9199   shlibpath_var=LIBRARY_PATH
9200   ;;
9201
9202 bsdi[45]*)
9203   version_type=linux
9204   need_version=no
9205   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9206   soname_spec='${libname}${release}${shared_ext}$major'
9207   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9208   shlibpath_var=LD_LIBRARY_PATH
9209   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9210   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9211   # the default ld.so.conf also contains /usr/contrib/lib and
9212   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9213   # libtool to hard-code these into programs
9214   ;;
9215
9216 cygwin* | mingw* | pw32*)
9217   version_type=windows
9218   shrext_cmds=".dll"
9219   need_version=no
9220   need_lib_prefix=no
9221
9222   case $withGCC,$host_os in
9223   yes,cygwin* | yes,mingw* | yes,pw32*)
9224     library_names_spec='$libname.dll.a'
9225     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9226     postinstall_cmds='base_file=`basename \${file}`~
9227       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9228       dldir=$destdir/`dirname \$dlpath`~
9229       test -d \$dldir || mkdir -p \$dldir~
9230       $install_prog $dir/$dlname \$dldir/$dlname~
9231       chmod a+x \$dldir/$dlname~
9232       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9233         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9234       fi'
9235     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9236       dlpath=$dir/\$dldll~
9237        $RM \$dlpath'
9238     shlibpath_overrides_runpath=yes
9239
9240     case $host_os in
9241     cygwin*)
9242       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9243       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9244       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9245       ;;
9246     mingw*)
9247       # MinGW DLLs use traditional 'lib' prefix
9248       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9249       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9250       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9251         # It is most probably a Windows format PATH printed by
9252         # mingw gcc, but we are running on Cygwin. Gcc prints its search
9253         # path with ; separators, and with drive letters. We can handle the
9254         # drive letters (cygwin fileutils understands them), so leave them,
9255         # especially as we might pass files found there to a mingw objdump,
9256         # which wouldn't understand a cygwinified path. Ahh.
9257         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9258       else
9259         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9260       fi
9261       ;;
9262     pw32*)
9263       # pw32 DLLs use 'pw' prefix rather than 'lib'
9264       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9265       ;;
9266     esac
9267     ;;
9268
9269   *)
9270     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9271     ;;
9272   esac
9273   dynamic_linker='Win32 ld.exe'
9274   # FIXME: first we should search . and the directory the executable is in
9275   shlibpath_var=PATH
9276   ;;
9277
9278 darwin* | rhapsody*)
9279   dynamic_linker="$host_os dyld"
9280   version_type=darwin
9281   need_lib_prefix=no
9282   need_version=no
9283   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9284   soname_spec='${libname}${release}${major}$shared_ext'
9285   shlibpath_overrides_runpath=yes
9286   shlibpath_var=DYLD_LIBRARY_PATH
9287   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9288
9289   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9290   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9291   ;;
9292
9293 dgux*)
9294   version_type=linux
9295   need_lib_prefix=no
9296   need_version=no
9297   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9298   soname_spec='${libname}${release}${shared_ext}$major'
9299   shlibpath_var=LD_LIBRARY_PATH
9300   ;;
9301
9302 freebsd1*)
9303   dynamic_linker=no
9304   ;;
9305
9306 freebsd* | dragonfly*)
9307   # DragonFly does not have aout.  When/if they implement a new
9308   # versioning mechanism, adjust this.
9309   if test -x /usr/bin/objformat; then
9310     objformat=`/usr/bin/objformat`
9311   else
9312     case $host_os in
9313     freebsd[123]*) objformat=aout ;;
9314     *) objformat=elf ;;
9315     esac
9316   fi
9317   version_type=freebsd-$objformat
9318   case $version_type in
9319     freebsd-elf*)
9320       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9321       need_version=no
9322       need_lib_prefix=no
9323       ;;
9324     freebsd-*)
9325       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9326       need_version=yes
9327       ;;
9328   esac
9329   shlibpath_var=LD_LIBRARY_PATH
9330   case $host_os in
9331   freebsd2*)
9332     shlibpath_overrides_runpath=yes
9333     ;;
9334   freebsd3.[01]* | freebsdelf3.[01]*)
9335     shlibpath_overrides_runpath=yes
9336     hardcode_into_libs=yes
9337     ;;
9338   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9339   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9340     shlibpath_overrides_runpath=no
9341     hardcode_into_libs=yes
9342     ;;
9343   *) # from 4.6 on, and DragonFly
9344     shlibpath_overrides_runpath=yes
9345     hardcode_into_libs=yes
9346     ;;
9347   esac
9348   ;;
9349
9350 gnu*)
9351   version_type=linux
9352   need_lib_prefix=no
9353   need_version=no
9354   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9355   soname_spec='${libname}${release}${shared_ext}$major'
9356   shlibpath_var=LD_LIBRARY_PATH
9357   hardcode_into_libs=yes
9358   ;;
9359
9360 hpux9* | hpux10* | hpux11*)
9361   # Give a soname corresponding to the major version so that dld.sl refuses to
9362   # link against other versions.
9363   version_type=sunos
9364   need_lib_prefix=no
9365   need_version=no
9366   case $host_cpu in
9367   ia64*)
9368     shrext_cmds='.so'
9369     hardcode_into_libs=yes
9370     dynamic_linker="$host_os dld.so"
9371     shlibpath_var=LD_LIBRARY_PATH
9372     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9373     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9374     soname_spec='${libname}${release}${shared_ext}$major'
9375     if test "X$HPUX_IA64_MODE" = X32; then
9376       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9377     else
9378       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9379     fi
9380     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9381     ;;
9382   hppa*64*)
9383     shrext_cmds='.sl'
9384     hardcode_into_libs=yes
9385     dynamic_linker="$host_os dld.sl"
9386     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9387     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9388     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9389     soname_spec='${libname}${release}${shared_ext}$major'
9390     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9391     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9392     ;;
9393   *)
9394     shrext_cmds='.sl'
9395     dynamic_linker="$host_os dld.sl"
9396     shlibpath_var=SHLIB_PATH
9397     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9398     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9399     soname_spec='${libname}${release}${shared_ext}$major'
9400     ;;
9401   esac
9402   # HP-UX runs *really* slowly unless shared libraries are mode 555.
9403   postinstall_cmds='chmod 555 $lib'
9404   ;;
9405
9406 interix[3-9]*)
9407   version_type=linux
9408   need_lib_prefix=no
9409   need_version=no
9410   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9411   soname_spec='${libname}${release}${shared_ext}$major'
9412   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9413   shlibpath_var=LD_LIBRARY_PATH
9414   shlibpath_overrides_runpath=no
9415   hardcode_into_libs=yes
9416   ;;
9417
9418 irix5* | irix6* | nonstopux*)
9419   case $host_os in
9420     nonstopux*) version_type=nonstopux ;;
9421     *)
9422         if test "$lt_cv_prog_gnu_ld" = yes; then
9423                 version_type=linux
9424         else
9425                 version_type=irix
9426         fi ;;
9427   esac
9428   need_lib_prefix=no
9429   need_version=no
9430   soname_spec='${libname}${release}${shared_ext}$major'
9431   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9432   case $host_os in
9433   irix5* | nonstopux*)
9434     libsuff= shlibsuff=
9435     ;;
9436   *)
9437     case $LD in # libtool.m4 will add one of these switches to LD
9438     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9439       libsuff= shlibsuff= libmagic=32-bit;;
9440     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9441       libsuff=32 shlibsuff=N32 libmagic=N32;;
9442     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9443       libsuff=64 shlibsuff=64 libmagic=64-bit;;
9444     *) libsuff= shlibsuff= libmagic=never-match;;
9445     esac
9446     ;;
9447   esac
9448   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9449   shlibpath_overrides_runpath=no
9450   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9451   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9452   hardcode_into_libs=yes
9453   ;;
9454
9455 # No shared lib support for Linux oldld, aout, or coff.
9456 linux*oldld* | linux*aout* | linux*coff*)
9457   dynamic_linker=no
9458   ;;
9459
9460 # This must be Linux ELF.
9461 linux* | k*bsd*-gnu)
9462   version_type=linux
9463   need_lib_prefix=no
9464   need_version=no
9465   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9466   soname_spec='${libname}${release}${shared_ext}$major'
9467   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9468   shlibpath_var=LD_LIBRARY_PATH
9469   shlibpath_overrides_runpath=no
9470   # Some binutils ld are patched to set DT_RUNPATH
9471   save_LDFLAGS=$LDFLAGS
9472   save_libdir=$libdir
9473   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9474        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9475   if test x$gcc_no_link = xyes; then
9476   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9478    { (exit 1); exit 1; }; }
9479 fi
9480 cat >conftest.$ac_ext <<_ACEOF
9481 /* confdefs.h.  */
9482 _ACEOF
9483 cat confdefs.h >>conftest.$ac_ext
9484 cat >>conftest.$ac_ext <<_ACEOF
9485 /* end confdefs.h.  */
9486
9487 int
9488 main ()
9489 {
9490
9491   ;
9492   return 0;
9493 }
9494 _ACEOF
9495 rm -f conftest.$ac_objext conftest$ac_exeext
9496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9497   (eval $ac_link) 2>conftest.er1
9498   ac_status=$?
9499   grep -v '^ *+' conftest.er1 >conftest.err
9500   rm -f conftest.er1
9501   cat conftest.err >&5
9502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9503   (exit $ac_status); } &&
9504          { ac_try='test -z "$ac_c_werror_flag"
9505                          || test ! -s conftest.err'
9506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9507   (eval $ac_try) 2>&5
9508   ac_status=$?
9509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9510   (exit $ac_status); }; } &&
9511          { ac_try='test -s conftest$ac_exeext'
9512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9513   (eval $ac_try) 2>&5
9514   ac_status=$?
9515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9516   (exit $ac_status); }; }; then
9517   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9518   shlibpath_overrides_runpath=yes
9519 fi
9520
9521 else
9522   echo "$as_me: failed program was:" >&5
9523 sed 's/^/| /' conftest.$ac_ext >&5
9524
9525 fi
9526 rm -f conftest.err conftest.$ac_objext \
9527       conftest$ac_exeext conftest.$ac_ext
9528   LDFLAGS=$save_LDFLAGS
9529   libdir=$save_libdir
9530
9531   # This implies no fast_install, which is unacceptable.
9532   # Some rework will be needed to allow for fast_install
9533   # before this can be enabled.
9534   hardcode_into_libs=yes
9535
9536   # Append ld.so.conf contents to the search path
9537   if test -f /etc/ld.so.conf; then
9538     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' ' '`
9539     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9540   fi
9541
9542   # We used to test for /lib/ld.so.1 and disable shared libraries on
9543   # powerpc, because MkLinux only supported shared libraries with the
9544   # GNU dynamic linker.  Since this was broken with cross compilers,
9545   # most powerpc-linux boxes support dynamic linking these days and
9546   # people can always --disable-shared, the test was removed, and we
9547   # assume the GNU/Linux dynamic linker is in use.
9548   dynamic_linker='GNU/Linux ld.so'
9549   ;;
9550
9551 netbsd*)
9552   version_type=sunos
9553   need_lib_prefix=no
9554   need_version=no
9555   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9556     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9557     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9558     dynamic_linker='NetBSD (a.out) ld.so'
9559   else
9560     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9561     soname_spec='${libname}${release}${shared_ext}$major'
9562     dynamic_linker='NetBSD ld.elf_so'
9563   fi
9564   shlibpath_var=LD_LIBRARY_PATH
9565   shlibpath_overrides_runpath=yes
9566   hardcode_into_libs=yes
9567   ;;
9568
9569 newsos6)
9570   version_type=linux
9571   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9572   shlibpath_var=LD_LIBRARY_PATH
9573   shlibpath_overrides_runpath=yes
9574   ;;
9575
9576 *nto* | *qnx*)
9577   version_type=qnx
9578   need_lib_prefix=no
9579   need_version=no
9580   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9581   soname_spec='${libname}${release}${shared_ext}$major'
9582   shlibpath_var=LD_LIBRARY_PATH
9583   shlibpath_overrides_runpath=no
9584   hardcode_into_libs=yes
9585   dynamic_linker='ldqnx.so'
9586   ;;
9587
9588 openbsd*)
9589   version_type=sunos
9590   sys_lib_dlsearch_path_spec="/usr/lib"
9591   need_lib_prefix=no
9592   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9593   case $host_os in
9594     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
9595     *)                          need_version=no  ;;
9596   esac
9597   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9598   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9599   shlibpath_var=LD_LIBRARY_PATH
9600   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9601     case $host_os in
9602       openbsd2.[89] | openbsd2.[89].*)
9603         shlibpath_overrides_runpath=no
9604         ;;
9605       *)
9606         shlibpath_overrides_runpath=yes
9607         ;;
9608       esac
9609   else
9610     shlibpath_overrides_runpath=yes
9611   fi
9612   ;;
9613
9614 os2*)
9615   libname_spec='$name'
9616   shrext_cmds=".dll"
9617   need_lib_prefix=no
9618   library_names_spec='$libname${shared_ext} $libname.a'
9619   dynamic_linker='OS/2 ld.exe'
9620   shlibpath_var=LIBPATH
9621   ;;
9622
9623 osf3* | osf4* | osf5*)
9624   version_type=osf
9625   need_lib_prefix=no
9626   need_version=no
9627   soname_spec='${libname}${release}${shared_ext}$major'
9628   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9629   shlibpath_var=LD_LIBRARY_PATH
9630   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9631   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9632   ;;
9633
9634 rdos*)
9635   dynamic_linker=no
9636   ;;
9637
9638 solaris*)
9639   version_type=linux
9640   need_lib_prefix=no
9641   need_version=no
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   shlibpath_overrides_runpath=yes
9646   hardcode_into_libs=yes
9647   # ldd complains unless libraries are executable
9648   postinstall_cmds='chmod +x $lib'
9649   ;;
9650
9651 sunos4*)
9652   version_type=sunos
9653   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9654   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9655   shlibpath_var=LD_LIBRARY_PATH
9656   shlibpath_overrides_runpath=yes
9657   if test "$with_gnu_ld" = yes; then
9658     need_lib_prefix=no
9659   fi
9660   need_version=yes
9661   ;;
9662
9663 sysv4 | sysv4.3*)
9664   version_type=linux
9665   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9666   soname_spec='${libname}${release}${shared_ext}$major'
9667   shlibpath_var=LD_LIBRARY_PATH
9668   case $host_vendor in
9669     sni)
9670       shlibpath_overrides_runpath=no
9671       need_lib_prefix=no
9672       runpath_var=LD_RUN_PATH
9673       ;;
9674     siemens)
9675       need_lib_prefix=no
9676       ;;
9677     motorola)
9678       need_lib_prefix=no
9679       need_version=no
9680       shlibpath_overrides_runpath=no
9681       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9682       ;;
9683   esac
9684   ;;
9685
9686 sysv4*MP*)
9687   if test -d /usr/nec ;then
9688     version_type=linux
9689     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9690     soname_spec='$libname${shared_ext}.$major'
9691     shlibpath_var=LD_LIBRARY_PATH
9692   fi
9693   ;;
9694
9695 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9696   version_type=freebsd-elf
9697   need_lib_prefix=no
9698   need_version=no
9699   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9700   soname_spec='${libname}${release}${shared_ext}$major'
9701   shlibpath_var=LD_LIBRARY_PATH
9702   shlibpath_overrides_runpath=yes
9703   hardcode_into_libs=yes
9704   if test "$with_gnu_ld" = yes; then
9705     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9706   else
9707     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9708     case $host_os in
9709       sco3.2v5*)
9710         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9711         ;;
9712     esac
9713   fi
9714   sys_lib_dlsearch_path_spec='/usr/lib'
9715   ;;
9716
9717 tpf*)
9718   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9719   version_type=linux
9720   need_lib_prefix=no
9721   need_version=no
9722   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9723   shlibpath_var=LD_LIBRARY_PATH
9724   shlibpath_overrides_runpath=no
9725   hardcode_into_libs=yes
9726   ;;
9727
9728 uts4*)
9729   version_type=linux
9730   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9731   soname_spec='${libname}${release}${shared_ext}$major'
9732   shlibpath_var=LD_LIBRARY_PATH
9733   ;;
9734
9735 *)
9736   dynamic_linker=no
9737   ;;
9738 esac
9739 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9740 echo "${ECHO_T}$dynamic_linker" >&6
9741 test "$dynamic_linker" = no && can_build_shared=no
9742
9743 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9744 if test "$GCC" = yes; then
9745   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9746 fi
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
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9835 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9836 hardcode_action=
9837 if test -n "$hardcode_libdir_flag_spec" ||
9838    test -n "$runpath_var" ||
9839    test "X$hardcode_automatic" = "Xyes" ; then
9840
9841   # We can hardcode non-existent directories.
9842   if test "$hardcode_direct" != no &&
9843      # If the only mechanism to avoid hardcoding is shlibpath_var, we
9844      # have to relink, otherwise we might link with an installed library
9845      # when we should be linking with a yet-to-be-installed one
9846      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9847      test "$hardcode_minus_L" != no; then
9848     # Linking always hardcodes the temporary library directory.
9849     hardcode_action=relink
9850   else
9851     # We can link without hardcoding, and we can hardcode nonexisting dirs.
9852     hardcode_action=immediate
9853   fi
9854 else
9855   # We cannot hardcode anything, or else we can only hardcode existing
9856   # directories.
9857   hardcode_action=unsupported
9858 fi
9859 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9860 echo "${ECHO_T}$hardcode_action" >&6
9861
9862 if test "$hardcode_action" = relink ||
9863    test "$inherit_rpath" = yes; then
9864   # Fast installation is not supported
9865   enable_fast_install=no
9866 elif test "$shlibpath_overrides_runpath" = yes ||
9867      test "$enable_shared" = no; then
9868   # Fast installation is not necessary
9869   enable_fast_install=needless
9870 fi
9871
9872
9873
9874
9875
9876
9877   if test "x$enable_dlopen" != xyes; then
9878   enable_dlopen=unknown
9879   enable_dlopen_self=unknown
9880   enable_dlopen_self_static=unknown
9881 else
9882   lt_cv_dlopen=no
9883   lt_cv_dlopen_libs=
9884
9885   case $host_os in
9886   beos*)
9887     lt_cv_dlopen="load_add_on"
9888     lt_cv_dlopen_libs=
9889     lt_cv_dlopen_self=yes
9890     ;;
9891
9892   mingw* | pw32*)
9893     lt_cv_dlopen="LoadLibrary"
9894     lt_cv_dlopen_libs=
9895     ;;
9896
9897   cygwin*)
9898     lt_cv_dlopen="dlopen"
9899     lt_cv_dlopen_libs=
9900     ;;
9901
9902   darwin*)
9903   # if libdl is installed we need to link against it
9904     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9905 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9906 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9907   echo $ECHO_N "(cached) $ECHO_C" >&6
9908 else
9909   ac_check_lib_save_LIBS=$LIBS
9910 LIBS="-ldl  $LIBS"
9911 if test x$gcc_no_link = xyes; then
9912   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9914    { (exit 1); exit 1; }; }
9915 fi
9916 cat >conftest.$ac_ext <<_ACEOF
9917 /* confdefs.h.  */
9918 _ACEOF
9919 cat confdefs.h >>conftest.$ac_ext
9920 cat >>conftest.$ac_ext <<_ACEOF
9921 /* end confdefs.h.  */
9922
9923 /* Override any gcc2 internal prototype to avoid an error.  */
9924 #ifdef __cplusplus
9925 extern "C"
9926 #endif
9927 /* We use char because int might match the return type of a gcc2
9928    builtin and then its argument prototype would still apply.  */
9929 char dlopen ();
9930 int
9931 main ()
9932 {
9933 dlopen ();
9934   ;
9935   return 0;
9936 }
9937 _ACEOF
9938 rm -f conftest.$ac_objext conftest$ac_exeext
9939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9940   (eval $ac_link) 2>conftest.er1
9941   ac_status=$?
9942   grep -v '^ *+' conftest.er1 >conftest.err
9943   rm -f conftest.er1
9944   cat conftest.err >&5
9945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946   (exit $ac_status); } &&
9947          { ac_try='test -z "$ac_c_werror_flag"
9948                          || test ! -s conftest.err'
9949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9950   (eval $ac_try) 2>&5
9951   ac_status=$?
9952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9953   (exit $ac_status); }; } &&
9954          { ac_try='test -s conftest$ac_exeext'
9955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9956   (eval $ac_try) 2>&5
9957   ac_status=$?
9958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9959   (exit $ac_status); }; }; then
9960   ac_cv_lib_dl_dlopen=yes
9961 else
9962   echo "$as_me: failed program was:" >&5
9963 sed 's/^/| /' conftest.$ac_ext >&5
9964
9965 ac_cv_lib_dl_dlopen=no
9966 fi
9967 rm -f conftest.err conftest.$ac_objext \
9968       conftest$ac_exeext conftest.$ac_ext
9969 LIBS=$ac_check_lib_save_LIBS
9970 fi
9971 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9972 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9973 if test $ac_cv_lib_dl_dlopen = yes; then
9974   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9975 else
9976
9977     lt_cv_dlopen="dyld"
9978     lt_cv_dlopen_libs=
9979     lt_cv_dlopen_self=yes
9980
9981 fi
9982
9983     ;;
9984
9985   *)
9986     echo "$as_me:$LINENO: checking for shl_load" >&5
9987 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9988 if test "${ac_cv_func_shl_load+set}" = set; then
9989   echo $ECHO_N "(cached) $ECHO_C" >&6
9990 else
9991   if test x$gcc_no_link = xyes; then
9992   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9994    { (exit 1); exit 1; }; }
9995 fi
9996 cat >conftest.$ac_ext <<_ACEOF
9997 /* confdefs.h.  */
9998 _ACEOF
9999 cat confdefs.h >>conftest.$ac_ext
10000 cat >>conftest.$ac_ext <<_ACEOF
10001 /* end confdefs.h.  */
10002 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10003    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10004 #define shl_load innocuous_shl_load
10005
10006 /* System header to define __stub macros and hopefully few prototypes,
10007     which can conflict with char shl_load (); below.
10008     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10009     <limits.h> exists even on freestanding compilers.  */
10010
10011 #ifdef __STDC__
10012 # include <limits.h>
10013 #else
10014 # include <assert.h>
10015 #endif
10016
10017 #undef shl_load
10018
10019 /* Override any gcc2 internal prototype to avoid an error.  */
10020 #ifdef __cplusplus
10021 extern "C"
10022 {
10023 #endif
10024 /* We use char because int might match the return type of a gcc2
10025    builtin and then its argument prototype would still apply.  */
10026 char shl_load ();
10027 /* The GNU C library defines this for functions which it implements
10028     to always fail with ENOSYS.  Some functions are actually named
10029     something starting with __ and the normal name is an alias.  */
10030 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10031 choke me
10032 #else
10033 char (*f) () = shl_load;
10034 #endif
10035 #ifdef __cplusplus
10036 }
10037 #endif
10038
10039 int
10040 main ()
10041 {
10042 return f != shl_load;
10043   ;
10044   return 0;
10045 }
10046 _ACEOF
10047 rm -f conftest.$ac_objext conftest$ac_exeext
10048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10049   (eval $ac_link) 2>conftest.er1
10050   ac_status=$?
10051   grep -v '^ *+' conftest.er1 >conftest.err
10052   rm -f conftest.er1
10053   cat conftest.err >&5
10054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055   (exit $ac_status); } &&
10056          { ac_try='test -z "$ac_c_werror_flag"
10057                          || test ! -s conftest.err'
10058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10059   (eval $ac_try) 2>&5
10060   ac_status=$?
10061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10062   (exit $ac_status); }; } &&
10063          { ac_try='test -s conftest$ac_exeext'
10064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10065   (eval $ac_try) 2>&5
10066   ac_status=$?
10067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10068   (exit $ac_status); }; }; then
10069   ac_cv_func_shl_load=yes
10070 else
10071   echo "$as_me: failed program was:" >&5
10072 sed 's/^/| /' conftest.$ac_ext >&5
10073
10074 ac_cv_func_shl_load=no
10075 fi
10076 rm -f conftest.err conftest.$ac_objext \
10077       conftest$ac_exeext conftest.$ac_ext
10078 fi
10079 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10080 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10081 if test $ac_cv_func_shl_load = yes; then
10082   lt_cv_dlopen="shl_load"
10083 else
10084   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10085 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10086 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10087   echo $ECHO_N "(cached) $ECHO_C" >&6
10088 else
10089   ac_check_lib_save_LIBS=$LIBS
10090 LIBS="-ldld  $LIBS"
10091 if test x$gcc_no_link = xyes; then
10092   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10094    { (exit 1); exit 1; }; }
10095 fi
10096 cat >conftest.$ac_ext <<_ACEOF
10097 /* confdefs.h.  */
10098 _ACEOF
10099 cat confdefs.h >>conftest.$ac_ext
10100 cat >>conftest.$ac_ext <<_ACEOF
10101 /* end confdefs.h.  */
10102
10103 /* Override any gcc2 internal prototype to avoid an error.  */
10104 #ifdef __cplusplus
10105 extern "C"
10106 #endif
10107 /* We use char because int might match the return type of a gcc2
10108    builtin and then its argument prototype would still apply.  */
10109 char shl_load ();
10110 int
10111 main ()
10112 {
10113 shl_load ();
10114   ;
10115   return 0;
10116 }
10117 _ACEOF
10118 rm -f conftest.$ac_objext conftest$ac_exeext
10119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10120   (eval $ac_link) 2>conftest.er1
10121   ac_status=$?
10122   grep -v '^ *+' conftest.er1 >conftest.err
10123   rm -f conftest.er1
10124   cat conftest.err >&5
10125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10126   (exit $ac_status); } &&
10127          { ac_try='test -z "$ac_c_werror_flag"
10128                          || test ! -s conftest.err'
10129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10130   (eval $ac_try) 2>&5
10131   ac_status=$?
10132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133   (exit $ac_status); }; } &&
10134          { ac_try='test -s conftest$ac_exeext'
10135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10136   (eval $ac_try) 2>&5
10137   ac_status=$?
10138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10139   (exit $ac_status); }; }; then
10140   ac_cv_lib_dld_shl_load=yes
10141 else
10142   echo "$as_me: failed program was:" >&5
10143 sed 's/^/| /' conftest.$ac_ext >&5
10144
10145 ac_cv_lib_dld_shl_load=no
10146 fi
10147 rm -f conftest.err conftest.$ac_objext \
10148       conftest$ac_exeext conftest.$ac_ext
10149 LIBS=$ac_check_lib_save_LIBS
10150 fi
10151 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10152 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10153 if test $ac_cv_lib_dld_shl_load = yes; then
10154   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10155 else
10156   echo "$as_me:$LINENO: checking for dlopen" >&5
10157 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10158 if test "${ac_cv_func_dlopen+set}" = set; then
10159   echo $ECHO_N "(cached) $ECHO_C" >&6
10160 else
10161   if test x$gcc_no_link = xyes; then
10162   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10164    { (exit 1); exit 1; }; }
10165 fi
10166 cat >conftest.$ac_ext <<_ACEOF
10167 /* confdefs.h.  */
10168 _ACEOF
10169 cat confdefs.h >>conftest.$ac_ext
10170 cat >>conftest.$ac_ext <<_ACEOF
10171 /* end confdefs.h.  */
10172 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10173    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10174 #define dlopen innocuous_dlopen
10175
10176 /* System header to define __stub macros and hopefully few prototypes,
10177     which can conflict with char dlopen (); below.
10178     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10179     <limits.h> exists even on freestanding compilers.  */
10180
10181 #ifdef __STDC__
10182 # include <limits.h>
10183 #else
10184 # include <assert.h>
10185 #endif
10186
10187 #undef dlopen
10188
10189 /* Override any gcc2 internal prototype to avoid an error.  */
10190 #ifdef __cplusplus
10191 extern "C"
10192 {
10193 #endif
10194 /* We use char because int might match the return type of a gcc2
10195    builtin and then its argument prototype would still apply.  */
10196 char dlopen ();
10197 /* The GNU C library defines this for functions which it implements
10198     to always fail with ENOSYS.  Some functions are actually named
10199     something starting with __ and the normal name is an alias.  */
10200 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10201 choke me
10202 #else
10203 char (*f) () = dlopen;
10204 #endif
10205 #ifdef __cplusplus
10206 }
10207 #endif
10208
10209 int
10210 main ()
10211 {
10212 return f != dlopen;
10213   ;
10214   return 0;
10215 }
10216 _ACEOF
10217 rm -f conftest.$ac_objext conftest$ac_exeext
10218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10219   (eval $ac_link) 2>conftest.er1
10220   ac_status=$?
10221   grep -v '^ *+' conftest.er1 >conftest.err
10222   rm -f conftest.er1
10223   cat conftest.err >&5
10224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10225   (exit $ac_status); } &&
10226          { ac_try='test -z "$ac_c_werror_flag"
10227                          || test ! -s conftest.err'
10228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10229   (eval $ac_try) 2>&5
10230   ac_status=$?
10231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10232   (exit $ac_status); }; } &&
10233          { ac_try='test -s conftest$ac_exeext'
10234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10235   (eval $ac_try) 2>&5
10236   ac_status=$?
10237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10238   (exit $ac_status); }; }; then
10239   ac_cv_func_dlopen=yes
10240 else
10241   echo "$as_me: failed program was:" >&5
10242 sed 's/^/| /' conftest.$ac_ext >&5
10243
10244 ac_cv_func_dlopen=no
10245 fi
10246 rm -f conftest.err conftest.$ac_objext \
10247       conftest$ac_exeext conftest.$ac_ext
10248 fi
10249 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10250 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10251 if test $ac_cv_func_dlopen = yes; then
10252   lt_cv_dlopen="dlopen"
10253 else
10254   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10255 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10256 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10257   echo $ECHO_N "(cached) $ECHO_C" >&6
10258 else
10259   ac_check_lib_save_LIBS=$LIBS
10260 LIBS="-ldl  $LIBS"
10261 if test x$gcc_no_link = xyes; then
10262   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10264    { (exit 1); exit 1; }; }
10265 fi
10266 cat >conftest.$ac_ext <<_ACEOF
10267 /* confdefs.h.  */
10268 _ACEOF
10269 cat confdefs.h >>conftest.$ac_ext
10270 cat >>conftest.$ac_ext <<_ACEOF
10271 /* end confdefs.h.  */
10272
10273 /* Override any gcc2 internal prototype to avoid an error.  */
10274 #ifdef __cplusplus
10275 extern "C"
10276 #endif
10277 /* We use char because int might match the return type of a gcc2
10278    builtin and then its argument prototype would still apply.  */
10279 char dlopen ();
10280 int
10281 main ()
10282 {
10283 dlopen ();
10284   ;
10285   return 0;
10286 }
10287 _ACEOF
10288 rm -f conftest.$ac_objext conftest$ac_exeext
10289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10290   (eval $ac_link) 2>conftest.er1
10291   ac_status=$?
10292   grep -v '^ *+' conftest.er1 >conftest.err
10293   rm -f conftest.er1
10294   cat conftest.err >&5
10295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10296   (exit $ac_status); } &&
10297          { ac_try='test -z "$ac_c_werror_flag"
10298                          || test ! -s conftest.err'
10299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10300   (eval $ac_try) 2>&5
10301   ac_status=$?
10302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10303   (exit $ac_status); }; } &&
10304          { ac_try='test -s conftest$ac_exeext'
10305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10306   (eval $ac_try) 2>&5
10307   ac_status=$?
10308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10309   (exit $ac_status); }; }; then
10310   ac_cv_lib_dl_dlopen=yes
10311 else
10312   echo "$as_me: failed program was:" >&5
10313 sed 's/^/| /' conftest.$ac_ext >&5
10314
10315 ac_cv_lib_dl_dlopen=no
10316 fi
10317 rm -f conftest.err conftest.$ac_objext \
10318       conftest$ac_exeext conftest.$ac_ext
10319 LIBS=$ac_check_lib_save_LIBS
10320 fi
10321 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10322 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10323 if test $ac_cv_lib_dl_dlopen = yes; then
10324   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10325 else
10326   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10327 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10328 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10329   echo $ECHO_N "(cached) $ECHO_C" >&6
10330 else
10331   ac_check_lib_save_LIBS=$LIBS
10332 LIBS="-lsvld  $LIBS"
10333 if test x$gcc_no_link = xyes; then
10334   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10336    { (exit 1); exit 1; }; }
10337 fi
10338 cat >conftest.$ac_ext <<_ACEOF
10339 /* confdefs.h.  */
10340 _ACEOF
10341 cat confdefs.h >>conftest.$ac_ext
10342 cat >>conftest.$ac_ext <<_ACEOF
10343 /* end confdefs.h.  */
10344
10345 /* Override any gcc2 internal prototype to avoid an error.  */
10346 #ifdef __cplusplus
10347 extern "C"
10348 #endif
10349 /* We use char because int might match the return type of a gcc2
10350    builtin and then its argument prototype would still apply.  */
10351 char dlopen ();
10352 int
10353 main ()
10354 {
10355 dlopen ();
10356   ;
10357   return 0;
10358 }
10359 _ACEOF
10360 rm -f conftest.$ac_objext conftest$ac_exeext
10361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10362   (eval $ac_link) 2>conftest.er1
10363   ac_status=$?
10364   grep -v '^ *+' conftest.er1 >conftest.err
10365   rm -f conftest.er1
10366   cat conftest.err >&5
10367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10368   (exit $ac_status); } &&
10369          { ac_try='test -z "$ac_c_werror_flag"
10370                          || test ! -s conftest.err'
10371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10372   (eval $ac_try) 2>&5
10373   ac_status=$?
10374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10375   (exit $ac_status); }; } &&
10376          { ac_try='test -s conftest$ac_exeext'
10377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10378   (eval $ac_try) 2>&5
10379   ac_status=$?
10380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10381   (exit $ac_status); }; }; then
10382   ac_cv_lib_svld_dlopen=yes
10383 else
10384   echo "$as_me: failed program was:" >&5
10385 sed 's/^/| /' conftest.$ac_ext >&5
10386
10387 ac_cv_lib_svld_dlopen=no
10388 fi
10389 rm -f conftest.err conftest.$ac_objext \
10390       conftest$ac_exeext conftest.$ac_ext
10391 LIBS=$ac_check_lib_save_LIBS
10392 fi
10393 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10394 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10395 if test $ac_cv_lib_svld_dlopen = yes; then
10396   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10397 else
10398   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10399 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10400 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10401   echo $ECHO_N "(cached) $ECHO_C" >&6
10402 else
10403   ac_check_lib_save_LIBS=$LIBS
10404 LIBS="-ldld  $LIBS"
10405 if test x$gcc_no_link = xyes; then
10406   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10408    { (exit 1); exit 1; }; }
10409 fi
10410 cat >conftest.$ac_ext <<_ACEOF
10411 /* confdefs.h.  */
10412 _ACEOF
10413 cat confdefs.h >>conftest.$ac_ext
10414 cat >>conftest.$ac_ext <<_ACEOF
10415 /* end confdefs.h.  */
10416
10417 /* Override any gcc2 internal prototype to avoid an error.  */
10418 #ifdef __cplusplus
10419 extern "C"
10420 #endif
10421 /* We use char because int might match the return type of a gcc2
10422    builtin and then its argument prototype would still apply.  */
10423 char dld_link ();
10424 int
10425 main ()
10426 {
10427 dld_link ();
10428   ;
10429   return 0;
10430 }
10431 _ACEOF
10432 rm -f conftest.$ac_objext conftest$ac_exeext
10433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10434   (eval $ac_link) 2>conftest.er1
10435   ac_status=$?
10436   grep -v '^ *+' conftest.er1 >conftest.err
10437   rm -f conftest.er1
10438   cat conftest.err >&5
10439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10440   (exit $ac_status); } &&
10441          { ac_try='test -z "$ac_c_werror_flag"
10442                          || test ! -s conftest.err'
10443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10444   (eval $ac_try) 2>&5
10445   ac_status=$?
10446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10447   (exit $ac_status); }; } &&
10448          { ac_try='test -s conftest$ac_exeext'
10449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10450   (eval $ac_try) 2>&5
10451   ac_status=$?
10452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10453   (exit $ac_status); }; }; then
10454   ac_cv_lib_dld_dld_link=yes
10455 else
10456   echo "$as_me: failed program was:" >&5
10457 sed 's/^/| /' conftest.$ac_ext >&5
10458
10459 ac_cv_lib_dld_dld_link=no
10460 fi
10461 rm -f conftest.err conftest.$ac_objext \
10462       conftest$ac_exeext conftest.$ac_ext
10463 LIBS=$ac_check_lib_save_LIBS
10464 fi
10465 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10466 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10467 if test $ac_cv_lib_dld_dld_link = yes; then
10468   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10469 fi
10470
10471
10472 fi
10473
10474
10475 fi
10476
10477
10478 fi
10479
10480
10481 fi
10482
10483
10484 fi
10485
10486     ;;
10487   esac
10488
10489   if test "x$lt_cv_dlopen" != xno; then
10490     enable_dlopen=yes
10491   else
10492     enable_dlopen=no
10493   fi
10494
10495   case $lt_cv_dlopen in
10496   dlopen)
10497     save_CPPFLAGS="$CPPFLAGS"
10498     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10499
10500     save_LDFLAGS="$LDFLAGS"
10501     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10502
10503     save_LIBS="$LIBS"
10504     LIBS="$lt_cv_dlopen_libs $LIBS"
10505
10506     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10507 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10508 if test "${lt_cv_dlopen_self+set}" = set; then
10509   echo $ECHO_N "(cached) $ECHO_C" >&6
10510 else
10511           if test "$cross_compiling" = yes; then :
10512   lt_cv_dlopen_self=cross
10513 else
10514   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10515   lt_status=$lt_dlunknown
10516   cat > conftest.$ac_ext <<_LT_EOF
10517 #line 10517 "configure"
10518 #include "confdefs.h"
10519
10520 #if HAVE_DLFCN_H
10521 #include <dlfcn.h>
10522 #endif
10523
10524 #include <stdio.h>
10525
10526 #ifdef RTLD_GLOBAL
10527 #  define LT_DLGLOBAL           RTLD_GLOBAL
10528 #else
10529 #  ifdef DL_GLOBAL
10530 #    define LT_DLGLOBAL         DL_GLOBAL
10531 #  else
10532 #    define LT_DLGLOBAL         0
10533 #  endif
10534 #endif
10535
10536 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10537    find out it does not work in some platform. */
10538 #ifndef LT_DLLAZY_OR_NOW
10539 #  ifdef RTLD_LAZY
10540 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10541 #  else
10542 #    ifdef DL_LAZY
10543 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10544 #    else
10545 #      ifdef RTLD_NOW
10546 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10547 #      else
10548 #        ifdef DL_NOW
10549 #          define LT_DLLAZY_OR_NOW      DL_NOW
10550 #        else
10551 #          define LT_DLLAZY_OR_NOW      0
10552 #        endif
10553 #      endif
10554 #    endif
10555 #  endif
10556 #endif
10557
10558 #ifdef __cplusplus
10559 extern "C" void exit (int);
10560 #endif
10561
10562 void fnord() { int i=42;}
10563 int main ()
10564 {
10565   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10566   int status = $lt_dlunknown;
10567
10568   if (self)
10569     {
10570       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10571       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10572       /* dlclose (self); */
10573     }
10574   else
10575     puts (dlerror ());
10576
10577     exit (status);
10578 }
10579 _LT_EOF
10580   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10581   (eval $ac_link) 2>&5
10582   ac_status=$?
10583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10584   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10585     (./conftest; exit; ) >&5 2>/dev/null
10586     lt_status=$?
10587     case x$lt_status in
10588       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10589       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10590       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10591     esac
10592   else :
10593     # compilation failed
10594     lt_cv_dlopen_self=no
10595   fi
10596 fi
10597 rm -fr conftest*
10598
10599
10600 fi
10601 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10602 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10603
10604     if test "x$lt_cv_dlopen_self" = xyes; then
10605       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10606       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10607 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10608 if test "${lt_cv_dlopen_self_static+set}" = set; then
10609   echo $ECHO_N "(cached) $ECHO_C" >&6
10610 else
10611           if test "$cross_compiling" = yes; then :
10612   lt_cv_dlopen_self_static=cross
10613 else
10614   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10615   lt_status=$lt_dlunknown
10616   cat > conftest.$ac_ext <<_LT_EOF
10617 #line 10617 "configure"
10618 #include "confdefs.h"
10619
10620 #if HAVE_DLFCN_H
10621 #include <dlfcn.h>
10622 #endif
10623
10624 #include <stdio.h>
10625
10626 #ifdef RTLD_GLOBAL
10627 #  define LT_DLGLOBAL           RTLD_GLOBAL
10628 #else
10629 #  ifdef DL_GLOBAL
10630 #    define LT_DLGLOBAL         DL_GLOBAL
10631 #  else
10632 #    define LT_DLGLOBAL         0
10633 #  endif
10634 #endif
10635
10636 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10637    find out it does not work in some platform. */
10638 #ifndef LT_DLLAZY_OR_NOW
10639 #  ifdef RTLD_LAZY
10640 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10641 #  else
10642 #    ifdef DL_LAZY
10643 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10644 #    else
10645 #      ifdef RTLD_NOW
10646 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10647 #      else
10648 #        ifdef DL_NOW
10649 #          define LT_DLLAZY_OR_NOW      DL_NOW
10650 #        else
10651 #          define LT_DLLAZY_OR_NOW      0
10652 #        endif
10653 #      endif
10654 #    endif
10655 #  endif
10656 #endif
10657
10658 #ifdef __cplusplus
10659 extern "C" void exit (int);
10660 #endif
10661
10662 void fnord() { int i=42;}
10663 int main ()
10664 {
10665   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10666   int status = $lt_dlunknown;
10667
10668   if (self)
10669     {
10670       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10671       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10672       /* dlclose (self); */
10673     }
10674   else
10675     puts (dlerror ());
10676
10677     exit (status);
10678 }
10679 _LT_EOF
10680   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10681   (eval $ac_link) 2>&5
10682   ac_status=$?
10683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10684   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10685     (./conftest; exit; ) >&5 2>/dev/null
10686     lt_status=$?
10687     case x$lt_status in
10688       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10689       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10690       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10691     esac
10692   else :
10693     # compilation failed
10694     lt_cv_dlopen_self_static=no
10695   fi
10696 fi
10697 rm -fr conftest*
10698
10699
10700 fi
10701 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10702 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10703     fi
10704
10705     CPPFLAGS="$save_CPPFLAGS"
10706     LDFLAGS="$save_LDFLAGS"
10707     LIBS="$save_LIBS"
10708     ;;
10709   esac
10710
10711   case $lt_cv_dlopen_self in
10712   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10713   *) enable_dlopen_self=unknown ;;
10714   esac
10715
10716   case $lt_cv_dlopen_self_static in
10717   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10718   *) enable_dlopen_self_static=unknown ;;
10719   esac
10720 fi
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738 striplib=
10739 old_striplib=
10740 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10741 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10742 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10743   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10744   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10745   echo "$as_me:$LINENO: result: yes" >&5
10746 echo "${ECHO_T}yes" >&6
10747 else
10748 # FIXME - insert some real tests, host_os isn't really good enough
10749   case $host_os in
10750   darwin*)
10751     if test -n "$STRIP" ; then
10752       striplib="$STRIP -x"
10753       old_striplib="$STRIP -S"
10754       echo "$as_me:$LINENO: result: yes" >&5
10755 echo "${ECHO_T}yes" >&6
10756     else
10757       echo "$as_me:$LINENO: result: no" >&5
10758 echo "${ECHO_T}no" >&6
10759     fi
10760     ;;
10761   *)
10762     echo "$as_me:$LINENO: result: no" >&5
10763 echo "${ECHO_T}no" >&6
10764     ;;
10765   esac
10766 fi
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779   # Report which library types will actually be built
10780   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10781 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10782   echo "$as_me:$LINENO: result: $can_build_shared" >&5
10783 echo "${ECHO_T}$can_build_shared" >&6
10784
10785   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10786 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10787   test "$can_build_shared" = "no" && enable_shared=no
10788
10789   # On AIX, shared libraries and static libraries use the same namespace, and
10790   # are all built from PIC.
10791   case $host_os in
10792   aix3*)
10793     test "$enable_shared" = yes && enable_static=no
10794     if test -n "$RANLIB"; then
10795       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10796       postinstall_cmds='$RANLIB $lib'
10797     fi
10798     ;;
10799
10800   aix[4-9]*)
10801     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10802       test "$enable_shared" = yes && enable_static=no
10803     fi
10804     ;;
10805   esac
10806   echo "$as_me:$LINENO: result: $enable_shared" >&5
10807 echo "${ECHO_T}$enable_shared" >&6
10808
10809   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10810 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10811   # Make sure either enable_shared or enable_static is yes.
10812   test "$enable_shared" = yes || enable_static=yes
10813   echo "$as_me:$LINENO: result: $enable_static" >&5
10814 echo "${ECHO_T}$enable_static" >&6
10815
10816
10817
10818
10819 fi
10820 ac_ext=c
10821 ac_cpp='$CPP $CPPFLAGS'
10822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10825
10826 CC="$lt_save_CC"
10827
10828
10829 ac_ext=cc
10830 ac_cpp='$CXXCPP $CPPFLAGS'
10831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10834
10835 archive_cmds_need_lc_CXX=no
10836 allow_undefined_flag_CXX=
10837 always_export_symbols_CXX=no
10838 archive_expsym_cmds_CXX=
10839 compiler_needs_object_CXX=no
10840 export_dynamic_flag_spec_CXX=
10841 hardcode_direct_CXX=no
10842 hardcode_direct_absolute_CXX=no
10843 hardcode_libdir_flag_spec_CXX=
10844 hardcode_libdir_flag_spec_ld_CXX=
10845 hardcode_libdir_separator_CXX=
10846 hardcode_minus_L_CXX=no
10847 hardcode_shlibpath_var_CXX=unsupported
10848 hardcode_automatic_CXX=no
10849 inherit_rpath_CXX=no
10850 module_cmds_CXX=
10851 module_expsym_cmds_CXX=
10852 link_all_deplibs_CXX=unknown
10853 old_archive_cmds_CXX=$old_archive_cmds
10854 no_undefined_flag_CXX=
10855 whole_archive_flag_spec_CXX=
10856 enable_shared_with_static_runtimes_CXX=no
10857
10858 # Source file extension for C++ test sources.
10859 ac_ext=cpp
10860
10861 # Object file extension for compiled C++ test sources.
10862 objext=o
10863 objext_CXX=$objext
10864
10865 # No sense in running all these tests if we already determined that
10866 # the CXX compiler isn't working.  Some variables (like enable_shared)
10867 # are currently assumed to apply to all compilers on this platform,
10868 # and will be corrupted by setting them based on a non-working compiler.
10869 if test "$_lt_caught_CXX_error" != yes; then
10870   # Code to be used in simple compile tests
10871   lt_simple_compile_test_code="int some_variable = 0;"
10872
10873   # Code to be used in simple link tests
10874   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10875
10876   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10877
10878
10879
10880
10881
10882
10883 # If no C compiler was specified, use CC.
10884 LTCC=${LTCC-"$CC"}
10885
10886 # If no C compiler flags were specified, use CFLAGS.
10887 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10888
10889 # Allow CC to be a program name with arguments.
10890 compiler=$CC
10891
10892
10893   # save warnings/boilerplate of simple test code
10894   ac_outfile=conftest.$ac_objext
10895 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10896 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10897 _lt_compiler_boilerplate=`cat conftest.err`
10898 $RM conftest*
10899
10900   ac_outfile=conftest.$ac_objext
10901 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10902 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10903 _lt_linker_boilerplate=`cat conftest.err`
10904 $RM conftest*
10905
10906
10907   # Allow CC to be a program name with arguments.
10908   lt_save_CC=$CC
10909   lt_save_LD=$LD
10910   lt_save_GCC=$GCC
10911   GCC=$GXX
10912   lt_save_with_gnu_ld=$with_gnu_ld
10913   lt_save_path_LD=$lt_cv_path_LD
10914   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10915     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10916   else
10917     $as_unset lt_cv_prog_gnu_ld
10918   fi
10919   if test -n "${lt_cv_path_LDCXX+set}"; then
10920     lt_cv_path_LD=$lt_cv_path_LDCXX
10921   else
10922     $as_unset lt_cv_path_LD
10923   fi
10924   test -z "${LDCXX+set}" || LD=$LDCXX
10925   CC=${CXX-"c++"}
10926   compiler=$CC
10927   compiler_CXX=$CC
10928   for cc_temp in $compiler""; do
10929   case $cc_temp in
10930     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10931     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10932     \-*) ;;
10933     *) break;;
10934   esac
10935 done
10936 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10937
10938
10939   if test -n "$compiler"; then
10940     # We don't want -fno-exception when compiling C++ code, so set the
10941     # no_builtin_flag separately
10942     if test "$GXX" = yes; then
10943       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10944     else
10945       lt_prog_compiler_no_builtin_flag_CXX=
10946     fi
10947
10948     if test "$GXX" = yes; then
10949       # Set up default GNU C++ configuration
10950
10951
10952
10953 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10954 if test "${with_gnu_ld+set}" = set; then
10955   withval="$with_gnu_ld"
10956   test "$withval" = no || with_gnu_ld=yes
10957 else
10958   with_gnu_ld=no
10959 fi;
10960 ac_prog=ld
10961 if test "$GCC" = yes; then
10962   # Check if gcc -print-prog-name=ld gives a path.
10963   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10964 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10965   case $host in
10966   *-*-mingw*)
10967     # gcc leaves a trailing carriage return which upsets mingw
10968     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10969   *)
10970     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10971   esac
10972   case $ac_prog in
10973     # Accept absolute paths.
10974     [\\/]* | ?:[\\/]*)
10975       re_direlt='/[^/][^/]*/\.\./'
10976       # Canonicalize the pathname of ld
10977       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10978       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
10979         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10980       done
10981       test -z "$LD" && LD="$ac_prog"
10982       ;;
10983   "")
10984     # If it fails, then pretend we aren't using GCC.
10985     ac_prog=ld
10986     ;;
10987   *)
10988     # If it is relative, then search for the first ld in PATH.
10989     with_gnu_ld=unknown
10990     ;;
10991   esac
10992 elif test "$with_gnu_ld" = yes; then
10993   echo "$as_me:$LINENO: checking for GNU ld" >&5
10994 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10995 else
10996   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10997 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10998 fi
10999 if test "${lt_cv_path_LD+set}" = set; then
11000   echo $ECHO_N "(cached) $ECHO_C" >&6
11001 else
11002   if test -z "$LD"; then
11003   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11004   for ac_dir in $PATH; do
11005     IFS="$lt_save_ifs"
11006     test -z "$ac_dir" && ac_dir=.
11007     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11008       lt_cv_path_LD="$ac_dir/$ac_prog"
11009       # Check to see if the program is GNU ld.  I'd rather use --version,
11010       # but apparently some variants of GNU ld only accept -v.
11011       # Break only if it was the GNU/non-GNU ld that we prefer.
11012       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11013       *GNU* | *'with BFD'*)
11014         test "$with_gnu_ld" != no && break
11015         ;;
11016       *)
11017         test "$with_gnu_ld" != yes && break
11018         ;;
11019       esac
11020     fi
11021   done
11022   IFS="$lt_save_ifs"
11023 else
11024   lt_cv_path_LD="$LD" # Let the user override the test with a path.
11025 fi
11026 fi
11027
11028 LD="$lt_cv_path_LD"
11029 if test -n "$LD"; then
11030   echo "$as_me:$LINENO: result: $LD" >&5
11031 echo "${ECHO_T}$LD" >&6
11032 else
11033   echo "$as_me:$LINENO: result: no" >&5
11034 echo "${ECHO_T}no" >&6
11035 fi
11036 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11037 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11038    { (exit 1); exit 1; }; }
11039 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11040 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11041 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11042   echo $ECHO_N "(cached) $ECHO_C" >&6
11043 else
11044   # I'd rather use --version here, but apparently some GNU lds only accept -v.
11045 case `$LD -v 2>&1 </dev/null` in
11046 *GNU* | *'with BFD'*)
11047   lt_cv_prog_gnu_ld=yes
11048   ;;
11049 *)
11050   lt_cv_prog_gnu_ld=no
11051   ;;
11052 esac
11053 fi
11054 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11055 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11056 with_gnu_ld=$lt_cv_prog_gnu_ld
11057
11058
11059
11060
11061
11062
11063
11064       # Check if GNU C++ uses GNU ld as the underlying linker, since the
11065       # archiving commands below assume that GNU ld is being used.
11066       if test "$with_gnu_ld" = yes; then
11067         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11068         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'
11069
11070         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11071         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11072
11073         # If archive_cmds runs LD, not CC, wlarc should be empty
11074         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11075         #     investigate it a little bit more. (MM)
11076         wlarc='${wl}'
11077
11078         # ancient GNU ld didn't support --whole-archive et. al.
11079         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11080           $GREP 'no-whole-archive' > /dev/null; then
11081           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11082         else
11083           whole_archive_flag_spec_CXX=
11084         fi
11085       else
11086         with_gnu_ld=no
11087         wlarc=
11088
11089         # A generic and very simple default shared library creation
11090         # command for GNU C++ for the case where it uses the native
11091         # linker, instead of GNU ld.  If possible, this setting should
11092         # overridden to take advantage of the native linker features on
11093         # the platform it is being used on.
11094         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11095       fi
11096
11097       # Commands to make compiler produce verbose output that lists
11098       # what "hidden" libraries, object files and flags are used when
11099       # linking a shared library.
11100       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11101
11102     else
11103       GXX=no
11104       with_gnu_ld=no
11105       wlarc=
11106     fi
11107
11108     # PORTME: fill in a description of your system's C++ link characteristics
11109     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11110 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11111     ld_shlibs_CXX=yes
11112     case $host_os in
11113       aix3*)
11114         # FIXME: insert proper C++ library support
11115         ld_shlibs_CXX=no
11116         ;;
11117       aix[4-9]*)
11118         if test "$host_cpu" = ia64; then
11119           # On IA64, the linker does run time linking by default, so we don't
11120           # have to do anything special.
11121           aix_use_runtimelinking=no
11122           exp_sym_flag='-Bexport'
11123           no_entry_flag=""
11124         else
11125           aix_use_runtimelinking=no
11126
11127           # Test if we are trying to use run time linking or normal
11128           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11129           # need to do runtime linking.
11130           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11131             for ld_flag in $LDFLAGS; do
11132               case $ld_flag in
11133               *-brtl*)
11134                 aix_use_runtimelinking=yes
11135                 break
11136                 ;;
11137               esac
11138             done
11139             ;;
11140           esac
11141
11142           exp_sym_flag='-bexport'
11143           no_entry_flag='-bnoentry'
11144         fi
11145
11146         # When large executables or shared objects are built, AIX ld can
11147         # have problems creating the table of contents.  If linking a library
11148         # or program results in "error TOC overflow" add -mminimal-toc to
11149         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11150         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11151
11152         archive_cmds_CXX=''
11153         hardcode_direct_CXX=yes
11154         hardcode_direct_absolute_CXX=yes
11155         hardcode_libdir_separator_CXX=':'
11156         link_all_deplibs_CXX=yes
11157         file_list_spec_CXX='${wl}-f,'
11158
11159         if test "$GXX" = yes; then
11160           case $host_os in aix4.[012]|aix4.[012].*)
11161           # We only want to do this on AIX 4.2 and lower, the check
11162           # below for broken collect2 doesn't work under 4.3+
11163           collect2name=`${CC} -print-prog-name=collect2`
11164           if test -f "$collect2name" &&
11165              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11166           then
11167             # We have reworked collect2
11168             :
11169           else
11170             # We have old collect2
11171             hardcode_direct_CXX=unsupported
11172             # It fails to find uninstalled libraries when the uninstalled
11173             # path is not listed in the libpath.  Setting hardcode_minus_L
11174             # to unsupported forces relinking
11175             hardcode_minus_L_CXX=yes
11176             hardcode_libdir_flag_spec_CXX='-L$libdir'
11177             hardcode_libdir_separator_CXX=
11178           fi
11179           esac
11180           shared_flag='-shared'
11181           if test "$aix_use_runtimelinking" = yes; then
11182             shared_flag="$shared_flag "'${wl}-G'
11183           fi
11184         else
11185           # not using gcc
11186           if test "$host_cpu" = ia64; then
11187           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11188           # chokes on -Wl,-G. The following line is correct:
11189           shared_flag='-G'
11190           else
11191             if test "$aix_use_runtimelinking" = yes; then
11192               shared_flag='${wl}-G'
11193             else
11194               shared_flag='${wl}-bM:SRE'
11195             fi
11196           fi
11197         fi
11198
11199         # It seems that -bexpall does not export symbols beginning with
11200         # underscore (_), so it is better to generate a list of symbols to
11201         # export.
11202         always_export_symbols_CXX=yes
11203         if test "$aix_use_runtimelinking" = yes; then
11204           # Warning - without using the other runtime loading flags (-brtl),
11205           # -berok will link without error, but may produce a broken library.
11206           allow_undefined_flag_CXX='-berok'
11207           # Determine the default libpath from the value encoded in an empty
11208           # executable.
11209           if test x$gcc_no_link = xyes; then
11210   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11212    { (exit 1); exit 1; }; }
11213 fi
11214 cat >conftest.$ac_ext <<_ACEOF
11215 /* confdefs.h.  */
11216 _ACEOF
11217 cat confdefs.h >>conftest.$ac_ext
11218 cat >>conftest.$ac_ext <<_ACEOF
11219 /* end confdefs.h.  */
11220
11221 int
11222 main ()
11223 {
11224
11225   ;
11226   return 0;
11227 }
11228 _ACEOF
11229 rm -f conftest.$ac_objext conftest$ac_exeext
11230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11231   (eval $ac_link) 2>conftest.er1
11232   ac_status=$?
11233   grep -v '^ *+' conftest.er1 >conftest.err
11234   rm -f conftest.er1
11235   cat conftest.err >&5
11236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11237   (exit $ac_status); } &&
11238          { ac_try='test -z "$ac_cxx_werror_flag"
11239                          || test ! -s conftest.err'
11240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11241   (eval $ac_try) 2>&5
11242   ac_status=$?
11243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11244   (exit $ac_status); }; } &&
11245          { ac_try='test -s conftest$ac_exeext'
11246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11247   (eval $ac_try) 2>&5
11248   ac_status=$?
11249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11250   (exit $ac_status); }; }; then
11251
11252 lt_aix_libpath_sed='
11253     /Import File Strings/,/^$/ {
11254         /^0/ {
11255             s/^0  *\(.*\)$/\1/
11256             p
11257         }
11258     }'
11259 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11260 # Check for a 64-bit object if we didn't find anything.
11261 if test -z "$aix_libpath"; then
11262   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11263 fi
11264 else
11265   echo "$as_me: failed program was:" >&5
11266 sed 's/^/| /' conftest.$ac_ext >&5
11267
11268 fi
11269 rm -f conftest.err conftest.$ac_objext \
11270       conftest$ac_exeext conftest.$ac_ext
11271 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11272
11273           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11274
11275           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"
11276         else
11277           if test "$host_cpu" = ia64; then
11278             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11279             allow_undefined_flag_CXX="-z nodefs"
11280             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"
11281           else
11282             # Determine the default libpath from the value encoded in an
11283             # empty executable.
11284             if test x$gcc_no_link = xyes; then
11285   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11287    { (exit 1); exit 1; }; }
11288 fi
11289 cat >conftest.$ac_ext <<_ACEOF
11290 /* confdefs.h.  */
11291 _ACEOF
11292 cat confdefs.h >>conftest.$ac_ext
11293 cat >>conftest.$ac_ext <<_ACEOF
11294 /* end confdefs.h.  */
11295
11296 int
11297 main ()
11298 {
11299
11300   ;
11301   return 0;
11302 }
11303 _ACEOF
11304 rm -f conftest.$ac_objext conftest$ac_exeext
11305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11306   (eval $ac_link) 2>conftest.er1
11307   ac_status=$?
11308   grep -v '^ *+' conftest.er1 >conftest.err
11309   rm -f conftest.er1
11310   cat conftest.err >&5
11311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11312   (exit $ac_status); } &&
11313          { ac_try='test -z "$ac_cxx_werror_flag"
11314                          || test ! -s conftest.err'
11315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11316   (eval $ac_try) 2>&5
11317   ac_status=$?
11318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319   (exit $ac_status); }; } &&
11320          { ac_try='test -s conftest$ac_exeext'
11321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11322   (eval $ac_try) 2>&5
11323   ac_status=$?
11324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11325   (exit $ac_status); }; }; then
11326
11327 lt_aix_libpath_sed='
11328     /Import File Strings/,/^$/ {
11329         /^0/ {
11330             s/^0  *\(.*\)$/\1/
11331             p
11332         }
11333     }'
11334 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11335 # Check for a 64-bit object if we didn't find anything.
11336 if test -z "$aix_libpath"; then
11337   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11338 fi
11339 else
11340   echo "$as_me: failed program was:" >&5
11341 sed 's/^/| /' conftest.$ac_ext >&5
11342
11343 fi
11344 rm -f conftest.err conftest.$ac_objext \
11345       conftest$ac_exeext conftest.$ac_ext
11346 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11347
11348             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11349             # Warning - without using the other run time loading flags,
11350             # -berok will link without error, but may produce a broken library.
11351             no_undefined_flag_CXX=' ${wl}-bernotok'
11352             allow_undefined_flag_CXX=' ${wl}-berok'
11353             # Exported symbols can be pulled into shared objects from archives
11354             whole_archive_flag_spec_CXX='$convenience'
11355             archive_cmds_need_lc_CXX=yes
11356             # This is similar to how AIX traditionally builds its shared
11357             # libraries.
11358             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'
11359           fi
11360         fi
11361         ;;
11362
11363       beos*)
11364         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11365           allow_undefined_flag_CXX=unsupported
11366           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11367           # support --undefined.  This deserves some investigation.  FIXME
11368           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11369         else
11370           ld_shlibs_CXX=no
11371         fi
11372         ;;
11373
11374       chorus*)
11375         case $cc_basename in
11376           *)
11377           # FIXME: insert proper C++ library support
11378           ld_shlibs_CXX=no
11379           ;;
11380         esac
11381         ;;
11382
11383       cygwin* | mingw* | pw32*)
11384         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11385         # as there is no search path for DLLs.
11386         hardcode_libdir_flag_spec_CXX='-L$libdir'
11387         allow_undefined_flag_CXX=unsupported
11388         always_export_symbols_CXX=no
11389         enable_shared_with_static_runtimes_CXX=yes
11390
11391         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11392           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'
11393           # If the export-symbols file already is a .def file (1st line
11394           # is EXPORTS), use it as is; otherwise, prepend...
11395           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11396             cp $export_symbols $output_objdir/$soname.def;
11397           else
11398             echo EXPORTS > $output_objdir/$soname.def;
11399             cat $export_symbols >> $output_objdir/$soname.def;
11400           fi~
11401           $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'
11402         else
11403           ld_shlibs_CXX=no
11404         fi
11405         ;;
11406       darwin* | rhapsody*)
11407         case $host_os in
11408           rhapsody* | darwin1.[012])
11409             allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11410             ;;
11411           *) # Darwin 1.3 on
11412             case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11413               10.[012])
11414                 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11415                 ;;
11416               10.*)
11417                 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11418                 ;;
11419             esac
11420             ;;
11421         esac
11422         archive_cmds_need_lc_CXX=no
11423         hardcode_direct_CXX=no
11424         hardcode_automatic_CXX=yes
11425         hardcode_shlibpath_var_CXX=unsupported
11426         whole_archive_flag_spec_CXX=''
11427         link_all_deplibs_CXX=yes
11428
11429         if test "$GXX" = yes ; then
11430           if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11431   echo $ECHO_N "(cached) $ECHO_C" >&6
11432 else
11433   lt_cv_apple_cc_single_mod=no
11434           if test -z "${LT_MULTI_MODULE}"; then
11435             # By default we will add the -single_module flag. You can override
11436             # by either setting the environment variable LT_MULTI_MODULE
11437             # non-empty at configure time, or by adding -multi-module to the
11438             # link flags.
11439             echo "int foo(void){return 1;}" > conftest.c
11440             $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11441                 -dynamiclib ${wl}-single_module conftest.c
11442             if test -f libconftest.dylib; then
11443                 lt_cv_apple_cc_single_mod=yes
11444                 rm libconftest.dylib
11445             fi
11446             rm conftest.$ac_ext
11447           fi
11448 fi
11449
11450           output_verbose_link_cmd=echo
11451           if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
11452            archive_cmds_CXX='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11453             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}'
11454           else
11455             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'
11456             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}'
11457           fi
11458           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11459           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}'
11460         else
11461           case $cc_basename in
11462             xlc*)
11463               output_verbose_link_cmd=echo
11464               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'
11465               module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11466               # Don't fix this by using the ld -exported_symbols_list flag,
11467               # it doesn't exist in older darwin lds
11468               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}'
11469               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}'
11470               ;;
11471             *)
11472               ld_shlibs_CXX=no
11473               ;;
11474           esac
11475         fi
11476         ;;
11477
11478       dgux*)
11479         case $cc_basename in
11480           ec++*)
11481             # FIXME: insert proper C++ library support
11482             ld_shlibs_CXX=no
11483             ;;
11484           ghcx*)
11485             # Green Hills C++ Compiler
11486             # FIXME: insert proper C++ library support
11487             ld_shlibs_CXX=no
11488             ;;
11489           *)
11490             # FIXME: insert proper C++ library support
11491             ld_shlibs_CXX=no
11492             ;;
11493         esac
11494         ;;
11495
11496       freebsd[12]*)
11497         # C++ shared libraries reported to be fairly broken before
11498         # switch to ELF
11499         ld_shlibs_CXX=no
11500         ;;
11501
11502       freebsd-elf*)
11503         archive_cmds_need_lc_CXX=no
11504         ;;
11505
11506       freebsd* | dragonfly*)
11507         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11508         # conventions
11509         ld_shlibs_CXX=yes
11510         ;;
11511
11512       gnu*)
11513         ;;
11514
11515       hpux9*)
11516         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11517         hardcode_libdir_separator_CXX=:
11518         export_dynamic_flag_spec_CXX='${wl}-E'
11519         hardcode_direct_CXX=yes
11520         hardcode_minus_L_CXX=yes # Not in the search PATH,
11521                                              # but as the default
11522                                              # location of the library.
11523
11524         case $cc_basename in
11525           CC*)
11526             # FIXME: insert proper C++ library support
11527             ld_shlibs_CXX=no
11528             ;;
11529           aCC*)
11530             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'
11531             # Commands to make compiler produce verbose output that lists
11532             # what "hidden" libraries, object files and flags are used when
11533             # linking a shared library.
11534             #
11535             # There doesn't appear to be a way to prevent this compiler from
11536             # explicitly linking system object files so we need to strip them
11537             # from the output so that they don't get included in the library
11538             # dependencies.
11539             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'
11540             ;;
11541           *)
11542             if test "$GXX" = yes; then
11543               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'
11544             else
11545               # FIXME: insert proper C++ library support
11546               ld_shlibs_CXX=no
11547             fi
11548             ;;
11549         esac
11550         ;;
11551
11552       hpux10*|hpux11*)
11553         if test $with_gnu_ld = no; then
11554           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11555           hardcode_libdir_separator_CXX=:
11556
11557           case $host_cpu in
11558             hppa*64*|ia64*)
11559               ;;
11560             *)
11561               export_dynamic_flag_spec_CXX='${wl}-E'
11562               ;;
11563           esac
11564         fi
11565         case $host_cpu in
11566           hppa*64*|ia64*)
11567             hardcode_direct_CXX=no
11568             hardcode_shlibpath_var_CXX=no
11569             ;;
11570           *)
11571             hardcode_direct_CXX=yes
11572             hardcode_direct_absolute_CXX=yes
11573             hardcode_minus_L_CXX=yes # Not in the search PATH,
11574                                                  # but as the default
11575                                                  # location of the library.
11576             ;;
11577         esac
11578
11579         case $cc_basename in
11580           CC*)
11581             # FIXME: insert proper C++ library support
11582             ld_shlibs_CXX=no
11583             ;;
11584           aCC*)
11585             case $host_cpu in
11586               hppa*64*)
11587                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11588                 ;;
11589               ia64*)
11590                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11591                 ;;
11592               *)
11593                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11594                 ;;
11595             esac
11596             # Commands to make compiler produce verbose output that lists
11597             # what "hidden" libraries, object files and flags are used when
11598             # linking a shared library.
11599             #
11600             # There doesn't appear to be a way to prevent this compiler from
11601             # explicitly linking system object files so we need to strip them
11602             # from the output so that they don't get included in the library
11603             # dependencies.
11604             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'
11605             ;;
11606           *)
11607             if test "$GXX" = yes; then
11608               if test $with_gnu_ld = no; then
11609                 case $host_cpu in
11610                   hppa*64*)
11611                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11612                     ;;
11613                   ia64*)
11614                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11615                     ;;
11616                   *)
11617                     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'
11618                     ;;
11619                 esac
11620               fi
11621             else
11622               # FIXME: insert proper C++ library support
11623               ld_shlibs_CXX=no
11624             fi
11625             ;;
11626         esac
11627         ;;
11628
11629       interix[3-9]*)
11630         hardcode_direct_CXX=no
11631         hardcode_shlibpath_var_CXX=no
11632         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11633         export_dynamic_flag_spec_CXX='${wl}-E'
11634         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11635         # Instead, shared libraries are loaded at an image base (0x10000000 by
11636         # default) and relocated if they conflict, which is a slow very memory
11637         # consuming and fragmenting process.  To avoid this, we pick a random,
11638         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11639         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11640         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'
11641         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'
11642         ;;
11643       irix5* | irix6*)
11644         case $cc_basename in
11645           CC*)
11646             # SGI C++
11647             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'
11648
11649             # Archives containing C++ object files must be created using
11650             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11651             # necessary to make sure instantiated templates are included
11652             # in the archive.
11653             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11654             ;;
11655           *)
11656             if test "$GXX" = yes; then
11657               if test "$with_gnu_ld" = no; then
11658                 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'
11659               else
11660                 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'
11661               fi
11662             fi
11663             link_all_deplibs_CXX=yes
11664             ;;
11665         esac
11666         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11667         hardcode_libdir_separator_CXX=:
11668         inherit_rpath_CXX=yes
11669         ;;
11670
11671       linux* | k*bsd*-gnu)
11672         case $cc_basename in
11673           KCC*)
11674             # Kuck and Associates, Inc. (KAI) C++ Compiler
11675
11676             # KCC will only create a shared library if the output file
11677             # ends with ".so" (or ".sl" for HP-UX), so rename the library
11678             # to its proper name (with version) after linking.
11679             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'
11680             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'
11681             # Commands to make compiler produce verbose output that lists
11682             # what "hidden" libraries, object files and flags are used when
11683             # linking a shared library.
11684             #
11685             # There doesn't appear to be a way to prevent this compiler from
11686             # explicitly linking system object files so we need to strip them
11687             # from the output so that they don't get included in the library
11688             # dependencies.
11689             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'
11690
11691             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11692             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11693
11694             # Archives containing C++ object files must be created using
11695             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11696             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11697             ;;
11698           icpc* | ecpc* )
11699             # Intel C++
11700             with_gnu_ld=yes
11701             # version 8.0 and above of icpc choke on multiply defined symbols
11702             # if we add $predep_objects and $postdep_objects, however 7.1 and
11703             # earlier do not add the objects themselves.
11704             case `$CC -V 2>&1` in
11705               *"Version 7."*)
11706                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11707                 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'
11708                 ;;
11709               *)  # Version 8.0 or newer
11710                 tmp_idyn=
11711                 case $host_cpu in
11712                   ia64*) tmp_idyn=' -i_dynamic';;
11713                 esac
11714                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11715                 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'
11716                 ;;
11717             esac
11718             archive_cmds_need_lc_CXX=no
11719             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11720             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11721             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11722             ;;
11723           pgCC*)
11724             # Portland Group C++ compiler
11725             case `$CC -V` in
11726             *pgCC\ [1-5]*)
11727               prelink_cmds_CXX='tpldir=Template.dir~
11728                 rm -rf $tpldir~
11729                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11730                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11731               old_archive_cmds_CXX='tpldir=Template.dir~
11732                 rm -rf $tpldir~
11733                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11734                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11735                 $RANLIB $oldlib'
11736               archive_cmds_CXX='tpldir=Template.dir~
11737                 rm -rf $tpldir~
11738                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11739                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11740               archive_expsym_cmds_CXX='tpldir=Template.dir~
11741                 rm -rf $tpldir~
11742                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11743                 $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'
11744               ;;
11745             *) # Version 6 will use weak symbols
11746               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11747               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'
11748               ;;
11749             esac
11750
11751             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11752             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11753             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'
11754             ;;
11755           cxx*)
11756             # Compaq C++
11757             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11758             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'
11759
11760             runpath_var=LD_RUN_PATH
11761             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11762             hardcode_libdir_separator_CXX=:
11763
11764             # Commands to make compiler produce verbose output that lists
11765             # what "hidden" libraries, object files and flags are used when
11766             # linking a shared library.
11767             #
11768             # There doesn't appear to be a way to prevent this compiler from
11769             # explicitly linking system object files so we need to strip them
11770             # from the output so that they don't get included in the library
11771             # dependencies.
11772             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'
11773             ;;
11774           *)
11775             case `$CC -V 2>&1 | sed 5q` in
11776             *Sun\ C*)
11777               # Sun C++ 5.9
11778               no_undefined_flag_CXX=' -zdefs'
11779               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11780               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'
11781               hardcode_libdir_flag_spec_CXX='-R$libdir'
11782               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'
11783               compiler_needs_object_CXX=yes
11784
11785               # Not sure whether something based on
11786               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11787               # would be better.
11788               output_verbose_link_cmd='echo'
11789
11790               # Archives containing C++ object files must be created using
11791               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11792               # necessary to make sure instantiated templates are included
11793               # in the archive.
11794               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11795               ;;
11796             esac
11797             ;;
11798         esac
11799         ;;
11800
11801       lynxos*)
11802         # FIXME: insert proper C++ library support
11803         ld_shlibs_CXX=no
11804         ;;
11805
11806       m88k*)
11807         # FIXME: insert proper C++ library support
11808         ld_shlibs_CXX=no
11809         ;;
11810
11811       mvs*)
11812         case $cc_basename in
11813           cxx*)
11814             # FIXME: insert proper C++ library support
11815             ld_shlibs_CXX=no
11816             ;;
11817           *)
11818             # FIXME: insert proper C++ library support
11819             ld_shlibs_CXX=no
11820             ;;
11821         esac
11822         ;;
11823
11824       netbsd*)
11825         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11826           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11827           wlarc=
11828           hardcode_libdir_flag_spec_CXX='-R$libdir'
11829           hardcode_direct_CXX=yes
11830           hardcode_shlibpath_var_CXX=no
11831         fi
11832         # Workaround some broken pre-1.5 toolchains
11833         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11834         ;;
11835
11836       *nto* | *qnx*)
11837         ld_shlibs_CXX=yes
11838         ;;
11839
11840       openbsd2*)
11841         # C++ shared libraries are fairly broken
11842         ld_shlibs_CXX=no
11843         ;;
11844
11845       openbsd*)
11846         hardcode_direct_CXX=yes
11847         hardcode_shlibpath_var_CXX=no
11848         hardcode_direct_absolute_CXX=yes
11849         archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11850         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11851         if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11852           archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11853           export_dynamic_flag_spec_CXX='${wl}-E'
11854           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11855         fi
11856         output_verbose_link_cmd=echo
11857         ;;
11858
11859       osf3* | osf4* | osf5*)
11860         case $cc_basename in
11861           KCC*)
11862             # Kuck and Associates, Inc. (KAI) C++ Compiler
11863
11864             # KCC will only create a shared library if the output file
11865             # ends with ".so" (or ".sl" for HP-UX), so rename the library
11866             # to its proper name (with version) after linking.
11867             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'
11868
11869             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11870             hardcode_libdir_separator_CXX=:
11871
11872             # Archives containing C++ object files must be created using
11873             # the KAI C++ compiler.
11874             case $host in
11875               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
11876               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
11877             esac
11878             ;;
11879           RCC*)
11880             # Rational C++ 2.4.1
11881             # FIXME: insert proper C++ library support
11882             ld_shlibs_CXX=no
11883             ;;
11884           cxx*)
11885             case $host in
11886               osf3*)
11887                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11888                 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'
11889                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11890                 ;;
11891               *)
11892                 allow_undefined_flag_CXX=' -expect_unresolved \*'
11893                 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'
11894                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11895                   echo "-hidden">> $lib.exp~
11896                   $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~
11897                   $RM $lib.exp'
11898                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11899                 ;;
11900             esac
11901
11902             hardcode_libdir_separator_CXX=:
11903
11904             # Commands to make compiler produce verbose output that lists
11905             # what "hidden" libraries, object files and flags are used when
11906             # linking a shared library.
11907             #
11908             # There doesn't appear to be a way to prevent this compiler from
11909             # explicitly linking system object files so we need to strip them
11910             # from the output so that they don't get included in the library
11911             # dependencies.
11912             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'
11913             ;;
11914           *)
11915             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11916               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11917               case $host in
11918                 osf3*)
11919                   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'
11920                   ;;
11921                 *)
11922                   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'
11923                   ;;
11924               esac
11925
11926               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11927               hardcode_libdir_separator_CXX=:
11928
11929               # Commands to make compiler produce verbose output that lists
11930               # what "hidden" libraries, object files and flags are used when
11931               # linking a shared library.
11932               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11933
11934             else
11935               # FIXME: insert proper C++ library support
11936               ld_shlibs_CXX=no
11937             fi
11938             ;;
11939         esac
11940         ;;
11941
11942       psos*)
11943         # FIXME: insert proper C++ library support
11944         ld_shlibs_CXX=no
11945         ;;
11946
11947       sunos4*)
11948         case $cc_basename in
11949           CC*)
11950             # Sun C++ 4.x
11951             # FIXME: insert proper C++ library support
11952             ld_shlibs_CXX=no
11953             ;;
11954           lcc*)
11955             # Lucid
11956             # FIXME: insert proper C++ library support
11957             ld_shlibs_CXX=no
11958             ;;
11959           *)
11960             # FIXME: insert proper C++ library support
11961             ld_shlibs_CXX=no
11962             ;;
11963         esac
11964         ;;
11965
11966       solaris*)
11967         case $cc_basename in
11968           CC*)
11969             # Sun C++ 4.2, 5.x and Centerline C++
11970             archive_cmds_need_lc_CXX=yes
11971             no_undefined_flag_CXX=' -zdefs'
11972             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11973             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11974               $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'
11975
11976             hardcode_libdir_flag_spec_CXX='-R$libdir'
11977             hardcode_shlibpath_var_CXX=no
11978             case $host_os in
11979               solaris2.[0-5] | solaris2.[0-5].*) ;;
11980               *)
11981                 # The compiler driver will combine and reorder linker options,
11982                 # but understands `-z linker_flag'.
11983                 # Supported since Solaris 2.6 (maybe 2.5.1?)
11984                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11985                 ;;
11986             esac
11987             link_all_deplibs_CXX=yes
11988
11989             output_verbose_link_cmd='echo'
11990
11991             # Archives containing C++ object files must be created using
11992             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11993             # necessary to make sure instantiated templates are included
11994             # in the archive.
11995             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11996             ;;
11997           gcx*)
11998             # Green Hills C++ Compiler
11999             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12000
12001             # The C++ compiler must be used to create the archive.
12002             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12003             ;;
12004           *)
12005             # GNU C++ compiler with Solaris linker
12006             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12007               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12008               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12009                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12010                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12011                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12012
12013                 # Commands to make compiler produce verbose output that lists
12014                 # what "hidden" libraries, object files and flags are used when
12015                 # linking a shared library.
12016                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12017               else
12018                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12019                 # platform.
12020                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12021                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12022                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12023
12024                 # Commands to make compiler produce verbose output that lists
12025                 # what "hidden" libraries, object files and flags are used when
12026                 # linking a shared library.
12027                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12028               fi
12029
12030               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12031               case $host_os in
12032                 solaris2.[0-5] | solaris2.[0-5].*) ;;
12033                 *)
12034                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12035                   ;;
12036               esac
12037             fi
12038             ;;
12039         esac
12040         ;;
12041
12042     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12043       no_undefined_flag_CXX='${wl}-z,text'
12044       archive_cmds_need_lc_CXX=no
12045       hardcode_shlibpath_var_CXX=no
12046       runpath_var='LD_RUN_PATH'
12047
12048       case $cc_basename in
12049         CC*)
12050           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12051           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12052           ;;
12053         *)
12054           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12055           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12056           ;;
12057       esac
12058       ;;
12059
12060       sysv5* | sco3.2v5* | sco5v6*)
12061         # Note: We can NOT use -z defs as we might desire, because we do not
12062         # link with -lc, and that would cause any symbols used from libc to
12063         # always be unresolved, which means just about no library would
12064         # ever link correctly.  If we're not using GNU ld we use -z text
12065         # though, which does catch some bad symbols but isn't as heavy-handed
12066         # as -z defs.
12067         no_undefined_flag_CXX='${wl}-z,text'
12068         allow_undefined_flag_CXX='${wl}-z,nodefs'
12069         archive_cmds_need_lc_CXX=no
12070         hardcode_shlibpath_var_CXX=no
12071         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12072         hardcode_libdir_separator_CXX=':'
12073         link_all_deplibs_CXX=yes
12074         export_dynamic_flag_spec_CXX='${wl}-Bexport'
12075         runpath_var='LD_RUN_PATH'
12076
12077         case $cc_basename in
12078           CC*)
12079             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12080             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12081             ;;
12082           *)
12083             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12084             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12085             ;;
12086         esac
12087       ;;
12088
12089       tandem*)
12090         case $cc_basename in
12091           NCC*)
12092             # NonStop-UX NCC 3.20
12093             # FIXME: insert proper C++ library support
12094             ld_shlibs_CXX=no
12095             ;;
12096           *)
12097             # FIXME: insert proper C++ library support
12098             ld_shlibs_CXX=no
12099             ;;
12100         esac
12101         ;;
12102
12103       vxworks*)
12104         # FIXME: insert proper C++ library support
12105         ld_shlibs_CXX=no
12106         ;;
12107
12108       *)
12109         # FIXME: insert proper C++ library support
12110         ld_shlibs_CXX=no
12111         ;;
12112     esac
12113
12114     echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12115 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12116     test "$ld_shlibs_CXX" = no && can_build_shared=no
12117
12118     GCC_CXX="$GXX"
12119     LD_CXX="$LD"
12120
12121     ## CAVEAT EMPTOR:
12122     ## There is no encapsulation within the following macros, do not change
12123     ## the running order or otherwise move them around unless you know exactly
12124     ## what you are doing...
12125     # Dependencies to place before and after the object being linked:
12126 predep_objects_CXX=
12127 postdep_objects_CXX=
12128 predeps_CXX=
12129 postdeps_CXX=
12130 compiler_lib_search_path_CXX=
12131
12132 cat > conftest.$ac_ext <<_LT_EOF
12133 class Foo
12134 {
12135 public:
12136   Foo (void) { a = 0; }
12137 private:
12138   int a;
12139 };
12140 _LT_EOF
12141
12142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12143   (eval $ac_compile) 2>&5
12144   ac_status=$?
12145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12146   (exit $ac_status); }; then
12147   # Parse the compiler output and extract the necessary
12148   # objects, libraries and library flags.
12149
12150   # Sentinel used to keep track of whether or not we are before
12151   # the conftest object file.
12152   pre_test_object_deps_done=no
12153
12154   # The `*' in the case matches for architectures that use `case' in
12155   # $output_verbose_cmd can trigger glob expansion during the loop
12156   # eval without this substitution.
12157   output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12158
12159   for p in `eval $output_verbose_link_cmd`; do
12160     case $p in
12161
12162     -L* | -R* | -l*)
12163        # Some compilers place space between "-{L,R}" and the path.
12164        # Remove the space.
12165        if test $p = "-L" ||
12166           test $p = "-R"; then
12167          prev=$p
12168          continue
12169        else
12170          prev=
12171        fi
12172
12173        if test "$pre_test_object_deps_done" = no; then
12174          case $p in
12175          -L* | -R*)
12176            # Internal compiler library paths should come after those
12177            # provided the user.  The postdeps already come after the
12178            # user supplied libs so there is no need to process them.
12179            if test -z "$compiler_lib_search_path_CXX"; then
12180              compiler_lib_search_path_CXX="${prev}${p}"
12181            else
12182              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12183            fi
12184            ;;
12185          # The "-l" case would never come before the object being
12186          # linked, so don't bother handling this case.
12187          esac
12188        else
12189          if test -z "$postdeps_CXX"; then
12190            postdeps_CXX="${prev}${p}"
12191          else
12192            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12193          fi
12194        fi
12195        ;;
12196
12197     *.$objext)
12198        # This assumes that the test object file only shows up
12199        # once in the compiler output.
12200        if test "$p" = "conftest.$objext"; then
12201          pre_test_object_deps_done=yes
12202          continue
12203        fi
12204
12205        if test "$pre_test_object_deps_done" = no; then
12206          if test -z "$predep_objects_CXX"; then
12207            predep_objects_CXX="$p"
12208          else
12209            predep_objects_CXX="$predep_objects_CXX $p"
12210          fi
12211        else
12212          if test -z "$postdep_objects_CXX"; then
12213            postdep_objects_CXX="$p"
12214          else
12215            postdep_objects_CXX="$postdep_objects_CXX $p"
12216          fi
12217        fi
12218        ;;
12219
12220     *) ;; # Ignore the rest.
12221
12222     esac
12223   done
12224
12225   # Clean up.
12226   rm -f a.out a.exe
12227 else
12228   echo "libtool.m4: error: problem compiling CXX test program"
12229 fi
12230
12231 $RM -f confest.$objext
12232
12233 # PORTME: override above test on systems where it is broken
12234 case $host_os in
12235 interix[3-9]*)
12236   # Interix 3.5 installs completely hosed .la files for C++, so rather than
12237   # hack all around it, let's just trust "g++" to DTRT.
12238   predep_objects_CXX=
12239   postdep_objects_CXX=
12240   postdeps_CXX=
12241   ;;
12242
12243 linux*)
12244   case `$CC -V 2>&1 | sed 5q` in
12245   *Sun\ C*)
12246     # Sun C++ 5.9
12247
12248     # The more standards-conforming stlport4 library is
12249     # incompatible with the Cstd library. Avoid specifying
12250     # it if it's in CXXFLAGS. Ignore libCrun as
12251     # -library=stlport4 depends on it.
12252     case " $CXX $CXXFLAGS " in
12253     *" -library=stlport4 "*)
12254       solaris_use_stlport4=yes
12255       ;;
12256     esac
12257
12258     if test "$solaris_use_stlport4" != yes; then
12259       postdeps_CXX='-library=Cstd -library=Crun'
12260     fi
12261     ;;
12262   esac
12263   ;;
12264
12265 solaris*)
12266   case $cc_basename in
12267   CC*)
12268     # The more standards-conforming stlport4 library is
12269     # incompatible with the Cstd library. Avoid specifying
12270     # it if it's in CXXFLAGS. Ignore libCrun as
12271     # -library=stlport4 depends on it.
12272     case " $CXX $CXXFLAGS " in
12273     *" -library=stlport4 "*)
12274       solaris_use_stlport4=yes
12275       ;;
12276     esac
12277
12278     # Adding this requires a known-good setup of shared libraries for
12279     # Sun compiler versions before 5.6, else PIC objects from an old
12280     # archive will be linked into the output, leading to subtle bugs.
12281     if test "$solaris_use_stlport4" != yes; then
12282       postdeps_CXX='-library=Cstd -library=Crun'
12283     fi
12284     ;;
12285   esac
12286   ;;
12287 esac
12288
12289
12290 case " $postdeps_CXX " in
12291 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12292 esac
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319     lt_prog_compiler_wl_CXX=
12320 lt_prog_compiler_pic_CXX=
12321 lt_prog_compiler_static_CXX=
12322
12323 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12324 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12325
12326   # C++ specific cases for pic, static, wl, etc.
12327   if test "$GXX" = yes; then
12328     lt_prog_compiler_wl_CXX='-Wl,'
12329     lt_prog_compiler_static_CXX='-static'
12330
12331     case $host_os in
12332     aix*)
12333       # All AIX code is PIC.
12334       if test "$host_cpu" = ia64; then
12335         # AIX 5 now supports IA64 processor
12336         lt_prog_compiler_static_CXX='-Bstatic'
12337       fi
12338       ;;
12339     amigaos*)
12340       if test "$host_cpu" = m68k; then
12341         # FIXME: we need at least 68020 code to build shared libraries, but
12342         # adding the `-m68020' flag to GCC prevents building anything better,
12343         # like `-m68040'.
12344         lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12345       fi
12346       ;;
12347     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12348       # PIC is the default for these OSes.
12349       ;;
12350     mingw* | cygwin* | os2* | pw32*)
12351       # This hack is so that the source file can tell whether it is being
12352       # built for inclusion in a dll (and should export symbols for example).
12353       # Although the cygwin gcc ignores -fPIC, still need this for old-style
12354       # (--disable-auto-import) libraries
12355       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12356       ;;
12357     darwin* | rhapsody*)
12358       # PIC is the default on this platform
12359       # Common symbols not allowed in MH_DYLIB files
12360       lt_prog_compiler_pic_CXX='-fno-common'
12361       ;;
12362     *djgpp*)
12363       # DJGPP does not support shared libraries at all
12364       lt_prog_compiler_pic_CXX=
12365       ;;
12366     interix[3-9]*)
12367       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12368       # Instead, we relocate shared libraries at runtime.
12369       ;;
12370     sysv4*MP*)
12371       if test -d /usr/nec; then
12372         lt_prog_compiler_pic_CXX=-Kconform_pic
12373       fi
12374       ;;
12375     hpux*)
12376       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12377       # not for PA HP-UX.
12378       case $host_cpu in
12379       hppa*64*|ia64*)
12380         ;;
12381       *)
12382         lt_prog_compiler_pic_CXX='-fPIC'
12383         ;;
12384       esac
12385       ;;
12386     *qnx* | *nto*)
12387       # QNX uses GNU C++, but need to define -shared option too, otherwise
12388       # it will coredump.
12389       lt_prog_compiler_pic_CXX='-fPIC -shared'
12390       ;;
12391     *)
12392       lt_prog_compiler_pic_CXX='-fPIC'
12393       ;;
12394     esac
12395   else
12396     case $host_os in
12397       aix[4-9]*)
12398         # All AIX code is PIC.
12399         if test "$host_cpu" = ia64; then
12400           # AIX 5 now supports IA64 processor
12401           lt_prog_compiler_static_CXX='-Bstatic'
12402         else
12403           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12404         fi
12405         ;;
12406       chorus*)
12407         case $cc_basename in
12408         cxch68*)
12409           # Green Hills C++ Compiler
12410           # _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"
12411           ;;
12412         esac
12413         ;;
12414       darwin*)
12415         # PIC is the default on this platform
12416         # Common symbols not allowed in MH_DYLIB files
12417         case $cc_basename in
12418           xlc*)
12419           lt_prog_compiler_pic_CXX='-qnocommon'
12420           lt_prog_compiler_wl_CXX='-Wl,'
12421           ;;
12422         esac
12423         ;;
12424       dgux*)
12425         case $cc_basename in
12426           ec++*)
12427             lt_prog_compiler_pic_CXX='-KPIC'
12428             ;;
12429           ghcx*)
12430             # Green Hills C++ Compiler
12431             lt_prog_compiler_pic_CXX='-pic'
12432             ;;
12433           *)
12434             ;;
12435         esac
12436         ;;
12437       freebsd* | dragonfly*)
12438         # FreeBSD uses GNU C++
12439         ;;
12440       hpux9* | hpux10* | hpux11*)
12441         case $cc_basename in
12442           CC*)
12443             lt_prog_compiler_wl_CXX='-Wl,'
12444             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12445             if test "$host_cpu" != ia64; then
12446               lt_prog_compiler_pic_CXX='+Z'
12447             fi
12448             ;;
12449           aCC*)
12450             lt_prog_compiler_wl_CXX='-Wl,'
12451             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12452             case $host_cpu in
12453             hppa*64*|ia64*)
12454               # +Z the default
12455               ;;
12456             *)
12457               lt_prog_compiler_pic_CXX='+Z'
12458               ;;
12459             esac
12460             ;;
12461           *)
12462             ;;
12463         esac
12464         ;;
12465       interix*)
12466         # This is c89, which is MS Visual C++ (no shared libs)
12467         # Anyone wants to do a port?
12468         ;;
12469       irix5* | irix6* | nonstopux*)
12470         case $cc_basename in
12471           CC*)
12472             lt_prog_compiler_wl_CXX='-Wl,'
12473             lt_prog_compiler_static_CXX='-non_shared'
12474             # CC pic flag -KPIC is the default.
12475             ;;
12476           *)
12477             ;;
12478         esac
12479         ;;
12480       linux* | k*bsd*-gnu)
12481         case $cc_basename in
12482           KCC*)
12483             # KAI C++ Compiler
12484             lt_prog_compiler_wl_CXX='--backend -Wl,'
12485             lt_prog_compiler_pic_CXX='-fPIC'
12486             ;;
12487           icpc* | ecpc* )
12488             # Intel C++
12489             lt_prog_compiler_wl_CXX='-Wl,'
12490             lt_prog_compiler_pic_CXX='-KPIC'
12491             lt_prog_compiler_static_CXX='-static'
12492             ;;
12493           pgCC*)
12494             # Portland Group C++ compiler
12495             lt_prog_compiler_wl_CXX='-Wl,'
12496             lt_prog_compiler_pic_CXX='-fpic'
12497             lt_prog_compiler_static_CXX='-Bstatic'
12498             ;;
12499           cxx*)
12500             # Compaq C++
12501             # Make sure the PIC flag is empty.  It appears that all Alpha
12502             # Linux and Compaq Tru64 Unix objects are PIC.
12503             lt_prog_compiler_pic_CXX=
12504             lt_prog_compiler_static_CXX='-non_shared'
12505             ;;
12506           *)
12507             case `$CC -V 2>&1 | sed 5q` in
12508             *Sun\ C*)
12509               # Sun C++ 5.9
12510               lt_prog_compiler_pic_CXX='-KPIC'
12511               lt_prog_compiler_static_CXX='-Bstatic'
12512               lt_prog_compiler_wl_CXX='-Qoption ld '
12513               ;;
12514             esac
12515             ;;
12516         esac
12517         ;;
12518       lynxos*)
12519         ;;
12520       m88k*)
12521         ;;
12522       mvs*)
12523         case $cc_basename in
12524           cxx*)
12525             lt_prog_compiler_pic_CXX='-W c,exportall'
12526             ;;
12527           *)
12528             ;;
12529         esac
12530         ;;
12531       netbsd*)
12532         ;;
12533       *qnx* | *nto*)
12534         # QNX uses GNU C++, but need to define -shared option too, otherwise
12535         # it will coredump.
12536         lt_prog_compiler_pic_CXX='-fPIC -shared'
12537         ;;
12538       osf3* | osf4* | osf5*)
12539         case $cc_basename in
12540           KCC*)
12541             lt_prog_compiler_wl_CXX='--backend -Wl,'
12542             ;;
12543           RCC*)
12544             # Rational C++ 2.4.1
12545             lt_prog_compiler_pic_CXX='-pic'
12546             ;;
12547           cxx*)
12548             # Digital/Compaq C++
12549             lt_prog_compiler_wl_CXX='-Wl,'
12550             # Make sure the PIC flag is empty.  It appears that all Alpha
12551             # Linux and Compaq Tru64 Unix objects are PIC.
12552             lt_prog_compiler_pic_CXX=
12553             lt_prog_compiler_static_CXX='-non_shared'
12554             ;;
12555           *)
12556             ;;
12557         esac
12558         ;;
12559       psos*)
12560         ;;
12561       solaris*)
12562         case $cc_basename in
12563           CC*)
12564             # Sun C++ 4.2, 5.x and Centerline C++
12565             lt_prog_compiler_pic_CXX='-KPIC'
12566             lt_prog_compiler_static_CXX='-Bstatic'
12567             lt_prog_compiler_wl_CXX='-Qoption ld '
12568             ;;
12569           gcx*)
12570             # Green Hills C++ Compiler
12571             lt_prog_compiler_pic_CXX='-PIC'
12572             ;;
12573           *)
12574             ;;
12575         esac
12576         ;;
12577       sunos4*)
12578         case $cc_basename in
12579           CC*)
12580             # Sun C++ 4.x
12581             lt_prog_compiler_pic_CXX='-pic'
12582             lt_prog_compiler_static_CXX='-Bstatic'
12583             ;;
12584           lcc*)
12585             # Lucid
12586             lt_prog_compiler_pic_CXX='-pic'
12587             ;;
12588           *)
12589             ;;
12590         esac
12591         ;;
12592       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12593         case $cc_basename in
12594           CC*)
12595             lt_prog_compiler_wl_CXX='-Wl,'
12596             lt_prog_compiler_pic_CXX='-KPIC'
12597             lt_prog_compiler_static_CXX='-Bstatic'
12598             ;;
12599         esac
12600         ;;
12601       tandem*)
12602         case $cc_basename in
12603           NCC*)
12604             # NonStop-UX NCC 3.20
12605             lt_prog_compiler_pic_CXX='-KPIC'
12606             ;;
12607           *)
12608             ;;
12609         esac
12610         ;;
12611       vxworks*)
12612         ;;
12613       *)
12614         lt_prog_compiler_can_build_shared_CXX=no
12615         ;;
12616     esac
12617   fi
12618
12619 case $host_os in
12620   # For platforms which do not support PIC, -DPIC is meaningless:
12621   *djgpp*)
12622     lt_prog_compiler_pic_CXX=
12623     ;;
12624   *)
12625     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12626     ;;
12627 esac
12628 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12629 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12630
12631
12632
12633 #
12634 # Check to make sure the PIC flag actually works.
12635 #
12636 if test -n "$lt_prog_compiler_pic_CXX"; then
12637   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12638 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12639 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12640   echo $ECHO_N "(cached) $ECHO_C" >&6
12641 else
12642   lt_prog_compiler_pic_works_CXX=no
12643    ac_outfile=conftest.$ac_objext
12644    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12645    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12646    # Insert the option either (1) after the last *FLAGS variable, or
12647    # (2) before a word containing "conftest.", or (3) at the end.
12648    # Note that $ac_compile itself does not contain backslashes and begins
12649    # with a dollar sign (not a hyphen), so the echo should work correctly.
12650    # The option is referenced via a variable to avoid confusing sed.
12651    lt_compile=`echo "$ac_compile" | $SED \
12652    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12653    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12654    -e 's:$: $lt_compiler_flag:'`
12655    (eval echo "\"\$as_me:12655: $lt_compile\"" >&5)
12656    (eval "$lt_compile" 2>conftest.err)
12657    ac_status=$?
12658    cat conftest.err >&5
12659    echo "$as_me:12659: \$? = $ac_status" >&5
12660    if (exit $ac_status) && test -s "$ac_outfile"; then
12661      # The compiler can only warn and ignore the option if not recognized
12662      # So say no if there are warnings other than the usual output.
12663      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12664      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12665      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12666        lt_prog_compiler_pic_works_CXX=yes
12667      fi
12668    fi
12669    $RM conftest*
12670
12671 fi
12672 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12673 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12674
12675 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12676     case $lt_prog_compiler_pic_CXX in
12677      "" | " "*) ;;
12678      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12679      esac
12680 else
12681     lt_prog_compiler_pic_CXX=
12682      lt_prog_compiler_can_build_shared_CXX=no
12683 fi
12684
12685 fi
12686
12687
12688
12689 #
12690 # Check to make sure the static flag actually works.
12691 #
12692 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12693 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12694 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12695 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12696   echo $ECHO_N "(cached) $ECHO_C" >&6
12697 else
12698   lt_prog_compiler_static_works_CXX=no
12699    save_LDFLAGS="$LDFLAGS"
12700    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12701    echo "$lt_simple_link_test_code" > conftest.$ac_ext
12702    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12703      # The linker can only warn and ignore the option if not recognized
12704      # So say no if there are warnings
12705      if test -s conftest.err; then
12706        # Append any errors to the config.log.
12707        cat conftest.err 1>&5
12708        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12709        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12710        if diff conftest.exp conftest.er2 >/dev/null; then
12711          lt_prog_compiler_static_works_CXX=yes
12712        fi
12713      else
12714        lt_prog_compiler_static_works_CXX=yes
12715      fi
12716    fi
12717    $RM conftest*
12718    LDFLAGS="$save_LDFLAGS"
12719
12720 fi
12721 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12722 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12723
12724 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12725     :
12726 else
12727     lt_prog_compiler_static_CXX=
12728 fi
12729
12730
12731
12732
12733     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12734 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12735 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12736   echo $ECHO_N "(cached) $ECHO_C" >&6
12737 else
12738   lt_cv_prog_compiler_c_o_CXX=no
12739    $RM -r conftest 2>/dev/null
12740    mkdir conftest
12741    cd conftest
12742    mkdir out
12743    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12744
12745    lt_compiler_flag="-o out/conftest2.$ac_objext"
12746    # Insert the option either (1) after the last *FLAGS variable, or
12747    # (2) before a word containing "conftest.", or (3) at the end.
12748    # Note that $ac_compile itself does not contain backslashes and begins
12749    # with a dollar sign (not a hyphen), so the echo should work correctly.
12750    lt_compile=`echo "$ac_compile" | $SED \
12751    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12752    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12753    -e 's:$: $lt_compiler_flag:'`
12754    (eval echo "\"\$as_me:12754: $lt_compile\"" >&5)
12755    (eval "$lt_compile" 2>out/conftest.err)
12756    ac_status=$?
12757    cat out/conftest.err >&5
12758    echo "$as_me:12758: \$? = $ac_status" >&5
12759    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12760    then
12761      # The compiler can only warn and ignore the option if not recognized
12762      # So say no if there are warnings
12763      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12764      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12765      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12766        lt_cv_prog_compiler_c_o_CXX=yes
12767      fi
12768    fi
12769    chmod u+w . 2>&5
12770    $RM conftest*
12771    # SGI C++ compiler will create directory out/ii_files/ for
12772    # template instantiation
12773    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12774    $RM out/* && rmdir out
12775    cd ..
12776    $RM -r conftest
12777    $RM conftest*
12778
12779 fi
12780 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12781 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12782
12783
12784
12785     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12786 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12787 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12788   echo $ECHO_N "(cached) $ECHO_C" >&6
12789 else
12790   lt_cv_prog_compiler_c_o_CXX=no
12791    $RM -r conftest 2>/dev/null
12792    mkdir conftest
12793    cd conftest
12794    mkdir out
12795    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12796
12797    lt_compiler_flag="-o out/conftest2.$ac_objext"
12798    # Insert the option either (1) after the last *FLAGS variable, or
12799    # (2) before a word containing "conftest.", or (3) at the end.
12800    # Note that $ac_compile itself does not contain backslashes and begins
12801    # with a dollar sign (not a hyphen), so the echo should work correctly.
12802    lt_compile=`echo "$ac_compile" | $SED \
12803    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12804    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12805    -e 's:$: $lt_compiler_flag:'`
12806    (eval echo "\"\$as_me:12806: $lt_compile\"" >&5)
12807    (eval "$lt_compile" 2>out/conftest.err)
12808    ac_status=$?
12809    cat out/conftest.err >&5
12810    echo "$as_me:12810: \$? = $ac_status" >&5
12811    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12812    then
12813      # The compiler can only warn and ignore the option if not recognized
12814      # So say no if there are warnings
12815      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12816      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12817      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12818        lt_cv_prog_compiler_c_o_CXX=yes
12819      fi
12820    fi
12821    chmod u+w . 2>&5
12822    $RM conftest*
12823    # SGI C++ compiler will create directory out/ii_files/ for
12824    # template instantiation
12825    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12826    $RM out/* && rmdir out
12827    cd ..
12828    $RM -r conftest
12829    $RM conftest*
12830
12831 fi
12832 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12833 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12834
12835
12836
12837
12838 hard_links="nottested"
12839 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12840   # do not overwrite the value of need_locks provided by the user
12841   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12842 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12843   hard_links=yes
12844   $RM conftest*
12845   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12846   touch conftest.a
12847   ln conftest.a conftest.b 2>&5 || hard_links=no
12848   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12849   echo "$as_me:$LINENO: result: $hard_links" >&5
12850 echo "${ECHO_T}$hard_links" >&6
12851   if test "$hard_links" = no; then
12852     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12853 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12854     need_locks=warn
12855   fi
12856 else
12857   need_locks=no
12858 fi
12859
12860
12861
12862     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12863 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12864
12865   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12866   case $host_os in
12867   aix[4-9]*)
12868     # If we're using GNU nm, then we don't want the "-C" option.
12869     # -C means demangle to AIX nm, but means don't demangle with GNU nm
12870     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12871       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'
12872     else
12873       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'
12874     fi
12875     ;;
12876   pw32*)
12877     export_symbols_cmds_CXX="$ltdll_cmds"
12878   ;;
12879   cygwin* | mingw*)
12880     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'
12881   ;;
12882   *)
12883     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12884   ;;
12885   esac
12886
12887 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12888 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12889 test "$ld_shlibs_CXX" = no && can_build_shared=no
12890
12891 with_gnu_ld_CXX=$with_gnu_ld
12892
12893
12894
12895
12896
12897
12898 #
12899 # Do we need to explicitly link libc?
12900 #
12901 case "x$archive_cmds_need_lc_CXX" in
12902 x|xyes)
12903   # Assume -lc should be added
12904   archive_cmds_need_lc_CXX=yes
12905
12906   if test "$enable_shared" = yes && test "$GCC" = yes; then
12907     case $archive_cmds_CXX in
12908     *'~'*)
12909       # FIXME: we may have to deal with multi-command sequences.
12910       ;;
12911     '$CC '*)
12912       # Test whether the compiler implicitly links with -lc since on some
12913       # systems, -lgcc has to come before -lc. If gcc already passes -lc
12914       # to ld, don't add -lc before -lgcc.
12915       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12916 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12917       $RM conftest*
12918       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12919
12920       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12921   (eval $ac_compile) 2>&5
12922   ac_status=$?
12923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12924   (exit $ac_status); } 2>conftest.err; then
12925         soname=conftest
12926         lib=conftest
12927         libobjs=conftest.$ac_objext
12928         deplibs=
12929         wl=$lt_prog_compiler_wl_CXX
12930         pic_flag=$lt_prog_compiler_pic_CXX
12931         compiler_flags=-v
12932         linker_flags=-v
12933         verstring=
12934         output_objdir=.
12935         libname=conftest
12936         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12937         allow_undefined_flag_CXX=
12938         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12939   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12940   ac_status=$?
12941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12942   (exit $ac_status); }
12943         then
12944           archive_cmds_need_lc_CXX=no
12945         else
12946           archive_cmds_need_lc_CXX=yes
12947         fi
12948         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12949       else
12950         cat conftest.err 1>&5
12951       fi
12952       $RM conftest*
12953       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12954 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12955       ;;
12956     esac
12957   fi
12958   ;;
12959 esac
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
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024     echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13025 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13026 withGCC=$GXX
13027 library_names_spec=
13028 libname_spec='lib$name'
13029 soname_spec=
13030 shrext_cmds=".so"
13031 postinstall_cmds=
13032 postuninstall_cmds=
13033 finish_cmds=
13034 finish_eval=
13035 shlibpath_var=
13036 shlibpath_overrides_runpath=unknown
13037 version_type=none
13038 dynamic_linker="$host_os ld.so"
13039 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13040 need_lib_prefix=unknown
13041 hardcode_into_libs=no
13042
13043 # when you set need_version to no, make sure it does not cause -set_version
13044 # flags to be left without arguments
13045 need_version=unknown
13046
13047 case $host_os in
13048 aix3*)
13049   version_type=linux
13050   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13051   shlibpath_var=LIBPATH
13052
13053   # AIX 3 has no versioning support, so we append a major version to the name.
13054   soname_spec='${libname}${release}${shared_ext}$major'
13055   ;;
13056
13057 aix[4-9]*)
13058   version_type=linux
13059   need_lib_prefix=no
13060   need_version=no
13061   hardcode_into_libs=yes
13062   if test "$host_cpu" = ia64; then
13063     # AIX 5 supports IA64
13064     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13065     shlibpath_var=LD_LIBRARY_PATH
13066   else
13067     # With GCC up to 2.95.x, collect2 would create an import file
13068     # for dependence libraries.  The import file would start with
13069     # the line `#! .'.  This would cause the generated library to
13070     # depend on `.', always an invalid library.  This was fixed in
13071     # development snapshots of GCC prior to 3.0.
13072     case $host_os in
13073       aix4 | aix4.[01] | aix4.[01].*)
13074       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13075            echo ' yes '
13076            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13077         :
13078       else
13079         can_build_shared=no
13080       fi
13081       ;;
13082     esac
13083     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13084     # soname into executable. Probably we can add versioning support to
13085     # collect2, so additional links can be useful in future.
13086     if test "$aix_use_runtimelinking" = yes; then
13087       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13088       # instead of lib<name>.a to let people know that these are not
13089       # typical AIX shared libraries.
13090       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13091     else
13092       # We preserve .a as extension for shared libraries through AIX4.2
13093       # and later when we are not doing run time linking.
13094       library_names_spec='${libname}${release}.a $libname.a'
13095       soname_spec='${libname}${release}${shared_ext}$major'
13096     fi
13097     shlibpath_var=LIBPATH
13098   fi
13099   ;;
13100
13101 amigaos*)
13102   if test "$host_cpu" = m68k; then
13103     library_names_spec='$libname.ixlibrary $libname.a'
13104     # Create ${libname}_ixlibrary.a entries in /sys/libs.
13105     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'
13106   else
13107     dynamic_linker=no
13108   fi
13109   ;;
13110
13111 beos*)
13112   library_names_spec='${libname}${shared_ext}'
13113   dynamic_linker="$host_os ld.so"
13114   shlibpath_var=LIBRARY_PATH
13115   ;;
13116
13117 bsdi[45]*)
13118   version_type=linux
13119   need_version=no
13120   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13121   soname_spec='${libname}${release}${shared_ext}$major'
13122   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13123   shlibpath_var=LD_LIBRARY_PATH
13124   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13125   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13126   # the default ld.so.conf also contains /usr/contrib/lib and
13127   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13128   # libtool to hard-code these into programs
13129   ;;
13130
13131 cygwin* | mingw* | pw32*)
13132   version_type=windows
13133   shrext_cmds=".dll"
13134   need_version=no
13135   need_lib_prefix=no
13136
13137   case $withGCC,$host_os in
13138   yes,cygwin* | yes,mingw* | yes,pw32*)
13139     library_names_spec='$libname.dll.a'
13140     # DLL is installed to $(libdir)/../bin by postinstall_cmds
13141     postinstall_cmds='base_file=`basename \${file}`~
13142       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13143       dldir=$destdir/`dirname \$dlpath`~
13144       test -d \$dldir || mkdir -p \$dldir~
13145       $install_prog $dir/$dlname \$dldir/$dlname~
13146       chmod a+x \$dldir/$dlname~
13147       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13148         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13149       fi'
13150     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13151       dlpath=$dir/\$dldll~
13152        $RM \$dlpath'
13153     shlibpath_overrides_runpath=yes
13154
13155     case $host_os in
13156     cygwin*)
13157       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13158       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13159       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13160       ;;
13161     mingw*)
13162       # MinGW DLLs use traditional 'lib' prefix
13163       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13164       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13165       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13166         # It is most probably a Windows format PATH printed by
13167         # mingw gcc, but we are running on Cygwin. Gcc prints its search
13168         # path with ; separators, and with drive letters. We can handle the
13169         # drive letters (cygwin fileutils understands them), so leave them,
13170         # especially as we might pass files found there to a mingw objdump,
13171         # which wouldn't understand a cygwinified path. Ahh.
13172         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13173       else
13174         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13175       fi
13176       ;;
13177     pw32*)
13178       # pw32 DLLs use 'pw' prefix rather than 'lib'
13179       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13180       ;;
13181     esac
13182     ;;
13183
13184   *)
13185     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13186     ;;
13187   esac
13188   dynamic_linker='Win32 ld.exe'
13189   # FIXME: first we should search . and the directory the executable is in
13190   shlibpath_var=PATH
13191   ;;
13192
13193 darwin* | rhapsody*)
13194   dynamic_linker="$host_os dyld"
13195   version_type=darwin
13196   need_lib_prefix=no
13197   need_version=no
13198   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13199   soname_spec='${libname}${release}${major}$shared_ext'
13200   shlibpath_overrides_runpath=yes
13201   shlibpath_var=DYLD_LIBRARY_PATH
13202   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13203
13204   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13205   ;;
13206
13207 dgux*)
13208   version_type=linux
13209   need_lib_prefix=no
13210   need_version=no
13211   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13212   soname_spec='${libname}${release}${shared_ext}$major'
13213   shlibpath_var=LD_LIBRARY_PATH
13214   ;;
13215
13216 freebsd1*)
13217   dynamic_linker=no
13218   ;;
13219
13220 freebsd* | dragonfly*)
13221   # DragonFly does not have aout.  When/if they implement a new
13222   # versioning mechanism, adjust this.
13223   if test -x /usr/bin/objformat; then
13224     objformat=`/usr/bin/objformat`
13225   else
13226     case $host_os in
13227     freebsd[123]*) objformat=aout ;;
13228     *) objformat=elf ;;
13229     esac
13230   fi
13231   version_type=freebsd-$objformat
13232   case $version_type in
13233     freebsd-elf*)
13234       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13235       need_version=no
13236       need_lib_prefix=no
13237       ;;
13238     freebsd-*)
13239       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13240       need_version=yes
13241       ;;
13242   esac
13243   shlibpath_var=LD_LIBRARY_PATH
13244   case $host_os in
13245   freebsd2*)
13246     shlibpath_overrides_runpath=yes
13247     ;;
13248   freebsd3.[01]* | freebsdelf3.[01]*)
13249     shlibpath_overrides_runpath=yes
13250     hardcode_into_libs=yes
13251     ;;
13252   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13253   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13254     shlibpath_overrides_runpath=no
13255     hardcode_into_libs=yes
13256     ;;
13257   *) # from 4.6 on, and DragonFly
13258     shlibpath_overrides_runpath=yes
13259     hardcode_into_libs=yes
13260     ;;
13261   esac
13262   ;;
13263
13264 gnu*)
13265   version_type=linux
13266   need_lib_prefix=no
13267   need_version=no
13268   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13269   soname_spec='${libname}${release}${shared_ext}$major'
13270   shlibpath_var=LD_LIBRARY_PATH
13271   hardcode_into_libs=yes
13272   ;;
13273
13274 hpux9* | hpux10* | hpux11*)
13275   # Give a soname corresponding to the major version so that dld.sl refuses to
13276   # link against other versions.
13277   version_type=sunos
13278   need_lib_prefix=no
13279   need_version=no
13280   case $host_cpu in
13281   ia64*)
13282     shrext_cmds='.so'
13283     hardcode_into_libs=yes
13284     dynamic_linker="$host_os dld.so"
13285     shlibpath_var=LD_LIBRARY_PATH
13286     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13287     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13288     soname_spec='${libname}${release}${shared_ext}$major'
13289     if test "X$HPUX_IA64_MODE" = X32; then
13290       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13291     else
13292       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13293     fi
13294     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13295     ;;
13296   hppa*64*)
13297     shrext_cmds='.sl'
13298     hardcode_into_libs=yes
13299     dynamic_linker="$host_os dld.sl"
13300     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13301     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13302     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13303     soname_spec='${libname}${release}${shared_ext}$major'
13304     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13305     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13306     ;;
13307   *)
13308     shrext_cmds='.sl'
13309     dynamic_linker="$host_os dld.sl"
13310     shlibpath_var=SHLIB_PATH
13311     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13312     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13313     soname_spec='${libname}${release}${shared_ext}$major'
13314     ;;
13315   esac
13316   # HP-UX runs *really* slowly unless shared libraries are mode 555.
13317   postinstall_cmds='chmod 555 $lib'
13318   ;;
13319
13320 interix[3-9]*)
13321   version_type=linux
13322   need_lib_prefix=no
13323   need_version=no
13324   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13325   soname_spec='${libname}${release}${shared_ext}$major'
13326   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13327   shlibpath_var=LD_LIBRARY_PATH
13328   shlibpath_overrides_runpath=no
13329   hardcode_into_libs=yes
13330   ;;
13331
13332 irix5* | irix6* | nonstopux*)
13333   case $host_os in
13334     nonstopux*) version_type=nonstopux ;;
13335     *)
13336         if test "$lt_cv_prog_gnu_ld" = yes; then
13337                 version_type=linux
13338         else
13339                 version_type=irix
13340         fi ;;
13341   esac
13342   need_lib_prefix=no
13343   need_version=no
13344   soname_spec='${libname}${release}${shared_ext}$major'
13345   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13346   case $host_os in
13347   irix5* | nonstopux*)
13348     libsuff= shlibsuff=
13349     ;;
13350   *)
13351     case $LD in # libtool.m4 will add one of these switches to LD
13352     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13353       libsuff= shlibsuff= libmagic=32-bit;;
13354     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13355       libsuff=32 shlibsuff=N32 libmagic=N32;;
13356     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13357       libsuff=64 shlibsuff=64 libmagic=64-bit;;
13358     *) libsuff= shlibsuff= libmagic=never-match;;
13359     esac
13360     ;;
13361   esac
13362   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13363   shlibpath_overrides_runpath=no
13364   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13365   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13366   hardcode_into_libs=yes
13367   ;;
13368
13369 # No shared lib support for Linux oldld, aout, or coff.
13370 linux*oldld* | linux*aout* | linux*coff*)
13371   dynamic_linker=no
13372   ;;
13373
13374 # This must be Linux ELF.
13375 linux* | k*bsd*-gnu)
13376   version_type=linux
13377   need_lib_prefix=no
13378   need_version=no
13379   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13380   soname_spec='${libname}${release}${shared_ext}$major'
13381   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13382   shlibpath_var=LD_LIBRARY_PATH
13383   shlibpath_overrides_runpath=no
13384   # Some binutils ld are patched to set DT_RUNPATH
13385   save_LDFLAGS=$LDFLAGS
13386   save_libdir=$libdir
13387   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13388        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13389   if test x$gcc_no_link = xyes; then
13390   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13392    { (exit 1); exit 1; }; }
13393 fi
13394 cat >conftest.$ac_ext <<_ACEOF
13395 /* confdefs.h.  */
13396 _ACEOF
13397 cat confdefs.h >>conftest.$ac_ext
13398 cat >>conftest.$ac_ext <<_ACEOF
13399 /* end confdefs.h.  */
13400
13401 int
13402 main ()
13403 {
13404
13405   ;
13406   return 0;
13407 }
13408 _ACEOF
13409 rm -f conftest.$ac_objext conftest$ac_exeext
13410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13411   (eval $ac_link) 2>conftest.er1
13412   ac_status=$?
13413   grep -v '^ *+' conftest.er1 >conftest.err
13414   rm -f conftest.er1
13415   cat conftest.err >&5
13416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13417   (exit $ac_status); } &&
13418          { ac_try='test -z "$ac_cxx_werror_flag"
13419                          || test ! -s conftest.err'
13420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13421   (eval $ac_try) 2>&5
13422   ac_status=$?
13423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424   (exit $ac_status); }; } &&
13425          { ac_try='test -s conftest$ac_exeext'
13426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13427   (eval $ac_try) 2>&5
13428   ac_status=$?
13429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13430   (exit $ac_status); }; }; then
13431   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13432   shlibpath_overrides_runpath=yes
13433 fi
13434
13435 else
13436   echo "$as_me: failed program was:" >&5
13437 sed 's/^/| /' conftest.$ac_ext >&5
13438
13439 fi
13440 rm -f conftest.err conftest.$ac_objext \
13441       conftest$ac_exeext conftest.$ac_ext
13442   LDFLAGS=$save_LDFLAGS
13443   libdir=$save_libdir
13444
13445   # This implies no fast_install, which is unacceptable.
13446   # Some rework will be needed to allow for fast_install
13447   # before this can be enabled.
13448   hardcode_into_libs=yes
13449
13450   # Append ld.so.conf contents to the search path
13451   if test -f /etc/ld.so.conf; then
13452     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' ' '`
13453     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13454   fi
13455
13456   # We used to test for /lib/ld.so.1 and disable shared libraries on
13457   # powerpc, because MkLinux only supported shared libraries with the
13458   # GNU dynamic linker.  Since this was broken with cross compilers,
13459   # most powerpc-linux boxes support dynamic linking these days and
13460   # people can always --disable-shared, the test was removed, and we
13461   # assume the GNU/Linux dynamic linker is in use.
13462   dynamic_linker='GNU/Linux ld.so'
13463   ;;
13464
13465 netbsd*)
13466   version_type=sunos
13467   need_lib_prefix=no
13468   need_version=no
13469   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13470     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13471     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13472     dynamic_linker='NetBSD (a.out) ld.so'
13473   else
13474     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13475     soname_spec='${libname}${release}${shared_ext}$major'
13476     dynamic_linker='NetBSD ld.elf_so'
13477   fi
13478   shlibpath_var=LD_LIBRARY_PATH
13479   shlibpath_overrides_runpath=yes
13480   hardcode_into_libs=yes
13481   ;;
13482
13483 newsos6)
13484   version_type=linux
13485   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13486   shlibpath_var=LD_LIBRARY_PATH
13487   shlibpath_overrides_runpath=yes
13488   ;;
13489
13490 *nto* | *qnx*)
13491   version_type=qnx
13492   need_lib_prefix=no
13493   need_version=no
13494   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13495   soname_spec='${libname}${release}${shared_ext}$major'
13496   shlibpath_var=LD_LIBRARY_PATH
13497   shlibpath_overrides_runpath=no
13498   hardcode_into_libs=yes
13499   dynamic_linker='ldqnx.so'
13500   ;;
13501
13502 openbsd*)
13503   version_type=sunos
13504   sys_lib_dlsearch_path_spec="/usr/lib"
13505   need_lib_prefix=no
13506   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13507   case $host_os in
13508     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
13509     *)                          need_version=no  ;;
13510   esac
13511   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13512   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13513   shlibpath_var=LD_LIBRARY_PATH
13514   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13515     case $host_os in
13516       openbsd2.[89] | openbsd2.[89].*)
13517         shlibpath_overrides_runpath=no
13518         ;;
13519       *)
13520         shlibpath_overrides_runpath=yes
13521         ;;
13522       esac
13523   else
13524     shlibpath_overrides_runpath=yes
13525   fi
13526   ;;
13527
13528 os2*)
13529   libname_spec='$name'
13530   shrext_cmds=".dll"
13531   need_lib_prefix=no
13532   library_names_spec='$libname${shared_ext} $libname.a'
13533   dynamic_linker='OS/2 ld.exe'
13534   shlibpath_var=LIBPATH
13535   ;;
13536
13537 osf3* | osf4* | osf5*)
13538   version_type=osf
13539   need_lib_prefix=no
13540   need_version=no
13541   soname_spec='${libname}${release}${shared_ext}$major'
13542   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13543   shlibpath_var=LD_LIBRARY_PATH
13544   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13545   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13546   ;;
13547
13548 rdos*)
13549   dynamic_linker=no
13550   ;;
13551
13552 solaris*)
13553   version_type=linux
13554   need_lib_prefix=no
13555   need_version=no
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   shlibpath_overrides_runpath=yes
13560   hardcode_into_libs=yes
13561   # ldd complains unless libraries are executable
13562   postinstall_cmds='chmod +x $lib'
13563   ;;
13564
13565 sunos4*)
13566   version_type=sunos
13567   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13568   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13569   shlibpath_var=LD_LIBRARY_PATH
13570   shlibpath_overrides_runpath=yes
13571   if test "$with_gnu_ld" = yes; then
13572     need_lib_prefix=no
13573   fi
13574   need_version=yes
13575   ;;
13576
13577 sysv4 | sysv4.3*)
13578   version_type=linux
13579   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13580   soname_spec='${libname}${release}${shared_ext}$major'
13581   shlibpath_var=LD_LIBRARY_PATH
13582   case $host_vendor in
13583     sni)
13584       shlibpath_overrides_runpath=no
13585       need_lib_prefix=no
13586       runpath_var=LD_RUN_PATH
13587       ;;
13588     siemens)
13589       need_lib_prefix=no
13590       ;;
13591     motorola)
13592       need_lib_prefix=no
13593       need_version=no
13594       shlibpath_overrides_runpath=no
13595       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13596       ;;
13597   esac
13598   ;;
13599
13600 sysv4*MP*)
13601   if test -d /usr/nec ;then
13602     version_type=linux
13603     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13604     soname_spec='$libname${shared_ext}.$major'
13605     shlibpath_var=LD_LIBRARY_PATH
13606   fi
13607   ;;
13608
13609 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13610   version_type=freebsd-elf
13611   need_lib_prefix=no
13612   need_version=no
13613   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13614   soname_spec='${libname}${release}${shared_ext}$major'
13615   shlibpath_var=LD_LIBRARY_PATH
13616   shlibpath_overrides_runpath=yes
13617   hardcode_into_libs=yes
13618   if test "$with_gnu_ld" = yes; then
13619     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13620   else
13621     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13622     case $host_os in
13623       sco3.2v5*)
13624         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13625         ;;
13626     esac
13627   fi
13628   sys_lib_dlsearch_path_spec='/usr/lib'
13629   ;;
13630
13631 tpf*)
13632   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13633   version_type=linux
13634   need_lib_prefix=no
13635   need_version=no
13636   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13637   shlibpath_var=LD_LIBRARY_PATH
13638   shlibpath_overrides_runpath=no
13639   hardcode_into_libs=yes
13640   ;;
13641
13642 uts4*)
13643   version_type=linux
13644   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13645   soname_spec='${libname}${release}${shared_ext}$major'
13646   shlibpath_var=LD_LIBRARY_PATH
13647   ;;
13648
13649 *)
13650   dynamic_linker=no
13651   ;;
13652 esac
13653 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13654 echo "${ECHO_T}$dynamic_linker" >&6
13655 test "$dynamic_linker" = no && can_build_shared=no
13656
13657 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13658 if test "$GCC" = yes; then
13659   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13660 fi
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697     echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13698 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13699 hardcode_action_CXX=
13700 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13701    test -n "$runpath_var_CXX" ||
13702    test "X$hardcode_automatic_CXX" = "Xyes" ; then
13703
13704   # We can hardcode non-existent directories.
13705   if test "$hardcode_direct_CXX" != no &&
13706      # If the only mechanism to avoid hardcoding is shlibpath_var, we
13707      # have to relink, otherwise we might link with an installed library
13708      # when we should be linking with a yet-to-be-installed one
13709      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13710      test "$hardcode_minus_L_CXX" != no; then
13711     # Linking always hardcodes the temporary library directory.
13712     hardcode_action_CXX=relink
13713   else
13714     # We can link without hardcoding, and we can hardcode nonexisting dirs.
13715     hardcode_action_CXX=immediate
13716   fi
13717 else
13718   # We cannot hardcode anything, or else we can only hardcode existing
13719   # directories.
13720   hardcode_action_CXX=unsupported
13721 fi
13722 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13723 echo "${ECHO_T}$hardcode_action_CXX" >&6
13724
13725 if test "$hardcode_action_CXX" = relink ||
13726    test "$inherit_rpath_CXX" = yes; then
13727   # Fast installation is not supported
13728   enable_fast_install=no
13729 elif test "$shlibpath_overrides_runpath" = yes ||
13730      test "$enable_shared" = no; then
13731   # Fast installation is not necessary
13732   enable_fast_install=needless
13733 fi
13734
13735
13736
13737
13738
13739
13740
13741   fi # test -n "$compiler"
13742
13743   CC=$lt_save_CC
13744   LDCXX=$LD
13745   LD=$lt_save_LD
13746   GCC=$lt_save_GCC
13747   with_gnu_ld=$lt_save_with_gnu_ld
13748   lt_cv_path_LDCXX=$lt_cv_path_LD
13749   lt_cv_path_LD=$lt_save_path_LD
13750   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13751   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13752 fi # test "$_lt_caught_CXX_error" != yes
13753
13754 ac_ext=c
13755 ac_cpp='$CPP $CPPFLAGS'
13756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772                   ac_config_commands="$ac_config_commands libtool"
13773
13774
13775
13776
13777 # Only expand once:
13778
13779
13780
13781
13782
13783 # Possibly disable most of the library.
13784 ## TODO: Consider skipping unncessary tests altogether in this case, rather
13785 ## than just ignoring the results.  Faster /and/ more correct, win win.
13786
13787   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
13788 if test "${enable_hosted_libstdcxx+set}" = set; then
13789   enableval="$enable_hosted_libstdcxx"
13790
13791 else
13792   case "$host" in
13793         arm*-*-symbianelf*)
13794             enable_hosted_libstdcxx=no
13795             ;;
13796         *)
13797             enable_hosted_libstdcxx=yes
13798             ;;
13799      esac
13800 fi;
13801   if test "$enable_hosted_libstdcxx" = no; then
13802     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
13803 echo "$as_me: Only freestanding libraries will be built" >&6;}
13804     is_hosted=no
13805     hosted_define=0
13806     enable_abi_check=no
13807     enable_libstdcxx_pch=no
13808   else
13809     is_hosted=yes
13810     hosted_define=1
13811   fi
13812
13813
13814 cat >>confdefs.h <<_ACEOF
13815 #define _GLIBCXX_HOSTED $hosted_define
13816 _ACEOF
13817
13818
13819
13820 # Enable compiler support that doesn't require linking.
13821
13822   echo "$as_me:$LINENO: checking for exception model to use" >&5
13823 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
13824
13825
13826   ac_ext=cc
13827 ac_cpp='$CXXCPP $CPPFLAGS'
13828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13831
13832    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
13833 if test "${enable_sjlj_exceptions+set}" = set; then
13834   enableval="$enable_sjlj_exceptions"
13835
13836       case "$enableval" in
13837        yes|no|auto) ;;
13838        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
13839 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
13840    { (exit 1); exit 1; }; } ;;
13841                           esac
13842
13843 else
13844   enable_sjlj_exceptions=auto
13845 fi;
13846
13847
13848   if test $enable_sjlj_exceptions = auto; then
13849     # Botheration.  Now we've got to detect the exception model.  Link tests
13850     # against libgcc.a are problematic since we've not been given proper -L
13851     # bits for single-tree newlib and libgloss.
13852     #
13853     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
13854     cat > conftest.$ac_ext << EOF
13855 #line 13855 "configure"
13856 struct S { ~S(); };
13857 void bar();
13858 void foo()
13859 {
13860   S s;
13861   bar();
13862 }
13863 EOF
13864     old_CXXFLAGS="$CXXFLAGS"
13865     CXXFLAGS=-S
13866     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13867   (eval $ac_compile) 2>&5
13868   ac_status=$?
13869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13870   (exit $ac_status); }; then
13871       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
13872         enable_sjlj_exceptions=yes
13873       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
13874         enable_sjlj_exceptions=no
13875       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
13876         enable_sjlj_exceptions=no
13877       fi
13878     fi
13879     CXXFLAGS="$old_CXXFLAGS"
13880     rm -f conftest*
13881   fi
13882
13883   # This is a tad weird, for hysterical raisins.  We have to map
13884   # enable/disable to two different models.
13885   case $enable_sjlj_exceptions in
13886     yes)
13887
13888 cat >>confdefs.h <<\_ACEOF
13889 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
13890 _ACEOF
13891
13892       ac_exception_model_name=sjlj
13893       ;;
13894     no)
13895       ac_exception_model_name="call frame"
13896       ;;
13897     *)
13898       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
13899 echo "$as_me: error: unable to detect exception model" >&2;}
13900    { (exit 1); exit 1; }; }
13901       ;;
13902   esac
13903  ac_ext=c
13904 ac_cpp='$CPP $CPPFLAGS'
13905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13908
13909  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
13910 echo "${ECHO_T}$ac_exception_model_name" >&6
13911
13912
13913    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
13914 if test "${enable_libstdcxx_pch+set}" = set; then
13915   enableval="$enable_libstdcxx_pch"
13916
13917       case "$enableval" in
13918        yes|no) ;;
13919        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
13920 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
13921    { (exit 1); exit 1; }; } ;;
13922       esac
13923
13924 else
13925   enable_libstdcxx_pch=$is_hosted
13926 fi;
13927
13928   if test $enable_libstdcxx_pch = yes; then
13929     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
13930 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
13931 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
13932   echo $ECHO_N "(cached) $ECHO_C" >&6
13933 else
13934   ac_save_CXXFLAGS="$CXXFLAGS"
13935        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
13936
13937
13938        ac_ext=cc
13939 ac_cpp='$CXXCPP $CPPFLAGS'
13940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13943
13944        echo '#include <math.h>' > conftest.h
13945        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
13946                           -o conftest.h.gch 1>&5 2>&1 &&
13947                 echo '#error "pch failed"' > conftest.h &&
13948           echo '#include "conftest.h"' > conftest.cc &&
13949                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
13950        then
13951          glibcxx_cv_prog_CXX_pch=yes
13952        else
13953          glibcxx_cv_prog_CXX_pch=no
13954        fi
13955        rm -f conftest*
13956        CXXFLAGS=$ac_save_CXXFLAGS
13957        ac_ext=c
13958 ac_cpp='$CPP $CPPFLAGS'
13959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13962
13963
13964 fi
13965 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
13966 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
13967     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
13968   fi
13969
13970   echo "$as_me:$LINENO: checking for enabled PCH" >&5
13971 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
13972   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
13973 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
13974
13975
13976   if test $enable_libstdcxx_pch = yes; then
13977     glibcxx_PCHFLAGS="-include bits/stdc++.h"
13978   else
13979     glibcxx_PCHFLAGS=""
13980   fi
13981
13982
13983
13984
13985
13986   ac_ext=cc
13987 ac_cpp='$CXXCPP $CPPFLAGS'
13988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13991
13992   old_CXXFLAGS="$CXXFLAGS"
13993
13994   # Compile unoptimized.
13995   CXXFLAGS='-O0 -S'
13996
13997   # Fake what AC_TRY_COMPILE does, without linking as this is
13998   # unnecessary for a builtins test.
13999
14000     cat > conftest.$ac_ext << EOF
14001 #line 14001 "configure"
14002 int main()
14003 {
14004   // NB: _Atomic_word not necessarily int.
14005   typedef int atomic_type;
14006   atomic_type c1;
14007   atomic_type c2;
14008   const atomic_type c3(0);
14009   __sync_fetch_and_add(&c1, c2);
14010   __sync_val_compare_and_swap(&c1, c3, c2);
14011   __sync_lock_test_and_set(&c1, c3);
14012   __sync_lock_release(&c1);
14013   __sync_synchronize();
14014   return 0;
14015 }
14016 EOF
14017
14018     echo "$as_me:$LINENO: checking for atomic builtins for int" >&5
14019 echo $ECHO_N "checking for atomic builtins for int... $ECHO_C" >&6
14020     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14021   (eval $ac_compile) 2>&5
14022   ac_status=$?
14023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024   (exit $ac_status); }; then
14025       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14026         enable_atomic_builtinsi=no
14027       else
14028
14029 cat >>confdefs.h <<\_ACEOF
14030 #define _GLIBCXX_ATOMIC_BUILTINS_4 1
14031 _ACEOF
14032
14033         enable_atomic_builtinsi=yes
14034       fi
14035     fi
14036     echo "$as_me:$LINENO: result: $enable_atomic_builtinsi" >&5
14037 echo "${ECHO_T}$enable_atomic_builtinsi" >&6
14038     rm -f conftest*
14039
14040     cat > conftest.$ac_ext << EOF
14041 #line 14041 "configure"
14042 int main()
14043 {
14044   typedef bool atomic_type;
14045   atomic_type c1;
14046   atomic_type c2;
14047   const atomic_type c3(0);
14048   __sync_fetch_and_add(&c1, c2);
14049   __sync_val_compare_and_swap(&c1, c3, c2);
14050   __sync_lock_test_and_set(&c1, c3);
14051   __sync_lock_release(&c1);
14052   __sync_synchronize();
14053   return 0;
14054 }
14055 EOF
14056
14057     echo "$as_me:$LINENO: checking for atomic builtins for bool" >&5
14058 echo $ECHO_N "checking for atomic builtins for bool... $ECHO_C" >&6
14059     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14060   (eval $ac_compile) 2>&5
14061   ac_status=$?
14062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14063   (exit $ac_status); }; then
14064       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14065         enable_atomic_builtinsb=no
14066       else
14067
14068 cat >>confdefs.h <<\_ACEOF
14069 #define _GLIBCXX_ATOMIC_BUILTINS_1 1
14070 _ACEOF
14071
14072         enable_atomic_builtinsb=yes
14073       fi
14074     fi
14075     echo "$as_me:$LINENO: result: $enable_atomic_builtinsb" >&5
14076 echo "${ECHO_T}$enable_atomic_builtinsb" >&6
14077     rm -f conftest*
14078
14079   CXXFLAGS="$old_CXXFLAGS"
14080   ac_ext=c
14081 ac_cpp='$CPP $CPPFLAGS'
14082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14085
14086
14087   # Set atomicity_dir to builtins if either of above tests pass.
14088   if test $enable_atomic_builtinsi = yes || test $enable_atomic_builtinsb = yes ; then
14089     atomicity_dir=cpu/generic/atomicity_builtins
14090   fi
14091
14092   # If still generic, set to mutex.
14093   if test $atomicity_dir = "cpu/generic" ; then
14094     atomicity_dir=cpu/generic/atomicity_mutex
14095     { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
14096 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
14097       if test $target_thread_file = single; then
14098         { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
14099 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
14100         { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
14101 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
14102       else
14103         { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
14104 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
14105         { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
14106 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
14107       fi
14108   fi
14109
14110
14111
14112   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
14113 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
14114   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
14115   echo "$as_me:$LINENO: result: $target_thread_file" >&5
14116 echo "${ECHO_T}$target_thread_file" >&6
14117
14118   if test $target_thread_file != single; then
14119
14120 cat >>confdefs.h <<\_ACEOF
14121 #define HAVE_GTHR_DEFAULT 1
14122 _ACEOF
14123
14124   fi
14125
14126   glibcxx_thread_h=gthr-$target_thread_file.h
14127
14128     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
14129   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
14130     enable_thread=yes
14131   else
14132    enable_thread=no
14133   fi
14134
14135
14136
14137
14138 # Checks for compiler support that don't require linking.
14139
14140   # All these tests are for C++; save the language and the compiler flags.
14141   # The CXXFLAGS thing is suspicious, but based on similar bits previously
14142   # found in GLIBCXX_CONFIGURE.
14143
14144
14145   ac_ext=cc
14146 ac_cpp='$CXXCPP $CPPFLAGS'
14147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14150
14151   ac_test_CXXFLAGS="${CXXFLAGS+set}"
14152   ac_save_CXXFLAGS="$CXXFLAGS"
14153
14154   # Check for maintainer-mode bits.
14155   if test x"$USE_MAINTAINER_MODE" = xno; then
14156     WERROR=''
14157   else
14158     WERROR='-Werror'
14159   fi
14160
14161   # Check for -ffunction-sections -fdata-sections
14162   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
14163 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
14164   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
14165   cat >conftest.$ac_ext <<_ACEOF
14166 /* confdefs.h.  */
14167 _ACEOF
14168 cat confdefs.h >>conftest.$ac_ext
14169 cat >>conftest.$ac_ext <<_ACEOF
14170 /* end confdefs.h.  */
14171 int foo; void bar() { };
14172 int
14173 main ()
14174 {
14175
14176   ;
14177   return 0;
14178 }
14179 _ACEOF
14180 rm -f conftest.$ac_objext
14181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14182   (eval $ac_compile) 2>conftest.er1
14183   ac_status=$?
14184   grep -v '^ *+' conftest.er1 >conftest.err
14185   rm -f conftest.er1
14186   cat conftest.err >&5
14187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188   (exit $ac_status); } &&
14189          { ac_try='test -z "$ac_cxx_werror_flag"
14190                          || test ! -s conftest.err'
14191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14192   (eval $ac_try) 2>&5
14193   ac_status=$?
14194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14195   (exit $ac_status); }; } &&
14196          { ac_try='test -s conftest.$ac_objext'
14197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14198   (eval $ac_try) 2>&5
14199   ac_status=$?
14200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201   (exit $ac_status); }; }; then
14202   ac_fdsections=yes
14203 else
14204   echo "$as_me: failed program was:" >&5
14205 sed 's/^/| /' conftest.$ac_ext >&5
14206
14207 ac_fdsections=no
14208 fi
14209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14210   if test "$ac_test_CXXFLAGS" = set; then
14211     CXXFLAGS="$ac_save_CXXFLAGS"
14212   else
14213     # this is the suspicious part
14214     CXXFLAGS=''
14215   fi
14216   if test x"$ac_fdsections" = x"yes"; then
14217     SECTION_FLAGS='-ffunction-sections -fdata-sections'
14218   fi
14219   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
14220 echo "${ECHO_T}$ac_fdsections" >&6
14221
14222   ac_ext=c
14223 ac_cpp='$CPP $CPPFLAGS'
14224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14227
14228
14229
14230
14231
14232
14233   echo "$as_me:$LINENO: checking for ISO C++200x standard layout type support" >&5
14234 echo $ECHO_N "checking for ISO C++200x standard layout type support... $ECHO_C" >&6
14235   if test "${ac_standard_layout+set}" = set; then
14236   echo $ECHO_N "(cached) $ECHO_C" >&6
14237 else
14238
14239
14240
14241   ac_ext=cc
14242 ac_cpp='$CXXCPP $CPPFLAGS'
14243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14246
14247   ac_test_CXXFLAGS="${CXXFLAGS+set}"
14248   ac_save_CXXFLAGS="$CXXFLAGS"
14249   CXXFLAGS='-std=gnu++0x'
14250
14251   cat >conftest.$ac_ext <<_ACEOF
14252 /* confdefs.h.  */
14253 _ACEOF
14254 cat confdefs.h >>conftest.$ac_ext
14255 cat >>conftest.$ac_ext <<_ACEOF
14256 /* end confdefs.h.  */
14257 struct b
14258                   {
14259                     bool t;
14260
14261                     // Need standard layout relaxation from POD
14262                     private:
14263                     b& operator=(const b&);
14264                     b(const b&);
14265                     };
14266
14267                     int main()
14268                     {
14269                       b tst1 = { false };
14270                        return 0;
14271                     }
14272 int
14273 main ()
14274 {
14275
14276   ;
14277   return 0;
14278 }
14279 _ACEOF
14280 rm -f conftest.$ac_objext
14281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14282   (eval $ac_compile) 2>conftest.er1
14283   ac_status=$?
14284   grep -v '^ *+' conftest.er1 >conftest.err
14285   rm -f conftest.er1
14286   cat conftest.err >&5
14287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14288   (exit $ac_status); } &&
14289          { ac_try='test -z "$ac_cxx_werror_flag"
14290                          || test ! -s conftest.err'
14291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14292   (eval $ac_try) 2>&5
14293   ac_status=$?
14294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295   (exit $ac_status); }; } &&
14296          { ac_try='test -s conftest.$ac_objext'
14297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14298   (eval $ac_try) 2>&5
14299   ac_status=$?
14300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301   (exit $ac_status); }; }; then
14302   ac_standard_layout=yes
14303 else
14304   echo "$as_me: failed program was:" >&5
14305 sed 's/^/| /' conftest.$ac_ext >&5
14306
14307 ac_standard_layout=no
14308 fi
14309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14310
14311   CXXFLAGS="$ac_save_CXXFLAGS"
14312   ac_ext=c
14313 ac_cpp='$CPP $CPPFLAGS'
14314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14317
14318
14319 fi
14320
14321   echo "$as_me:$LINENO: result: $ac_standard_layout" >&5
14322 echo "${ECHO_T}$ac_standard_layout" >&6
14323   if test x"$ac_standard_layout" = x"yes"; then
14324
14325 cat >>confdefs.h <<\_ACEOF
14326 #define _GLIBCXX_USE_STANDARD_LAYOUT 1
14327 _ACEOF
14328
14329   fi
14330
14331
14332 # Enable all the variable C++ runtime options that doesn't require linking.
14333
14334   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
14335 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
14336    # Check whether --enable-cstdio or --disable-cstdio was given.
14337 if test "${enable_cstdio+set}" = set; then
14338   enableval="$enable_cstdio"
14339
14340       case "$enableval" in
14341        stdio) ;;
14342        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
14343 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
14344    { (exit 1); exit 1; }; } ;;
14345                           esac
14346
14347 else
14348   enable_cstdio=stdio
14349 fi;
14350
14351
14352   # Now that libio has been removed, you can have any color you want as long
14353   # as it's black.  This is one big no-op until other packages are added, but
14354   # showing the framework never hurts.
14355   case ${enable_cstdio} in
14356     stdio)
14357       CSTDIO_H=config/io/c_io_stdio.h
14358       BASIC_FILE_H=config/io/basic_file_stdio.h
14359       BASIC_FILE_CC=config/io/basic_file_stdio.cc
14360       echo "$as_me:$LINENO: result: stdio" >&5
14361 echo "${ECHO_T}stdio" >&6
14362       ;;
14363   esac
14364
14365
14366
14367
14368
14369
14370    # Check whether --enable-clocale or --disable-clocale was given.
14371 if test "${enable_clocale+set}" = set; then
14372   enableval="$enable_clocale"
14373
14374       case "$enableval" in
14375        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
14376        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
14377 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
14378    { (exit 1); exit 1; }; } ;;
14379                           esac
14380
14381 else
14382   enable_clocale=auto
14383 fi;
14384
14385
14386   # Deal with gettext issues.  Default to not using it (=no) until we detect
14387   # support for it later.  Let the user turn it off via --e/d, but let that
14388   # default to on for easier handling.
14389   USE_NLS=no
14390   # Check whether --enable-nls or --disable-nls was given.
14391 if test "${enable_nls+set}" = set; then
14392   enableval="$enable_nls"
14393
14394 else
14395   enable_nls=yes
14396 fi;
14397
14398   # Either a known packaage, or "auto"
14399   if test $enable_clocale = no || test $enable_clocale = yes; then
14400      enable_clocale=auto
14401   fi
14402   enable_clocale_flag=$enable_clocale
14403
14404   # Probe for locale model to use if none specified.
14405   # Default to "generic".
14406   if test $enable_clocale_flag = auto; then
14407     case ${target_os} in
14408       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14409         enable_clocale_flag=gnu
14410         ;;
14411       darwin* | freebsd*)
14412         enable_clocale_flag=darwin
14413         ;;
14414       *)
14415         enable_clocale_flag=generic
14416         ;;
14417     esac
14418   fi
14419
14420   # Sanity check model, and test for special functionality.
14421   if test $enable_clocale_flag = gnu; then
14422     cat >conftest.$ac_ext <<_ACEOF
14423 /* confdefs.h.  */
14424 _ACEOF
14425 cat confdefs.h >>conftest.$ac_ext
14426 cat >>conftest.$ac_ext <<_ACEOF
14427 /* end confdefs.h.  */
14428
14429     #include <features.h>
14430     #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
14431       _GLIBCXX_ok
14432     #endif
14433
14434 _ACEOF
14435 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14436   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
14437   enable_clocale_flag=gnu
14438 else
14439   enable_clocale_flag=generic
14440 fi
14441 rm -f conftest*
14442
14443
14444     if test $enable_clocale = auto; then
14445       # Test for bugs early in glibc-2.2.x series
14446       if test "$cross_compiling" = yes; then
14447   enable_clocale_flag=generic
14448 else
14449   cat >conftest.$ac_ext <<_ACEOF
14450 /* confdefs.h.  */
14451 _ACEOF
14452 cat confdefs.h >>conftest.$ac_ext
14453 cat >>conftest.$ac_ext <<_ACEOF
14454 /* end confdefs.h.  */
14455
14456       #define _GNU_SOURCE 1
14457       #include <locale.h>
14458       #include <string.h>
14459       #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
14460       extern __typeof(newlocale) __newlocale;
14461       extern __typeof(duplocale) __duplocale;
14462       extern __typeof(strcoll_l) __strcoll_l;
14463       #endif
14464       int main()
14465       {
14466         const char __one[] = "Äuglein Augmen";
14467         const char __two[] = "Äuglein";
14468         int i;
14469         int j;
14470         __locale_t        loc;
14471         __locale_t        loc_dup;
14472         loc = __newlocale(1 << LC_ALL, "de_DE", 0);
14473         loc_dup = __duplocale(loc);
14474         i = __strcoll_l(__one, __two, loc);
14475         j = __strcoll_l(__one, __two, loc_dup);
14476         return 0;
14477       }
14478
14479 _ACEOF
14480 rm -f conftest$ac_exeext
14481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14482   (eval $ac_link) 2>&5
14483   ac_status=$?
14484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14487   (eval $ac_try) 2>&5
14488   ac_status=$?
14489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490   (exit $ac_status); }; }; then
14491   enable_clocale_flag=gnu
14492 else
14493   echo "$as_me: program exited with status $ac_status" >&5
14494 echo "$as_me: failed program was:" >&5
14495 sed 's/^/| /' conftest.$ac_ext >&5
14496
14497 ( exit $ac_status )
14498 enable_clocale_flag=generic
14499 fi
14500 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14501 fi
14502     fi
14503
14504     # Set it to scream when it hurts.
14505     ac_save_CFLAGS="$CFLAGS"
14506     CFLAGS="-Wimplicit-function-declaration -Werror"
14507
14508     # Use strxfrm_l if available.
14509     cat >conftest.$ac_ext <<_ACEOF
14510 /* confdefs.h.  */
14511 _ACEOF
14512 cat confdefs.h >>conftest.$ac_ext
14513 cat >>conftest.$ac_ext <<_ACEOF
14514 /* end confdefs.h.  */
14515 #define _GNU_SOURCE 1
14516                     #include <string.h>
14517                     #include <locale.h>
14518 int
14519 main ()
14520 {
14521 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
14522   ;
14523   return 0;
14524 }
14525 _ACEOF
14526 rm -f conftest.$ac_objext
14527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14528   (eval $ac_compile) 2>conftest.er1
14529   ac_status=$?
14530   grep -v '^ *+' conftest.er1 >conftest.err
14531   rm -f conftest.er1
14532   cat conftest.err >&5
14533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14534   (exit $ac_status); } &&
14535          { ac_try='test -z "$ac_c_werror_flag"
14536                          || test ! -s conftest.err'
14537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14538   (eval $ac_try) 2>&5
14539   ac_status=$?
14540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541   (exit $ac_status); }; } &&
14542          { ac_try='test -s conftest.$ac_objext'
14543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14544   (eval $ac_try) 2>&5
14545   ac_status=$?
14546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547   (exit $ac_status); }; }; then
14548
14549 cat >>confdefs.h <<\_ACEOF
14550 #define HAVE_STRXFRM_L 1
14551 _ACEOF
14552
14553 else
14554   echo "$as_me: failed program was:" >&5
14555 sed 's/^/| /' conftest.$ac_ext >&5
14556
14557 fi
14558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14559
14560     # Use strerror_l if available.
14561     cat >conftest.$ac_ext <<_ACEOF
14562 /* confdefs.h.  */
14563 _ACEOF
14564 cat confdefs.h >>conftest.$ac_ext
14565 cat >>conftest.$ac_ext <<_ACEOF
14566 /* end confdefs.h.  */
14567 #define _GNU_SOURCE 1
14568                     #include <string.h>
14569                     #include <locale.h>
14570 int
14571 main ()
14572 {
14573 __locale_t loc; strerror_l(5, loc);
14574   ;
14575   return 0;
14576 }
14577 _ACEOF
14578 rm -f conftest.$ac_objext
14579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14580   (eval $ac_compile) 2>conftest.er1
14581   ac_status=$?
14582   grep -v '^ *+' conftest.er1 >conftest.err
14583   rm -f conftest.er1
14584   cat conftest.err >&5
14585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586   (exit $ac_status); } &&
14587          { ac_try='test -z "$ac_c_werror_flag"
14588                          || test ! -s conftest.err'
14589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14590   (eval $ac_try) 2>&5
14591   ac_status=$?
14592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593   (exit $ac_status); }; } &&
14594          { ac_try='test -s conftest.$ac_objext'
14595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14596   (eval $ac_try) 2>&5
14597   ac_status=$?
14598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599   (exit $ac_status); }; }; then
14600
14601 cat >>confdefs.h <<\_ACEOF
14602 #define HAVE_STRERROR_L 1
14603 _ACEOF
14604
14605 else
14606   echo "$as_me: failed program was:" >&5
14607 sed 's/^/| /' conftest.$ac_ext >&5
14608
14609 fi
14610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14611
14612     CFLAGS="$ac_save_CFLAGS"
14613   fi
14614
14615   # Perhaps use strerror_r if available, and strerror_l isn't.
14616   ac_save_CFLAGS="$CFLAGS"
14617   CFLAGS="-Wimplicit-function-declaration -Werror"
14618   cat >conftest.$ac_ext <<_ACEOF
14619 /* confdefs.h.  */
14620 _ACEOF
14621 cat confdefs.h >>conftest.$ac_ext
14622 cat >>conftest.$ac_ext <<_ACEOF
14623 /* end confdefs.h.  */
14624 #define _GNU_SOURCE 1
14625                   #include <string.h>
14626                   #include <locale.h>
14627 int
14628 main ()
14629 {
14630 char s[128]; strerror_r(5, s, 128);
14631   ;
14632   return 0;
14633 }
14634 _ACEOF
14635 rm -f conftest.$ac_objext
14636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14637   (eval $ac_compile) 2>conftest.er1
14638   ac_status=$?
14639   grep -v '^ *+' conftest.er1 >conftest.err
14640   rm -f conftest.er1
14641   cat conftest.err >&5
14642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643   (exit $ac_status); } &&
14644          { ac_try='test -z "$ac_c_werror_flag"
14645                          || test ! -s conftest.err'
14646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14647   (eval $ac_try) 2>&5
14648   ac_status=$?
14649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650   (exit $ac_status); }; } &&
14651          { ac_try='test -s conftest.$ac_objext'
14652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14653   (eval $ac_try) 2>&5
14654   ac_status=$?
14655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656   (exit $ac_status); }; }; then
14657
14658 cat >>confdefs.h <<\_ACEOF
14659 #define HAVE_STRERROR_R 1
14660 _ACEOF
14661
14662 else
14663   echo "$as_me: failed program was:" >&5
14664 sed 's/^/| /' conftest.$ac_ext >&5
14665
14666 fi
14667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14668   CFLAGS="$ac_save_CFLAGS"
14669
14670   # Set configure bits for specified locale package
14671   echo "$as_me:$LINENO: checking for C locale to use" >&5
14672 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
14673   case ${enable_clocale_flag} in
14674     generic)
14675       echo "$as_me:$LINENO: result: generic" >&5
14676 echo "${ECHO_T}generic" >&6
14677
14678       CLOCALE_H=config/locale/generic/c_locale.h
14679       CLOCALE_CC=config/locale/generic/c_locale.cc
14680       CCODECVT_CC=config/locale/generic/codecvt_members.cc
14681       CCOLLATE_CC=config/locale/generic/collate_members.cc
14682       CCTYPE_CC=config/locale/generic/ctype_members.cc
14683       CMESSAGES_H=config/locale/generic/messages_members.h
14684       CMESSAGES_CC=config/locale/generic/messages_members.cc
14685       CMONEY_CC=config/locale/generic/monetary_members.cc
14686       CNUMERIC_CC=config/locale/generic/numeric_members.cc
14687       CTIME_H=config/locale/generic/time_members.h
14688       CTIME_CC=config/locale/generic/time_members.cc
14689       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14690       ;;
14691     darwin)
14692       echo "$as_me:$LINENO: result: darwin or freebsd" >&5
14693 echo "${ECHO_T}darwin or freebsd" >&6
14694
14695       CLOCALE_H=config/locale/generic/c_locale.h
14696       CLOCALE_CC=config/locale/generic/c_locale.cc
14697       CCODECVT_CC=config/locale/generic/codecvt_members.cc
14698       CCOLLATE_CC=config/locale/generic/collate_members.cc
14699       CCTYPE_CC=config/locale/darwin/ctype_members.cc
14700       CMESSAGES_H=config/locale/generic/messages_members.h
14701       CMESSAGES_CC=config/locale/generic/messages_members.cc
14702       CMONEY_CC=config/locale/generic/monetary_members.cc
14703       CNUMERIC_CC=config/locale/generic/numeric_members.cc
14704       CTIME_H=config/locale/generic/time_members.h
14705       CTIME_CC=config/locale/generic/time_members.cc
14706       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14707       ;;
14708
14709     gnu)
14710       echo "$as_me:$LINENO: result: gnu" >&5
14711 echo "${ECHO_T}gnu" >&6
14712
14713       # Declare intention to use gettext, and add support for specific
14714       # languages.
14715       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
14716       ALL_LINGUAS="de fr"
14717
14718       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
14719       # Extract the first word of "msgfmt", so it can be a program name with args.
14720 set dummy msgfmt; ac_word=$2
14721 echo "$as_me:$LINENO: checking for $ac_word" >&5
14722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14723 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
14724   echo $ECHO_N "(cached) $ECHO_C" >&6
14725 else
14726   if test -n "$check_msgfmt"; then
14727   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
14728 else
14729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14730 for as_dir in $PATH
14731 do
14732   IFS=$as_save_IFS
14733   test -z "$as_dir" && as_dir=.
14734   for ac_exec_ext in '' $ac_executable_extensions; do
14735   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14736     ac_cv_prog_check_msgfmt="yes"
14737     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14738     break 2
14739   fi
14740 done
14741 done
14742
14743   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
14744 fi
14745 fi
14746 check_msgfmt=$ac_cv_prog_check_msgfmt
14747 if test -n "$check_msgfmt"; then
14748   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
14749 echo "${ECHO_T}$check_msgfmt" >&6
14750 else
14751   echo "$as_me:$LINENO: result: no" >&5
14752 echo "${ECHO_T}no" >&6
14753 fi
14754
14755       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
14756         USE_NLS=yes
14757       fi
14758       # Export the build objects.
14759       for ling in $ALL_LINGUAS; do \
14760         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
14761         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
14762       done
14763
14764
14765
14766       CLOCALE_H=config/locale/gnu/c_locale.h
14767       CLOCALE_CC=config/locale/gnu/c_locale.cc
14768       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
14769       CCOLLATE_CC=config/locale/gnu/collate_members.cc
14770       CCTYPE_CC=config/locale/gnu/ctype_members.cc
14771       CMESSAGES_H=config/locale/gnu/messages_members.h
14772       CMESSAGES_CC=config/locale/gnu/messages_members.cc
14773       CMONEY_CC=config/locale/gnu/monetary_members.cc
14774       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
14775       CTIME_H=config/locale/gnu/time_members.h
14776       CTIME_CC=config/locale/gnu/time_members.cc
14777       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
14778       ;;
14779     ieee_1003.1-2001)
14780       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
14781 echo "${ECHO_T}IEEE 1003.1" >&6
14782
14783       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
14784       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
14785       CCODECVT_CC=config/locale/generic/codecvt_members.cc
14786       CCOLLATE_CC=config/locale/generic/collate_members.cc
14787       CCTYPE_CC=config/locale/generic/ctype_members.cc
14788       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
14789       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
14790       CMONEY_CC=config/locale/generic/monetary_members.cc
14791       CNUMERIC_CC=config/locale/generic/numeric_members.cc
14792       CTIME_H=config/locale/generic/time_members.h
14793       CTIME_CC=config/locale/generic/time_members.cc
14794       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14795       ;;
14796   esac
14797
14798   # This is where the testsuite looks for locale catalogs, using the
14799   # -DLOCALEDIR define during testsuite compilation.
14800   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
14801
14802
14803   # A standalone libintl (e.g., GNU libintl) may be in use.
14804   if test $USE_NLS = yes; then
14805
14806 for ac_header in libintl.h
14807 do
14808 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14810   echo "$as_me:$LINENO: checking for $ac_header" >&5
14811 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14813   echo $ECHO_N "(cached) $ECHO_C" >&6
14814 fi
14815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14816 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14817 else
14818   # Is the header compilable?
14819 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14820 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14821 cat >conftest.$ac_ext <<_ACEOF
14822 /* confdefs.h.  */
14823 _ACEOF
14824 cat confdefs.h >>conftest.$ac_ext
14825 cat >>conftest.$ac_ext <<_ACEOF
14826 /* end confdefs.h.  */
14827 $ac_includes_default
14828 #include <$ac_header>
14829 _ACEOF
14830 rm -f conftest.$ac_objext
14831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14832   (eval $ac_compile) 2>conftest.er1
14833   ac_status=$?
14834   grep -v '^ *+' conftest.er1 >conftest.err
14835   rm -f conftest.er1
14836   cat conftest.err >&5
14837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838   (exit $ac_status); } &&
14839          { ac_try='test -z "$ac_c_werror_flag"
14840                          || test ! -s conftest.err'
14841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14842   (eval $ac_try) 2>&5
14843   ac_status=$?
14844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845   (exit $ac_status); }; } &&
14846          { ac_try='test -s conftest.$ac_objext'
14847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14848   (eval $ac_try) 2>&5
14849   ac_status=$?
14850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851   (exit $ac_status); }; }; then
14852   ac_header_compiler=yes
14853 else
14854   echo "$as_me: failed program was:" >&5
14855 sed 's/^/| /' conftest.$ac_ext >&5
14856
14857 ac_header_compiler=no
14858 fi
14859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14860 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14861 echo "${ECHO_T}$ac_header_compiler" >&6
14862
14863 # Is the header present?
14864 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14865 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14866 cat >conftest.$ac_ext <<_ACEOF
14867 /* confdefs.h.  */
14868 _ACEOF
14869 cat confdefs.h >>conftest.$ac_ext
14870 cat >>conftest.$ac_ext <<_ACEOF
14871 /* end confdefs.h.  */
14872 #include <$ac_header>
14873 _ACEOF
14874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14875   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14876   ac_status=$?
14877   grep -v '^ *+' conftest.er1 >conftest.err
14878   rm -f conftest.er1
14879   cat conftest.err >&5
14880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14881   (exit $ac_status); } >/dev/null; then
14882   if test -s conftest.err; then
14883     ac_cpp_err=$ac_c_preproc_warn_flag
14884     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14885   else
14886     ac_cpp_err=
14887   fi
14888 else
14889   ac_cpp_err=yes
14890 fi
14891 if test -z "$ac_cpp_err"; then
14892   ac_header_preproc=yes
14893 else
14894   echo "$as_me: failed program was:" >&5
14895 sed 's/^/| /' conftest.$ac_ext >&5
14896
14897   ac_header_preproc=no
14898 fi
14899 rm -f conftest.err conftest.$ac_ext
14900 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14901 echo "${ECHO_T}$ac_header_preproc" >&6
14902
14903 # So?  What about this header?
14904 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14905   yes:no: )
14906     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14907 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14908     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14909 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14910     ac_header_preproc=yes
14911     ;;
14912   no:yes:* )
14913     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14914 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14915     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14916 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14917     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14918 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14919     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14920 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14921     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14922 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14923     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14924 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14925     (
14926       cat <<\_ASBOX
14927 ## ----------------------------------------- ##
14928 ## Report this to the package-unused lists.  ##
14929 ## ----------------------------------------- ##
14930 _ASBOX
14931     ) |
14932       sed "s/^/$as_me: WARNING:     /" >&2
14933     ;;
14934 esac
14935 echo "$as_me:$LINENO: checking for $ac_header" >&5
14936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14938   echo $ECHO_N "(cached) $ECHO_C" >&6
14939 else
14940   eval "$as_ac_Header=\$ac_header_preproc"
14941 fi
14942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14944
14945 fi
14946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14947   cat >>confdefs.h <<_ACEOF
14948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14949 _ACEOF
14950
14951 else
14952   USE_NLS=no
14953 fi
14954
14955 done
14956
14957     echo "$as_me:$LINENO: checking for library containing gettext" >&5
14958 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
14959 if test "${ac_cv_search_gettext+set}" = set; then
14960   echo $ECHO_N "(cached) $ECHO_C" >&6
14961 else
14962   ac_func_search_save_LIBS=$LIBS
14963 ac_cv_search_gettext=no
14964 if test x$gcc_no_link = xyes; then
14965   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14967    { (exit 1); exit 1; }; }
14968 fi
14969 cat >conftest.$ac_ext <<_ACEOF
14970 /* confdefs.h.  */
14971 _ACEOF
14972 cat confdefs.h >>conftest.$ac_ext
14973 cat >>conftest.$ac_ext <<_ACEOF
14974 /* end confdefs.h.  */
14975
14976 /* Override any gcc2 internal prototype to avoid an error.  */
14977 #ifdef __cplusplus
14978 extern "C"
14979 #endif
14980 /* We use char because int might match the return type of a gcc2
14981    builtin and then its argument prototype would still apply.  */
14982 char gettext ();
14983 int
14984 main ()
14985 {
14986 gettext ();
14987   ;
14988   return 0;
14989 }
14990 _ACEOF
14991 rm -f conftest.$ac_objext conftest$ac_exeext
14992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14993   (eval $ac_link) 2>conftest.er1
14994   ac_status=$?
14995   grep -v '^ *+' conftest.er1 >conftest.err
14996   rm -f conftest.er1
14997   cat conftest.err >&5
14998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999   (exit $ac_status); } &&
15000          { ac_try='test -z "$ac_c_werror_flag"
15001                          || test ! -s conftest.err'
15002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15003   (eval $ac_try) 2>&5
15004   ac_status=$?
15005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006   (exit $ac_status); }; } &&
15007          { ac_try='test -s conftest$ac_exeext'
15008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15009   (eval $ac_try) 2>&5
15010   ac_status=$?
15011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012   (exit $ac_status); }; }; then
15013   ac_cv_search_gettext="none required"
15014 else
15015   echo "$as_me: failed program was:" >&5
15016 sed 's/^/| /' conftest.$ac_ext >&5
15017
15018 fi
15019 rm -f conftest.err conftest.$ac_objext \
15020       conftest$ac_exeext conftest.$ac_ext
15021 if test "$ac_cv_search_gettext" = no; then
15022   for ac_lib in intl; do
15023     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
15024     if test x$gcc_no_link = xyes; then
15025   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15027    { (exit 1); exit 1; }; }
15028 fi
15029 cat >conftest.$ac_ext <<_ACEOF
15030 /* confdefs.h.  */
15031 _ACEOF
15032 cat confdefs.h >>conftest.$ac_ext
15033 cat >>conftest.$ac_ext <<_ACEOF
15034 /* end confdefs.h.  */
15035
15036 /* Override any gcc2 internal prototype to avoid an error.  */
15037 #ifdef __cplusplus
15038 extern "C"
15039 #endif
15040 /* We use char because int might match the return type of a gcc2
15041    builtin and then its argument prototype would still apply.  */
15042 char gettext ();
15043 int
15044 main ()
15045 {
15046 gettext ();
15047   ;
15048   return 0;
15049 }
15050 _ACEOF
15051 rm -f conftest.$ac_objext conftest$ac_exeext
15052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15053   (eval $ac_link) 2>conftest.er1
15054   ac_status=$?
15055   grep -v '^ *+' conftest.er1 >conftest.err
15056   rm -f conftest.er1
15057   cat conftest.err >&5
15058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059   (exit $ac_status); } &&
15060          { ac_try='test -z "$ac_c_werror_flag"
15061                          || test ! -s conftest.err'
15062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15063   (eval $ac_try) 2>&5
15064   ac_status=$?
15065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066   (exit $ac_status); }; } &&
15067          { ac_try='test -s conftest$ac_exeext'
15068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15069   (eval $ac_try) 2>&5
15070   ac_status=$?
15071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072   (exit $ac_status); }; }; then
15073   ac_cv_search_gettext="-l$ac_lib"
15074 break
15075 else
15076   echo "$as_me: failed program was:" >&5
15077 sed 's/^/| /' conftest.$ac_ext >&5
15078
15079 fi
15080 rm -f conftest.err conftest.$ac_objext \
15081       conftest$ac_exeext conftest.$ac_ext
15082   done
15083 fi
15084 LIBS=$ac_func_search_save_LIBS
15085 fi
15086 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
15087 echo "${ECHO_T}$ac_cv_search_gettext" >&6
15088 if test "$ac_cv_search_gettext" != no; then
15089   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
15090
15091 else
15092   USE_NLS=no
15093 fi
15094
15095   fi
15096   if test $USE_NLS = yes; then
15097
15098 cat >>confdefs.h <<\_ACEOF
15099 #define _GLIBCXX_USE_NLS 1
15100 _ACEOF
15101
15102   fi
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119   echo "$as_me:$LINENO: checking for std::allocator base class" >&5
15120 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
15121    # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
15122 if test "${enable_libstdcxx_allocator+set}" = set; then
15123   enableval="$enable_libstdcxx_allocator"
15124
15125       case "$enableval" in
15126        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15127        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
15128 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
15129    { (exit 1); exit 1; }; } ;;
15130                           esac
15131
15132 else
15133   enable_libstdcxx_allocator=auto
15134 fi;
15135
15136
15137   # If they didn't use this option switch, or if they specified --enable
15138   # with no specific model, we'll have to look for one.  If they
15139   # specified --disable (???), do likewise.
15140   if test $enable_libstdcxx_allocator = no ||
15141      test $enable_libstdcxx_allocator = yes;
15142   then
15143      enable_libstdcxx_allocator=auto
15144   fi
15145
15146   # Either a known package, or "auto". Auto implies the default choice
15147   # for a particular platform.
15148   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
15149
15150   # Probe for host-specific support if no specific model is specified.
15151   # Default to "new".
15152   if test $enable_libstdcxx_allocator_flag = auto; then
15153     case ${target_os} in
15154       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15155         enable_libstdcxx_allocator_flag=new
15156         ;;
15157       *)
15158         enable_libstdcxx_allocator_flag=new
15159         ;;
15160     esac
15161   fi
15162   echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
15163 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
15164
15165
15166   # Set configure bits for specified locale package
15167   case ${enable_libstdcxx_allocator_flag} in
15168     bitmap)
15169       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
15170       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
15171       ;;
15172     malloc)
15173       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
15174       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
15175       ;;
15176     mt)
15177       ALLOCATOR_H=config/allocator/mt_allocator_base.h
15178       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
15179       ;;
15180     new)
15181       ALLOCATOR_H=config/allocator/new_allocator_base.h
15182       ALLOCATOR_NAME=__gnu_cxx::new_allocator
15183       ;;
15184     pool)
15185       ALLOCATOR_H=config/allocator/pool_allocator_base.h
15186       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
15187       ;;
15188   esac
15189
15190
15191
15192
15193
15194    # Check whether --enable-cheaders or --disable-cheaders was given.
15195 if test "${enable_cheaders+set}" = set; then
15196   enableval="$enable_cheaders"
15197
15198       case "$enableval" in
15199        c|c_std|c_global) ;;
15200        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
15201 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
15202    { (exit 1); exit 1; }; } ;;
15203                           esac
15204
15205 else
15206   enable_cheaders=$c_model
15207 fi;
15208
15209   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
15210 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
15211
15212   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
15213
15214   # Allow overrides to configure.host here.
15215   if test $enable_cheaders = c_global; then
15216      c_compatibility=yes
15217   fi
15218
15219   if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
15220      c_extra=yes
15221   fi
15222
15223
15224
15225
15226
15227
15228
15229
15230    # Check whether --enable-long-long or --disable-long-long was given.
15231 if test "${enable_long_long+set}" = set; then
15232   enableval="$enable_long_long"
15233
15234       case "$enableval" in
15235        yes|no) ;;
15236        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
15237 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
15238    { (exit 1); exit 1; }; } ;;
15239       esac
15240
15241 else
15242   enable_long_long=yes
15243 fi;
15244
15245   if test $enable_long_long = yes; then
15246
15247 cat >>confdefs.h <<\_ACEOF
15248 #define _GLIBCXX_USE_LONG_LONG 1
15249 _ACEOF
15250
15251   fi
15252   echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
15253 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
15254   echo "$as_me:$LINENO: result: $enable_long_long" >&5
15255 echo "${ECHO_T}$enable_long_long" >&6
15256
15257
15258    # Check whether --enable-wchar_t or --disable-wchar_t was given.
15259 if test "${enable_wchar_t+set}" = set; then
15260   enableval="$enable_wchar_t"
15261
15262       case "$enableval" in
15263        yes|no) ;;
15264        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
15265 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
15266    { (exit 1); exit 1; }; } ;;
15267       esac
15268
15269 else
15270   enable_wchar_t=yes
15271 fi;
15272
15273
15274   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
15275
15276 for ac_header in wchar.h
15277 do
15278 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15280   echo "$as_me:$LINENO: checking for $ac_header" >&5
15281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15283   echo $ECHO_N "(cached) $ECHO_C" >&6
15284 fi
15285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15286 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15287 else
15288   # Is the header compilable?
15289 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15290 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15291 cat >conftest.$ac_ext <<_ACEOF
15292 /* confdefs.h.  */
15293 _ACEOF
15294 cat confdefs.h >>conftest.$ac_ext
15295 cat >>conftest.$ac_ext <<_ACEOF
15296 /* end confdefs.h.  */
15297 $ac_includes_default
15298 #include <$ac_header>
15299 _ACEOF
15300 rm -f conftest.$ac_objext
15301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15302   (eval $ac_compile) 2>conftest.er1
15303   ac_status=$?
15304   grep -v '^ *+' conftest.er1 >conftest.err
15305   rm -f conftest.er1
15306   cat conftest.err >&5
15307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15308   (exit $ac_status); } &&
15309          { ac_try='test -z "$ac_c_werror_flag"
15310                          || test ! -s conftest.err'
15311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15312   (eval $ac_try) 2>&5
15313   ac_status=$?
15314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315   (exit $ac_status); }; } &&
15316          { ac_try='test -s conftest.$ac_objext'
15317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15318   (eval $ac_try) 2>&5
15319   ac_status=$?
15320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321   (exit $ac_status); }; }; then
15322   ac_header_compiler=yes
15323 else
15324   echo "$as_me: failed program was:" >&5
15325 sed 's/^/| /' conftest.$ac_ext >&5
15326
15327 ac_header_compiler=no
15328 fi
15329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15330 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15331 echo "${ECHO_T}$ac_header_compiler" >&6
15332
15333 # Is the header present?
15334 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15335 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15336 cat >conftest.$ac_ext <<_ACEOF
15337 /* confdefs.h.  */
15338 _ACEOF
15339 cat confdefs.h >>conftest.$ac_ext
15340 cat >>conftest.$ac_ext <<_ACEOF
15341 /* end confdefs.h.  */
15342 #include <$ac_header>
15343 _ACEOF
15344 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15345   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15346   ac_status=$?
15347   grep -v '^ *+' conftest.er1 >conftest.err
15348   rm -f conftest.er1
15349   cat conftest.err >&5
15350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351   (exit $ac_status); } >/dev/null; then
15352   if test -s conftest.err; then
15353     ac_cpp_err=$ac_c_preproc_warn_flag
15354     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15355   else
15356     ac_cpp_err=
15357   fi
15358 else
15359   ac_cpp_err=yes
15360 fi
15361 if test -z "$ac_cpp_err"; then
15362   ac_header_preproc=yes
15363 else
15364   echo "$as_me: failed program was:" >&5
15365 sed 's/^/| /' conftest.$ac_ext >&5
15366
15367   ac_header_preproc=no
15368 fi
15369 rm -f conftest.err conftest.$ac_ext
15370 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15371 echo "${ECHO_T}$ac_header_preproc" >&6
15372
15373 # So?  What about this header?
15374 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15375   yes:no: )
15376     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15377 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15378     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15379 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15380     ac_header_preproc=yes
15381     ;;
15382   no:yes:* )
15383     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15384 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15385     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15386 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15387     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15388 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15389     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15390 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15391     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15392 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15393     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15394 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15395     (
15396       cat <<\_ASBOX
15397 ## ----------------------------------------- ##
15398 ## Report this to the package-unused lists.  ##
15399 ## ----------------------------------------- ##
15400 _ASBOX
15401     ) |
15402       sed "s/^/$as_me: WARNING:     /" >&2
15403     ;;
15404 esac
15405 echo "$as_me:$LINENO: checking for $ac_header" >&5
15406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15408   echo $ECHO_N "(cached) $ECHO_C" >&6
15409 else
15410   eval "$as_ac_Header=\$ac_header_preproc"
15411 fi
15412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15414
15415 fi
15416 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15417   cat >>confdefs.h <<_ACEOF
15418 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15419 _ACEOF
15420  ac_has_wchar_h=yes
15421 else
15422   ac_has_wchar_h=no
15423 fi
15424
15425 done
15426
15427   echo "$as_me:$LINENO: checking for mbstate_t" >&5
15428 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
15429   cat >conftest.$ac_ext <<_ACEOF
15430 /* confdefs.h.  */
15431 _ACEOF
15432 cat confdefs.h >>conftest.$ac_ext
15433 cat >>conftest.$ac_ext <<_ACEOF
15434 /* end confdefs.h.  */
15435 #include <wchar.h>
15436 int
15437 main ()
15438 {
15439 mbstate_t teststate;
15440   ;
15441   return 0;
15442 }
15443 _ACEOF
15444 rm -f conftest.$ac_objext
15445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15446   (eval $ac_compile) 2>conftest.er1
15447   ac_status=$?
15448   grep -v '^ *+' conftest.er1 >conftest.err
15449   rm -f conftest.er1
15450   cat conftest.err >&5
15451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452   (exit $ac_status); } &&
15453          { ac_try='test -z "$ac_c_werror_flag"
15454                          || test ! -s conftest.err'
15455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15456   (eval $ac_try) 2>&5
15457   ac_status=$?
15458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459   (exit $ac_status); }; } &&
15460          { ac_try='test -s conftest.$ac_objext'
15461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15462   (eval $ac_try) 2>&5
15463   ac_status=$?
15464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465   (exit $ac_status); }; }; then
15466   have_mbstate_t=yes
15467 else
15468   echo "$as_me: failed program was:" >&5
15469 sed 's/^/| /' conftest.$ac_ext >&5
15470
15471 have_mbstate_t=no
15472 fi
15473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15474   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
15475 echo "${ECHO_T}$have_mbstate_t" >&6
15476   if test x"$have_mbstate_t" = xyes; then
15477
15478 cat >>confdefs.h <<\_ACEOF
15479 #define HAVE_MBSTATE_T 1
15480 _ACEOF
15481
15482   fi
15483
15484   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
15485   # ac_has_wchar_h.
15486
15487 for ac_header in wctype.h
15488 do
15489 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15491   echo "$as_me:$LINENO: checking for $ac_header" >&5
15492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15494   echo $ECHO_N "(cached) $ECHO_C" >&6
15495 fi
15496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15497 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15498 else
15499   # Is the header compilable?
15500 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15501 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15502 cat >conftest.$ac_ext <<_ACEOF
15503 /* confdefs.h.  */
15504 _ACEOF
15505 cat confdefs.h >>conftest.$ac_ext
15506 cat >>conftest.$ac_ext <<_ACEOF
15507 /* end confdefs.h.  */
15508 $ac_includes_default
15509 #include <$ac_header>
15510 _ACEOF
15511 rm -f conftest.$ac_objext
15512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15513   (eval $ac_compile) 2>conftest.er1
15514   ac_status=$?
15515   grep -v '^ *+' conftest.er1 >conftest.err
15516   rm -f conftest.er1
15517   cat conftest.err >&5
15518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15519   (exit $ac_status); } &&
15520          { ac_try='test -z "$ac_c_werror_flag"
15521                          || test ! -s conftest.err'
15522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15523   (eval $ac_try) 2>&5
15524   ac_status=$?
15525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526   (exit $ac_status); }; } &&
15527          { ac_try='test -s conftest.$ac_objext'
15528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15529   (eval $ac_try) 2>&5
15530   ac_status=$?
15531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15532   (exit $ac_status); }; }; then
15533   ac_header_compiler=yes
15534 else
15535   echo "$as_me: failed program was:" >&5
15536 sed 's/^/| /' conftest.$ac_ext >&5
15537
15538 ac_header_compiler=no
15539 fi
15540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15541 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15542 echo "${ECHO_T}$ac_header_compiler" >&6
15543
15544 # Is the header present?
15545 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15546 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15547 cat >conftest.$ac_ext <<_ACEOF
15548 /* confdefs.h.  */
15549 _ACEOF
15550 cat confdefs.h >>conftest.$ac_ext
15551 cat >>conftest.$ac_ext <<_ACEOF
15552 /* end confdefs.h.  */
15553 #include <$ac_header>
15554 _ACEOF
15555 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15556   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15557   ac_status=$?
15558   grep -v '^ *+' conftest.er1 >conftest.err
15559   rm -f conftest.er1
15560   cat conftest.err >&5
15561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15562   (exit $ac_status); } >/dev/null; then
15563   if test -s conftest.err; then
15564     ac_cpp_err=$ac_c_preproc_warn_flag
15565     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15566   else
15567     ac_cpp_err=
15568   fi
15569 else
15570   ac_cpp_err=yes
15571 fi
15572 if test -z "$ac_cpp_err"; then
15573   ac_header_preproc=yes
15574 else
15575   echo "$as_me: failed program was:" >&5
15576 sed 's/^/| /' conftest.$ac_ext >&5
15577
15578   ac_header_preproc=no
15579 fi
15580 rm -f conftest.err conftest.$ac_ext
15581 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15582 echo "${ECHO_T}$ac_header_preproc" >&6
15583
15584 # So?  What about this header?
15585 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15586   yes:no: )
15587     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15588 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15589     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15590 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15591     ac_header_preproc=yes
15592     ;;
15593   no:yes:* )
15594     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15595 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15596     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15597 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15598     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15599 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15600     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15601 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15602     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15603 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15604     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15605 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15606     (
15607       cat <<\_ASBOX
15608 ## ----------------------------------------- ##
15609 ## Report this to the package-unused lists.  ##
15610 ## ----------------------------------------- ##
15611 _ASBOX
15612     ) |
15613       sed "s/^/$as_me: WARNING:     /" >&2
15614     ;;
15615 esac
15616 echo "$as_me:$LINENO: checking for $ac_header" >&5
15617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15619   echo $ECHO_N "(cached) $ECHO_C" >&6
15620 else
15621   eval "$as_ac_Header=\$ac_header_preproc"
15622 fi
15623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15624 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15625
15626 fi
15627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15628   cat >>confdefs.h <<_ACEOF
15629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15630 _ACEOF
15631  ac_has_wctype_h=yes
15632 else
15633   ac_has_wctype_h=no
15634 fi
15635
15636 done
15637
15638
15639   if test x"$enable_wchar_t" = x"yes"; then
15640
15641
15642
15643     ac_ext=cc
15644 ac_cpp='$CXXCPP $CPPFLAGS'
15645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15648
15649
15650     if test x"$ac_has_wchar_h" = xyes &&
15651        test x"$ac_has_wctype_h" = xyes; then
15652       cat >conftest.$ac_ext <<_ACEOF
15653 /* confdefs.h.  */
15654 _ACEOF
15655 cat confdefs.h >>conftest.$ac_ext
15656 cat >>conftest.$ac_ext <<_ACEOF
15657 /* end confdefs.h.  */
15658 #include <wchar.h>
15659                       #include <stddef.h>
15660                       wint_t i;
15661                       long l = WEOF;
15662                       long j = WCHAR_MIN;
15663                       long k = WCHAR_MAX;
15664                       namespace test
15665                       {
15666                         using ::btowc;
15667                         using ::fgetwc;
15668                         using ::fgetws;
15669                         using ::fputwc;
15670                         using ::fputws;
15671                         using ::fwide;
15672                         using ::fwprintf;
15673                         using ::fwscanf;
15674                         using ::getwc;
15675                         using ::getwchar;
15676                         using ::mbrlen;
15677                         using ::mbrtowc;
15678                         using ::mbsinit;
15679                         using ::mbsrtowcs;
15680                         using ::putwc;
15681                         using ::putwchar;
15682                         using ::swprintf;
15683                         using ::swscanf;
15684                         using ::ungetwc;
15685                         using ::vfwprintf;
15686                         using ::vswprintf;
15687                         using ::vwprintf;
15688                         using ::wcrtomb;
15689                         using ::wcscat;
15690                         using ::wcschr;
15691                         using ::wcscmp;
15692                         using ::wcscoll;
15693                         using ::wcscpy;
15694                         using ::wcscspn;
15695                         using ::wcsftime;
15696                         using ::wcslen;
15697                         using ::wcsncat;
15698                         using ::wcsncmp;
15699                         using ::wcsncpy;
15700                         using ::wcspbrk;
15701                         using ::wcsrchr;
15702                         using ::wcsrtombs;
15703                         using ::wcsspn;
15704                         using ::wcsstr;
15705                         using ::wcstod;
15706                         using ::wcstok;
15707                         using ::wcstol;
15708                         using ::wcstoul;
15709                         using ::wcsxfrm;
15710                         using ::wctob;
15711                         using ::wmemchr;
15712                         using ::wmemcmp;
15713                         using ::wmemcpy;
15714                         using ::wmemmove;
15715                         using ::wmemset;
15716                         using ::wprintf;
15717                         using ::wscanf;
15718                       }
15719
15720 int
15721 main ()
15722 {
15723
15724   ;
15725   return 0;
15726 }
15727 _ACEOF
15728 rm -f conftest.$ac_objext
15729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15730   (eval $ac_compile) 2>conftest.er1
15731   ac_status=$?
15732   grep -v '^ *+' conftest.er1 >conftest.err
15733   rm -f conftest.er1
15734   cat conftest.err >&5
15735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736   (exit $ac_status); } &&
15737          { ac_try='test -z "$ac_cxx_werror_flag"
15738                          || test ! -s conftest.err'
15739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15740   (eval $ac_try) 2>&5
15741   ac_status=$?
15742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743   (exit $ac_status); }; } &&
15744          { ac_try='test -s conftest.$ac_objext'
15745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15746   (eval $ac_try) 2>&5
15747   ac_status=$?
15748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749   (exit $ac_status); }; }; then
15750   :
15751 else
15752   echo "$as_me: failed program was:" >&5
15753 sed 's/^/| /' conftest.$ac_ext >&5
15754
15755 enable_wchar_t=no
15756 fi
15757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15758     else
15759       enable_wchar_t=no
15760     fi
15761
15762     ac_ext=c
15763 ac_cpp='$CPP $CPPFLAGS'
15764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15767
15768   fi
15769
15770   if test x"$enable_wchar_t" = x"yes"; then
15771
15772 cat >>confdefs.h <<\_ACEOF
15773 #define _GLIBCXX_USE_WCHAR_T 1
15774 _ACEOF
15775
15776   fi
15777
15778   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
15779 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
15780   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
15781 echo "${ECHO_T}$enable_wchar_t" >&6
15782
15783
15784
15785    # Check whether --enable-c99 or --disable-c99 was given.
15786 if test "${enable_c99+set}" = set; then
15787   enableval="$enable_c99"
15788
15789       case "$enableval" in
15790        yes|no) ;;
15791        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
15792 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
15793    { (exit 1); exit 1; }; } ;;
15794       esac
15795
15796 else
15797   enable_c99=yes
15798 fi;
15799
15800
15801   if test x"$enable_c99" = x"yes"; then
15802
15803
15804
15805   ac_ext=cc
15806 ac_cpp='$CXXCPP $CPPFLAGS'
15807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15810
15811
15812   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
15813   # undefined and fake C99 facilities - like pre-standard snprintf - may be
15814   # spuriously enabled.
15815   # Long term, -std=c++0x could be even better, could manage to explicitely
15816   # request C99 facilities to the underlying C headers.
15817   ac_save_CXXFLAGS="$CXXFLAGS"
15818   CXXFLAGS="$CXXFLAGS -std=c++98"
15819   ac_save_LIBS="$LIBS"
15820   ac_save_gcc_no_link="$gcc_no_link"
15821
15822   if test x$gcc_no_link != xyes; then
15823     # Use -fno-exceptions to that the C driver can link these tests without
15824     # hitting undefined references to personality routines.
15825     CXXFLAGS="$CXXFLAGS -fno-exceptions"
15826     echo "$as_me:$LINENO: checking for sin in -lm" >&5
15827 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
15828 if test "${ac_cv_lib_m_sin+set}" = set; then
15829   echo $ECHO_N "(cached) $ECHO_C" >&6
15830 else
15831   ac_check_lib_save_LIBS=$LIBS
15832 LIBS="-lm  $LIBS"
15833 if test x$gcc_no_link = xyes; then
15834   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15836    { (exit 1); exit 1; }; }
15837 fi
15838 cat >conftest.$ac_ext <<_ACEOF
15839 /* confdefs.h.  */
15840 _ACEOF
15841 cat confdefs.h >>conftest.$ac_ext
15842 cat >>conftest.$ac_ext <<_ACEOF
15843 /* end confdefs.h.  */
15844
15845 /* Override any gcc2 internal prototype to avoid an error.  */
15846 #ifdef __cplusplus
15847 extern "C"
15848 #endif
15849 /* We use char because int might match the return type of a gcc2
15850    builtin and then its argument prototype would still apply.  */
15851 char sin ();
15852 int
15853 main ()
15854 {
15855 sin ();
15856   ;
15857   return 0;
15858 }
15859 _ACEOF
15860 rm -f conftest.$ac_objext conftest$ac_exeext
15861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15862   (eval $ac_link) 2>conftest.er1
15863   ac_status=$?
15864   grep -v '^ *+' conftest.er1 >conftest.err
15865   rm -f conftest.er1
15866   cat conftest.err >&5
15867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15868   (exit $ac_status); } &&
15869          { ac_try='test -z "$ac_cxx_werror_flag"
15870                          || test ! -s conftest.err'
15871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15872   (eval $ac_try) 2>&5
15873   ac_status=$?
15874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15875   (exit $ac_status); }; } &&
15876          { ac_try='test -s conftest$ac_exeext'
15877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15878   (eval $ac_try) 2>&5
15879   ac_status=$?
15880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881   (exit $ac_status); }; }; then
15882   ac_cv_lib_m_sin=yes
15883 else
15884   echo "$as_me: failed program was:" >&5
15885 sed 's/^/| /' conftest.$ac_ext >&5
15886
15887 ac_cv_lib_m_sin=no
15888 fi
15889 rm -f conftest.err conftest.$ac_objext \
15890       conftest$ac_exeext conftest.$ac_ext
15891 LIBS=$ac_check_lib_save_LIBS
15892 fi
15893 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
15894 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
15895 if test $ac_cv_lib_m_sin = yes; then
15896
15897       LIBS="$LIBS -lm"
15898
15899 else
15900
15901       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
15902       gcc_no_link=yes
15903
15904 fi
15905
15906   fi
15907
15908   # Check for the existence of <math.h> functions used if C99 is enabled.
15909   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
15910 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
15911   if test "${glibcxx_cv_c99_math+set}" = set; then
15912   echo $ECHO_N "(cached) $ECHO_C" >&6
15913 else
15914
15915   if test x$gcc_no_link = xyes; then
15916   cat >conftest.$ac_ext <<_ACEOF
15917 /* confdefs.h.  */
15918 _ACEOF
15919 cat confdefs.h >>conftest.$ac_ext
15920 cat >>conftest.$ac_ext <<_ACEOF
15921 /* end confdefs.h.  */
15922 #include <math.h>
15923       volatile double d1, d2;
15924       volatile int i;
15925 int
15926 main ()
15927 {
15928 i = fpclassify(d1);
15929       i = isfinite(d1);
15930       i = isinf(d1);
15931       i = isnan(d1);
15932       i = isnormal(d1);
15933       i = signbit(d1);
15934       i = isgreater(d1, d2);
15935       i = isgreaterequal(d1, d2);
15936       i = isless(d1, d2);
15937       i = islessequal(d1, d2);
15938       i = islessgreater(d1, d2);
15939       i = islessgreater(d1, d2);
15940       i = isunordered(d1, d2);
15941
15942   ;
15943   return 0;
15944 }
15945 _ACEOF
15946 rm -f conftest.$ac_objext
15947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15948   (eval $ac_compile) 2>conftest.er1
15949   ac_status=$?
15950   grep -v '^ *+' conftest.er1 >conftest.err
15951   rm -f conftest.er1
15952   cat conftest.err >&5
15953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15954   (exit $ac_status); } &&
15955          { ac_try='test -z "$ac_cxx_werror_flag"
15956                          || test ! -s conftest.err'
15957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15958   (eval $ac_try) 2>&5
15959   ac_status=$?
15960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961   (exit $ac_status); }; } &&
15962          { ac_try='test -s conftest.$ac_objext'
15963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15964   (eval $ac_try) 2>&5
15965   ac_status=$?
15966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967   (exit $ac_status); }; }; then
15968   glibcxx_cv_c99_math=yes
15969 else
15970   echo "$as_me: failed program was:" >&5
15971 sed 's/^/| /' conftest.$ac_ext >&5
15972
15973 glibcxx_cv_c99_math=no
15974 fi
15975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15976 else
15977   if test x$gcc_no_link = xyes; then
15978   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15980    { (exit 1); exit 1; }; }
15981 fi
15982 cat >conftest.$ac_ext <<_ACEOF
15983 /* confdefs.h.  */
15984 _ACEOF
15985 cat confdefs.h >>conftest.$ac_ext
15986 cat >>conftest.$ac_ext <<_ACEOF
15987 /* end confdefs.h.  */
15988 #include <math.h>
15989       volatile double d1, d2;
15990       volatile int i;
15991 int
15992 main ()
15993 {
15994 i = fpclassify(d1);
15995       i = isfinite(d1);
15996       i = isinf(d1);
15997       i = isnan(d1);
15998       i = isnormal(d1);
15999       i = signbit(d1);
16000       i = isgreater(d1, d2);
16001       i = isgreaterequal(d1, d2);
16002       i = isless(d1, d2);
16003       i = islessequal(d1, d2);
16004       i = islessgreater(d1, d2);
16005       i = islessgreater(d1, d2);
16006       i = isunordered(d1, d2);
16007
16008   ;
16009   return 0;
16010 }
16011 _ACEOF
16012 rm -f conftest.$ac_objext conftest$ac_exeext
16013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16014   (eval $ac_link) 2>conftest.er1
16015   ac_status=$?
16016   grep -v '^ *+' conftest.er1 >conftest.err
16017   rm -f conftest.er1
16018   cat conftest.err >&5
16019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020   (exit $ac_status); } &&
16021          { ac_try='test -z "$ac_cxx_werror_flag"
16022                          || test ! -s conftest.err'
16023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16024   (eval $ac_try) 2>&5
16025   ac_status=$?
16026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16027   (exit $ac_status); }; } &&
16028          { ac_try='test -s conftest$ac_exeext'
16029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16030   (eval $ac_try) 2>&5
16031   ac_status=$?
16032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033   (exit $ac_status); }; }; then
16034   glibcxx_cv_c99_math=yes
16035 else
16036   echo "$as_me: failed program was:" >&5
16037 sed 's/^/| /' conftest.$ac_ext >&5
16038
16039 glibcxx_cv_c99_math=no
16040 fi
16041 rm -f conftest.err conftest.$ac_objext \
16042       conftest$ac_exeext conftest.$ac_ext
16043 fi
16044
16045 fi
16046
16047   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math" >&5
16048 echo "${ECHO_T}$glibcxx_cv_c99_math" >&6
16049   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16050
16051 cat >>confdefs.h <<\_ACEOF
16052 #define _GLIBCXX_USE_C99_MATH 1
16053 _ACEOF
16054
16055   fi
16056
16057   # Check for the existence of <complex.h> complex math functions.
16058   # This is necessary even though libstdc++ uses the builtin versions
16059   # of these functions, because if the builtin cannot be used, a reference
16060   # to the library function is emitted.
16061
16062 for ac_header in tgmath.h
16063 do
16064 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16066   echo "$as_me:$LINENO: checking for $ac_header" >&5
16067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16069   echo $ECHO_N "(cached) $ECHO_C" >&6
16070 fi
16071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16073 else
16074   # Is the header compilable?
16075 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16076 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16077 cat >conftest.$ac_ext <<_ACEOF
16078 /* confdefs.h.  */
16079 _ACEOF
16080 cat confdefs.h >>conftest.$ac_ext
16081 cat >>conftest.$ac_ext <<_ACEOF
16082 /* end confdefs.h.  */
16083 $ac_includes_default
16084 #include <$ac_header>
16085 _ACEOF
16086 rm -f conftest.$ac_objext
16087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16088   (eval $ac_compile) 2>conftest.er1
16089   ac_status=$?
16090   grep -v '^ *+' conftest.er1 >conftest.err
16091   rm -f conftest.er1
16092   cat conftest.err >&5
16093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094   (exit $ac_status); } &&
16095          { ac_try='test -z "$ac_cxx_werror_flag"
16096                          || test ! -s conftest.err'
16097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16098   (eval $ac_try) 2>&5
16099   ac_status=$?
16100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101   (exit $ac_status); }; } &&
16102          { ac_try='test -s conftest.$ac_objext'
16103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16104   (eval $ac_try) 2>&5
16105   ac_status=$?
16106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107   (exit $ac_status); }; }; then
16108   ac_header_compiler=yes
16109 else
16110   echo "$as_me: failed program was:" >&5
16111 sed 's/^/| /' conftest.$ac_ext >&5
16112
16113 ac_header_compiler=no
16114 fi
16115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16116 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16117 echo "${ECHO_T}$ac_header_compiler" >&6
16118
16119 # Is the header present?
16120 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16121 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16122 cat >conftest.$ac_ext <<_ACEOF
16123 /* confdefs.h.  */
16124 _ACEOF
16125 cat confdefs.h >>conftest.$ac_ext
16126 cat >>conftest.$ac_ext <<_ACEOF
16127 /* end confdefs.h.  */
16128 #include <$ac_header>
16129 _ACEOF
16130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16131   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16132   ac_status=$?
16133   grep -v '^ *+' conftest.er1 >conftest.err
16134   rm -f conftest.er1
16135   cat conftest.err >&5
16136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137   (exit $ac_status); } >/dev/null; then
16138   if test -s conftest.err; then
16139     ac_cpp_err=$ac_cxx_preproc_warn_flag
16140     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16141   else
16142     ac_cpp_err=
16143   fi
16144 else
16145   ac_cpp_err=yes
16146 fi
16147 if test -z "$ac_cpp_err"; then
16148   ac_header_preproc=yes
16149 else
16150   echo "$as_me: failed program was:" >&5
16151 sed 's/^/| /' conftest.$ac_ext >&5
16152
16153   ac_header_preproc=no
16154 fi
16155 rm -f conftest.err conftest.$ac_ext
16156 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16157 echo "${ECHO_T}$ac_header_preproc" >&6
16158
16159 # So?  What about this header?
16160 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16161   yes:no: )
16162     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16163 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16164     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16165 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16166     ac_header_preproc=yes
16167     ;;
16168   no:yes:* )
16169     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16170 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16171     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16172 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16173     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16174 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16175     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16176 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16177     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16178 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16179     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16180 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16181     (
16182       cat <<\_ASBOX
16183 ## ----------------------------------------- ##
16184 ## Report this to the package-unused lists.  ##
16185 ## ----------------------------------------- ##
16186 _ASBOX
16187     ) |
16188       sed "s/^/$as_me: WARNING:     /" >&2
16189     ;;
16190 esac
16191 echo "$as_me:$LINENO: checking for $ac_header" >&5
16192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16194   echo $ECHO_N "(cached) $ECHO_C" >&6
16195 else
16196   eval "$as_ac_Header=\$ac_header_preproc"
16197 fi
16198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16199 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16200
16201 fi
16202 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16203   cat >>confdefs.h <<_ACEOF
16204 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16205 _ACEOF
16206  ac_has_tgmath_h=yes
16207 else
16208   ac_has_tgmath_h=no
16209 fi
16210
16211 done
16212
16213
16214 for ac_header in complex.h
16215 do
16216 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16218   echo "$as_me:$LINENO: checking for $ac_header" >&5
16219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16221   echo $ECHO_N "(cached) $ECHO_C" >&6
16222 fi
16223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16225 else
16226   # Is the header compilable?
16227 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16228 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16229 cat >conftest.$ac_ext <<_ACEOF
16230 /* confdefs.h.  */
16231 _ACEOF
16232 cat confdefs.h >>conftest.$ac_ext
16233 cat >>conftest.$ac_ext <<_ACEOF
16234 /* end confdefs.h.  */
16235 $ac_includes_default
16236 #include <$ac_header>
16237 _ACEOF
16238 rm -f conftest.$ac_objext
16239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16240   (eval $ac_compile) 2>conftest.er1
16241   ac_status=$?
16242   grep -v '^ *+' conftest.er1 >conftest.err
16243   rm -f conftest.er1
16244   cat conftest.err >&5
16245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246   (exit $ac_status); } &&
16247          { ac_try='test -z "$ac_cxx_werror_flag"
16248                          || test ! -s conftest.err'
16249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250   (eval $ac_try) 2>&5
16251   ac_status=$?
16252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253   (exit $ac_status); }; } &&
16254          { ac_try='test -s conftest.$ac_objext'
16255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16256   (eval $ac_try) 2>&5
16257   ac_status=$?
16258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259   (exit $ac_status); }; }; then
16260   ac_header_compiler=yes
16261 else
16262   echo "$as_me: failed program was:" >&5
16263 sed 's/^/| /' conftest.$ac_ext >&5
16264
16265 ac_header_compiler=no
16266 fi
16267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16268 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16269 echo "${ECHO_T}$ac_header_compiler" >&6
16270
16271 # Is the header present?
16272 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16273 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16274 cat >conftest.$ac_ext <<_ACEOF
16275 /* confdefs.h.  */
16276 _ACEOF
16277 cat confdefs.h >>conftest.$ac_ext
16278 cat >>conftest.$ac_ext <<_ACEOF
16279 /* end confdefs.h.  */
16280 #include <$ac_header>
16281 _ACEOF
16282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16283   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16284   ac_status=$?
16285   grep -v '^ *+' conftest.er1 >conftest.err
16286   rm -f conftest.er1
16287   cat conftest.err >&5
16288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289   (exit $ac_status); } >/dev/null; then
16290   if test -s conftest.err; then
16291     ac_cpp_err=$ac_cxx_preproc_warn_flag
16292     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16293   else
16294     ac_cpp_err=
16295   fi
16296 else
16297   ac_cpp_err=yes
16298 fi
16299 if test -z "$ac_cpp_err"; then
16300   ac_header_preproc=yes
16301 else
16302   echo "$as_me: failed program was:" >&5
16303 sed 's/^/| /' conftest.$ac_ext >&5
16304
16305   ac_header_preproc=no
16306 fi
16307 rm -f conftest.err conftest.$ac_ext
16308 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16309 echo "${ECHO_T}$ac_header_preproc" >&6
16310
16311 # So?  What about this header?
16312 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16313   yes:no: )
16314     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16315 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16316     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16317 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16318     ac_header_preproc=yes
16319     ;;
16320   no:yes:* )
16321     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16322 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16323     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16324 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16325     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16326 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16327     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16328 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16329     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16330 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16331     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16332 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16333     (
16334       cat <<\_ASBOX
16335 ## ----------------------------------------- ##
16336 ## Report this to the package-unused lists.  ##
16337 ## ----------------------------------------- ##
16338 _ASBOX
16339     ) |
16340       sed "s/^/$as_me: WARNING:     /" >&2
16341     ;;
16342 esac
16343 echo "$as_me:$LINENO: checking for $ac_header" >&5
16344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16346   echo $ECHO_N "(cached) $ECHO_C" >&6
16347 else
16348   eval "$as_ac_Header=\$ac_header_preproc"
16349 fi
16350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16352
16353 fi
16354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16355   cat >>confdefs.h <<_ACEOF
16356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16357 _ACEOF
16358  ac_has_complex_h=yes
16359 else
16360   ac_has_complex_h=no
16361 fi
16362
16363 done
16364
16365   glibcxx_cv_c99_complex=no;
16366   if test x"$ac_has_complex_h" = x"yes"; then
16367     echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
16368 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
16369     if test x$gcc_no_link = xyes; then
16370   cat >conftest.$ac_ext <<_ACEOF
16371 /* confdefs.h.  */
16372 _ACEOF
16373 cat confdefs.h >>conftest.$ac_ext
16374 cat >>conftest.$ac_ext <<_ACEOF
16375 /* end confdefs.h.  */
16376 #include <complex.h>
16377         typedef __complex__ float float_type;
16378         typedef __complex__ double double_type;
16379         typedef __complex__ long double ld_type;
16380         volatile float_type tmpf;
16381         volatile double_type tmpd;
16382         volatile ld_type tmpld;
16383         volatile float f;
16384         volatile double d;
16385         volatile long double ld;
16386 int
16387 main ()
16388 {
16389 f = cabsf(tmpf);
16390         f = cargf(tmpf);
16391         tmpf = ccosf(tmpf);
16392         tmpf = ccoshf(tmpf);
16393         tmpf = cexpf(tmpf);
16394         tmpf = clogf(tmpf);
16395         tmpf = csinf(tmpf);
16396         tmpf = csinhf(tmpf);
16397         tmpf = csqrtf(tmpf);
16398         tmpf = ctanf(tmpf);
16399         tmpf = ctanhf(tmpf);
16400         tmpf = cpowf(tmpf, tmpf);
16401         tmpf = cprojf(tmpf);
16402         d = cabs(tmpd);
16403         d = carg(tmpd);
16404         tmpd = ccos(tmpd);
16405         tmpd = ccosh(tmpd);
16406         tmpd = cexp(tmpd);
16407         tmpd = clog(tmpd);
16408         tmpd = csin(tmpd);
16409         tmpd = csinh(tmpd);
16410         tmpd = csqrt(tmpd);
16411         tmpd = ctan(tmpd);
16412         tmpd = ctanh(tmpd);
16413         tmpd = cpow(tmpd, tmpd);
16414         tmpd = cproj(tmpd);
16415         ld = cabsl(tmpld);
16416         ld = cargl(tmpld);
16417         tmpld = ccosl(tmpld);
16418         tmpld = ccoshl(tmpld);
16419         tmpld = cexpl(tmpld);
16420         tmpld = clogl(tmpld);
16421         tmpld = csinl(tmpld);
16422         tmpld = csinhl(tmpld);
16423         tmpld = csqrtl(tmpld);
16424         tmpld = ctanl(tmpld);
16425         tmpld = ctanhl(tmpld);
16426         tmpld = cpowl(tmpld, tmpld);
16427         tmpld = cprojl(tmpld);
16428
16429   ;
16430   return 0;
16431 }
16432 _ACEOF
16433 rm -f conftest.$ac_objext
16434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16435   (eval $ac_compile) 2>conftest.er1
16436   ac_status=$?
16437   grep -v '^ *+' conftest.er1 >conftest.err
16438   rm -f conftest.er1
16439   cat conftest.err >&5
16440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16441   (exit $ac_status); } &&
16442          { ac_try='test -z "$ac_cxx_werror_flag"
16443                          || test ! -s conftest.err'
16444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16445   (eval $ac_try) 2>&5
16446   ac_status=$?
16447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16448   (exit $ac_status); }; } &&
16449          { ac_try='test -s conftest.$ac_objext'
16450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16451   (eval $ac_try) 2>&5
16452   ac_status=$?
16453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16454   (exit $ac_status); }; }; then
16455   glibcxx_cv_c99_complex=yes
16456 else
16457   echo "$as_me: failed program was:" >&5
16458 sed 's/^/| /' conftest.$ac_ext >&5
16459
16460 glibcxx_cv_c99_complex=no
16461 fi
16462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16463 else
16464   if test x$gcc_no_link = xyes; then
16465   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16467    { (exit 1); exit 1; }; }
16468 fi
16469 cat >conftest.$ac_ext <<_ACEOF
16470 /* confdefs.h.  */
16471 _ACEOF
16472 cat confdefs.h >>conftest.$ac_ext
16473 cat >>conftest.$ac_ext <<_ACEOF
16474 /* end confdefs.h.  */
16475 #include <complex.h>
16476         typedef __complex__ float float_type;
16477         typedef __complex__ double double_type;
16478         typedef __complex__ long double ld_type;
16479         volatile float_type tmpf;
16480         volatile double_type tmpd;
16481         volatile ld_type tmpld;
16482         volatile float f;
16483         volatile double d;
16484         volatile long double ld;
16485 int
16486 main ()
16487 {
16488 f = cabsf(tmpf);
16489         f = cargf(tmpf);
16490         tmpf = ccosf(tmpf);
16491         tmpf = ccoshf(tmpf);
16492         tmpf = cexpf(tmpf);
16493         tmpf = clogf(tmpf);
16494         tmpf = csinf(tmpf);
16495         tmpf = csinhf(tmpf);
16496         tmpf = csqrtf(tmpf);
16497         tmpf = ctanf(tmpf);
16498         tmpf = ctanhf(tmpf);
16499         tmpf = cpowf(tmpf, tmpf);
16500         tmpf = cprojf(tmpf);
16501         d = cabs(tmpd);
16502         d = carg(tmpd);
16503         tmpd = ccos(tmpd);
16504         tmpd = ccosh(tmpd);
16505         tmpd = cexp(tmpd);
16506         tmpd = clog(tmpd);
16507         tmpd = csin(tmpd);
16508         tmpd = csinh(tmpd);
16509         tmpd = csqrt(tmpd);
16510         tmpd = ctan(tmpd);
16511         tmpd = ctanh(tmpd);
16512         tmpd = cpow(tmpd, tmpd);
16513         tmpd = cproj(tmpd);
16514         ld = cabsl(tmpld);
16515         ld = cargl(tmpld);
16516         tmpld = ccosl(tmpld);
16517         tmpld = ccoshl(tmpld);
16518         tmpld = cexpl(tmpld);
16519         tmpld = clogl(tmpld);
16520         tmpld = csinl(tmpld);
16521         tmpld = csinhl(tmpld);
16522         tmpld = csqrtl(tmpld);
16523         tmpld = ctanl(tmpld);
16524         tmpld = ctanhl(tmpld);
16525         tmpld = cpowl(tmpld, tmpld);
16526         tmpld = cprojl(tmpld);
16527
16528   ;
16529   return 0;
16530 }
16531 _ACEOF
16532 rm -f conftest.$ac_objext conftest$ac_exeext
16533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16534   (eval $ac_link) 2>conftest.er1
16535   ac_status=$?
16536   grep -v '^ *+' conftest.er1 >conftest.err
16537   rm -f conftest.er1
16538   cat conftest.err >&5
16539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540   (exit $ac_status); } &&
16541          { ac_try='test -z "$ac_cxx_werror_flag"
16542                          || test ! -s conftest.err'
16543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16544   (eval $ac_try) 2>&5
16545   ac_status=$?
16546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547   (exit $ac_status); }; } &&
16548          { ac_try='test -s conftest$ac_exeext'
16549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16550   (eval $ac_try) 2>&5
16551   ac_status=$?
16552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553   (exit $ac_status); }; }; then
16554   glibcxx_cv_c99_complex=yes
16555 else
16556   echo "$as_me: failed program was:" >&5
16557 sed 's/^/| /' conftest.$ac_ext >&5
16558
16559 glibcxx_cv_c99_complex=no
16560 fi
16561 rm -f conftest.err conftest.$ac_objext \
16562       conftest$ac_exeext conftest.$ac_ext
16563 fi
16564   fi
16565   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_complex" >&5
16566 echo "${ECHO_T}$glibcxx_cv_c99_complex" >&6
16567   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16568
16569 cat >>confdefs.h <<\_ACEOF
16570 #define _GLIBCXX_USE_C99_COMPLEX 1
16571 _ACEOF
16572
16573   fi
16574
16575   # Check for the existence in <stdio.h> of vscanf, et. al.
16576   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
16577 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
16578   if test "${glibcxx_cv_c99_stdio+set}" = set; then
16579   echo $ECHO_N "(cached) $ECHO_C" >&6
16580 else
16581
16582   if test x$gcc_no_link = xyes; then
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 <stdio.h>
16590       #include <stdarg.h>
16591       void foo(char* fmt, ...)
16592       {
16593         va_list args; va_start(args, fmt);
16594         vfscanf(stderr, "%i", args);
16595         vscanf("%i", args);
16596         vsnprintf(fmt, 0, "%i", args);
16597         vsscanf(fmt, "%i", args);
16598       }
16599 int
16600 main ()
16601 {
16602 snprintf("12", 0, "%i");
16603   ;
16604   return 0;
16605 }
16606 _ACEOF
16607 rm -f conftest.$ac_objext
16608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16609   (eval $ac_compile) 2>conftest.er1
16610   ac_status=$?
16611   grep -v '^ *+' conftest.er1 >conftest.err
16612   rm -f conftest.er1
16613   cat conftest.err >&5
16614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615   (exit $ac_status); } &&
16616          { ac_try='test -z "$ac_cxx_werror_flag"
16617                          || test ! -s conftest.err'
16618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16619   (eval $ac_try) 2>&5
16620   ac_status=$?
16621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622   (exit $ac_status); }; } &&
16623          { ac_try='test -s conftest.$ac_objext'
16624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16625   (eval $ac_try) 2>&5
16626   ac_status=$?
16627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628   (exit $ac_status); }; }; then
16629   glibcxx_cv_c99_stdio=yes
16630 else
16631   echo "$as_me: failed program was:" >&5
16632 sed 's/^/| /' conftest.$ac_ext >&5
16633
16634 glibcxx_cv_c99_stdio=no
16635 fi
16636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16637 else
16638   if test x$gcc_no_link = xyes; then
16639   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16641    { (exit 1); exit 1; }; }
16642 fi
16643 cat >conftest.$ac_ext <<_ACEOF
16644 /* confdefs.h.  */
16645 _ACEOF
16646 cat confdefs.h >>conftest.$ac_ext
16647 cat >>conftest.$ac_ext <<_ACEOF
16648 /* end confdefs.h.  */
16649 #include <stdio.h>
16650       #include <stdarg.h>
16651       void foo(char* fmt, ...)
16652       {
16653         va_list args; va_start(args, fmt);
16654         vfscanf(stderr, "%i", args);
16655         vscanf("%i", args);
16656         vsnprintf(fmt, 0, "%i", args);
16657         vsscanf(fmt, "%i", args);
16658       }
16659 int
16660 main ()
16661 {
16662 snprintf("12", 0, "%i");
16663   ;
16664   return 0;
16665 }
16666 _ACEOF
16667 rm -f conftest.$ac_objext conftest$ac_exeext
16668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16669   (eval $ac_link) 2>conftest.er1
16670   ac_status=$?
16671   grep -v '^ *+' conftest.er1 >conftest.err
16672   rm -f conftest.er1
16673   cat conftest.err >&5
16674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675   (exit $ac_status); } &&
16676          { ac_try='test -z "$ac_cxx_werror_flag"
16677                          || test ! -s conftest.err'
16678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16679   (eval $ac_try) 2>&5
16680   ac_status=$?
16681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682   (exit $ac_status); }; } &&
16683          { ac_try='test -s conftest$ac_exeext'
16684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16685   (eval $ac_try) 2>&5
16686   ac_status=$?
16687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16688   (exit $ac_status); }; }; then
16689   glibcxx_cv_c99_stdio=yes
16690 else
16691   echo "$as_me: failed program was:" >&5
16692 sed 's/^/| /' conftest.$ac_ext >&5
16693
16694 glibcxx_cv_c99_stdio=no
16695 fi
16696 rm -f conftest.err conftest.$ac_objext \
16697       conftest$ac_exeext conftest.$ac_ext
16698 fi
16699
16700 fi
16701
16702   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdio" >&5
16703 echo "${ECHO_T}$glibcxx_cv_c99_stdio" >&6
16704
16705   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16706   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
16707 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
16708   if test "${glibcxx_cv_c99_stdlib+set}" = set; then
16709   echo $ECHO_N "(cached) $ECHO_C" >&6
16710 else
16711
16712   if test x$gcc_no_link = xyes; then
16713   cat >conftest.$ac_ext <<_ACEOF
16714 /* confdefs.h.  */
16715 _ACEOF
16716 cat confdefs.h >>conftest.$ac_ext
16717 cat >>conftest.$ac_ext <<_ACEOF
16718 /* end confdefs.h.  */
16719 #include <stdlib.h>
16720       volatile float f;
16721       volatile long double ld;
16722       volatile unsigned long long ll;
16723       lldiv_t mydivt;
16724 int
16725 main ()
16726 {
16727 char* tmp;
16728       f = strtof("gnu", &tmp);
16729       ld = strtold("gnu", &tmp);
16730       ll = strtoll("gnu", &tmp, 10);
16731       ll = strtoull("gnu", &tmp, 10);
16732       ll = llabs(10);
16733       mydivt = lldiv(10,1);
16734       ll = mydivt.quot;
16735       ll = mydivt.rem;
16736       ll = atoll("10");
16737       _Exit(0);
16738
16739   ;
16740   return 0;
16741 }
16742 _ACEOF
16743 rm -f conftest.$ac_objext
16744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16745   (eval $ac_compile) 2>conftest.er1
16746   ac_status=$?
16747   grep -v '^ *+' conftest.er1 >conftest.err
16748   rm -f conftest.er1
16749   cat conftest.err >&5
16750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16751   (exit $ac_status); } &&
16752          { ac_try='test -z "$ac_cxx_werror_flag"
16753                          || test ! -s conftest.err'
16754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16755   (eval $ac_try) 2>&5
16756   ac_status=$?
16757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758   (exit $ac_status); }; } &&
16759          { ac_try='test -s conftest.$ac_objext'
16760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16761   (eval $ac_try) 2>&5
16762   ac_status=$?
16763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764   (exit $ac_status); }; }; then
16765   glibcxx_cv_c99_stdlib=yes
16766 else
16767   echo "$as_me: failed program was:" >&5
16768 sed 's/^/| /' conftest.$ac_ext >&5
16769
16770 glibcxx_cv_c99_stdlib=no
16771 fi
16772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16773 else
16774   if test x$gcc_no_link = xyes; then
16775   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16777    { (exit 1); exit 1; }; }
16778 fi
16779 cat >conftest.$ac_ext <<_ACEOF
16780 /* confdefs.h.  */
16781 _ACEOF
16782 cat confdefs.h >>conftest.$ac_ext
16783 cat >>conftest.$ac_ext <<_ACEOF
16784 /* end confdefs.h.  */
16785 #include <stdlib.h>
16786       volatile float f;
16787       volatile long double ld;
16788       volatile unsigned long long ll;
16789       lldiv_t mydivt;
16790 int
16791 main ()
16792 {
16793 char* tmp;
16794       f = strtof("gnu", &tmp);
16795       ld = strtold("gnu", &tmp);
16796       ll = strtoll("gnu", &tmp, 10);
16797       ll = strtoull("gnu", &tmp, 10);
16798       ll = llabs(10);
16799       mydivt = lldiv(10,1);
16800       ll = mydivt.quot;
16801       ll = mydivt.rem;
16802       ll = atoll("10");
16803       _Exit(0);
16804
16805   ;
16806   return 0;
16807 }
16808 _ACEOF
16809 rm -f conftest.$ac_objext conftest$ac_exeext
16810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16811   (eval $ac_link) 2>conftest.er1
16812   ac_status=$?
16813   grep -v '^ *+' conftest.er1 >conftest.err
16814   rm -f conftest.er1
16815   cat conftest.err >&5
16816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817   (exit $ac_status); } &&
16818          { ac_try='test -z "$ac_cxx_werror_flag"
16819                          || test ! -s conftest.err'
16820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16821   (eval $ac_try) 2>&5
16822   ac_status=$?
16823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824   (exit $ac_status); }; } &&
16825          { ac_try='test -s conftest$ac_exeext'
16826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16827   (eval $ac_try) 2>&5
16828   ac_status=$?
16829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830   (exit $ac_status); }; }; then
16831   glibcxx_cv_c99_stdlib=yes
16832 else
16833   echo "$as_me: failed program was:" >&5
16834 sed 's/^/| /' conftest.$ac_ext >&5
16835
16836 glibcxx_cv_c99_stdlib=no
16837 fi
16838 rm -f conftest.err conftest.$ac_objext \
16839       conftest$ac_exeext conftest.$ac_ext
16840 fi
16841
16842 fi
16843
16844   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdlib" >&5
16845 echo "${ECHO_T}$glibcxx_cv_c99_stdlib" >&6
16846
16847   # Check for the existence in <wchar.h> of wcstold, etc.
16848   glibcxx_cv_c99_wchar=no;
16849   if test x"$ac_has_wchar_h" = xyes &&
16850      test x"$ac_has_wctype_h" = xyes; then
16851     echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
16852 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
16853     cat >conftest.$ac_ext <<_ACEOF
16854 /* confdefs.h.  */
16855 _ACEOF
16856 cat confdefs.h >>conftest.$ac_ext
16857 cat >>conftest.$ac_ext <<_ACEOF
16858 /* end confdefs.h.  */
16859 #include <wchar.h>
16860                     namespace test
16861                     {
16862                       using ::wcstold;
16863                       using ::wcstoll;
16864                       using ::wcstoull;
16865                     }
16866
16867 int
16868 main ()
16869 {
16870
16871   ;
16872   return 0;
16873 }
16874 _ACEOF
16875 rm -f conftest.$ac_objext
16876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16877   (eval $ac_compile) 2>conftest.er1
16878   ac_status=$?
16879   grep -v '^ *+' conftest.er1 >conftest.err
16880   rm -f conftest.er1
16881   cat conftest.err >&5
16882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883   (exit $ac_status); } &&
16884          { ac_try='test -z "$ac_cxx_werror_flag"
16885                          || test ! -s conftest.err'
16886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16887   (eval $ac_try) 2>&5
16888   ac_status=$?
16889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890   (exit $ac_status); }; } &&
16891          { ac_try='test -s conftest.$ac_objext'
16892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16893   (eval $ac_try) 2>&5
16894   ac_status=$?
16895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896   (exit $ac_status); }; }; then
16897   glibcxx_cv_c99_wchar=yes
16898 else
16899   echo "$as_me: failed program was:" >&5
16900 sed 's/^/| /' conftest.$ac_ext >&5
16901
16902 glibcxx_cv_c99_wchar=no
16903 fi
16904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16905
16906     # Checks for wide character functions that may not be present.
16907     # Injection of these is wrapped with guard macros.
16908     # NB: only put functions here, instead of immediately above, if
16909     # absolutely necessary.
16910     cat >conftest.$ac_ext <<_ACEOF
16911 /* confdefs.h.  */
16912 _ACEOF
16913 cat confdefs.h >>conftest.$ac_ext
16914 cat >>conftest.$ac_ext <<_ACEOF
16915 /* end confdefs.h.  */
16916 #include <wchar.h>
16917                     namespace test { using ::vfwscanf; }
16918 int
16919 main ()
16920 {
16921
16922   ;
16923   return 0;
16924 }
16925 _ACEOF
16926 rm -f conftest.$ac_objext
16927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16928   (eval $ac_compile) 2>conftest.er1
16929   ac_status=$?
16930   grep -v '^ *+' conftest.er1 >conftest.err
16931   rm -f conftest.er1
16932   cat conftest.err >&5
16933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934   (exit $ac_status); } &&
16935          { ac_try='test -z "$ac_cxx_werror_flag"
16936                          || test ! -s conftest.err'
16937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16938   (eval $ac_try) 2>&5
16939   ac_status=$?
16940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16941   (exit $ac_status); }; } &&
16942          { ac_try='test -s conftest.$ac_objext'
16943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16944   (eval $ac_try) 2>&5
16945   ac_status=$?
16946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947   (exit $ac_status); }; }; then
16948
16949 cat >>confdefs.h <<\_ACEOF
16950 #define HAVE_VFWSCANF 1
16951 _ACEOF
16952
16953 else
16954   echo "$as_me: failed program was:" >&5
16955 sed 's/^/| /' conftest.$ac_ext >&5
16956
16957 fi
16958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16959
16960     cat >conftest.$ac_ext <<_ACEOF
16961 /* confdefs.h.  */
16962 _ACEOF
16963 cat confdefs.h >>conftest.$ac_ext
16964 cat >>conftest.$ac_ext <<_ACEOF
16965 /* end confdefs.h.  */
16966 #include <wchar.h>
16967                     namespace test { using ::vswscanf; }
16968 int
16969 main ()
16970 {
16971
16972   ;
16973   return 0;
16974 }
16975 _ACEOF
16976 rm -f conftest.$ac_objext
16977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16978   (eval $ac_compile) 2>conftest.er1
16979   ac_status=$?
16980   grep -v '^ *+' conftest.er1 >conftest.err
16981   rm -f conftest.er1
16982   cat conftest.err >&5
16983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16984   (exit $ac_status); } &&
16985          { ac_try='test -z "$ac_cxx_werror_flag"
16986                          || test ! -s conftest.err'
16987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16988   (eval $ac_try) 2>&5
16989   ac_status=$?
16990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16991   (exit $ac_status); }; } &&
16992          { ac_try='test -s conftest.$ac_objext'
16993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16994   (eval $ac_try) 2>&5
16995   ac_status=$?
16996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16997   (exit $ac_status); }; }; then
16998
16999 cat >>confdefs.h <<\_ACEOF
17000 #define HAVE_VSWSCANF 1
17001 _ACEOF
17002
17003 else
17004   echo "$as_me: failed program was:" >&5
17005 sed 's/^/| /' conftest.$ac_ext >&5
17006
17007 fi
17008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17009
17010     cat >conftest.$ac_ext <<_ACEOF
17011 /* confdefs.h.  */
17012 _ACEOF
17013 cat confdefs.h >>conftest.$ac_ext
17014 cat >>conftest.$ac_ext <<_ACEOF
17015 /* end confdefs.h.  */
17016 #include <wchar.h>
17017                     namespace test { using ::vwscanf; }
17018 int
17019 main ()
17020 {
17021
17022   ;
17023   return 0;
17024 }
17025 _ACEOF
17026 rm -f conftest.$ac_objext
17027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17028   (eval $ac_compile) 2>conftest.er1
17029   ac_status=$?
17030   grep -v '^ *+' conftest.er1 >conftest.err
17031   rm -f conftest.er1
17032   cat conftest.err >&5
17033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034   (exit $ac_status); } &&
17035          { ac_try='test -z "$ac_cxx_werror_flag"
17036                          || test ! -s conftest.err'
17037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17038   (eval $ac_try) 2>&5
17039   ac_status=$?
17040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17041   (exit $ac_status); }; } &&
17042          { ac_try='test -s conftest.$ac_objext'
17043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17044   (eval $ac_try) 2>&5
17045   ac_status=$?
17046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17047   (exit $ac_status); }; }; then
17048
17049 cat >>confdefs.h <<\_ACEOF
17050 #define HAVE_VWSCANF 1
17051 _ACEOF
17052
17053 else
17054   echo "$as_me: failed program was:" >&5
17055 sed 's/^/| /' conftest.$ac_ext >&5
17056
17057 fi
17058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17059
17060     cat >conftest.$ac_ext <<_ACEOF
17061 /* confdefs.h.  */
17062 _ACEOF
17063 cat confdefs.h >>conftest.$ac_ext
17064 cat >>conftest.$ac_ext <<_ACEOF
17065 /* end confdefs.h.  */
17066 #include <wchar.h>
17067                     namespace test { using ::wcstof; }
17068 int
17069 main ()
17070 {
17071
17072   ;
17073   return 0;
17074 }
17075 _ACEOF
17076 rm -f conftest.$ac_objext
17077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17078   (eval $ac_compile) 2>conftest.er1
17079   ac_status=$?
17080   grep -v '^ *+' conftest.er1 >conftest.err
17081   rm -f conftest.er1
17082   cat conftest.err >&5
17083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084   (exit $ac_status); } &&
17085          { ac_try='test -z "$ac_cxx_werror_flag"
17086                          || test ! -s conftest.err'
17087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17088   (eval $ac_try) 2>&5
17089   ac_status=$?
17090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17091   (exit $ac_status); }; } &&
17092          { ac_try='test -s conftest.$ac_objext'
17093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17094   (eval $ac_try) 2>&5
17095   ac_status=$?
17096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17097   (exit $ac_status); }; }; then
17098
17099 cat >>confdefs.h <<\_ACEOF
17100 #define HAVE_WCSTOF 1
17101 _ACEOF
17102
17103 else
17104   echo "$as_me: failed program was:" >&5
17105 sed 's/^/| /' conftest.$ac_ext >&5
17106
17107 fi
17108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17109
17110     cat >conftest.$ac_ext <<_ACEOF
17111 /* confdefs.h.  */
17112 _ACEOF
17113 cat confdefs.h >>conftest.$ac_ext
17114 cat >>conftest.$ac_ext <<_ACEOF
17115 /* end confdefs.h.  */
17116 #include <wctype.h>
17117 int
17118 main ()
17119 {
17120  wint_t t; int i = iswblank(t);
17121   ;
17122   return 0;
17123 }
17124 _ACEOF
17125 rm -f conftest.$ac_objext
17126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17127   (eval $ac_compile) 2>conftest.er1
17128   ac_status=$?
17129   grep -v '^ *+' conftest.er1 >conftest.err
17130   rm -f conftest.er1
17131   cat conftest.err >&5
17132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17133   (exit $ac_status); } &&
17134          { ac_try='test -z "$ac_cxx_werror_flag"
17135                          || test ! -s conftest.err'
17136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17137   (eval $ac_try) 2>&5
17138   ac_status=$?
17139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140   (exit $ac_status); }; } &&
17141          { ac_try='test -s conftest.$ac_objext'
17142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17143   (eval $ac_try) 2>&5
17144   ac_status=$?
17145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146   (exit $ac_status); }; }; then
17147
17148 cat >>confdefs.h <<\_ACEOF
17149 #define HAVE_ISWBLANK 1
17150 _ACEOF
17151
17152 else
17153   echo "$as_me: failed program was:" >&5
17154 sed 's/^/| /' conftest.$ac_ext >&5
17155
17156 fi
17157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17158
17159     echo "$as_me:$LINENO: result: $glibcxx_cv_c99_wchar" >&5
17160 echo "${ECHO_T}$glibcxx_cv_c99_wchar" >&6
17161   fi
17162
17163   # Option parsed, now set things appropriately.
17164   if test x"$glibcxx_cv_c99_math" = x"no" ||
17165      test x"$glibcxx_cv_c99_complex" = x"no" ||
17166      test x"$glibcxx_cv_c99_stdio" = x"no" ||
17167      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17168      test x"$glibcxx_cv_c99_wchar" = x"no"; then
17169     enable_c99=no;
17170   else
17171
17172 cat >>confdefs.h <<\_ACEOF
17173 #define _GLIBCXX_USE_C99 1
17174 _ACEOF
17175
17176   fi
17177
17178   gcc_no_link="$ac_save_gcc_no_link"
17179   LIBS="$ac_save_LIBS"
17180   CXXFLAGS="$ac_save_CXXFLAGS"
17181   ac_ext=c
17182 ac_cpp='$CPP $CPPFLAGS'
17183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17186
17187   fi
17188
17189   echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
17190 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
17191   echo "$as_me:$LINENO: result: $enable_c99" >&5
17192 echo "${ECHO_T}$enable_c99" >&6
17193
17194
17195    # Check whether --enable-concept-checks or --disable-concept-checks was given.
17196 if test "${enable_concept_checks+set}" = set; then
17197   enableval="$enable_concept_checks"
17198
17199       case "$enableval" in
17200        yes|no) ;;
17201        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
17202 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
17203    { (exit 1); exit 1; }; } ;;
17204       esac
17205
17206 else
17207   enable_concept_checks=no
17208 fi;
17209
17210   if test $enable_concept_checks = yes; then
17211
17212 cat >>confdefs.h <<\_ACEOF
17213 #define _GLIBCXX_CONCEPT_CHECKS 1
17214 _ACEOF
17215
17216   fi
17217
17218
17219    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
17220 if test "${enable_libstdcxx_debug_flags+set}" = set; then
17221   enableval="$enable_libstdcxx_debug_flags"
17222   case "x$enable_libstdcxx_debug_flags" in
17223       xno | x)    enable_libstdcxx_debug_flags= ;;
17224       x-*)        ;;
17225       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
17226 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
17227    { (exit 1); exit 1; }; } ;;
17228      esac
17229 else
17230   enable_libstdcxx_debug_flags="-g3 -O0"
17231 fi;
17232
17233
17234   # Option parsed, now set things appropriately
17235   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17236
17237
17238   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
17239 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17240
17241
17242   echo "$as_me:$LINENO: checking for additional debug build" >&5
17243 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
17244    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
17245 if test "${enable_libstdcxx_debug+set}" = set; then
17246   enableval="$enable_libstdcxx_debug"
17247
17248       case "$enableval" in
17249        yes|no) ;;
17250        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
17251 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
17252    { (exit 1); exit 1; }; } ;;
17253       esac
17254
17255 else
17256   enable_libstdcxx_debug=no
17257 fi;
17258
17259   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
17260 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
17261
17262
17263
17264
17265   enable_parallel=no;
17266
17267   # See if configured libgomp/omp.h exists. (libgomp may be in
17268   # noconfigdirs but not explicitly disabled.)
17269   if test -f $glibcxx_builddir/../libgomp/omp.h; then
17270     enable_parallel=yes;
17271   else
17272     { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
17273 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
17274   fi
17275
17276   echo "$as_me:$LINENO: checking for parallel mode support" >&5
17277 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
17278   echo "$as_me:$LINENO: result: $enable_parallel" >&5
17279 echo "${ECHO_T}$enable_parallel" >&6
17280
17281
17282   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
17283 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
17284    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
17285 if test "${enable_cxx_flags+set}" = set; then
17286   enableval="$enable_cxx_flags"
17287   case "x$enable_cxx_flags" in
17288       xno | x)   enable_cxx_flags= ;;
17289       x-*)       ;;
17290       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
17291 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
17292    { (exit 1); exit 1; }; } ;;
17293      esac
17294 else
17295   enable_cxx_flags=
17296 fi;
17297
17298
17299   # Run through flags (either default or command-line) and set anything
17300   # extra (e.g., #defines) that must accompany particular g++ options.
17301   if test -n "$enable_cxx_flags"; then
17302     for f in $enable_cxx_flags; do
17303       case "$f" in
17304         -fhonor-std)  ;;
17305         -*)  ;;
17306         *)   # and we're trying to pass /what/ exactly?
17307              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
17308 echo "$as_me: error: compiler flags start with a -" >&2;}
17309    { (exit 1); exit 1; }; } ;;
17310       esac
17311     done
17312   fi
17313
17314   EXTRA_CXX_FLAGS="$enable_cxx_flags"
17315   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
17316 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
17317
17318
17319
17320    # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
17321 if test "${enable_fully_dynamic_string+set}" = set; then
17322   enableval="$enable_fully_dynamic_string"
17323
17324       case "$enableval" in
17325        yes|no) ;;
17326        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
17327 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
17328    { (exit 1); exit 1; }; } ;;
17329       esac
17330
17331 else
17332   enable_fully_dynamic_string=no
17333 fi;
17334
17335   if test $enable_fully_dynamic_string = yes; then
17336
17337 cat >>confdefs.h <<\_ACEOF
17338 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
17339 _ACEOF
17340
17341   fi
17342
17343
17344 # Checks for operating systems support that don't require linking.
17345
17346
17347 echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
17348 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
17349 if test "${glibcxx_cv_system_error1+set}" = set; then
17350   echo $ECHO_N "(cached) $ECHO_C" >&6
17351 else
17352
17353 cat >conftest.$ac_ext <<_ACEOF
17354 /* confdefs.h.  */
17355 _ACEOF
17356 cat confdefs.h >>conftest.$ac_ext
17357 cat >>conftest.$ac_ext <<_ACEOF
17358 /* end confdefs.h.  */
17359 #include <errno.h>
17360 int
17361 main ()
17362 {
17363 int i = EOWNERDEAD;
17364   ;
17365   return 0;
17366 }
17367 _ACEOF
17368 rm -f conftest.$ac_objext
17369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17370   (eval $ac_compile) 2>conftest.er1
17371   ac_status=$?
17372   grep -v '^ *+' conftest.er1 >conftest.err
17373   rm -f conftest.er1
17374   cat conftest.err >&5
17375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376   (exit $ac_status); } &&
17377          { ac_try='test -z "$ac_c_werror_flag"
17378                          || test ! -s conftest.err'
17379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17380   (eval $ac_try) 2>&5
17381   ac_status=$?
17382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17383   (exit $ac_status); }; } &&
17384          { ac_try='test -s conftest.$ac_objext'
17385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17386   (eval $ac_try) 2>&5
17387   ac_status=$?
17388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17389   (exit $ac_status); }; }; then
17390   glibcxx_cv_system_error1=yes
17391 else
17392   echo "$as_me: failed program was:" >&5
17393 sed 's/^/| /' conftest.$ac_ext >&5
17394
17395 glibcxx_cv_system_error1=no
17396 fi
17397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17398
17399 fi
17400
17401 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error1" >&5
17402 echo "${ECHO_T}$glibcxx_cv_system_error1" >&6
17403 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17404
17405 cat >>confdefs.h <<\_ACEOF
17406 #define HAVE_EOWNERDEAD 1
17407 _ACEOF
17408
17409 fi
17410 echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
17411 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
17412 if test "${glibcxx_cv_system_error2+set}" = set; then
17413   echo $ECHO_N "(cached) $ECHO_C" >&6
17414 else
17415
17416 cat >conftest.$ac_ext <<_ACEOF
17417 /* confdefs.h.  */
17418 _ACEOF
17419 cat confdefs.h >>conftest.$ac_ext
17420 cat >>conftest.$ac_ext <<_ACEOF
17421 /* end confdefs.h.  */
17422 #include <errno.h>
17423 int
17424 main ()
17425 {
17426 int i = ENOTRECOVERABLE;
17427   ;
17428   return 0;
17429 }
17430 _ACEOF
17431 rm -f conftest.$ac_objext
17432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17433   (eval $ac_compile) 2>conftest.er1
17434   ac_status=$?
17435   grep -v '^ *+' conftest.er1 >conftest.err
17436   rm -f conftest.er1
17437   cat conftest.err >&5
17438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439   (exit $ac_status); } &&
17440          { ac_try='test -z "$ac_c_werror_flag"
17441                          || test ! -s conftest.err'
17442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17443   (eval $ac_try) 2>&5
17444   ac_status=$?
17445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446   (exit $ac_status); }; } &&
17447          { ac_try='test -s conftest.$ac_objext'
17448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17449   (eval $ac_try) 2>&5
17450   ac_status=$?
17451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452   (exit $ac_status); }; }; then
17453   glibcxx_cv_system_error2=yes
17454 else
17455   echo "$as_me: failed program was:" >&5
17456 sed 's/^/| /' conftest.$ac_ext >&5
17457
17458 glibcxx_cv_system_error2=no
17459 fi
17460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17461
17462 fi
17463
17464 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error2" >&5
17465 echo "${ECHO_T}$glibcxx_cv_system_error2" >&6
17466 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17467
17468 cat >>confdefs.h <<\_ACEOF
17469 #define HAVE_ENOTRECOVERABLE 1
17470 _ACEOF
17471
17472 fi
17473 echo "$as_me:$LINENO: checking for ENOLINK" >&5
17474 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
17475 if test "${glibcxx_cv_system_error3+set}" = set; then
17476   echo $ECHO_N "(cached) $ECHO_C" >&6
17477 else
17478
17479 cat >conftest.$ac_ext <<_ACEOF
17480 /* confdefs.h.  */
17481 _ACEOF
17482 cat confdefs.h >>conftest.$ac_ext
17483 cat >>conftest.$ac_ext <<_ACEOF
17484 /* end confdefs.h.  */
17485 #include <errno.h>
17486 int
17487 main ()
17488 {
17489 int i = ENOLINK;
17490   ;
17491   return 0;
17492 }
17493 _ACEOF
17494 rm -f conftest.$ac_objext
17495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17496   (eval $ac_compile) 2>conftest.er1
17497   ac_status=$?
17498   grep -v '^ *+' conftest.er1 >conftest.err
17499   rm -f conftest.er1
17500   cat conftest.err >&5
17501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502   (exit $ac_status); } &&
17503          { ac_try='test -z "$ac_c_werror_flag"
17504                          || test ! -s conftest.err'
17505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17506   (eval $ac_try) 2>&5
17507   ac_status=$?
17508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509   (exit $ac_status); }; } &&
17510          { ac_try='test -s conftest.$ac_objext'
17511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17512   (eval $ac_try) 2>&5
17513   ac_status=$?
17514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515   (exit $ac_status); }; }; then
17516   glibcxx_cv_system_error3=yes
17517 else
17518   echo "$as_me: failed program was:" >&5
17519 sed 's/^/| /' conftest.$ac_ext >&5
17520
17521 glibcxx_cv_system_error3=no
17522 fi
17523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17524
17525 fi
17526
17527 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error3" >&5
17528 echo "${ECHO_T}$glibcxx_cv_system_error3" >&6
17529 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17530
17531 cat >>confdefs.h <<\_ACEOF
17532 #define HAVE_ENOLINK 1
17533 _ACEOF
17534
17535 fi
17536 echo "$as_me:$LINENO: checking for EPROTO" >&5
17537 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
17538 if test "${glibcxx_cv_system_error4+set}" = set; then
17539   echo $ECHO_N "(cached) $ECHO_C" >&6
17540 else
17541
17542 cat >conftest.$ac_ext <<_ACEOF
17543 /* confdefs.h.  */
17544 _ACEOF
17545 cat confdefs.h >>conftest.$ac_ext
17546 cat >>conftest.$ac_ext <<_ACEOF
17547 /* end confdefs.h.  */
17548 #include <errno.h>
17549 int
17550 main ()
17551 {
17552 int i = EPROTO;
17553   ;
17554   return 0;
17555 }
17556 _ACEOF
17557 rm -f conftest.$ac_objext
17558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17559   (eval $ac_compile) 2>conftest.er1
17560   ac_status=$?
17561   grep -v '^ *+' conftest.er1 >conftest.err
17562   rm -f conftest.er1
17563   cat conftest.err >&5
17564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565   (exit $ac_status); } &&
17566          { ac_try='test -z "$ac_c_werror_flag"
17567                          || test ! -s conftest.err'
17568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17569   (eval $ac_try) 2>&5
17570   ac_status=$?
17571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572   (exit $ac_status); }; } &&
17573          { ac_try='test -s conftest.$ac_objext'
17574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17575   (eval $ac_try) 2>&5
17576   ac_status=$?
17577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17578   (exit $ac_status); }; }; then
17579   glibcxx_cv_system_error4=yes
17580 else
17581   echo "$as_me: failed program was:" >&5
17582 sed 's/^/| /' conftest.$ac_ext >&5
17583
17584 glibcxx_cv_system_error4=no
17585 fi
17586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17587
17588 fi
17589
17590 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error4" >&5
17591 echo "${ECHO_T}$glibcxx_cv_system_error4" >&6
17592 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17593
17594 cat >>confdefs.h <<\_ACEOF
17595 #define HAVE_EPROTO 1
17596 _ACEOF
17597
17598 fi
17599 echo "$as_me:$LINENO: checking for ENODATA" >&5
17600 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
17601 if test "${glibcxx_cv_system_error5+set}" = set; then
17602   echo $ECHO_N "(cached) $ECHO_C" >&6
17603 else
17604
17605 cat >conftest.$ac_ext <<_ACEOF
17606 /* confdefs.h.  */
17607 _ACEOF
17608 cat confdefs.h >>conftest.$ac_ext
17609 cat >>conftest.$ac_ext <<_ACEOF
17610 /* end confdefs.h.  */
17611 #include <errno.h>
17612 int
17613 main ()
17614 {
17615 int i = ENODATA;
17616   ;
17617   return 0;
17618 }
17619 _ACEOF
17620 rm -f conftest.$ac_objext
17621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17622   (eval $ac_compile) 2>conftest.er1
17623   ac_status=$?
17624   grep -v '^ *+' conftest.er1 >conftest.err
17625   rm -f conftest.er1
17626   cat conftest.err >&5
17627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17628   (exit $ac_status); } &&
17629          { ac_try='test -z "$ac_c_werror_flag"
17630                          || test ! -s conftest.err'
17631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17632   (eval $ac_try) 2>&5
17633   ac_status=$?
17634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635   (exit $ac_status); }; } &&
17636          { ac_try='test -s conftest.$ac_objext'
17637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17638   (eval $ac_try) 2>&5
17639   ac_status=$?
17640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17641   (exit $ac_status); }; }; then
17642   glibcxx_cv_system_error5=yes
17643 else
17644   echo "$as_me: failed program was:" >&5
17645 sed 's/^/| /' conftest.$ac_ext >&5
17646
17647 glibcxx_cv_system_error5=no
17648 fi
17649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17650
17651 fi
17652
17653 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error5" >&5
17654 echo "${ECHO_T}$glibcxx_cv_system_error5" >&6
17655 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17656
17657 cat >>confdefs.h <<\_ACEOF
17658 #define HAVE_ENODATA 1
17659 _ACEOF
17660
17661 fi
17662 echo "$as_me:$LINENO: checking for ENOSR" >&5
17663 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
17664 if test "${glibcxx_cv_system_error6+set}" = set; then
17665   echo $ECHO_N "(cached) $ECHO_C" >&6
17666 else
17667
17668 cat >conftest.$ac_ext <<_ACEOF
17669 /* confdefs.h.  */
17670 _ACEOF
17671 cat confdefs.h >>conftest.$ac_ext
17672 cat >>conftest.$ac_ext <<_ACEOF
17673 /* end confdefs.h.  */
17674 #include <errno.h>
17675 int
17676 main ()
17677 {
17678 int i = ENOSR;
17679   ;
17680   return 0;
17681 }
17682 _ACEOF
17683 rm -f conftest.$ac_objext
17684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17685   (eval $ac_compile) 2>conftest.er1
17686   ac_status=$?
17687   grep -v '^ *+' conftest.er1 >conftest.err
17688   rm -f conftest.er1
17689   cat conftest.err >&5
17690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17691   (exit $ac_status); } &&
17692          { ac_try='test -z "$ac_c_werror_flag"
17693                          || test ! -s conftest.err'
17694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17695   (eval $ac_try) 2>&5
17696   ac_status=$?
17697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698   (exit $ac_status); }; } &&
17699          { ac_try='test -s conftest.$ac_objext'
17700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17701   (eval $ac_try) 2>&5
17702   ac_status=$?
17703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704   (exit $ac_status); }; }; then
17705   glibcxx_cv_system_error6=yes
17706 else
17707   echo "$as_me: failed program was:" >&5
17708 sed 's/^/| /' conftest.$ac_ext >&5
17709
17710 glibcxx_cv_system_error6=no
17711 fi
17712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17713
17714 fi
17715
17716 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error6" >&5
17717 echo "${ECHO_T}$glibcxx_cv_system_error6" >&6
17718 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17719
17720 cat >>confdefs.h <<\_ACEOF
17721 #define HAVE_ENOSR 1
17722 _ACEOF
17723
17724 fi
17725 echo "$as_me:$LINENO: checking for ENOSTR" >&5
17726 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
17727 if test "${glibcxx_cv_system_error7+set}" = set; then
17728   echo $ECHO_N "(cached) $ECHO_C" >&6
17729 else
17730
17731 cat >conftest.$ac_ext <<_ACEOF
17732 /* confdefs.h.  */
17733 _ACEOF
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h.  */
17737 #include <errno.h>
17738 int
17739 main ()
17740 {
17741 int i = ENOSTR;
17742   ;
17743   return 0;
17744 }
17745 _ACEOF
17746 rm -f conftest.$ac_objext
17747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17748   (eval $ac_compile) 2>conftest.er1
17749   ac_status=$?
17750   grep -v '^ *+' conftest.er1 >conftest.err
17751   rm -f conftest.er1
17752   cat conftest.err >&5
17753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754   (exit $ac_status); } &&
17755          { ac_try='test -z "$ac_c_werror_flag"
17756                          || test ! -s conftest.err'
17757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17758   (eval $ac_try) 2>&5
17759   ac_status=$?
17760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761   (exit $ac_status); }; } &&
17762          { ac_try='test -s conftest.$ac_objext'
17763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17764   (eval $ac_try) 2>&5
17765   ac_status=$?
17766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767   (exit $ac_status); }; }; then
17768   glibcxx_cv_system_error7=yes
17769 else
17770   echo "$as_me: failed program was:" >&5
17771 sed 's/^/| /' conftest.$ac_ext >&5
17772
17773 glibcxx_cv_system_error7=no
17774 fi
17775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17776
17777 fi
17778
17779 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error7" >&5
17780 echo "${ECHO_T}$glibcxx_cv_system_error7" >&6
17781 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17782
17783 cat >>confdefs.h <<\_ACEOF
17784 #define HAVE_ENOSTR 1
17785 _ACEOF
17786
17787 fi
17788 echo "$as_me:$LINENO: checking for ETIME" >&5
17789 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
17790 if test "${glibcxx_cv_system_error8+set}" = set; then
17791   echo $ECHO_N "(cached) $ECHO_C" >&6
17792 else
17793
17794 cat >conftest.$ac_ext <<_ACEOF
17795 /* confdefs.h.  */
17796 _ACEOF
17797 cat confdefs.h >>conftest.$ac_ext
17798 cat >>conftest.$ac_ext <<_ACEOF
17799 /* end confdefs.h.  */
17800 #include <errno.h>
17801 int
17802 main ()
17803 {
17804 int i = ETIME;
17805   ;
17806   return 0;
17807 }
17808 _ACEOF
17809 rm -f conftest.$ac_objext
17810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17811   (eval $ac_compile) 2>conftest.er1
17812   ac_status=$?
17813   grep -v '^ *+' conftest.er1 >conftest.err
17814   rm -f conftest.er1
17815   cat conftest.err >&5
17816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817   (exit $ac_status); } &&
17818          { ac_try='test -z "$ac_c_werror_flag"
17819                          || test ! -s conftest.err'
17820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17821   (eval $ac_try) 2>&5
17822   ac_status=$?
17823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17824   (exit $ac_status); }; } &&
17825          { ac_try='test -s conftest.$ac_objext'
17826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17827   (eval $ac_try) 2>&5
17828   ac_status=$?
17829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17830   (exit $ac_status); }; }; then
17831   glibcxx_cv_system_error8=yes
17832 else
17833   echo "$as_me: failed program was:" >&5
17834 sed 's/^/| /' conftest.$ac_ext >&5
17835
17836 glibcxx_cv_system_error8=no
17837 fi
17838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17839
17840 fi
17841
17842 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error8" >&5
17843 echo "${ECHO_T}$glibcxx_cv_system_error8" >&6
17844 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17845
17846 cat >>confdefs.h <<\_ACEOF
17847 #define HAVE_ETIME 1
17848 _ACEOF
17849
17850 fi
17851 echo "$as_me:$LINENO: checking for EBADMSG" >&5
17852 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
17853 if test "${glibcxx_cv_system_error9+set}" = set; then
17854   echo $ECHO_N "(cached) $ECHO_C" >&6
17855 else
17856
17857 cat >conftest.$ac_ext <<_ACEOF
17858 /* confdefs.h.  */
17859 _ACEOF
17860 cat confdefs.h >>conftest.$ac_ext
17861 cat >>conftest.$ac_ext <<_ACEOF
17862 /* end confdefs.h.  */
17863 #include <errno.h>
17864 int
17865 main ()
17866 {
17867 int i = EBADMSG;
17868   ;
17869   return 0;
17870 }
17871 _ACEOF
17872 rm -f conftest.$ac_objext
17873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17874   (eval $ac_compile) 2>conftest.er1
17875   ac_status=$?
17876   grep -v '^ *+' conftest.er1 >conftest.err
17877   rm -f conftest.er1
17878   cat conftest.err >&5
17879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880   (exit $ac_status); } &&
17881          { ac_try='test -z "$ac_c_werror_flag"
17882                          || test ! -s conftest.err'
17883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17884   (eval $ac_try) 2>&5
17885   ac_status=$?
17886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887   (exit $ac_status); }; } &&
17888          { ac_try='test -s conftest.$ac_objext'
17889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17890   (eval $ac_try) 2>&5
17891   ac_status=$?
17892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893   (exit $ac_status); }; }; then
17894   glibcxx_cv_system_error9=yes
17895 else
17896   echo "$as_me: failed program was:" >&5
17897 sed 's/^/| /' conftest.$ac_ext >&5
17898
17899 glibcxx_cv_system_error9=no
17900 fi
17901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17902
17903 fi
17904
17905 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error9" >&5
17906 echo "${ECHO_T}$glibcxx_cv_system_error9" >&6
17907 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17908
17909 cat >>confdefs.h <<\_ACEOF
17910 #define HAVE_EBADMSG 1
17911 _ACEOF
17912
17913 fi
17914 echo "$as_me:$LINENO: checking for ECANCELED" >&5
17915 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6
17916 if test "${glibcxx_cv_system_error10+set}" = set; then
17917   echo $ECHO_N "(cached) $ECHO_C" >&6
17918 else
17919
17920 cat >conftest.$ac_ext <<_ACEOF
17921 /* confdefs.h.  */
17922 _ACEOF
17923 cat confdefs.h >>conftest.$ac_ext
17924 cat >>conftest.$ac_ext <<_ACEOF
17925 /* end confdefs.h.  */
17926 #include <errno.h>
17927 int
17928 main ()
17929 {
17930 int i = ECANCELED;
17931   ;
17932   return 0;
17933 }
17934 _ACEOF
17935 rm -f conftest.$ac_objext
17936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17937   (eval $ac_compile) 2>conftest.er1
17938   ac_status=$?
17939   grep -v '^ *+' conftest.er1 >conftest.err
17940   rm -f conftest.er1
17941   cat conftest.err >&5
17942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17943   (exit $ac_status); } &&
17944          { ac_try='test -z "$ac_c_werror_flag"
17945                          || test ! -s conftest.err'
17946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17947   (eval $ac_try) 2>&5
17948   ac_status=$?
17949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950   (exit $ac_status); }; } &&
17951          { ac_try='test -s conftest.$ac_objext'
17952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17953   (eval $ac_try) 2>&5
17954   ac_status=$?
17955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956   (exit $ac_status); }; }; then
17957   glibcxx_cv_system_error10=yes
17958 else
17959   echo "$as_me: failed program was:" >&5
17960 sed 's/^/| /' conftest.$ac_ext >&5
17961
17962 glibcxx_cv_system_error10=no
17963 fi
17964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17965
17966 fi
17967
17968 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error10" >&5
17969 echo "${ECHO_T}$glibcxx_cv_system_error10" >&6
17970 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17971
17972 cat >>confdefs.h <<\_ACEOF
17973 #define HAVE_ECANCELED 1
17974 _ACEOF
17975
17976 fi
17977 echo "$as_me:$LINENO: checking for EOVERFLOW" >&5
17978 echo $ECHO_N "checking for EOVERFLOW... $ECHO_C" >&6
17979 if test "${glibcxx_cv_system_error11+set}" = set; then
17980   echo $ECHO_N "(cached) $ECHO_C" >&6
17981 else
17982
17983 cat >conftest.$ac_ext <<_ACEOF
17984 /* confdefs.h.  */
17985 _ACEOF
17986 cat confdefs.h >>conftest.$ac_ext
17987 cat >>conftest.$ac_ext <<_ACEOF
17988 /* end confdefs.h.  */
17989 #include <errno.h>
17990 int
17991 main ()
17992 {
17993 int i = EOVERFLOW;
17994   ;
17995   return 0;
17996 }
17997 _ACEOF
17998 rm -f conftest.$ac_objext
17999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18000   (eval $ac_compile) 2>conftest.er1
18001   ac_status=$?
18002   grep -v '^ *+' conftest.er1 >conftest.err
18003   rm -f conftest.er1
18004   cat conftest.err >&5
18005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006   (exit $ac_status); } &&
18007          { ac_try='test -z "$ac_c_werror_flag"
18008                          || test ! -s conftest.err'
18009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18010   (eval $ac_try) 2>&5
18011   ac_status=$?
18012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013   (exit $ac_status); }; } &&
18014          { ac_try='test -s conftest.$ac_objext'
18015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18016   (eval $ac_try) 2>&5
18017   ac_status=$?
18018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019   (exit $ac_status); }; }; then
18020   glibcxx_cv_system_error11=yes
18021 else
18022   echo "$as_me: failed program was:" >&5
18023 sed 's/^/| /' conftest.$ac_ext >&5
18024
18025 glibcxx_cv_system_error11=no
18026 fi
18027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18028
18029 fi
18030
18031 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error11" >&5
18032 echo "${ECHO_T}$glibcxx_cv_system_error11" >&6
18033 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18034
18035 cat >>confdefs.h <<\_ACEOF
18036 #define HAVE_EOVERFLOW 1
18037 _ACEOF
18038
18039 fi
18040 echo "$as_me:$LINENO: checking for ENOTSUP" >&5
18041 echo $ECHO_N "checking for ENOTSUP... $ECHO_C" >&6
18042 if test "${glibcxx_cv_system_error12+set}" = set; then
18043   echo $ECHO_N "(cached) $ECHO_C" >&6
18044 else
18045
18046 cat >conftest.$ac_ext <<_ACEOF
18047 /* confdefs.h.  */
18048 _ACEOF
18049 cat confdefs.h >>conftest.$ac_ext
18050 cat >>conftest.$ac_ext <<_ACEOF
18051 /* end confdefs.h.  */
18052 #include <errno.h>
18053 int
18054 main ()
18055 {
18056 int i = ENOTSUP;
18057   ;
18058   return 0;
18059 }
18060 _ACEOF
18061 rm -f conftest.$ac_objext
18062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18063   (eval $ac_compile) 2>conftest.er1
18064   ac_status=$?
18065   grep -v '^ *+' conftest.er1 >conftest.err
18066   rm -f conftest.er1
18067   cat conftest.err >&5
18068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069   (exit $ac_status); } &&
18070          { ac_try='test -z "$ac_c_werror_flag"
18071                          || test ! -s conftest.err'
18072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18073   (eval $ac_try) 2>&5
18074   ac_status=$?
18075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076   (exit $ac_status); }; } &&
18077          { ac_try='test -s conftest.$ac_objext'
18078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18079   (eval $ac_try) 2>&5
18080   ac_status=$?
18081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18082   (exit $ac_status); }; }; then
18083   glibcxx_cv_system_error12=yes
18084 else
18085   echo "$as_me: failed program was:" >&5
18086 sed 's/^/| /' conftest.$ac_ext >&5
18087
18088 glibcxx_cv_system_error12=no
18089 fi
18090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18091
18092 fi
18093
18094 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error12" >&5
18095 echo "${ECHO_T}$glibcxx_cv_system_error12" >&6
18096 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18097
18098 cat >>confdefs.h <<\_ACEOF
18099 #define HAVE_ENOTSUP 1
18100 _ACEOF
18101
18102 fi
18103 echo "$as_me:$LINENO: checking for EIDRM" >&5
18104 echo $ECHO_N "checking for EIDRM... $ECHO_C" >&6
18105 if test "${glibcxx_cv_system_error13+set}" = set; then
18106   echo $ECHO_N "(cached) $ECHO_C" >&6
18107 else
18108
18109 cat >conftest.$ac_ext <<_ACEOF
18110 /* confdefs.h.  */
18111 _ACEOF
18112 cat confdefs.h >>conftest.$ac_ext
18113 cat >>conftest.$ac_ext <<_ACEOF
18114 /* end confdefs.h.  */
18115 #include <errno.h>
18116 int
18117 main ()
18118 {
18119 int i = EIDRM;
18120   ;
18121   return 0;
18122 }
18123 _ACEOF
18124 rm -f conftest.$ac_objext
18125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18126   (eval $ac_compile) 2>conftest.er1
18127   ac_status=$?
18128   grep -v '^ *+' conftest.er1 >conftest.err
18129   rm -f conftest.er1
18130   cat conftest.err >&5
18131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132   (exit $ac_status); } &&
18133          { ac_try='test -z "$ac_c_werror_flag"
18134                          || test ! -s conftest.err'
18135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18136   (eval $ac_try) 2>&5
18137   ac_status=$?
18138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18139   (exit $ac_status); }; } &&
18140          { ac_try='test -s conftest.$ac_objext'
18141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18142   (eval $ac_try) 2>&5
18143   ac_status=$?
18144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18145   (exit $ac_status); }; }; then
18146   glibcxx_cv_system_error13=yes
18147 else
18148   echo "$as_me: failed program was:" >&5
18149 sed 's/^/| /' conftest.$ac_ext >&5
18150
18151 glibcxx_cv_system_error13=no
18152 fi
18153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18154
18155 fi
18156
18157 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error13" >&5
18158 echo "${ECHO_T}$glibcxx_cv_system_error13" >&6
18159 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18160
18161 cat >>confdefs.h <<\_ACEOF
18162 #define HAVE_EIDRM 1
18163 _ACEOF
18164
18165 fi
18166 echo "$as_me:$LINENO: checking for ETXTBSY" >&5
18167 echo $ECHO_N "checking for ETXTBSY... $ECHO_C" >&6
18168 if test "${glibcxx_cv_system_error14+set}" = set; then
18169   echo $ECHO_N "(cached) $ECHO_C" >&6
18170 else
18171
18172 cat >conftest.$ac_ext <<_ACEOF
18173 /* confdefs.h.  */
18174 _ACEOF
18175 cat confdefs.h >>conftest.$ac_ext
18176 cat >>conftest.$ac_ext <<_ACEOF
18177 /* end confdefs.h.  */
18178 #include <errno.h>
18179 int
18180 main ()
18181 {
18182 int i = ETXTBSY;
18183   ;
18184   return 0;
18185 }
18186 _ACEOF
18187 rm -f conftest.$ac_objext
18188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18189   (eval $ac_compile) 2>conftest.er1
18190   ac_status=$?
18191   grep -v '^ *+' conftest.er1 >conftest.err
18192   rm -f conftest.er1
18193   cat conftest.err >&5
18194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195   (exit $ac_status); } &&
18196          { ac_try='test -z "$ac_c_werror_flag"
18197                          || test ! -s conftest.err'
18198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18199   (eval $ac_try) 2>&5
18200   ac_status=$?
18201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202   (exit $ac_status); }; } &&
18203          { ac_try='test -s conftest.$ac_objext'
18204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18205   (eval $ac_try) 2>&5
18206   ac_status=$?
18207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208   (exit $ac_status); }; }; then
18209   glibcxx_cv_system_error14=yes
18210 else
18211   echo "$as_me: failed program was:" >&5
18212 sed 's/^/| /' conftest.$ac_ext >&5
18213
18214 glibcxx_cv_system_error14=no
18215 fi
18216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18217
18218 fi
18219
18220 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error14" >&5
18221 echo "${ECHO_T}$glibcxx_cv_system_error14" >&6
18222 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18223
18224 cat >>confdefs.h <<\_ACEOF
18225 #define HAVE_ETXTBSY 1
18226 _ACEOF
18227
18228 fi
18229
18230
18231
18232
18233 # Only do link tests if native. Else, hardcode.
18234 if $GLIBCXX_IS_NATIVE; then
18235
18236   # We can do more elaborate tests that assume a working linker.
18237   CANADIAN=no
18238
18239   # Check for available headers.
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
18255   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h \
18256   sys/types.h sys/ipc.h sys/sem.h
18257 do
18258 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18260   echo "$as_me:$LINENO: checking for $ac_header" >&5
18261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18263   echo $ECHO_N "(cached) $ECHO_C" >&6
18264 fi
18265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18267 else
18268   # Is the header compilable?
18269 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18270 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18271 cat >conftest.$ac_ext <<_ACEOF
18272 /* confdefs.h.  */
18273 _ACEOF
18274 cat confdefs.h >>conftest.$ac_ext
18275 cat >>conftest.$ac_ext <<_ACEOF
18276 /* end confdefs.h.  */
18277 $ac_includes_default
18278 #include <$ac_header>
18279 _ACEOF
18280 rm -f conftest.$ac_objext
18281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18282   (eval $ac_compile) 2>conftest.er1
18283   ac_status=$?
18284   grep -v '^ *+' conftest.er1 >conftest.err
18285   rm -f conftest.er1
18286   cat conftest.err >&5
18287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288   (exit $ac_status); } &&
18289          { ac_try='test -z "$ac_c_werror_flag"
18290                          || test ! -s conftest.err'
18291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18292   (eval $ac_try) 2>&5
18293   ac_status=$?
18294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18295   (exit $ac_status); }; } &&
18296          { ac_try='test -s conftest.$ac_objext'
18297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18298   (eval $ac_try) 2>&5
18299   ac_status=$?
18300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18301   (exit $ac_status); }; }; then
18302   ac_header_compiler=yes
18303 else
18304   echo "$as_me: failed program was:" >&5
18305 sed 's/^/| /' conftest.$ac_ext >&5
18306
18307 ac_header_compiler=no
18308 fi
18309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18310 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18311 echo "${ECHO_T}$ac_header_compiler" >&6
18312
18313 # Is the header present?
18314 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18315 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18316 cat >conftest.$ac_ext <<_ACEOF
18317 /* confdefs.h.  */
18318 _ACEOF
18319 cat confdefs.h >>conftest.$ac_ext
18320 cat >>conftest.$ac_ext <<_ACEOF
18321 /* end confdefs.h.  */
18322 #include <$ac_header>
18323 _ACEOF
18324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18325   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18326   ac_status=$?
18327   grep -v '^ *+' conftest.er1 >conftest.err
18328   rm -f conftest.er1
18329   cat conftest.err >&5
18330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331   (exit $ac_status); } >/dev/null; then
18332   if test -s conftest.err; then
18333     ac_cpp_err=$ac_c_preproc_warn_flag
18334     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18335   else
18336     ac_cpp_err=
18337   fi
18338 else
18339   ac_cpp_err=yes
18340 fi
18341 if test -z "$ac_cpp_err"; then
18342   ac_header_preproc=yes
18343 else
18344   echo "$as_me: failed program was:" >&5
18345 sed 's/^/| /' conftest.$ac_ext >&5
18346
18347   ac_header_preproc=no
18348 fi
18349 rm -f conftest.err conftest.$ac_ext
18350 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18351 echo "${ECHO_T}$ac_header_preproc" >&6
18352
18353 # So?  What about this header?
18354 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18355   yes:no: )
18356     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18357 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18358     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18359 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18360     ac_header_preproc=yes
18361     ;;
18362   no:yes:* )
18363     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18364 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18365     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
18366 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
18367     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18368 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18369     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
18370 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
18371     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18372 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18373     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18374 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18375     (
18376       cat <<\_ASBOX
18377 ## ----------------------------------------- ##
18378 ## Report this to the package-unused lists.  ##
18379 ## ----------------------------------------- ##
18380 _ASBOX
18381     ) |
18382       sed "s/^/$as_me: WARNING:     /" >&2
18383     ;;
18384 esac
18385 echo "$as_me:$LINENO: checking for $ac_header" >&5
18386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18388   echo $ECHO_N "(cached) $ECHO_C" >&6
18389 else
18390   eval "$as_ac_Header=\$ac_header_preproc"
18391 fi
18392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18394
18395 fi
18396 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18397   cat >>confdefs.h <<_ACEOF
18398 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18399 _ACEOF
18400
18401 fi
18402
18403 done
18404
18405
18406
18407
18408 # Check whether --with-gnu-ld or --without-gnu-ld was given.
18409 if test "${with_gnu_ld+set}" = set; then
18410   withval="$with_gnu_ld"
18411   test "$withval" = no || with_gnu_ld=yes
18412 else
18413   with_gnu_ld=no
18414 fi;
18415 ac_prog=ld
18416 if test "$GCC" = yes; then
18417   # Check if gcc -print-prog-name=ld gives a path.
18418   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18419 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
18420   case $host in
18421   *-*-mingw*)
18422     # gcc leaves a trailing carriage return which upsets mingw
18423     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18424   *)
18425     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18426   esac
18427   case $ac_prog in
18428     # Accept absolute paths.
18429     [\\/]* | ?:[\\/]*)
18430       re_direlt='/[^/][^/]*/\.\./'
18431       # Canonicalize the pathname of ld
18432       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18433       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18434         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18435       done
18436       test -z "$LD" && LD="$ac_prog"
18437       ;;
18438   "")
18439     # If it fails, then pretend we aren't using GCC.
18440     ac_prog=ld
18441     ;;
18442   *)
18443     # If it is relative, then search for the first ld in PATH.
18444     with_gnu_ld=unknown
18445     ;;
18446   esac
18447 elif test "$with_gnu_ld" = yes; then
18448   echo "$as_me:$LINENO: checking for GNU ld" >&5
18449 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18450 else
18451   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18452 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18453 fi
18454 if test "${lt_cv_path_LD+set}" = set; then
18455   echo $ECHO_N "(cached) $ECHO_C" >&6
18456 else
18457   if test -z "$LD"; then
18458   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18459   for ac_dir in $PATH; do
18460     IFS="$lt_save_ifs"
18461     test -z "$ac_dir" && ac_dir=.
18462     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18463       lt_cv_path_LD="$ac_dir/$ac_prog"
18464       # Check to see if the program is GNU ld.  I'd rather use --version,
18465       # but apparently some variants of GNU ld only accept -v.
18466       # Break only if it was the GNU/non-GNU ld that we prefer.
18467       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18468       *GNU* | *'with BFD'*)
18469         test "$with_gnu_ld" != no && break
18470         ;;
18471       *)
18472         test "$with_gnu_ld" != yes && break
18473         ;;
18474       esac
18475     fi
18476   done
18477   IFS="$lt_save_ifs"
18478 else
18479   lt_cv_path_LD="$LD" # Let the user override the test with a path.
18480 fi
18481 fi
18482
18483 LD="$lt_cv_path_LD"
18484 if test -n "$LD"; then
18485   echo "$as_me:$LINENO: result: $LD" >&5
18486 echo "${ECHO_T}$LD" >&6
18487 else
18488   echo "$as_me:$LINENO: result: no" >&5
18489 echo "${ECHO_T}no" >&6
18490 fi
18491 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18492 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18493    { (exit 1); exit 1; }; }
18494 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18495 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18496 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18497   echo $ECHO_N "(cached) $ECHO_C" >&6
18498 else
18499   # I'd rather use --version here, but apparently some GNU lds only accept -v.
18500 case `$LD -v 2>&1 </dev/null` in
18501 *GNU* | *'with BFD'*)
18502   lt_cv_prog_gnu_ld=yes
18503   ;;
18504 *)
18505   lt_cv_prog_gnu_ld=no
18506   ;;
18507 esac
18508 fi
18509 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18510 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
18511 with_gnu_ld=$lt_cv_prog_gnu_ld
18512
18513
18514
18515
18516
18517
18518
18519   # If we're not using GNU ld, then there's no point in even trying these
18520   # tests.  Check for that first.  We should have already tested for gld
18521   # by now (in libtool), but require it now just to be safe...
18522   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
18523   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
18524
18525
18526
18527   # The name set by libtool depends on the version of libtool.  Shame on us
18528   # for depending on an impl detail, but c'est la vie.  Older versions used
18529   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
18530   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
18531   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
18532   # set (hence we're using an older libtool), then set it.
18533   if test x${with_gnu_ld+set} != xset; then
18534     if test x${ac_cv_prog_gnu_ld+set} != xset; then
18535       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
18536       with_gnu_ld=no
18537     else
18538       with_gnu_ld=$ac_cv_prog_gnu_ld
18539     fi
18540   fi
18541
18542   # Start by getting the version number.  I think the libtool test already
18543   # does some of this, but throws away the result.
18544   glibcxx_ld_is_gold=no
18545   if test x"$with_gnu_ld" = x"yes"; then
18546     echo "$as_me:$LINENO: checking for ld version" >&5
18547 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
18548
18549     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
18550       glibcxx_ld_is_gold=yes
18551     fi
18552     ldver=`$LD --version 2>/dev/null | head -1 | \
18553            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
18554
18555     glibcxx_gnu_ld_version=`echo $ldver | \
18556            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
18557     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
18558 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
18559   fi
18560
18561   # Set --gc-sections.
18562   glibcxx_have_gc_sections=no
18563   if test "$glibcxx_ld_is_gold" = "yes"; then
18564     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
18565       glibcxx_have_gc_sections=yes
18566     fi
18567   else
18568     glibcxx_gcsections_min_ld=21602
18569     if test x"$with_gnu_ld" = x"yes" &&
18570         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
18571       glibcxx_have_gc_sections=yes
18572     fi
18573   fi
18574   if test "$glibcxx_have_gc_sections" = "yes"; then
18575     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
18576     # NB: This flag only works reliably after 2.16.1. Configure tests
18577     # for this are difficult, so hard wire a value that should work.
18578
18579     ac_test_CFLAGS="${CFLAGS+set}"
18580     ac_save_CFLAGS="$CFLAGS"
18581     CFLAGS='-Wl,--gc-sections'
18582
18583     # Check for -Wl,--gc-sections
18584     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
18585 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
18586     if test x$gcc_no_link = xyes; then
18587   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18589    { (exit 1); exit 1; }; }
18590 fi
18591 cat >conftest.$ac_ext <<_ACEOF
18592 /* confdefs.h.  */
18593 _ACEOF
18594 cat confdefs.h >>conftest.$ac_ext
18595 cat >>conftest.$ac_ext <<_ACEOF
18596 /* end confdefs.h.  */
18597  int one(void) { return 1; }
18598      int two(void) { return 2; }
18599
18600 int
18601 main ()
18602 {
18603  two();
18604   ;
18605   return 0;
18606 }
18607 _ACEOF
18608 rm -f conftest.$ac_objext conftest$ac_exeext
18609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18610   (eval $ac_link) 2>conftest.er1
18611   ac_status=$?
18612   grep -v '^ *+' conftest.er1 >conftest.err
18613   rm -f conftest.er1
18614   cat conftest.err >&5
18615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616   (exit $ac_status); } &&
18617          { ac_try='test -z "$ac_c_werror_flag"
18618                          || test ! -s conftest.err'
18619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18620   (eval $ac_try) 2>&5
18621   ac_status=$?
18622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623   (exit $ac_status); }; } &&
18624          { ac_try='test -s conftest$ac_exeext'
18625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18626   (eval $ac_try) 2>&5
18627   ac_status=$?
18628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629   (exit $ac_status); }; }; then
18630   ac_gcsections=yes
18631 else
18632   echo "$as_me: failed program was:" >&5
18633 sed 's/^/| /' conftest.$ac_ext >&5
18634
18635 ac_gcsections=no
18636 fi
18637 rm -f conftest.err conftest.$ac_objext \
18638       conftest$ac_exeext conftest.$ac_ext
18639     if test "$ac_gcsections" = "yes"; then
18640       rm -f conftest.c
18641       touch conftest.c
18642       if $CC -c conftest.c; then
18643         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
18644            grep "Warning: gc-sections option ignored" > /dev/null; then
18645           ac_gcsections=no
18646         fi
18647       fi
18648       rm -f conftest.c conftest.o conftest
18649     fi
18650     if test "$ac_gcsections" = "yes"; then
18651       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
18652     fi
18653     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
18654 echo "${ECHO_T}$ac_gcsections" >&6
18655
18656     if test "$ac_test_CFLAGS" = set; then
18657       CFLAGS="$ac_save_CFLAGS"
18658     else
18659       # this is the suspicious part
18660       CFLAGS=''
18661     fi
18662   fi
18663
18664   # Set -z,relro.
18665   # Note this is only for shared objects.
18666   ac_ld_relro=no
18667   if test x"$with_gnu_ld" = x"yes"; then
18668     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
18669 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
18670     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
18671     if test -n "$cxx_z_relo"; then
18672       OPT_LDFLAGS="-Wl,-z,relro"
18673       ac_ld_relro=yes
18674     fi
18675     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
18676 echo "${ECHO_T}$ac_ld_relro" >&6
18677   fi
18678
18679   # Set linker optimization flags.
18680   if test x"$with_gnu_ld" = x"yes"; then
18681     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
18682   fi
18683
18684
18685
18686
18687
18688   ac_test_CXXFLAGS="${CXXFLAGS+set}"
18689   ac_save_CXXFLAGS="$CXXFLAGS"
18690   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
18691
18692     echo "$as_me:$LINENO: checking for sin in -lm" >&5
18693 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
18694 if test "${ac_cv_lib_m_sin+set}" = set; then
18695   echo $ECHO_N "(cached) $ECHO_C" >&6
18696 else
18697   ac_check_lib_save_LIBS=$LIBS
18698 LIBS="-lm  $LIBS"
18699 if test x$gcc_no_link = xyes; then
18700   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18702    { (exit 1); exit 1; }; }
18703 fi
18704 cat >conftest.$ac_ext <<_ACEOF
18705 /* confdefs.h.  */
18706 _ACEOF
18707 cat confdefs.h >>conftest.$ac_ext
18708 cat >>conftest.$ac_ext <<_ACEOF
18709 /* end confdefs.h.  */
18710
18711 /* Override any gcc2 internal prototype to avoid an error.  */
18712 #ifdef __cplusplus
18713 extern "C"
18714 #endif
18715 /* We use char because int might match the return type of a gcc2
18716    builtin and then its argument prototype would still apply.  */
18717 char sin ();
18718 int
18719 main ()
18720 {
18721 sin ();
18722   ;
18723   return 0;
18724 }
18725 _ACEOF
18726 rm -f conftest.$ac_objext conftest$ac_exeext
18727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18728   (eval $ac_link) 2>conftest.er1
18729   ac_status=$?
18730   grep -v '^ *+' conftest.er1 >conftest.err
18731   rm -f conftest.er1
18732   cat conftest.err >&5
18733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734   (exit $ac_status); } &&
18735          { ac_try='test -z "$ac_c_werror_flag"
18736                          || test ! -s conftest.err'
18737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18738   (eval $ac_try) 2>&5
18739   ac_status=$?
18740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18741   (exit $ac_status); }; } &&
18742          { ac_try='test -s conftest$ac_exeext'
18743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18744   (eval $ac_try) 2>&5
18745   ac_status=$?
18746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747   (exit $ac_status); }; }; then
18748   ac_cv_lib_m_sin=yes
18749 else
18750   echo "$as_me: failed program was:" >&5
18751 sed 's/^/| /' conftest.$ac_ext >&5
18752
18753 ac_cv_lib_m_sin=no
18754 fi
18755 rm -f conftest.err conftest.$ac_objext \
18756       conftest$ac_exeext conftest.$ac_ext
18757 LIBS=$ac_check_lib_save_LIBS
18758 fi
18759 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
18760 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
18761 if test $ac_cv_lib_m_sin = yes; then
18762   libm="-lm"
18763 fi
18764
18765   ac_save_LIBS="$LIBS"
18766   LIBS="$LIBS $libm"
18767
18768
18769
18770   echo "$as_me:$LINENO: checking for isinf declaration" >&5
18771 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
18772   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
18773     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
18774   echo $ECHO_N "(cached) $ECHO_C" >&6
18775 else
18776
18777
18778
18779       ac_ext=cc
18780 ac_cpp='$CXXCPP $CPPFLAGS'
18781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18784
18785       cat >conftest.$ac_ext <<_ACEOF
18786 /* confdefs.h.  */
18787 _ACEOF
18788 cat confdefs.h >>conftest.$ac_ext
18789 cat >>conftest.$ac_ext <<_ACEOF
18790 /* end confdefs.h.  */
18791 #include <math.h>
18792                       #ifdef HAVE_IEEEFP_H
18793                       #include <ieeefp.h>
18794                       #endif
18795
18796 int
18797 main ()
18798 {
18799  isinf(0);
18800   ;
18801   return 0;
18802 }
18803 _ACEOF
18804 rm -f conftest.$ac_objext
18805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18806   (eval $ac_compile) 2>conftest.er1
18807   ac_status=$?
18808   grep -v '^ *+' conftest.er1 >conftest.err
18809   rm -f conftest.er1
18810   cat conftest.err >&5
18811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812   (exit $ac_status); } &&
18813          { ac_try='test -z "$ac_cxx_werror_flag"
18814                          || test ! -s conftest.err'
18815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18816   (eval $ac_try) 2>&5
18817   ac_status=$?
18818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18819   (exit $ac_status); }; } &&
18820          { ac_try='test -s conftest.$ac_objext'
18821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18822   (eval $ac_try) 2>&5
18823   ac_status=$?
18824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18825   (exit $ac_status); }; }; then
18826   glibcxx_cv_func_isinf_use=yes
18827 else
18828   echo "$as_me: failed program was:" >&5
18829 sed 's/^/| /' conftest.$ac_ext >&5
18830
18831 glibcxx_cv_func_isinf_use=no
18832 fi
18833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18834       ac_ext=c
18835 ac_cpp='$CPP $CPPFLAGS'
18836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18839
18840
18841 fi
18842
18843   fi
18844   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
18845 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
18846
18847   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
18848
18849 for ac_func in isinf
18850 do
18851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18852 echo "$as_me:$LINENO: checking for $ac_func" >&5
18853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18854 if eval "test \"\${$as_ac_var+set}\" = set"; then
18855   echo $ECHO_N "(cached) $ECHO_C" >&6
18856 else
18857   if test x$gcc_no_link = xyes; then
18858   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18860    { (exit 1); exit 1; }; }
18861 fi
18862 cat >conftest.$ac_ext <<_ACEOF
18863 /* confdefs.h.  */
18864 _ACEOF
18865 cat confdefs.h >>conftest.$ac_ext
18866 cat >>conftest.$ac_ext <<_ACEOF
18867 /* end confdefs.h.  */
18868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18869    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18870 #define $ac_func innocuous_$ac_func
18871
18872 /* System header to define __stub macros and hopefully few prototypes,
18873     which can conflict with char $ac_func (); below.
18874     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18875     <limits.h> exists even on freestanding compilers.  */
18876
18877 #ifdef __STDC__
18878 # include <limits.h>
18879 #else
18880 # include <assert.h>
18881 #endif
18882
18883 #undef $ac_func
18884
18885 /* Override any gcc2 internal prototype to avoid an error.  */
18886 #ifdef __cplusplus
18887 extern "C"
18888 {
18889 #endif
18890 /* We use char because int might match the return type of a gcc2
18891    builtin and then its argument prototype would still apply.  */
18892 char $ac_func ();
18893 /* The GNU C library defines this for functions which it implements
18894     to always fail with ENOSYS.  Some functions are actually named
18895     something starting with __ and the normal name is an alias.  */
18896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18897 choke me
18898 #else
18899 char (*f) () = $ac_func;
18900 #endif
18901 #ifdef __cplusplus
18902 }
18903 #endif
18904
18905 int
18906 main ()
18907 {
18908 return f != $ac_func;
18909   ;
18910   return 0;
18911 }
18912 _ACEOF
18913 rm -f conftest.$ac_objext conftest$ac_exeext
18914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18915   (eval $ac_link) 2>conftest.er1
18916   ac_status=$?
18917   grep -v '^ *+' conftest.er1 >conftest.err
18918   rm -f conftest.er1
18919   cat conftest.err >&5
18920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18921   (exit $ac_status); } &&
18922          { ac_try='test -z "$ac_c_werror_flag"
18923                          || test ! -s conftest.err'
18924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18925   (eval $ac_try) 2>&5
18926   ac_status=$?
18927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18928   (exit $ac_status); }; } &&
18929          { ac_try='test -s conftest$ac_exeext'
18930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18931   (eval $ac_try) 2>&5
18932   ac_status=$?
18933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18934   (exit $ac_status); }; }; then
18935   eval "$as_ac_var=yes"
18936 else
18937   echo "$as_me: failed program was:" >&5
18938 sed 's/^/| /' conftest.$ac_ext >&5
18939
18940 eval "$as_ac_var=no"
18941 fi
18942 rm -f conftest.err conftest.$ac_objext \
18943       conftest$ac_exeext conftest.$ac_ext
18944 fi
18945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18947 if test `eval echo '${'$as_ac_var'}'` = yes; then
18948   cat >>confdefs.h <<_ACEOF
18949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18950 _ACEOF
18951
18952 fi
18953 done
18954
18955   else
18956
18957   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
18958 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
18959   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
18960     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
18961   echo $ECHO_N "(cached) $ECHO_C" >&6
18962 else
18963
18964
18965
18966       ac_ext=cc
18967 ac_cpp='$CXXCPP $CPPFLAGS'
18968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18971
18972       cat >conftest.$ac_ext <<_ACEOF
18973 /* confdefs.h.  */
18974 _ACEOF
18975 cat confdefs.h >>conftest.$ac_ext
18976 cat >>conftest.$ac_ext <<_ACEOF
18977 /* end confdefs.h.  */
18978 #include <math.h>
18979                       #ifdef HAVE_IEEEFP_H
18980                       #include <ieeefp.h>
18981                       #endif
18982
18983 int
18984 main ()
18985 {
18986  _isinf(0);
18987   ;
18988   return 0;
18989 }
18990 _ACEOF
18991 rm -f conftest.$ac_objext
18992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18993   (eval $ac_compile) 2>conftest.er1
18994   ac_status=$?
18995   grep -v '^ *+' conftest.er1 >conftest.err
18996   rm -f conftest.er1
18997   cat conftest.err >&5
18998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999   (exit $ac_status); } &&
19000          { ac_try='test -z "$ac_cxx_werror_flag"
19001                          || test ! -s conftest.err'
19002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19003   (eval $ac_try) 2>&5
19004   ac_status=$?
19005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19006   (exit $ac_status); }; } &&
19007          { ac_try='test -s conftest.$ac_objext'
19008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19009   (eval $ac_try) 2>&5
19010   ac_status=$?
19011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012   (exit $ac_status); }; }; then
19013   glibcxx_cv_func__isinf_use=yes
19014 else
19015   echo "$as_me: failed program was:" >&5
19016 sed 's/^/| /' conftest.$ac_ext >&5
19017
19018 glibcxx_cv_func__isinf_use=no
19019 fi
19020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19021       ac_ext=c
19022 ac_cpp='$CPP $CPPFLAGS'
19023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19026
19027
19028 fi
19029
19030   fi
19031   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
19032 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
19033
19034     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19035
19036 for ac_func in _isinf
19037 do
19038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19039 echo "$as_me:$LINENO: checking for $ac_func" >&5
19040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19041 if eval "test \"\${$as_ac_var+set}\" = set"; then
19042   echo $ECHO_N "(cached) $ECHO_C" >&6
19043 else
19044   if test x$gcc_no_link = xyes; then
19045   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19047    { (exit 1); exit 1; }; }
19048 fi
19049 cat >conftest.$ac_ext <<_ACEOF
19050 /* confdefs.h.  */
19051 _ACEOF
19052 cat confdefs.h >>conftest.$ac_ext
19053 cat >>conftest.$ac_ext <<_ACEOF
19054 /* end confdefs.h.  */
19055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19056    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19057 #define $ac_func innocuous_$ac_func
19058
19059 /* System header to define __stub macros and hopefully few prototypes,
19060     which can conflict with char $ac_func (); below.
19061     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19062     <limits.h> exists even on freestanding compilers.  */
19063
19064 #ifdef __STDC__
19065 # include <limits.h>
19066 #else
19067 # include <assert.h>
19068 #endif
19069
19070 #undef $ac_func
19071
19072 /* Override any gcc2 internal prototype to avoid an error.  */
19073 #ifdef __cplusplus
19074 extern "C"
19075 {
19076 #endif
19077 /* We use char because int might match the return type of a gcc2
19078    builtin and then its argument prototype would still apply.  */
19079 char $ac_func ();
19080 /* The GNU C library defines this for functions which it implements
19081     to always fail with ENOSYS.  Some functions are actually named
19082     something starting with __ and the normal name is an alias.  */
19083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19084 choke me
19085 #else
19086 char (*f) () = $ac_func;
19087 #endif
19088 #ifdef __cplusplus
19089 }
19090 #endif
19091
19092 int
19093 main ()
19094 {
19095 return f != $ac_func;
19096   ;
19097   return 0;
19098 }
19099 _ACEOF
19100 rm -f conftest.$ac_objext conftest$ac_exeext
19101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19102   (eval $ac_link) 2>conftest.er1
19103   ac_status=$?
19104   grep -v '^ *+' conftest.er1 >conftest.err
19105   rm -f conftest.er1
19106   cat conftest.err >&5
19107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108   (exit $ac_status); } &&
19109          { ac_try='test -z "$ac_c_werror_flag"
19110                          || test ! -s conftest.err'
19111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19112   (eval $ac_try) 2>&5
19113   ac_status=$?
19114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115   (exit $ac_status); }; } &&
19116          { ac_try='test -s conftest$ac_exeext'
19117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19118   (eval $ac_try) 2>&5
19119   ac_status=$?
19120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19121   (exit $ac_status); }; }; then
19122   eval "$as_ac_var=yes"
19123 else
19124   echo "$as_me: failed program was:" >&5
19125 sed 's/^/| /' conftest.$ac_ext >&5
19126
19127 eval "$as_ac_var=no"
19128 fi
19129 rm -f conftest.err conftest.$ac_objext \
19130       conftest$ac_exeext conftest.$ac_ext
19131 fi
19132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19134 if test `eval echo '${'$as_ac_var'}'` = yes; then
19135   cat >>confdefs.h <<_ACEOF
19136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19137 _ACEOF
19138
19139 fi
19140 done
19141
19142     fi
19143   fi
19144
19145
19146
19147
19148
19149
19150   echo "$as_me:$LINENO: checking for isnan declaration" >&5
19151 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
19152   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19153     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
19154   echo $ECHO_N "(cached) $ECHO_C" >&6
19155 else
19156
19157
19158
19159       ac_ext=cc
19160 ac_cpp='$CXXCPP $CPPFLAGS'
19161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19164
19165       cat >conftest.$ac_ext <<_ACEOF
19166 /* confdefs.h.  */
19167 _ACEOF
19168 cat confdefs.h >>conftest.$ac_ext
19169 cat >>conftest.$ac_ext <<_ACEOF
19170 /* end confdefs.h.  */
19171 #include <math.h>
19172                       #ifdef HAVE_IEEEFP_H
19173                       #include <ieeefp.h>
19174                       #endif
19175
19176 int
19177 main ()
19178 {
19179  isnan(0);
19180   ;
19181   return 0;
19182 }
19183 _ACEOF
19184 rm -f conftest.$ac_objext
19185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19186   (eval $ac_compile) 2>conftest.er1
19187   ac_status=$?
19188   grep -v '^ *+' conftest.er1 >conftest.err
19189   rm -f conftest.er1
19190   cat conftest.err >&5
19191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19192   (exit $ac_status); } &&
19193          { ac_try='test -z "$ac_cxx_werror_flag"
19194                          || test ! -s conftest.err'
19195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19196   (eval $ac_try) 2>&5
19197   ac_status=$?
19198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19199   (exit $ac_status); }; } &&
19200          { ac_try='test -s conftest.$ac_objext'
19201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19202   (eval $ac_try) 2>&5
19203   ac_status=$?
19204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19205   (exit $ac_status); }; }; then
19206   glibcxx_cv_func_isnan_use=yes
19207 else
19208   echo "$as_me: failed program was:" >&5
19209 sed 's/^/| /' conftest.$ac_ext >&5
19210
19211 glibcxx_cv_func_isnan_use=no
19212 fi
19213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19214       ac_ext=c
19215 ac_cpp='$CPP $CPPFLAGS'
19216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19219
19220
19221 fi
19222
19223   fi
19224   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
19225 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
19226
19227   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19228
19229 for ac_func in isnan
19230 do
19231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19232 echo "$as_me:$LINENO: checking for $ac_func" >&5
19233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19234 if eval "test \"\${$as_ac_var+set}\" = set"; then
19235   echo $ECHO_N "(cached) $ECHO_C" >&6
19236 else
19237   if test x$gcc_no_link = xyes; then
19238   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19240    { (exit 1); exit 1; }; }
19241 fi
19242 cat >conftest.$ac_ext <<_ACEOF
19243 /* confdefs.h.  */
19244 _ACEOF
19245 cat confdefs.h >>conftest.$ac_ext
19246 cat >>conftest.$ac_ext <<_ACEOF
19247 /* end confdefs.h.  */
19248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19249    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19250 #define $ac_func innocuous_$ac_func
19251
19252 /* System header to define __stub macros and hopefully few prototypes,
19253     which can conflict with char $ac_func (); below.
19254     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19255     <limits.h> exists even on freestanding compilers.  */
19256
19257 #ifdef __STDC__
19258 # include <limits.h>
19259 #else
19260 # include <assert.h>
19261 #endif
19262
19263 #undef $ac_func
19264
19265 /* Override any gcc2 internal prototype to avoid an error.  */
19266 #ifdef __cplusplus
19267 extern "C"
19268 {
19269 #endif
19270 /* We use char because int might match the return type of a gcc2
19271    builtin and then its argument prototype would still apply.  */
19272 char $ac_func ();
19273 /* The GNU C library defines this for functions which it implements
19274     to always fail with ENOSYS.  Some functions are actually named
19275     something starting with __ and the normal name is an alias.  */
19276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19277 choke me
19278 #else
19279 char (*f) () = $ac_func;
19280 #endif
19281 #ifdef __cplusplus
19282 }
19283 #endif
19284
19285 int
19286 main ()
19287 {
19288 return f != $ac_func;
19289   ;
19290   return 0;
19291 }
19292 _ACEOF
19293 rm -f conftest.$ac_objext conftest$ac_exeext
19294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19295   (eval $ac_link) 2>conftest.er1
19296   ac_status=$?
19297   grep -v '^ *+' conftest.er1 >conftest.err
19298   rm -f conftest.er1
19299   cat conftest.err >&5
19300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301   (exit $ac_status); } &&
19302          { ac_try='test -z "$ac_c_werror_flag"
19303                          || test ! -s conftest.err'
19304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19305   (eval $ac_try) 2>&5
19306   ac_status=$?
19307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19308   (exit $ac_status); }; } &&
19309          { ac_try='test -s conftest$ac_exeext'
19310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19311   (eval $ac_try) 2>&5
19312   ac_status=$?
19313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314   (exit $ac_status); }; }; then
19315   eval "$as_ac_var=yes"
19316 else
19317   echo "$as_me: failed program was:" >&5
19318 sed 's/^/| /' conftest.$ac_ext >&5
19319
19320 eval "$as_ac_var=no"
19321 fi
19322 rm -f conftest.err conftest.$ac_objext \
19323       conftest$ac_exeext conftest.$ac_ext
19324 fi
19325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19327 if test `eval echo '${'$as_ac_var'}'` = yes; then
19328   cat >>confdefs.h <<_ACEOF
19329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19330 _ACEOF
19331
19332 fi
19333 done
19334
19335   else
19336
19337   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
19338 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
19339   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19340     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
19341   echo $ECHO_N "(cached) $ECHO_C" >&6
19342 else
19343
19344
19345
19346       ac_ext=cc
19347 ac_cpp='$CXXCPP $CPPFLAGS'
19348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19351
19352       cat >conftest.$ac_ext <<_ACEOF
19353 /* confdefs.h.  */
19354 _ACEOF
19355 cat confdefs.h >>conftest.$ac_ext
19356 cat >>conftest.$ac_ext <<_ACEOF
19357 /* end confdefs.h.  */
19358 #include <math.h>
19359                       #ifdef HAVE_IEEEFP_H
19360                       #include <ieeefp.h>
19361                       #endif
19362
19363 int
19364 main ()
19365 {
19366  _isnan(0);
19367   ;
19368   return 0;
19369 }
19370 _ACEOF
19371 rm -f conftest.$ac_objext
19372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19373   (eval $ac_compile) 2>conftest.er1
19374   ac_status=$?
19375   grep -v '^ *+' conftest.er1 >conftest.err
19376   rm -f conftest.er1
19377   cat conftest.err >&5
19378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379   (exit $ac_status); } &&
19380          { ac_try='test -z "$ac_cxx_werror_flag"
19381                          || test ! -s conftest.err'
19382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19383   (eval $ac_try) 2>&5
19384   ac_status=$?
19385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386   (exit $ac_status); }; } &&
19387          { ac_try='test -s conftest.$ac_objext'
19388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19389   (eval $ac_try) 2>&5
19390   ac_status=$?
19391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392   (exit $ac_status); }; }; then
19393   glibcxx_cv_func__isnan_use=yes
19394 else
19395   echo "$as_me: failed program was:" >&5
19396 sed 's/^/| /' conftest.$ac_ext >&5
19397
19398 glibcxx_cv_func__isnan_use=no
19399 fi
19400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19401       ac_ext=c
19402 ac_cpp='$CPP $CPPFLAGS'
19403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19406
19407
19408 fi
19409
19410   fi
19411   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
19412 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
19413
19414     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19415
19416 for ac_func in _isnan
19417 do
19418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19419 echo "$as_me:$LINENO: checking for $ac_func" >&5
19420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19421 if eval "test \"\${$as_ac_var+set}\" = set"; then
19422   echo $ECHO_N "(cached) $ECHO_C" >&6
19423 else
19424   if test x$gcc_no_link = xyes; then
19425   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19427    { (exit 1); exit 1; }; }
19428 fi
19429 cat >conftest.$ac_ext <<_ACEOF
19430 /* confdefs.h.  */
19431 _ACEOF
19432 cat confdefs.h >>conftest.$ac_ext
19433 cat >>conftest.$ac_ext <<_ACEOF
19434 /* end confdefs.h.  */
19435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19436    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19437 #define $ac_func innocuous_$ac_func
19438
19439 /* System header to define __stub macros and hopefully few prototypes,
19440     which can conflict with char $ac_func (); below.
19441     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19442     <limits.h> exists even on freestanding compilers.  */
19443
19444 #ifdef __STDC__
19445 # include <limits.h>
19446 #else
19447 # include <assert.h>
19448 #endif
19449
19450 #undef $ac_func
19451
19452 /* Override any gcc2 internal prototype to avoid an error.  */
19453 #ifdef __cplusplus
19454 extern "C"
19455 {
19456 #endif
19457 /* We use char because int might match the return type of a gcc2
19458    builtin and then its argument prototype would still apply.  */
19459 char $ac_func ();
19460 /* The GNU C library defines this for functions which it implements
19461     to always fail with ENOSYS.  Some functions are actually named
19462     something starting with __ and the normal name is an alias.  */
19463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19464 choke me
19465 #else
19466 char (*f) () = $ac_func;
19467 #endif
19468 #ifdef __cplusplus
19469 }
19470 #endif
19471
19472 int
19473 main ()
19474 {
19475 return f != $ac_func;
19476   ;
19477   return 0;
19478 }
19479 _ACEOF
19480 rm -f conftest.$ac_objext conftest$ac_exeext
19481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19482   (eval $ac_link) 2>conftest.er1
19483   ac_status=$?
19484   grep -v '^ *+' conftest.er1 >conftest.err
19485   rm -f conftest.er1
19486   cat conftest.err >&5
19487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19488   (exit $ac_status); } &&
19489          { ac_try='test -z "$ac_c_werror_flag"
19490                          || test ! -s conftest.err'
19491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19492   (eval $ac_try) 2>&5
19493   ac_status=$?
19494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495   (exit $ac_status); }; } &&
19496          { ac_try='test -s conftest$ac_exeext'
19497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19498   (eval $ac_try) 2>&5
19499   ac_status=$?
19500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19501   (exit $ac_status); }; }; then
19502   eval "$as_ac_var=yes"
19503 else
19504   echo "$as_me: failed program was:" >&5
19505 sed 's/^/| /' conftest.$ac_ext >&5
19506
19507 eval "$as_ac_var=no"
19508 fi
19509 rm -f conftest.err conftest.$ac_objext \
19510       conftest$ac_exeext conftest.$ac_ext
19511 fi
19512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19514 if test `eval echo '${'$as_ac_var'}'` = yes; then
19515   cat >>confdefs.h <<_ACEOF
19516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19517 _ACEOF
19518
19519 fi
19520 done
19521
19522     fi
19523   fi
19524
19525
19526
19527
19528
19529
19530   echo "$as_me:$LINENO: checking for finite declaration" >&5
19531 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
19532   if test x${glibcxx_cv_func_finite_use+set} != xset; then
19533     if test "${glibcxx_cv_func_finite_use+set}" = set; then
19534   echo $ECHO_N "(cached) $ECHO_C" >&6
19535 else
19536
19537
19538
19539       ac_ext=cc
19540 ac_cpp='$CXXCPP $CPPFLAGS'
19541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19544
19545       cat >conftest.$ac_ext <<_ACEOF
19546 /* confdefs.h.  */
19547 _ACEOF
19548 cat confdefs.h >>conftest.$ac_ext
19549 cat >>conftest.$ac_ext <<_ACEOF
19550 /* end confdefs.h.  */
19551 #include <math.h>
19552                       #ifdef HAVE_IEEEFP_H
19553                       #include <ieeefp.h>
19554                       #endif
19555
19556 int
19557 main ()
19558 {
19559  finite(0);
19560   ;
19561   return 0;
19562 }
19563 _ACEOF
19564 rm -f conftest.$ac_objext
19565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19566   (eval $ac_compile) 2>conftest.er1
19567   ac_status=$?
19568   grep -v '^ *+' conftest.er1 >conftest.err
19569   rm -f conftest.er1
19570   cat conftest.err >&5
19571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572   (exit $ac_status); } &&
19573          { ac_try='test -z "$ac_cxx_werror_flag"
19574                          || test ! -s conftest.err'
19575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19576   (eval $ac_try) 2>&5
19577   ac_status=$?
19578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19579   (exit $ac_status); }; } &&
19580          { ac_try='test -s conftest.$ac_objext'
19581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19582   (eval $ac_try) 2>&5
19583   ac_status=$?
19584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585   (exit $ac_status); }; }; then
19586   glibcxx_cv_func_finite_use=yes
19587 else
19588   echo "$as_me: failed program was:" >&5
19589 sed 's/^/| /' conftest.$ac_ext >&5
19590
19591 glibcxx_cv_func_finite_use=no
19592 fi
19593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19594       ac_ext=c
19595 ac_cpp='$CPP $CPPFLAGS'
19596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19599
19600
19601 fi
19602
19603   fi
19604   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
19605 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
19606
19607   if test x$glibcxx_cv_func_finite_use = x"yes"; then
19608
19609 for ac_func in finite
19610 do
19611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19612 echo "$as_me:$LINENO: checking for $ac_func" >&5
19613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19614 if eval "test \"\${$as_ac_var+set}\" = set"; then
19615   echo $ECHO_N "(cached) $ECHO_C" >&6
19616 else
19617   if test x$gcc_no_link = xyes; then
19618   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19620    { (exit 1); exit 1; }; }
19621 fi
19622 cat >conftest.$ac_ext <<_ACEOF
19623 /* confdefs.h.  */
19624 _ACEOF
19625 cat confdefs.h >>conftest.$ac_ext
19626 cat >>conftest.$ac_ext <<_ACEOF
19627 /* end confdefs.h.  */
19628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19629    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19630 #define $ac_func innocuous_$ac_func
19631
19632 /* System header to define __stub macros and hopefully few prototypes,
19633     which can conflict with char $ac_func (); below.
19634     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19635     <limits.h> exists even on freestanding compilers.  */
19636
19637 #ifdef __STDC__
19638 # include <limits.h>
19639 #else
19640 # include <assert.h>
19641 #endif
19642
19643 #undef $ac_func
19644
19645 /* Override any gcc2 internal prototype to avoid an error.  */
19646 #ifdef __cplusplus
19647 extern "C"
19648 {
19649 #endif
19650 /* We use char because int might match the return type of a gcc2
19651    builtin and then its argument prototype would still apply.  */
19652 char $ac_func ();
19653 /* The GNU C library defines this for functions which it implements
19654     to always fail with ENOSYS.  Some functions are actually named
19655     something starting with __ and the normal name is an alias.  */
19656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19657 choke me
19658 #else
19659 char (*f) () = $ac_func;
19660 #endif
19661 #ifdef __cplusplus
19662 }
19663 #endif
19664
19665 int
19666 main ()
19667 {
19668 return f != $ac_func;
19669   ;
19670   return 0;
19671 }
19672 _ACEOF
19673 rm -f conftest.$ac_objext conftest$ac_exeext
19674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19675   (eval $ac_link) 2>conftest.er1
19676   ac_status=$?
19677   grep -v '^ *+' conftest.er1 >conftest.err
19678   rm -f conftest.er1
19679   cat conftest.err >&5
19680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681   (exit $ac_status); } &&
19682          { ac_try='test -z "$ac_c_werror_flag"
19683                          || test ! -s conftest.err'
19684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19685   (eval $ac_try) 2>&5
19686   ac_status=$?
19687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19688   (exit $ac_status); }; } &&
19689          { ac_try='test -s conftest$ac_exeext'
19690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19691   (eval $ac_try) 2>&5
19692   ac_status=$?
19693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19694   (exit $ac_status); }; }; then
19695   eval "$as_ac_var=yes"
19696 else
19697   echo "$as_me: failed program was:" >&5
19698 sed 's/^/| /' conftest.$ac_ext >&5
19699
19700 eval "$as_ac_var=no"
19701 fi
19702 rm -f conftest.err conftest.$ac_objext \
19703       conftest$ac_exeext conftest.$ac_ext
19704 fi
19705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19707 if test `eval echo '${'$as_ac_var'}'` = yes; then
19708   cat >>confdefs.h <<_ACEOF
19709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19710 _ACEOF
19711
19712 fi
19713 done
19714
19715   else
19716
19717   echo "$as_me:$LINENO: checking for _finite declaration" >&5
19718 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
19719   if test x${glibcxx_cv_func__finite_use+set} != xset; then
19720     if test "${glibcxx_cv_func__finite_use+set}" = set; then
19721   echo $ECHO_N "(cached) $ECHO_C" >&6
19722 else
19723
19724
19725
19726       ac_ext=cc
19727 ac_cpp='$CXXCPP $CPPFLAGS'
19728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19731
19732       cat >conftest.$ac_ext <<_ACEOF
19733 /* confdefs.h.  */
19734 _ACEOF
19735 cat confdefs.h >>conftest.$ac_ext
19736 cat >>conftest.$ac_ext <<_ACEOF
19737 /* end confdefs.h.  */
19738 #include <math.h>
19739                       #ifdef HAVE_IEEEFP_H
19740                       #include <ieeefp.h>
19741                       #endif
19742
19743 int
19744 main ()
19745 {
19746  _finite(0);
19747   ;
19748   return 0;
19749 }
19750 _ACEOF
19751 rm -f conftest.$ac_objext
19752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19753   (eval $ac_compile) 2>conftest.er1
19754   ac_status=$?
19755   grep -v '^ *+' conftest.er1 >conftest.err
19756   rm -f conftest.er1
19757   cat conftest.err >&5
19758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19759   (exit $ac_status); } &&
19760          { ac_try='test -z "$ac_cxx_werror_flag"
19761                          || test ! -s conftest.err'
19762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19763   (eval $ac_try) 2>&5
19764   ac_status=$?
19765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766   (exit $ac_status); }; } &&
19767          { ac_try='test -s conftest.$ac_objext'
19768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19769   (eval $ac_try) 2>&5
19770   ac_status=$?
19771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772   (exit $ac_status); }; }; then
19773   glibcxx_cv_func__finite_use=yes
19774 else
19775   echo "$as_me: failed program was:" >&5
19776 sed 's/^/| /' conftest.$ac_ext >&5
19777
19778 glibcxx_cv_func__finite_use=no
19779 fi
19780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19781       ac_ext=c
19782 ac_cpp='$CPP $CPPFLAGS'
19783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19786
19787
19788 fi
19789
19790   fi
19791   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
19792 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
19793
19794     if test x$glibcxx_cv_func__finite_use = x"yes"; then
19795
19796 for ac_func in _finite
19797 do
19798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19799 echo "$as_me:$LINENO: checking for $ac_func" >&5
19800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19801 if eval "test \"\${$as_ac_var+set}\" = set"; then
19802   echo $ECHO_N "(cached) $ECHO_C" >&6
19803 else
19804   if test x$gcc_no_link = xyes; then
19805   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19807    { (exit 1); exit 1; }; }
19808 fi
19809 cat >conftest.$ac_ext <<_ACEOF
19810 /* confdefs.h.  */
19811 _ACEOF
19812 cat confdefs.h >>conftest.$ac_ext
19813 cat >>conftest.$ac_ext <<_ACEOF
19814 /* end confdefs.h.  */
19815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19816    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19817 #define $ac_func innocuous_$ac_func
19818
19819 /* System header to define __stub macros and hopefully few prototypes,
19820     which can conflict with char $ac_func (); below.
19821     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19822     <limits.h> exists even on freestanding compilers.  */
19823
19824 #ifdef __STDC__
19825 # include <limits.h>
19826 #else
19827 # include <assert.h>
19828 #endif
19829
19830 #undef $ac_func
19831
19832 /* Override any gcc2 internal prototype to avoid an error.  */
19833 #ifdef __cplusplus
19834 extern "C"
19835 {
19836 #endif
19837 /* We use char because int might match the return type of a gcc2
19838    builtin and then its argument prototype would still apply.  */
19839 char $ac_func ();
19840 /* The GNU C library defines this for functions which it implements
19841     to always fail with ENOSYS.  Some functions are actually named
19842     something starting with __ and the normal name is an alias.  */
19843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19844 choke me
19845 #else
19846 char (*f) () = $ac_func;
19847 #endif
19848 #ifdef __cplusplus
19849 }
19850 #endif
19851
19852 int
19853 main ()
19854 {
19855 return f != $ac_func;
19856   ;
19857   return 0;
19858 }
19859 _ACEOF
19860 rm -f conftest.$ac_objext conftest$ac_exeext
19861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19862   (eval $ac_link) 2>conftest.er1
19863   ac_status=$?
19864   grep -v '^ *+' conftest.er1 >conftest.err
19865   rm -f conftest.er1
19866   cat conftest.err >&5
19867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19868   (exit $ac_status); } &&
19869          { ac_try='test -z "$ac_c_werror_flag"
19870                          || test ! -s conftest.err'
19871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19872   (eval $ac_try) 2>&5
19873   ac_status=$?
19874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875   (exit $ac_status); }; } &&
19876          { ac_try='test -s conftest$ac_exeext'
19877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19878   (eval $ac_try) 2>&5
19879   ac_status=$?
19880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881   (exit $ac_status); }; }; then
19882   eval "$as_ac_var=yes"
19883 else
19884   echo "$as_me: failed program was:" >&5
19885 sed 's/^/| /' conftest.$ac_ext >&5
19886
19887 eval "$as_ac_var=no"
19888 fi
19889 rm -f conftest.err conftest.$ac_objext \
19890       conftest$ac_exeext conftest.$ac_ext
19891 fi
19892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19894 if test `eval echo '${'$as_ac_var'}'` = yes; then
19895   cat >>confdefs.h <<_ACEOF
19896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19897 _ACEOF
19898
19899 fi
19900 done
19901
19902     fi
19903   fi
19904
19905
19906
19907
19908
19909
19910   echo "$as_me:$LINENO: checking for copysign declaration" >&5
19911 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
19912   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
19913     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
19914   echo $ECHO_N "(cached) $ECHO_C" >&6
19915 else
19916
19917
19918
19919       ac_ext=cc
19920 ac_cpp='$CXXCPP $CPPFLAGS'
19921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19924
19925       cat >conftest.$ac_ext <<_ACEOF
19926 /* confdefs.h.  */
19927 _ACEOF
19928 cat confdefs.h >>conftest.$ac_ext
19929 cat >>conftest.$ac_ext <<_ACEOF
19930 /* end confdefs.h.  */
19931 #include <math.h>
19932 int
19933 main ()
19934 {
19935  copysign(0, 0);
19936   ;
19937   return 0;
19938 }
19939 _ACEOF
19940 rm -f conftest.$ac_objext
19941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19942   (eval $ac_compile) 2>conftest.er1
19943   ac_status=$?
19944   grep -v '^ *+' conftest.er1 >conftest.err
19945   rm -f conftest.er1
19946   cat conftest.err >&5
19947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948   (exit $ac_status); } &&
19949          { ac_try='test -z "$ac_cxx_werror_flag"
19950                          || test ! -s conftest.err'
19951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19952   (eval $ac_try) 2>&5
19953   ac_status=$?
19954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19955   (exit $ac_status); }; } &&
19956          { ac_try='test -s conftest.$ac_objext'
19957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19958   (eval $ac_try) 2>&5
19959   ac_status=$?
19960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19961   (exit $ac_status); }; }; then
19962   glibcxx_cv_func_copysign_use=yes
19963 else
19964   echo "$as_me: failed program was:" >&5
19965 sed 's/^/| /' conftest.$ac_ext >&5
19966
19967 glibcxx_cv_func_copysign_use=no
19968 fi
19969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19970       ac_ext=c
19971 ac_cpp='$CPP $CPPFLAGS'
19972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19975
19976
19977 fi
19978
19979   fi
19980   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
19981 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
19982
19983   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
19984
19985 for ac_func in copysign
19986 do
19987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19988 echo "$as_me:$LINENO: checking for $ac_func" >&5
19989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19990 if eval "test \"\${$as_ac_var+set}\" = set"; then
19991   echo $ECHO_N "(cached) $ECHO_C" >&6
19992 else
19993   if test x$gcc_no_link = xyes; then
19994   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19996    { (exit 1); exit 1; }; }
19997 fi
19998 cat >conftest.$ac_ext <<_ACEOF
19999 /* confdefs.h.  */
20000 _ACEOF
20001 cat confdefs.h >>conftest.$ac_ext
20002 cat >>conftest.$ac_ext <<_ACEOF
20003 /* end confdefs.h.  */
20004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20005    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20006 #define $ac_func innocuous_$ac_func
20007
20008 /* System header to define __stub macros and hopefully few prototypes,
20009     which can conflict with char $ac_func (); below.
20010     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20011     <limits.h> exists even on freestanding compilers.  */
20012
20013 #ifdef __STDC__
20014 # include <limits.h>
20015 #else
20016 # include <assert.h>
20017 #endif
20018
20019 #undef $ac_func
20020
20021 /* Override any gcc2 internal prototype to avoid an error.  */
20022 #ifdef __cplusplus
20023 extern "C"
20024 {
20025 #endif
20026 /* We use char because int might match the return type of a gcc2
20027    builtin and then its argument prototype would still apply.  */
20028 char $ac_func ();
20029 /* The GNU C library defines this for functions which it implements
20030     to always fail with ENOSYS.  Some functions are actually named
20031     something starting with __ and the normal name is an alias.  */
20032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20033 choke me
20034 #else
20035 char (*f) () = $ac_func;
20036 #endif
20037 #ifdef __cplusplus
20038 }
20039 #endif
20040
20041 int
20042 main ()
20043 {
20044 return f != $ac_func;
20045   ;
20046   return 0;
20047 }
20048 _ACEOF
20049 rm -f conftest.$ac_objext conftest$ac_exeext
20050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20051   (eval $ac_link) 2>conftest.er1
20052   ac_status=$?
20053   grep -v '^ *+' conftest.er1 >conftest.err
20054   rm -f conftest.er1
20055   cat conftest.err >&5
20056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20057   (exit $ac_status); } &&
20058          { ac_try='test -z "$ac_c_werror_flag"
20059                          || test ! -s conftest.err'
20060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20061   (eval $ac_try) 2>&5
20062   ac_status=$?
20063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20064   (exit $ac_status); }; } &&
20065          { ac_try='test -s conftest$ac_exeext'
20066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20067   (eval $ac_try) 2>&5
20068   ac_status=$?
20069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070   (exit $ac_status); }; }; then
20071   eval "$as_ac_var=yes"
20072 else
20073   echo "$as_me: failed program was:" >&5
20074 sed 's/^/| /' conftest.$ac_ext >&5
20075
20076 eval "$as_ac_var=no"
20077 fi
20078 rm -f conftest.err conftest.$ac_objext \
20079       conftest$ac_exeext conftest.$ac_ext
20080 fi
20081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20083 if test `eval echo '${'$as_ac_var'}'` = yes; then
20084   cat >>confdefs.h <<_ACEOF
20085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20086 _ACEOF
20087
20088 fi
20089 done
20090
20091   else
20092
20093   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
20094 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
20095   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
20096     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
20097   echo $ECHO_N "(cached) $ECHO_C" >&6
20098 else
20099
20100
20101
20102       ac_ext=cc
20103 ac_cpp='$CXXCPP $CPPFLAGS'
20104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20107
20108       cat >conftest.$ac_ext <<_ACEOF
20109 /* confdefs.h.  */
20110 _ACEOF
20111 cat confdefs.h >>conftest.$ac_ext
20112 cat >>conftest.$ac_ext <<_ACEOF
20113 /* end confdefs.h.  */
20114 #include <math.h>
20115 int
20116 main ()
20117 {
20118  _copysign(0, 0);
20119   ;
20120   return 0;
20121 }
20122 _ACEOF
20123 rm -f conftest.$ac_objext
20124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20125   (eval $ac_compile) 2>conftest.er1
20126   ac_status=$?
20127   grep -v '^ *+' conftest.er1 >conftest.err
20128   rm -f conftest.er1
20129   cat conftest.err >&5
20130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131   (exit $ac_status); } &&
20132          { ac_try='test -z "$ac_cxx_werror_flag"
20133                          || test ! -s conftest.err'
20134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20135   (eval $ac_try) 2>&5
20136   ac_status=$?
20137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138   (exit $ac_status); }; } &&
20139          { ac_try='test -s conftest.$ac_objext'
20140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20141   (eval $ac_try) 2>&5
20142   ac_status=$?
20143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144   (exit $ac_status); }; }; then
20145   glibcxx_cv_func__copysign_use=yes
20146 else
20147   echo "$as_me: failed program was:" >&5
20148 sed 's/^/| /' conftest.$ac_ext >&5
20149
20150 glibcxx_cv_func__copysign_use=no
20151 fi
20152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20153       ac_ext=c
20154 ac_cpp='$CPP $CPPFLAGS'
20155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20158
20159
20160 fi
20161
20162   fi
20163   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
20164 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
20165
20166     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
20167
20168 for ac_func in _copysign
20169 do
20170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20171 echo "$as_me:$LINENO: checking for $ac_func" >&5
20172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20173 if eval "test \"\${$as_ac_var+set}\" = set"; then
20174   echo $ECHO_N "(cached) $ECHO_C" >&6
20175 else
20176   if test x$gcc_no_link = xyes; then
20177   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20179    { (exit 1); exit 1; }; }
20180 fi
20181 cat >conftest.$ac_ext <<_ACEOF
20182 /* confdefs.h.  */
20183 _ACEOF
20184 cat confdefs.h >>conftest.$ac_ext
20185 cat >>conftest.$ac_ext <<_ACEOF
20186 /* end confdefs.h.  */
20187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20188    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20189 #define $ac_func innocuous_$ac_func
20190
20191 /* System header to define __stub macros and hopefully few prototypes,
20192     which can conflict with char $ac_func (); below.
20193     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20194     <limits.h> exists even on freestanding compilers.  */
20195
20196 #ifdef __STDC__
20197 # include <limits.h>
20198 #else
20199 # include <assert.h>
20200 #endif
20201
20202 #undef $ac_func
20203
20204 /* Override any gcc2 internal prototype to avoid an error.  */
20205 #ifdef __cplusplus
20206 extern "C"
20207 {
20208 #endif
20209 /* We use char because int might match the return type of a gcc2
20210    builtin and then its argument prototype would still apply.  */
20211 char $ac_func ();
20212 /* The GNU C library defines this for functions which it implements
20213     to always fail with ENOSYS.  Some functions are actually named
20214     something starting with __ and the normal name is an alias.  */
20215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20216 choke me
20217 #else
20218 char (*f) () = $ac_func;
20219 #endif
20220 #ifdef __cplusplus
20221 }
20222 #endif
20223
20224 int
20225 main ()
20226 {
20227 return f != $ac_func;
20228   ;
20229   return 0;
20230 }
20231 _ACEOF
20232 rm -f conftest.$ac_objext conftest$ac_exeext
20233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20234   (eval $ac_link) 2>conftest.er1
20235   ac_status=$?
20236   grep -v '^ *+' conftest.er1 >conftest.err
20237   rm -f conftest.er1
20238   cat conftest.err >&5
20239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240   (exit $ac_status); } &&
20241          { ac_try='test -z "$ac_c_werror_flag"
20242                          || test ! -s conftest.err'
20243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20244   (eval $ac_try) 2>&5
20245   ac_status=$?
20246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247   (exit $ac_status); }; } &&
20248          { ac_try='test -s conftest$ac_exeext'
20249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20250   (eval $ac_try) 2>&5
20251   ac_status=$?
20252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20253   (exit $ac_status); }; }; then
20254   eval "$as_ac_var=yes"
20255 else
20256   echo "$as_me: failed program was:" >&5
20257 sed 's/^/| /' conftest.$ac_ext >&5
20258
20259 eval "$as_ac_var=no"
20260 fi
20261 rm -f conftest.err conftest.$ac_objext \
20262       conftest$ac_exeext conftest.$ac_ext
20263 fi
20264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20266 if test `eval echo '${'$as_ac_var'}'` = yes; then
20267   cat >>confdefs.h <<_ACEOF
20268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20269 _ACEOF
20270
20271 fi
20272 done
20273
20274     fi
20275   fi
20276
20277
20278
20279
20280
20281
20282   echo "$as_me:$LINENO: checking for sincos declaration" >&5
20283 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
20284   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20285     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
20286   echo $ECHO_N "(cached) $ECHO_C" >&6
20287 else
20288
20289
20290
20291       ac_ext=cc
20292 ac_cpp='$CXXCPP $CPPFLAGS'
20293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20296
20297       cat >conftest.$ac_ext <<_ACEOF
20298 /* confdefs.h.  */
20299 _ACEOF
20300 cat confdefs.h >>conftest.$ac_ext
20301 cat >>conftest.$ac_ext <<_ACEOF
20302 /* end confdefs.h.  */
20303 #include <math.h>
20304 int
20305 main ()
20306 {
20307  sincos(0, 0, 0);
20308   ;
20309   return 0;
20310 }
20311 _ACEOF
20312 rm -f conftest.$ac_objext
20313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20314   (eval $ac_compile) 2>conftest.er1
20315   ac_status=$?
20316   grep -v '^ *+' conftest.er1 >conftest.err
20317   rm -f conftest.er1
20318   cat conftest.err >&5
20319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20320   (exit $ac_status); } &&
20321          { ac_try='test -z "$ac_cxx_werror_flag"
20322                          || test ! -s conftest.err'
20323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20324   (eval $ac_try) 2>&5
20325   ac_status=$?
20326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20327   (exit $ac_status); }; } &&
20328          { ac_try='test -s conftest.$ac_objext'
20329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20330   (eval $ac_try) 2>&5
20331   ac_status=$?
20332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333   (exit $ac_status); }; }; then
20334   glibcxx_cv_func_sincos_use=yes
20335 else
20336   echo "$as_me: failed program was:" >&5
20337 sed 's/^/| /' conftest.$ac_ext >&5
20338
20339 glibcxx_cv_func_sincos_use=no
20340 fi
20341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20342       ac_ext=c
20343 ac_cpp='$CPP $CPPFLAGS'
20344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20347
20348
20349 fi
20350
20351   fi
20352   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
20353 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
20354
20355   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20356
20357 for ac_func in sincos
20358 do
20359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20360 echo "$as_me:$LINENO: checking for $ac_func" >&5
20361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20362 if eval "test \"\${$as_ac_var+set}\" = set"; then
20363   echo $ECHO_N "(cached) $ECHO_C" >&6
20364 else
20365   if test x$gcc_no_link = xyes; then
20366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20368    { (exit 1); exit 1; }; }
20369 fi
20370 cat >conftest.$ac_ext <<_ACEOF
20371 /* confdefs.h.  */
20372 _ACEOF
20373 cat confdefs.h >>conftest.$ac_ext
20374 cat >>conftest.$ac_ext <<_ACEOF
20375 /* end confdefs.h.  */
20376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20377    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20378 #define $ac_func innocuous_$ac_func
20379
20380 /* System header to define __stub macros and hopefully few prototypes,
20381     which can conflict with char $ac_func (); below.
20382     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20383     <limits.h> exists even on freestanding compilers.  */
20384
20385 #ifdef __STDC__
20386 # include <limits.h>
20387 #else
20388 # include <assert.h>
20389 #endif
20390
20391 #undef $ac_func
20392
20393 /* Override any gcc2 internal prototype to avoid an error.  */
20394 #ifdef __cplusplus
20395 extern "C"
20396 {
20397 #endif
20398 /* We use char because int might match the return type of a gcc2
20399    builtin and then its argument prototype would still apply.  */
20400 char $ac_func ();
20401 /* The GNU C library defines this for functions which it implements
20402     to always fail with ENOSYS.  Some functions are actually named
20403     something starting with __ and the normal name is an alias.  */
20404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20405 choke me
20406 #else
20407 char (*f) () = $ac_func;
20408 #endif
20409 #ifdef __cplusplus
20410 }
20411 #endif
20412
20413 int
20414 main ()
20415 {
20416 return f != $ac_func;
20417   ;
20418   return 0;
20419 }
20420 _ACEOF
20421 rm -f conftest.$ac_objext conftest$ac_exeext
20422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20423   (eval $ac_link) 2>conftest.er1
20424   ac_status=$?
20425   grep -v '^ *+' conftest.er1 >conftest.err
20426   rm -f conftest.er1
20427   cat conftest.err >&5
20428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429   (exit $ac_status); } &&
20430          { ac_try='test -z "$ac_c_werror_flag"
20431                          || test ! -s conftest.err'
20432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20433   (eval $ac_try) 2>&5
20434   ac_status=$?
20435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436   (exit $ac_status); }; } &&
20437          { ac_try='test -s conftest$ac_exeext'
20438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20439   (eval $ac_try) 2>&5
20440   ac_status=$?
20441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20442   (exit $ac_status); }; }; then
20443   eval "$as_ac_var=yes"
20444 else
20445   echo "$as_me: failed program was:" >&5
20446 sed 's/^/| /' conftest.$ac_ext >&5
20447
20448 eval "$as_ac_var=no"
20449 fi
20450 rm -f conftest.err conftest.$ac_objext \
20451       conftest$ac_exeext conftest.$ac_ext
20452 fi
20453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20455 if test `eval echo '${'$as_ac_var'}'` = yes; then
20456   cat >>confdefs.h <<_ACEOF
20457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20458 _ACEOF
20459
20460 fi
20461 done
20462
20463   else
20464
20465   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
20466 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
20467   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20468     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
20469   echo $ECHO_N "(cached) $ECHO_C" >&6
20470 else
20471
20472
20473
20474       ac_ext=cc
20475 ac_cpp='$CXXCPP $CPPFLAGS'
20476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20479
20480       cat >conftest.$ac_ext <<_ACEOF
20481 /* confdefs.h.  */
20482 _ACEOF
20483 cat confdefs.h >>conftest.$ac_ext
20484 cat >>conftest.$ac_ext <<_ACEOF
20485 /* end confdefs.h.  */
20486 #include <math.h>
20487 int
20488 main ()
20489 {
20490  _sincos(0, 0, 0);
20491   ;
20492   return 0;
20493 }
20494 _ACEOF
20495 rm -f conftest.$ac_objext
20496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20497   (eval $ac_compile) 2>conftest.er1
20498   ac_status=$?
20499   grep -v '^ *+' conftest.er1 >conftest.err
20500   rm -f conftest.er1
20501   cat conftest.err >&5
20502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503   (exit $ac_status); } &&
20504          { ac_try='test -z "$ac_cxx_werror_flag"
20505                          || test ! -s conftest.err'
20506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20507   (eval $ac_try) 2>&5
20508   ac_status=$?
20509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510   (exit $ac_status); }; } &&
20511          { ac_try='test -s conftest.$ac_objext'
20512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20513   (eval $ac_try) 2>&5
20514   ac_status=$?
20515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516   (exit $ac_status); }; }; then
20517   glibcxx_cv_func__sincos_use=yes
20518 else
20519   echo "$as_me: failed program was:" >&5
20520 sed 's/^/| /' conftest.$ac_ext >&5
20521
20522 glibcxx_cv_func__sincos_use=no
20523 fi
20524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20525       ac_ext=c
20526 ac_cpp='$CPP $CPPFLAGS'
20527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20530
20531
20532 fi
20533
20534   fi
20535   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
20536 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
20537
20538     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20539
20540 for ac_func in _sincos
20541 do
20542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20543 echo "$as_me:$LINENO: checking for $ac_func" >&5
20544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20545 if eval "test \"\${$as_ac_var+set}\" = set"; then
20546   echo $ECHO_N "(cached) $ECHO_C" >&6
20547 else
20548   if test x$gcc_no_link = xyes; then
20549   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20551    { (exit 1); exit 1; }; }
20552 fi
20553 cat >conftest.$ac_ext <<_ACEOF
20554 /* confdefs.h.  */
20555 _ACEOF
20556 cat confdefs.h >>conftest.$ac_ext
20557 cat >>conftest.$ac_ext <<_ACEOF
20558 /* end confdefs.h.  */
20559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20560    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20561 #define $ac_func innocuous_$ac_func
20562
20563 /* System header to define __stub macros and hopefully few prototypes,
20564     which can conflict with char $ac_func (); below.
20565     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20566     <limits.h> exists even on freestanding compilers.  */
20567
20568 #ifdef __STDC__
20569 # include <limits.h>
20570 #else
20571 # include <assert.h>
20572 #endif
20573
20574 #undef $ac_func
20575
20576 /* Override any gcc2 internal prototype to avoid an error.  */
20577 #ifdef __cplusplus
20578 extern "C"
20579 {
20580 #endif
20581 /* We use char because int might match the return type of a gcc2
20582    builtin and then its argument prototype would still apply.  */
20583 char $ac_func ();
20584 /* The GNU C library defines this for functions which it implements
20585     to always fail with ENOSYS.  Some functions are actually named
20586     something starting with __ and the normal name is an alias.  */
20587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20588 choke me
20589 #else
20590 char (*f) () = $ac_func;
20591 #endif
20592 #ifdef __cplusplus
20593 }
20594 #endif
20595
20596 int
20597 main ()
20598 {
20599 return f != $ac_func;
20600   ;
20601   return 0;
20602 }
20603 _ACEOF
20604 rm -f conftest.$ac_objext conftest$ac_exeext
20605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20606   (eval $ac_link) 2>conftest.er1
20607   ac_status=$?
20608   grep -v '^ *+' conftest.er1 >conftest.err
20609   rm -f conftest.er1
20610   cat conftest.err >&5
20611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612   (exit $ac_status); } &&
20613          { ac_try='test -z "$ac_c_werror_flag"
20614                          || test ! -s conftest.err'
20615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20616   (eval $ac_try) 2>&5
20617   ac_status=$?
20618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619   (exit $ac_status); }; } &&
20620          { ac_try='test -s conftest$ac_exeext'
20621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20622   (eval $ac_try) 2>&5
20623   ac_status=$?
20624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20625   (exit $ac_status); }; }; then
20626   eval "$as_ac_var=yes"
20627 else
20628   echo "$as_me: failed program was:" >&5
20629 sed 's/^/| /' conftest.$ac_ext >&5
20630
20631 eval "$as_ac_var=no"
20632 fi
20633 rm -f conftest.err conftest.$ac_objext \
20634       conftest$ac_exeext conftest.$ac_ext
20635 fi
20636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20638 if test `eval echo '${'$as_ac_var'}'` = yes; then
20639   cat >>confdefs.h <<_ACEOF
20640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20641 _ACEOF
20642
20643 fi
20644 done
20645
20646     fi
20647   fi
20648
20649
20650
20651
20652
20653
20654   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
20655 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
20656   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20657     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
20658   echo $ECHO_N "(cached) $ECHO_C" >&6
20659 else
20660
20661
20662
20663       ac_ext=cc
20664 ac_cpp='$CXXCPP $CPPFLAGS'
20665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20668
20669       cat >conftest.$ac_ext <<_ACEOF
20670 /* confdefs.h.  */
20671 _ACEOF
20672 cat confdefs.h >>conftest.$ac_ext
20673 cat >>conftest.$ac_ext <<_ACEOF
20674 /* end confdefs.h.  */
20675 #include <math.h>
20676                       #ifdef HAVE_IEEEFP_H
20677                       #include <ieeefp.h>
20678                       #endif
20679
20680 int
20681 main ()
20682 {
20683  fpclass(0);
20684   ;
20685   return 0;
20686 }
20687 _ACEOF
20688 rm -f conftest.$ac_objext
20689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20690   (eval $ac_compile) 2>conftest.er1
20691   ac_status=$?
20692   grep -v '^ *+' conftest.er1 >conftest.err
20693   rm -f conftest.er1
20694   cat conftest.err >&5
20695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696   (exit $ac_status); } &&
20697          { ac_try='test -z "$ac_cxx_werror_flag"
20698                          || test ! -s conftest.err'
20699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20700   (eval $ac_try) 2>&5
20701   ac_status=$?
20702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703   (exit $ac_status); }; } &&
20704          { ac_try='test -s conftest.$ac_objext'
20705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20706   (eval $ac_try) 2>&5
20707   ac_status=$?
20708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709   (exit $ac_status); }; }; then
20710   glibcxx_cv_func_fpclass_use=yes
20711 else
20712   echo "$as_me: failed program was:" >&5
20713 sed 's/^/| /' conftest.$ac_ext >&5
20714
20715 glibcxx_cv_func_fpclass_use=no
20716 fi
20717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20718       ac_ext=c
20719 ac_cpp='$CPP $CPPFLAGS'
20720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20723
20724
20725 fi
20726
20727   fi
20728   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
20729 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
20730
20731   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20732
20733 for ac_func in fpclass
20734 do
20735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20736 echo "$as_me:$LINENO: checking for $ac_func" >&5
20737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20738 if eval "test \"\${$as_ac_var+set}\" = set"; then
20739   echo $ECHO_N "(cached) $ECHO_C" >&6
20740 else
20741   if test x$gcc_no_link = xyes; then
20742   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20744    { (exit 1); exit 1; }; }
20745 fi
20746 cat >conftest.$ac_ext <<_ACEOF
20747 /* confdefs.h.  */
20748 _ACEOF
20749 cat confdefs.h >>conftest.$ac_ext
20750 cat >>conftest.$ac_ext <<_ACEOF
20751 /* end confdefs.h.  */
20752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20753    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20754 #define $ac_func innocuous_$ac_func
20755
20756 /* System header to define __stub macros and hopefully few prototypes,
20757     which can conflict with char $ac_func (); below.
20758     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20759     <limits.h> exists even on freestanding compilers.  */
20760
20761 #ifdef __STDC__
20762 # include <limits.h>
20763 #else
20764 # include <assert.h>
20765 #endif
20766
20767 #undef $ac_func
20768
20769 /* Override any gcc2 internal prototype to avoid an error.  */
20770 #ifdef __cplusplus
20771 extern "C"
20772 {
20773 #endif
20774 /* We use char because int might match the return type of a gcc2
20775    builtin and then its argument prototype would still apply.  */
20776 char $ac_func ();
20777 /* The GNU C library defines this for functions which it implements
20778     to always fail with ENOSYS.  Some functions are actually named
20779     something starting with __ and the normal name is an alias.  */
20780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20781 choke me
20782 #else
20783 char (*f) () = $ac_func;
20784 #endif
20785 #ifdef __cplusplus
20786 }
20787 #endif
20788
20789 int
20790 main ()
20791 {
20792 return f != $ac_func;
20793   ;
20794   return 0;
20795 }
20796 _ACEOF
20797 rm -f conftest.$ac_objext conftest$ac_exeext
20798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20799   (eval $ac_link) 2>conftest.er1
20800   ac_status=$?
20801   grep -v '^ *+' conftest.er1 >conftest.err
20802   rm -f conftest.er1
20803   cat conftest.err >&5
20804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20805   (exit $ac_status); } &&
20806          { ac_try='test -z "$ac_c_werror_flag"
20807                          || test ! -s conftest.err'
20808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20809   (eval $ac_try) 2>&5
20810   ac_status=$?
20811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20812   (exit $ac_status); }; } &&
20813          { ac_try='test -s conftest$ac_exeext'
20814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20815   (eval $ac_try) 2>&5
20816   ac_status=$?
20817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20818   (exit $ac_status); }; }; then
20819   eval "$as_ac_var=yes"
20820 else
20821   echo "$as_me: failed program was:" >&5
20822 sed 's/^/| /' conftest.$ac_ext >&5
20823
20824 eval "$as_ac_var=no"
20825 fi
20826 rm -f conftest.err conftest.$ac_objext \
20827       conftest$ac_exeext conftest.$ac_ext
20828 fi
20829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20831 if test `eval echo '${'$as_ac_var'}'` = yes; then
20832   cat >>confdefs.h <<_ACEOF
20833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20834 _ACEOF
20835
20836 fi
20837 done
20838
20839   else
20840
20841   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
20842 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
20843   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20844     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
20845   echo $ECHO_N "(cached) $ECHO_C" >&6
20846 else
20847
20848
20849
20850       ac_ext=cc
20851 ac_cpp='$CXXCPP $CPPFLAGS'
20852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20855
20856       cat >conftest.$ac_ext <<_ACEOF
20857 /* confdefs.h.  */
20858 _ACEOF
20859 cat confdefs.h >>conftest.$ac_ext
20860 cat >>conftest.$ac_ext <<_ACEOF
20861 /* end confdefs.h.  */
20862 #include <math.h>
20863                       #ifdef HAVE_IEEEFP_H
20864                       #include <ieeefp.h>
20865                       #endif
20866
20867 int
20868 main ()
20869 {
20870  _fpclass(0);
20871   ;
20872   return 0;
20873 }
20874 _ACEOF
20875 rm -f conftest.$ac_objext
20876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20877   (eval $ac_compile) 2>conftest.er1
20878   ac_status=$?
20879   grep -v '^ *+' conftest.er1 >conftest.err
20880   rm -f conftest.er1
20881   cat conftest.err >&5
20882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20883   (exit $ac_status); } &&
20884          { ac_try='test -z "$ac_cxx_werror_flag"
20885                          || test ! -s conftest.err'
20886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20887   (eval $ac_try) 2>&5
20888   ac_status=$?
20889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20890   (exit $ac_status); }; } &&
20891          { ac_try='test -s conftest.$ac_objext'
20892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20893   (eval $ac_try) 2>&5
20894   ac_status=$?
20895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896   (exit $ac_status); }; }; then
20897   glibcxx_cv_func__fpclass_use=yes
20898 else
20899   echo "$as_me: failed program was:" >&5
20900 sed 's/^/| /' conftest.$ac_ext >&5
20901
20902 glibcxx_cv_func__fpclass_use=no
20903 fi
20904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20905       ac_ext=c
20906 ac_cpp='$CPP $CPPFLAGS'
20907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20910
20911
20912 fi
20913
20914   fi
20915   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
20916 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
20917
20918     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20919
20920 for ac_func in _fpclass
20921 do
20922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20923 echo "$as_me:$LINENO: checking for $ac_func" >&5
20924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20925 if eval "test \"\${$as_ac_var+set}\" = set"; then
20926   echo $ECHO_N "(cached) $ECHO_C" >&6
20927 else
20928   if test x$gcc_no_link = xyes; then
20929   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20931    { (exit 1); exit 1; }; }
20932 fi
20933 cat >conftest.$ac_ext <<_ACEOF
20934 /* confdefs.h.  */
20935 _ACEOF
20936 cat confdefs.h >>conftest.$ac_ext
20937 cat >>conftest.$ac_ext <<_ACEOF
20938 /* end confdefs.h.  */
20939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20940    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20941 #define $ac_func innocuous_$ac_func
20942
20943 /* System header to define __stub macros and hopefully few prototypes,
20944     which can conflict with char $ac_func (); below.
20945     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20946     <limits.h> exists even on freestanding compilers.  */
20947
20948 #ifdef __STDC__
20949 # include <limits.h>
20950 #else
20951 # include <assert.h>
20952 #endif
20953
20954 #undef $ac_func
20955
20956 /* Override any gcc2 internal prototype to avoid an error.  */
20957 #ifdef __cplusplus
20958 extern "C"
20959 {
20960 #endif
20961 /* We use char because int might match the return type of a gcc2
20962    builtin and then its argument prototype would still apply.  */
20963 char $ac_func ();
20964 /* The GNU C library defines this for functions which it implements
20965     to always fail with ENOSYS.  Some functions are actually named
20966     something starting with __ and the normal name is an alias.  */
20967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20968 choke me
20969 #else
20970 char (*f) () = $ac_func;
20971 #endif
20972 #ifdef __cplusplus
20973 }
20974 #endif
20975
20976 int
20977 main ()
20978 {
20979 return f != $ac_func;
20980   ;
20981   return 0;
20982 }
20983 _ACEOF
20984 rm -f conftest.$ac_objext conftest$ac_exeext
20985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20986   (eval $ac_link) 2>conftest.er1
20987   ac_status=$?
20988   grep -v '^ *+' conftest.er1 >conftest.err
20989   rm -f conftest.er1
20990   cat conftest.err >&5
20991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20992   (exit $ac_status); } &&
20993          { ac_try='test -z "$ac_c_werror_flag"
20994                          || test ! -s conftest.err'
20995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20996   (eval $ac_try) 2>&5
20997   ac_status=$?
20998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999   (exit $ac_status); }; } &&
21000          { ac_try='test -s conftest$ac_exeext'
21001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21002   (eval $ac_try) 2>&5
21003   ac_status=$?
21004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005   (exit $ac_status); }; }; then
21006   eval "$as_ac_var=yes"
21007 else
21008   echo "$as_me: failed program was:" >&5
21009 sed 's/^/| /' conftest.$ac_ext >&5
21010
21011 eval "$as_ac_var=no"
21012 fi
21013 rm -f conftest.err conftest.$ac_objext \
21014       conftest$ac_exeext conftest.$ac_ext
21015 fi
21016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21018 if test `eval echo '${'$as_ac_var'}'` = yes; then
21019   cat >>confdefs.h <<_ACEOF
21020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21021 _ACEOF
21022
21023 fi
21024 done
21025
21026     fi
21027   fi
21028
21029
21030
21031
21032
21033
21034   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
21035 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
21036   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21037     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
21038   echo $ECHO_N "(cached) $ECHO_C" >&6
21039 else
21040
21041
21042
21043       ac_ext=cc
21044 ac_cpp='$CXXCPP $CPPFLAGS'
21045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21048
21049       cat >conftest.$ac_ext <<_ACEOF
21050 /* confdefs.h.  */
21051 _ACEOF
21052 cat confdefs.h >>conftest.$ac_ext
21053 cat >>conftest.$ac_ext <<_ACEOF
21054 /* end confdefs.h.  */
21055 #include <math.h>
21056                       #ifdef HAVE_IEEEFP_H
21057                       #include <ieeefp.h>
21058                       #endif
21059
21060 int
21061 main ()
21062 {
21063  qfpclass(0);
21064   ;
21065   return 0;
21066 }
21067 _ACEOF
21068 rm -f conftest.$ac_objext
21069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21070   (eval $ac_compile) 2>conftest.er1
21071   ac_status=$?
21072   grep -v '^ *+' conftest.er1 >conftest.err
21073   rm -f conftest.er1
21074   cat conftest.err >&5
21075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21076   (exit $ac_status); } &&
21077          { ac_try='test -z "$ac_cxx_werror_flag"
21078                          || test ! -s conftest.err'
21079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21080   (eval $ac_try) 2>&5
21081   ac_status=$?
21082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083   (exit $ac_status); }; } &&
21084          { ac_try='test -s conftest.$ac_objext'
21085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21086   (eval $ac_try) 2>&5
21087   ac_status=$?
21088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21089   (exit $ac_status); }; }; then
21090   glibcxx_cv_func_qfpclass_use=yes
21091 else
21092   echo "$as_me: failed program was:" >&5
21093 sed 's/^/| /' conftest.$ac_ext >&5
21094
21095 glibcxx_cv_func_qfpclass_use=no
21096 fi
21097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21098       ac_ext=c
21099 ac_cpp='$CPP $CPPFLAGS'
21100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21103
21104
21105 fi
21106
21107   fi
21108   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
21109 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
21110
21111   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21112
21113 for ac_func in qfpclass
21114 do
21115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21116 echo "$as_me:$LINENO: checking for $ac_func" >&5
21117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21118 if eval "test \"\${$as_ac_var+set}\" = set"; then
21119   echo $ECHO_N "(cached) $ECHO_C" >&6
21120 else
21121   if test x$gcc_no_link = xyes; then
21122   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21124    { (exit 1); exit 1; }; }
21125 fi
21126 cat >conftest.$ac_ext <<_ACEOF
21127 /* confdefs.h.  */
21128 _ACEOF
21129 cat confdefs.h >>conftest.$ac_ext
21130 cat >>conftest.$ac_ext <<_ACEOF
21131 /* end confdefs.h.  */
21132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21133    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21134 #define $ac_func innocuous_$ac_func
21135
21136 /* System header to define __stub macros and hopefully few prototypes,
21137     which can conflict with char $ac_func (); below.
21138     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21139     <limits.h> exists even on freestanding compilers.  */
21140
21141 #ifdef __STDC__
21142 # include <limits.h>
21143 #else
21144 # include <assert.h>
21145 #endif
21146
21147 #undef $ac_func
21148
21149 /* Override any gcc2 internal prototype to avoid an error.  */
21150 #ifdef __cplusplus
21151 extern "C"
21152 {
21153 #endif
21154 /* We use char because int might match the return type of a gcc2
21155    builtin and then its argument prototype would still apply.  */
21156 char $ac_func ();
21157 /* The GNU C library defines this for functions which it implements
21158     to always fail with ENOSYS.  Some functions are actually named
21159     something starting with __ and the normal name is an alias.  */
21160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21161 choke me
21162 #else
21163 char (*f) () = $ac_func;
21164 #endif
21165 #ifdef __cplusplus
21166 }
21167 #endif
21168
21169 int
21170 main ()
21171 {
21172 return f != $ac_func;
21173   ;
21174   return 0;
21175 }
21176 _ACEOF
21177 rm -f conftest.$ac_objext conftest$ac_exeext
21178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21179   (eval $ac_link) 2>conftest.er1
21180   ac_status=$?
21181   grep -v '^ *+' conftest.er1 >conftest.err
21182   rm -f conftest.er1
21183   cat conftest.err >&5
21184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21185   (exit $ac_status); } &&
21186          { ac_try='test -z "$ac_c_werror_flag"
21187                          || test ! -s conftest.err'
21188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21189   (eval $ac_try) 2>&5
21190   ac_status=$?
21191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21192   (exit $ac_status); }; } &&
21193          { ac_try='test -s conftest$ac_exeext'
21194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21195   (eval $ac_try) 2>&5
21196   ac_status=$?
21197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21198   (exit $ac_status); }; }; then
21199   eval "$as_ac_var=yes"
21200 else
21201   echo "$as_me: failed program was:" >&5
21202 sed 's/^/| /' conftest.$ac_ext >&5
21203
21204 eval "$as_ac_var=no"
21205 fi
21206 rm -f conftest.err conftest.$ac_objext \
21207       conftest$ac_exeext conftest.$ac_ext
21208 fi
21209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21211 if test `eval echo '${'$as_ac_var'}'` = yes; then
21212   cat >>confdefs.h <<_ACEOF
21213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21214 _ACEOF
21215
21216 fi
21217 done
21218
21219   else
21220
21221   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
21222 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
21223   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21224     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
21225   echo $ECHO_N "(cached) $ECHO_C" >&6
21226 else
21227
21228
21229
21230       ac_ext=cc
21231 ac_cpp='$CXXCPP $CPPFLAGS'
21232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21235
21236       cat >conftest.$ac_ext <<_ACEOF
21237 /* confdefs.h.  */
21238 _ACEOF
21239 cat confdefs.h >>conftest.$ac_ext
21240 cat >>conftest.$ac_ext <<_ACEOF
21241 /* end confdefs.h.  */
21242 #include <math.h>
21243                       #ifdef HAVE_IEEEFP_H
21244                       #include <ieeefp.h>
21245                       #endif
21246
21247 int
21248 main ()
21249 {
21250  _qfpclass(0);
21251   ;
21252   return 0;
21253 }
21254 _ACEOF
21255 rm -f conftest.$ac_objext
21256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21257   (eval $ac_compile) 2>conftest.er1
21258   ac_status=$?
21259   grep -v '^ *+' conftest.er1 >conftest.err
21260   rm -f conftest.er1
21261   cat conftest.err >&5
21262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21263   (exit $ac_status); } &&
21264          { ac_try='test -z "$ac_cxx_werror_flag"
21265                          || test ! -s conftest.err'
21266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21267   (eval $ac_try) 2>&5
21268   ac_status=$?
21269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270   (exit $ac_status); }; } &&
21271          { ac_try='test -s conftest.$ac_objext'
21272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21273   (eval $ac_try) 2>&5
21274   ac_status=$?
21275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276   (exit $ac_status); }; }; then
21277   glibcxx_cv_func__qfpclass_use=yes
21278 else
21279   echo "$as_me: failed program was:" >&5
21280 sed 's/^/| /' conftest.$ac_ext >&5
21281
21282 glibcxx_cv_func__qfpclass_use=no
21283 fi
21284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21285       ac_ext=c
21286 ac_cpp='$CPP $CPPFLAGS'
21287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21290
21291
21292 fi
21293
21294   fi
21295   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
21296 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
21297
21298     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21299
21300 for ac_func in _qfpclass
21301 do
21302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21303 echo "$as_me:$LINENO: checking for $ac_func" >&5
21304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21305 if eval "test \"\${$as_ac_var+set}\" = set"; then
21306   echo $ECHO_N "(cached) $ECHO_C" >&6
21307 else
21308   if test x$gcc_no_link = xyes; then
21309   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21311    { (exit 1); exit 1; }; }
21312 fi
21313 cat >conftest.$ac_ext <<_ACEOF
21314 /* confdefs.h.  */
21315 _ACEOF
21316 cat confdefs.h >>conftest.$ac_ext
21317 cat >>conftest.$ac_ext <<_ACEOF
21318 /* end confdefs.h.  */
21319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21320    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21321 #define $ac_func innocuous_$ac_func
21322
21323 /* System header to define __stub macros and hopefully few prototypes,
21324     which can conflict with char $ac_func (); below.
21325     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21326     <limits.h> exists even on freestanding compilers.  */
21327
21328 #ifdef __STDC__
21329 # include <limits.h>
21330 #else
21331 # include <assert.h>
21332 #endif
21333
21334 #undef $ac_func
21335
21336 /* Override any gcc2 internal prototype to avoid an error.  */
21337 #ifdef __cplusplus
21338 extern "C"
21339 {
21340 #endif
21341 /* We use char because int might match the return type of a gcc2
21342    builtin and then its argument prototype would still apply.  */
21343 char $ac_func ();
21344 /* The GNU C library defines this for functions which it implements
21345     to always fail with ENOSYS.  Some functions are actually named
21346     something starting with __ and the normal name is an alias.  */
21347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21348 choke me
21349 #else
21350 char (*f) () = $ac_func;
21351 #endif
21352 #ifdef __cplusplus
21353 }
21354 #endif
21355
21356 int
21357 main ()
21358 {
21359 return f != $ac_func;
21360   ;
21361   return 0;
21362 }
21363 _ACEOF
21364 rm -f conftest.$ac_objext conftest$ac_exeext
21365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21366   (eval $ac_link) 2>conftest.er1
21367   ac_status=$?
21368   grep -v '^ *+' conftest.er1 >conftest.err
21369   rm -f conftest.er1
21370   cat conftest.err >&5
21371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372   (exit $ac_status); } &&
21373          { ac_try='test -z "$ac_c_werror_flag"
21374                          || test ! -s conftest.err'
21375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21376   (eval $ac_try) 2>&5
21377   ac_status=$?
21378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379   (exit $ac_status); }; } &&
21380          { ac_try='test -s conftest$ac_exeext'
21381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21382   (eval $ac_try) 2>&5
21383   ac_status=$?
21384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385   (exit $ac_status); }; }; then
21386   eval "$as_ac_var=yes"
21387 else
21388   echo "$as_me: failed program was:" >&5
21389 sed 's/^/| /' conftest.$ac_ext >&5
21390
21391 eval "$as_ac_var=no"
21392 fi
21393 rm -f conftest.err conftest.$ac_objext \
21394       conftest$ac_exeext conftest.$ac_ext
21395 fi
21396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21398 if test `eval echo '${'$as_ac_var'}'` = yes; then
21399   cat >>confdefs.h <<_ACEOF
21400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21401 _ACEOF
21402
21403 fi
21404 done
21405
21406     fi
21407   fi
21408
21409
21410
21411
21412
21413
21414   echo "$as_me:$LINENO: checking for hypot declaration" >&5
21415 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
21416   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21417     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
21418   echo $ECHO_N "(cached) $ECHO_C" >&6
21419 else
21420
21421
21422
21423       ac_ext=cc
21424 ac_cpp='$CXXCPP $CPPFLAGS'
21425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21428
21429       cat >conftest.$ac_ext <<_ACEOF
21430 /* confdefs.h.  */
21431 _ACEOF
21432 cat confdefs.h >>conftest.$ac_ext
21433 cat >>conftest.$ac_ext <<_ACEOF
21434 /* end confdefs.h.  */
21435 #include <math.h>
21436 int
21437 main ()
21438 {
21439  hypot(0, 0);
21440   ;
21441   return 0;
21442 }
21443 _ACEOF
21444 rm -f conftest.$ac_objext
21445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21446   (eval $ac_compile) 2>conftest.er1
21447   ac_status=$?
21448   grep -v '^ *+' conftest.er1 >conftest.err
21449   rm -f conftest.er1
21450   cat conftest.err >&5
21451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21452   (exit $ac_status); } &&
21453          { ac_try='test -z "$ac_cxx_werror_flag"
21454                          || test ! -s conftest.err'
21455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21456   (eval $ac_try) 2>&5
21457   ac_status=$?
21458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21459   (exit $ac_status); }; } &&
21460          { ac_try='test -s conftest.$ac_objext'
21461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21462   (eval $ac_try) 2>&5
21463   ac_status=$?
21464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21465   (exit $ac_status); }; }; then
21466   glibcxx_cv_func_hypot_use=yes
21467 else
21468   echo "$as_me: failed program was:" >&5
21469 sed 's/^/| /' conftest.$ac_ext >&5
21470
21471 glibcxx_cv_func_hypot_use=no
21472 fi
21473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21474       ac_ext=c
21475 ac_cpp='$CPP $CPPFLAGS'
21476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21479
21480
21481 fi
21482
21483   fi
21484   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
21485 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
21486
21487   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21488
21489 for ac_func in hypot
21490 do
21491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21492 echo "$as_me:$LINENO: checking for $ac_func" >&5
21493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21494 if eval "test \"\${$as_ac_var+set}\" = set"; then
21495   echo $ECHO_N "(cached) $ECHO_C" >&6
21496 else
21497   if test x$gcc_no_link = xyes; then
21498   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21500    { (exit 1); exit 1; }; }
21501 fi
21502 cat >conftest.$ac_ext <<_ACEOF
21503 /* confdefs.h.  */
21504 _ACEOF
21505 cat confdefs.h >>conftest.$ac_ext
21506 cat >>conftest.$ac_ext <<_ACEOF
21507 /* end confdefs.h.  */
21508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21509    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21510 #define $ac_func innocuous_$ac_func
21511
21512 /* System header to define __stub macros and hopefully few prototypes,
21513     which can conflict with char $ac_func (); below.
21514     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21515     <limits.h> exists even on freestanding compilers.  */
21516
21517 #ifdef __STDC__
21518 # include <limits.h>
21519 #else
21520 # include <assert.h>
21521 #endif
21522
21523 #undef $ac_func
21524
21525 /* Override any gcc2 internal prototype to avoid an error.  */
21526 #ifdef __cplusplus
21527 extern "C"
21528 {
21529 #endif
21530 /* We use char because int might match the return type of a gcc2
21531    builtin and then its argument prototype would still apply.  */
21532 char $ac_func ();
21533 /* The GNU C library defines this for functions which it implements
21534     to always fail with ENOSYS.  Some functions are actually named
21535     something starting with __ and the normal name is an alias.  */
21536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21537 choke me
21538 #else
21539 char (*f) () = $ac_func;
21540 #endif
21541 #ifdef __cplusplus
21542 }
21543 #endif
21544
21545 int
21546 main ()
21547 {
21548 return f != $ac_func;
21549   ;
21550   return 0;
21551 }
21552 _ACEOF
21553 rm -f conftest.$ac_objext conftest$ac_exeext
21554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21555   (eval $ac_link) 2>conftest.er1
21556   ac_status=$?
21557   grep -v '^ *+' conftest.er1 >conftest.err
21558   rm -f conftest.er1
21559   cat conftest.err >&5
21560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21561   (exit $ac_status); } &&
21562          { ac_try='test -z "$ac_c_werror_flag"
21563                          || test ! -s conftest.err'
21564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21565   (eval $ac_try) 2>&5
21566   ac_status=$?
21567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21568   (exit $ac_status); }; } &&
21569          { ac_try='test -s conftest$ac_exeext'
21570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21571   (eval $ac_try) 2>&5
21572   ac_status=$?
21573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574   (exit $ac_status); }; }; then
21575   eval "$as_ac_var=yes"
21576 else
21577   echo "$as_me: failed program was:" >&5
21578 sed 's/^/| /' conftest.$ac_ext >&5
21579
21580 eval "$as_ac_var=no"
21581 fi
21582 rm -f conftest.err conftest.$ac_objext \
21583       conftest$ac_exeext conftest.$ac_ext
21584 fi
21585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21587 if test `eval echo '${'$as_ac_var'}'` = yes; then
21588   cat >>confdefs.h <<_ACEOF
21589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21590 _ACEOF
21591
21592 fi
21593 done
21594
21595   else
21596
21597   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
21598 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
21599   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21600     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
21601   echo $ECHO_N "(cached) $ECHO_C" >&6
21602 else
21603
21604
21605
21606       ac_ext=cc
21607 ac_cpp='$CXXCPP $CPPFLAGS'
21608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21611
21612       cat >conftest.$ac_ext <<_ACEOF
21613 /* confdefs.h.  */
21614 _ACEOF
21615 cat confdefs.h >>conftest.$ac_ext
21616 cat >>conftest.$ac_ext <<_ACEOF
21617 /* end confdefs.h.  */
21618 #include <math.h>
21619 int
21620 main ()
21621 {
21622  _hypot(0, 0);
21623   ;
21624   return 0;
21625 }
21626 _ACEOF
21627 rm -f conftest.$ac_objext
21628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21629   (eval $ac_compile) 2>conftest.er1
21630   ac_status=$?
21631   grep -v '^ *+' conftest.er1 >conftest.err
21632   rm -f conftest.er1
21633   cat conftest.err >&5
21634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635   (exit $ac_status); } &&
21636          { ac_try='test -z "$ac_cxx_werror_flag"
21637                          || test ! -s conftest.err'
21638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21639   (eval $ac_try) 2>&5
21640   ac_status=$?
21641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21642   (exit $ac_status); }; } &&
21643          { ac_try='test -s conftest.$ac_objext'
21644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21645   (eval $ac_try) 2>&5
21646   ac_status=$?
21647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648   (exit $ac_status); }; }; then
21649   glibcxx_cv_func__hypot_use=yes
21650 else
21651   echo "$as_me: failed program was:" >&5
21652 sed 's/^/| /' conftest.$ac_ext >&5
21653
21654 glibcxx_cv_func__hypot_use=no
21655 fi
21656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21657       ac_ext=c
21658 ac_cpp='$CPP $CPPFLAGS'
21659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21662
21663
21664 fi
21665
21666   fi
21667   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
21668 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
21669
21670     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21671
21672 for ac_func in _hypot
21673 do
21674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21675 echo "$as_me:$LINENO: checking for $ac_func" >&5
21676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21677 if eval "test \"\${$as_ac_var+set}\" = set"; then
21678   echo $ECHO_N "(cached) $ECHO_C" >&6
21679 else
21680   if test x$gcc_no_link = xyes; then
21681   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21683    { (exit 1); exit 1; }; }
21684 fi
21685 cat >conftest.$ac_ext <<_ACEOF
21686 /* confdefs.h.  */
21687 _ACEOF
21688 cat confdefs.h >>conftest.$ac_ext
21689 cat >>conftest.$ac_ext <<_ACEOF
21690 /* end confdefs.h.  */
21691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21692    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21693 #define $ac_func innocuous_$ac_func
21694
21695 /* System header to define __stub macros and hopefully few prototypes,
21696     which can conflict with char $ac_func (); below.
21697     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21698     <limits.h> exists even on freestanding compilers.  */
21699
21700 #ifdef __STDC__
21701 # include <limits.h>
21702 #else
21703 # include <assert.h>
21704 #endif
21705
21706 #undef $ac_func
21707
21708 /* Override any gcc2 internal prototype to avoid an error.  */
21709 #ifdef __cplusplus
21710 extern "C"
21711 {
21712 #endif
21713 /* We use char because int might match the return type of a gcc2
21714    builtin and then its argument prototype would still apply.  */
21715 char $ac_func ();
21716 /* The GNU C library defines this for functions which it implements
21717     to always fail with ENOSYS.  Some functions are actually named
21718     something starting with __ and the normal name is an alias.  */
21719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21720 choke me
21721 #else
21722 char (*f) () = $ac_func;
21723 #endif
21724 #ifdef __cplusplus
21725 }
21726 #endif
21727
21728 int
21729 main ()
21730 {
21731 return f != $ac_func;
21732   ;
21733   return 0;
21734 }
21735 _ACEOF
21736 rm -f conftest.$ac_objext conftest$ac_exeext
21737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21738   (eval $ac_link) 2>conftest.er1
21739   ac_status=$?
21740   grep -v '^ *+' conftest.er1 >conftest.err
21741   rm -f conftest.er1
21742   cat conftest.err >&5
21743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21744   (exit $ac_status); } &&
21745          { ac_try='test -z "$ac_c_werror_flag"
21746                          || test ! -s conftest.err'
21747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21748   (eval $ac_try) 2>&5
21749   ac_status=$?
21750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21751   (exit $ac_status); }; } &&
21752          { ac_try='test -s conftest$ac_exeext'
21753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21754   (eval $ac_try) 2>&5
21755   ac_status=$?
21756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757   (exit $ac_status); }; }; then
21758   eval "$as_ac_var=yes"
21759 else
21760   echo "$as_me: failed program was:" >&5
21761 sed 's/^/| /' conftest.$ac_ext >&5
21762
21763 eval "$as_ac_var=no"
21764 fi
21765 rm -f conftest.err conftest.$ac_objext \
21766       conftest$ac_exeext conftest.$ac_ext
21767 fi
21768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21770 if test `eval echo '${'$as_ac_var'}'` = yes; then
21771   cat >>confdefs.h <<_ACEOF
21772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21773 _ACEOF
21774
21775 fi
21776 done
21777
21778     fi
21779   fi
21780
21781
21782
21783
21784
21785
21786     echo "$as_me:$LINENO: checking for float trig functions" >&5
21787 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
21788   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
21789   echo $ECHO_N "(cached) $ECHO_C" >&6
21790 else
21791
21792
21793
21794     ac_ext=cc
21795 ac_cpp='$CXXCPP $CPPFLAGS'
21796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21799
21800     cat >conftest.$ac_ext <<_ACEOF
21801 /* confdefs.h.  */
21802 _ACEOF
21803 cat confdefs.h >>conftest.$ac_ext
21804 cat >>conftest.$ac_ext <<_ACEOF
21805 /* end confdefs.h.  */
21806 #include <math.h>
21807 int
21808 main ()
21809 {
21810 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21811   ;
21812   return 0;
21813 }
21814 _ACEOF
21815 rm -f conftest.$ac_objext
21816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21817   (eval $ac_compile) 2>conftest.er1
21818   ac_status=$?
21819   grep -v '^ *+' conftest.er1 >conftest.err
21820   rm -f conftest.er1
21821   cat conftest.err >&5
21822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21823   (exit $ac_status); } &&
21824          { ac_try='test -z "$ac_cxx_werror_flag"
21825                          || test ! -s conftest.err'
21826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21827   (eval $ac_try) 2>&5
21828   ac_status=$?
21829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21830   (exit $ac_status); }; } &&
21831          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
21837   glibcxx_cv_func_float_trig_use=yes
21838 else
21839   echo "$as_me: failed program was:" >&5
21840 sed 's/^/| /' conftest.$ac_ext >&5
21841
21842 glibcxx_cv_func_float_trig_use=no
21843 fi
21844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21845     ac_ext=c
21846 ac_cpp='$CPP $CPPFLAGS'
21847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21850
21851 fi
21852
21853   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
21854 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
21855   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21866 do
21867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21868 echo "$as_me:$LINENO: checking for $ac_func" >&5
21869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21870 if eval "test \"\${$as_ac_var+set}\" = set"; then
21871   echo $ECHO_N "(cached) $ECHO_C" >&6
21872 else
21873   if test x$gcc_no_link = xyes; then
21874   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21876    { (exit 1); exit 1; }; }
21877 fi
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21885    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21886 #define $ac_func innocuous_$ac_func
21887
21888 /* System header to define __stub macros and hopefully few prototypes,
21889     which can conflict with char $ac_func (); below.
21890     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21891     <limits.h> exists even on freestanding compilers.  */
21892
21893 #ifdef __STDC__
21894 # include <limits.h>
21895 #else
21896 # include <assert.h>
21897 #endif
21898
21899 #undef $ac_func
21900
21901 /* Override any gcc2 internal prototype to avoid an error.  */
21902 #ifdef __cplusplus
21903 extern "C"
21904 {
21905 #endif
21906 /* We use char because int might match the return type of a gcc2
21907    builtin and then its argument prototype would still apply.  */
21908 char $ac_func ();
21909 /* The GNU C library defines this for functions which it implements
21910     to always fail with ENOSYS.  Some functions are actually named
21911     something starting with __ and the normal name is an alias.  */
21912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21913 choke me
21914 #else
21915 char (*f) () = $ac_func;
21916 #endif
21917 #ifdef __cplusplus
21918 }
21919 #endif
21920
21921 int
21922 main ()
21923 {
21924 return f != $ac_func;
21925   ;
21926   return 0;
21927 }
21928 _ACEOF
21929 rm -f conftest.$ac_objext conftest$ac_exeext
21930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21931   (eval $ac_link) 2>conftest.er1
21932   ac_status=$?
21933   grep -v '^ *+' conftest.er1 >conftest.err
21934   rm -f conftest.er1
21935   cat conftest.err >&5
21936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21937   (exit $ac_status); } &&
21938          { ac_try='test -z "$ac_c_werror_flag"
21939                          || test ! -s conftest.err'
21940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21941   (eval $ac_try) 2>&5
21942   ac_status=$?
21943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21944   (exit $ac_status); }; } &&
21945          { ac_try='test -s conftest$ac_exeext'
21946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21947   (eval $ac_try) 2>&5
21948   ac_status=$?
21949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21950   (exit $ac_status); }; }; then
21951   eval "$as_ac_var=yes"
21952 else
21953   echo "$as_me: failed program was:" >&5
21954 sed 's/^/| /' conftest.$ac_ext >&5
21955
21956 eval "$as_ac_var=no"
21957 fi
21958 rm -f conftest.err conftest.$ac_objext \
21959       conftest$ac_exeext conftest.$ac_ext
21960 fi
21961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21963 if test `eval echo '${'$as_ac_var'}'` = yes; then
21964   cat >>confdefs.h <<_ACEOF
21965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21966 _ACEOF
21967
21968 fi
21969 done
21970
21971   else
21972     echo "$as_me:$LINENO: checking for _float trig functions" >&5
21973 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21974     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21975   echo $ECHO_N "(cached) $ECHO_C" >&6
21976 else
21977
21978
21979
21980       ac_ext=cc
21981 ac_cpp='$CXXCPP $CPPFLAGS'
21982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21985
21986       cat >conftest.$ac_ext <<_ACEOF
21987 /* confdefs.h.  */
21988 _ACEOF
21989 cat confdefs.h >>conftest.$ac_ext
21990 cat >>conftest.$ac_ext <<_ACEOF
21991 /* end confdefs.h.  */
21992 #include <math.h>
21993 int
21994 main ()
21995 {
21996 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21997   ;
21998   return 0;
21999 }
22000 _ACEOF
22001 rm -f conftest.$ac_objext
22002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22003   (eval $ac_compile) 2>conftest.er1
22004   ac_status=$?
22005   grep -v '^ *+' conftest.er1 >conftest.err
22006   rm -f conftest.er1
22007   cat conftest.err >&5
22008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009   (exit $ac_status); } &&
22010          { ac_try='test -z "$ac_cxx_werror_flag"
22011                          || test ! -s conftest.err'
22012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22013   (eval $ac_try) 2>&5
22014   ac_status=$?
22015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016   (exit $ac_status); }; } &&
22017          { ac_try='test -s conftest.$ac_objext'
22018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22019   (eval $ac_try) 2>&5
22020   ac_status=$?
22021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22022   (exit $ac_status); }; }; then
22023   glibcxx_cv_func__float_trig_use=yes
22024 else
22025   echo "$as_me: failed program was:" >&5
22026 sed 's/^/| /' conftest.$ac_ext >&5
22027
22028 glibcxx_cv_func__float_trig_use=no
22029 fi
22030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22031       ac_ext=c
22032 ac_cpp='$CPP $CPPFLAGS'
22033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22036
22037 fi
22038
22039     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
22040 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
22041     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22052 do
22053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22054 echo "$as_me:$LINENO: checking for $ac_func" >&5
22055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22056 if eval "test \"\${$as_ac_var+set}\" = set"; then
22057   echo $ECHO_N "(cached) $ECHO_C" >&6
22058 else
22059   if test x$gcc_no_link = xyes; then
22060   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22062    { (exit 1); exit 1; }; }
22063 fi
22064 cat >conftest.$ac_ext <<_ACEOF
22065 /* confdefs.h.  */
22066 _ACEOF
22067 cat confdefs.h >>conftest.$ac_ext
22068 cat >>conftest.$ac_ext <<_ACEOF
22069 /* end confdefs.h.  */
22070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22071    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22072 #define $ac_func innocuous_$ac_func
22073
22074 /* System header to define __stub macros and hopefully few prototypes,
22075     which can conflict with char $ac_func (); below.
22076     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22077     <limits.h> exists even on freestanding compilers.  */
22078
22079 #ifdef __STDC__
22080 # include <limits.h>
22081 #else
22082 # include <assert.h>
22083 #endif
22084
22085 #undef $ac_func
22086
22087 /* Override any gcc2 internal prototype to avoid an error.  */
22088 #ifdef __cplusplus
22089 extern "C"
22090 {
22091 #endif
22092 /* We use char because int might match the return type of a gcc2
22093    builtin and then its argument prototype would still apply.  */
22094 char $ac_func ();
22095 /* The GNU C library defines this for functions which it implements
22096     to always fail with ENOSYS.  Some functions are actually named
22097     something starting with __ and the normal name is an alias.  */
22098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22099 choke me
22100 #else
22101 char (*f) () = $ac_func;
22102 #endif
22103 #ifdef __cplusplus
22104 }
22105 #endif
22106
22107 int
22108 main ()
22109 {
22110 return f != $ac_func;
22111   ;
22112   return 0;
22113 }
22114 _ACEOF
22115 rm -f conftest.$ac_objext conftest$ac_exeext
22116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22117   (eval $ac_link) 2>conftest.er1
22118   ac_status=$?
22119   grep -v '^ *+' conftest.er1 >conftest.err
22120   rm -f conftest.er1
22121   cat conftest.err >&5
22122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123   (exit $ac_status); } &&
22124          { ac_try='test -z "$ac_c_werror_flag"
22125                          || test ! -s conftest.err'
22126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22127   (eval $ac_try) 2>&5
22128   ac_status=$?
22129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130   (exit $ac_status); }; } &&
22131          { ac_try='test -s conftest$ac_exeext'
22132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22133   (eval $ac_try) 2>&5
22134   ac_status=$?
22135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136   (exit $ac_status); }; }; then
22137   eval "$as_ac_var=yes"
22138 else
22139   echo "$as_me: failed program was:" >&5
22140 sed 's/^/| /' conftest.$ac_ext >&5
22141
22142 eval "$as_ac_var=no"
22143 fi
22144 rm -f conftest.err conftest.$ac_objext \
22145       conftest$ac_exeext conftest.$ac_ext
22146 fi
22147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22149 if test `eval echo '${'$as_ac_var'}'` = yes; then
22150   cat >>confdefs.h <<_ACEOF
22151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22152 _ACEOF
22153
22154 fi
22155 done
22156
22157     fi
22158   fi
22159
22160
22161
22162
22163
22164
22165
22166
22167
22168
22169
22170
22171
22172
22173     echo "$as_me:$LINENO: checking for float round functions" >&5
22174 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
22175   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
22176   echo $ECHO_N "(cached) $ECHO_C" >&6
22177 else
22178
22179
22180
22181     ac_ext=cc
22182 ac_cpp='$CXXCPP $CPPFLAGS'
22183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22186
22187     cat >conftest.$ac_ext <<_ACEOF
22188 /* confdefs.h.  */
22189 _ACEOF
22190 cat confdefs.h >>conftest.$ac_ext
22191 cat >>conftest.$ac_ext <<_ACEOF
22192 /* end confdefs.h.  */
22193 #include <math.h>
22194 int
22195 main ()
22196 {
22197 ceilf (0); floorf (0);
22198   ;
22199   return 0;
22200 }
22201 _ACEOF
22202 rm -f conftest.$ac_objext
22203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22204   (eval $ac_compile) 2>conftest.er1
22205   ac_status=$?
22206   grep -v '^ *+' conftest.er1 >conftest.err
22207   rm -f conftest.er1
22208   cat conftest.err >&5
22209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22210   (exit $ac_status); } &&
22211          { ac_try='test -z "$ac_cxx_werror_flag"
22212                          || test ! -s conftest.err'
22213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22214   (eval $ac_try) 2>&5
22215   ac_status=$?
22216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22217   (exit $ac_status); }; } &&
22218          { ac_try='test -s conftest.$ac_objext'
22219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22220   (eval $ac_try) 2>&5
22221   ac_status=$?
22222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22223   (exit $ac_status); }; }; then
22224   glibcxx_cv_func_float_round_use=yes
22225 else
22226   echo "$as_me: failed program was:" >&5
22227 sed 's/^/| /' conftest.$ac_ext >&5
22228
22229 glibcxx_cv_func_float_round_use=no
22230 fi
22231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22232     ac_ext=c
22233 ac_cpp='$CPP $CPPFLAGS'
22234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22237
22238 fi
22239
22240   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
22241 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
22242   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22243
22244
22245 for ac_func in ceilf floorf
22246 do
22247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22248 echo "$as_me:$LINENO: checking for $ac_func" >&5
22249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22250 if eval "test \"\${$as_ac_var+set}\" = set"; then
22251   echo $ECHO_N "(cached) $ECHO_C" >&6
22252 else
22253   if test x$gcc_no_link = xyes; then
22254   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22256    { (exit 1); exit 1; }; }
22257 fi
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22265    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22266 #define $ac_func innocuous_$ac_func
22267
22268 /* System header to define __stub macros and hopefully few prototypes,
22269     which can conflict with char $ac_func (); below.
22270     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22271     <limits.h> exists even on freestanding compilers.  */
22272
22273 #ifdef __STDC__
22274 # include <limits.h>
22275 #else
22276 # include <assert.h>
22277 #endif
22278
22279 #undef $ac_func
22280
22281 /* Override any gcc2 internal prototype to avoid an error.  */
22282 #ifdef __cplusplus
22283 extern "C"
22284 {
22285 #endif
22286 /* We use char because int might match the return type of a gcc2
22287    builtin and then its argument prototype would still apply.  */
22288 char $ac_func ();
22289 /* The GNU C library defines this for functions which it implements
22290     to always fail with ENOSYS.  Some functions are actually named
22291     something starting with __ and the normal name is an alias.  */
22292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22293 choke me
22294 #else
22295 char (*f) () = $ac_func;
22296 #endif
22297 #ifdef __cplusplus
22298 }
22299 #endif
22300
22301 int
22302 main ()
22303 {
22304 return f != $ac_func;
22305   ;
22306   return 0;
22307 }
22308 _ACEOF
22309 rm -f conftest.$ac_objext conftest$ac_exeext
22310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22311   (eval $ac_link) 2>conftest.er1
22312   ac_status=$?
22313   grep -v '^ *+' conftest.er1 >conftest.err
22314   rm -f conftest.er1
22315   cat conftest.err >&5
22316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317   (exit $ac_status); } &&
22318          { ac_try='test -z "$ac_c_werror_flag"
22319                          || test ! -s conftest.err'
22320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22321   (eval $ac_try) 2>&5
22322   ac_status=$?
22323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22324   (exit $ac_status); }; } &&
22325          { ac_try='test -s conftest$ac_exeext'
22326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22327   (eval $ac_try) 2>&5
22328   ac_status=$?
22329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22330   (exit $ac_status); }; }; then
22331   eval "$as_ac_var=yes"
22332 else
22333   echo "$as_me: failed program was:" >&5
22334 sed 's/^/| /' conftest.$ac_ext >&5
22335
22336 eval "$as_ac_var=no"
22337 fi
22338 rm -f conftest.err conftest.$ac_objext \
22339       conftest$ac_exeext conftest.$ac_ext
22340 fi
22341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22343 if test `eval echo '${'$as_ac_var'}'` = yes; then
22344   cat >>confdefs.h <<_ACEOF
22345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22346 _ACEOF
22347
22348 fi
22349 done
22350
22351   else
22352     echo "$as_me:$LINENO: checking for _float round functions" >&5
22353 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
22354     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
22355   echo $ECHO_N "(cached) $ECHO_C" >&6
22356 else
22357
22358
22359
22360       ac_ext=cc
22361 ac_cpp='$CXXCPP $CPPFLAGS'
22362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22365
22366       cat >conftest.$ac_ext <<_ACEOF
22367 /* confdefs.h.  */
22368 _ACEOF
22369 cat confdefs.h >>conftest.$ac_ext
22370 cat >>conftest.$ac_ext <<_ACEOF
22371 /* end confdefs.h.  */
22372 #include <math.h>
22373 int
22374 main ()
22375 {
22376 _ceilf (0); _floorf (0);
22377   ;
22378   return 0;
22379 }
22380 _ACEOF
22381 rm -f conftest.$ac_objext
22382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22383   (eval $ac_compile) 2>conftest.er1
22384   ac_status=$?
22385   grep -v '^ *+' conftest.er1 >conftest.err
22386   rm -f conftest.er1
22387   cat conftest.err >&5
22388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389   (exit $ac_status); } &&
22390          { ac_try='test -z "$ac_cxx_werror_flag"
22391                          || test ! -s conftest.err'
22392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22393   (eval $ac_try) 2>&5
22394   ac_status=$?
22395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396   (exit $ac_status); }; } &&
22397          { ac_try='test -s conftest.$ac_objext'
22398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22399   (eval $ac_try) 2>&5
22400   ac_status=$?
22401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22402   (exit $ac_status); }; }; then
22403   glibcxx_cv_func__float_round_use=yes
22404 else
22405   echo "$as_me: failed program was:" >&5
22406 sed 's/^/| /' conftest.$ac_ext >&5
22407
22408 glibcxx_cv_func__float_round_use=no
22409 fi
22410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22411       ac_ext=c
22412 ac_cpp='$CPP $CPPFLAGS'
22413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22416
22417 fi
22418
22419     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
22420 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
22421     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22422
22423
22424 for ac_func in _ceilf _floorf
22425 do
22426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22427 echo "$as_me:$LINENO: checking for $ac_func" >&5
22428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22429 if eval "test \"\${$as_ac_var+set}\" = set"; then
22430   echo $ECHO_N "(cached) $ECHO_C" >&6
22431 else
22432   if test x$gcc_no_link = xyes; then
22433   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22435    { (exit 1); exit 1; }; }
22436 fi
22437 cat >conftest.$ac_ext <<_ACEOF
22438 /* confdefs.h.  */
22439 _ACEOF
22440 cat confdefs.h >>conftest.$ac_ext
22441 cat >>conftest.$ac_ext <<_ACEOF
22442 /* end confdefs.h.  */
22443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22444    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22445 #define $ac_func innocuous_$ac_func
22446
22447 /* System header to define __stub macros and hopefully few prototypes,
22448     which can conflict with char $ac_func (); below.
22449     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22450     <limits.h> exists even on freestanding compilers.  */
22451
22452 #ifdef __STDC__
22453 # include <limits.h>
22454 #else
22455 # include <assert.h>
22456 #endif
22457
22458 #undef $ac_func
22459
22460 /* Override any gcc2 internal prototype to avoid an error.  */
22461 #ifdef __cplusplus
22462 extern "C"
22463 {
22464 #endif
22465 /* We use char because int might match the return type of a gcc2
22466    builtin and then its argument prototype would still apply.  */
22467 char $ac_func ();
22468 /* The GNU C library defines this for functions which it implements
22469     to always fail with ENOSYS.  Some functions are actually named
22470     something starting with __ and the normal name is an alias.  */
22471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22472 choke me
22473 #else
22474 char (*f) () = $ac_func;
22475 #endif
22476 #ifdef __cplusplus
22477 }
22478 #endif
22479
22480 int
22481 main ()
22482 {
22483 return f != $ac_func;
22484   ;
22485   return 0;
22486 }
22487 _ACEOF
22488 rm -f conftest.$ac_objext conftest$ac_exeext
22489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22490   (eval $ac_link) 2>conftest.er1
22491   ac_status=$?
22492   grep -v '^ *+' conftest.er1 >conftest.err
22493   rm -f conftest.er1
22494   cat conftest.err >&5
22495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22496   (exit $ac_status); } &&
22497          { ac_try='test -z "$ac_c_werror_flag"
22498                          || test ! -s conftest.err'
22499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22500   (eval $ac_try) 2>&5
22501   ac_status=$?
22502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22503   (exit $ac_status); }; } &&
22504          { ac_try='test -s conftest$ac_exeext'
22505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22506   (eval $ac_try) 2>&5
22507   ac_status=$?
22508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22509   (exit $ac_status); }; }; then
22510   eval "$as_ac_var=yes"
22511 else
22512   echo "$as_me: failed program was:" >&5
22513 sed 's/^/| /' conftest.$ac_ext >&5
22514
22515 eval "$as_ac_var=no"
22516 fi
22517 rm -f conftest.err conftest.$ac_objext \
22518       conftest$ac_exeext conftest.$ac_ext
22519 fi
22520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22522 if test `eval echo '${'$as_ac_var'}'` = yes; then
22523   cat >>confdefs.h <<_ACEOF
22524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22525 _ACEOF
22526
22527 fi
22528 done
22529
22530     fi
22531   fi
22532
22533
22534
22535
22536
22537
22538
22539
22540   echo "$as_me:$LINENO: checking for expf declaration" >&5
22541 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
22542   if test x${glibcxx_cv_func_expf_use+set} != xset; then
22543     if test "${glibcxx_cv_func_expf_use+set}" = set; then
22544   echo $ECHO_N "(cached) $ECHO_C" >&6
22545 else
22546
22547
22548
22549       ac_ext=cc
22550 ac_cpp='$CXXCPP $CPPFLAGS'
22551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22554
22555       cat >conftest.$ac_ext <<_ACEOF
22556 /* confdefs.h.  */
22557 _ACEOF
22558 cat confdefs.h >>conftest.$ac_ext
22559 cat >>conftest.$ac_ext <<_ACEOF
22560 /* end confdefs.h.  */
22561 #include <math.h>
22562                       #ifdef HAVE_IEEEFP_H
22563                       #include <ieeefp.h>
22564                       #endif
22565
22566 int
22567 main ()
22568 {
22569  expf(0);
22570   ;
22571   return 0;
22572 }
22573 _ACEOF
22574 rm -f conftest.$ac_objext
22575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22576   (eval $ac_compile) 2>conftest.er1
22577   ac_status=$?
22578   grep -v '^ *+' conftest.er1 >conftest.err
22579   rm -f conftest.er1
22580   cat conftest.err >&5
22581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582   (exit $ac_status); } &&
22583          { ac_try='test -z "$ac_cxx_werror_flag"
22584                          || test ! -s conftest.err'
22585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22586   (eval $ac_try) 2>&5
22587   ac_status=$?
22588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22589   (exit $ac_status); }; } &&
22590          { ac_try='test -s conftest.$ac_objext'
22591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22592   (eval $ac_try) 2>&5
22593   ac_status=$?
22594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22595   (exit $ac_status); }; }; then
22596   glibcxx_cv_func_expf_use=yes
22597 else
22598   echo "$as_me: failed program was:" >&5
22599 sed 's/^/| /' conftest.$ac_ext >&5
22600
22601 glibcxx_cv_func_expf_use=no
22602 fi
22603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22604       ac_ext=c
22605 ac_cpp='$CPP $CPPFLAGS'
22606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22609
22610
22611 fi
22612
22613   fi
22614   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
22615 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
22616
22617   if test x$glibcxx_cv_func_expf_use = x"yes"; then
22618
22619 for ac_func in expf
22620 do
22621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22622 echo "$as_me:$LINENO: checking for $ac_func" >&5
22623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22624 if eval "test \"\${$as_ac_var+set}\" = set"; then
22625   echo $ECHO_N "(cached) $ECHO_C" >&6
22626 else
22627   if test x$gcc_no_link = xyes; then
22628   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22630    { (exit 1); exit 1; }; }
22631 fi
22632 cat >conftest.$ac_ext <<_ACEOF
22633 /* confdefs.h.  */
22634 _ACEOF
22635 cat confdefs.h >>conftest.$ac_ext
22636 cat >>conftest.$ac_ext <<_ACEOF
22637 /* end confdefs.h.  */
22638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22639    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22640 #define $ac_func innocuous_$ac_func
22641
22642 /* System header to define __stub macros and hopefully few prototypes,
22643     which can conflict with char $ac_func (); below.
22644     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22645     <limits.h> exists even on freestanding compilers.  */
22646
22647 #ifdef __STDC__
22648 # include <limits.h>
22649 #else
22650 # include <assert.h>
22651 #endif
22652
22653 #undef $ac_func
22654
22655 /* Override any gcc2 internal prototype to avoid an error.  */
22656 #ifdef __cplusplus
22657 extern "C"
22658 {
22659 #endif
22660 /* We use char because int might match the return type of a gcc2
22661    builtin and then its argument prototype would still apply.  */
22662 char $ac_func ();
22663 /* The GNU C library defines this for functions which it implements
22664     to always fail with ENOSYS.  Some functions are actually named
22665     something starting with __ and the normal name is an alias.  */
22666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22667 choke me
22668 #else
22669 char (*f) () = $ac_func;
22670 #endif
22671 #ifdef __cplusplus
22672 }
22673 #endif
22674
22675 int
22676 main ()
22677 {
22678 return f != $ac_func;
22679   ;
22680   return 0;
22681 }
22682 _ACEOF
22683 rm -f conftest.$ac_objext conftest$ac_exeext
22684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22685   (eval $ac_link) 2>conftest.er1
22686   ac_status=$?
22687   grep -v '^ *+' conftest.er1 >conftest.err
22688   rm -f conftest.er1
22689   cat conftest.err >&5
22690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22691   (exit $ac_status); } &&
22692          { ac_try='test -z "$ac_c_werror_flag"
22693                          || test ! -s conftest.err'
22694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22695   (eval $ac_try) 2>&5
22696   ac_status=$?
22697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22698   (exit $ac_status); }; } &&
22699          { ac_try='test -s conftest$ac_exeext'
22700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22701   (eval $ac_try) 2>&5
22702   ac_status=$?
22703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22704   (exit $ac_status); }; }; then
22705   eval "$as_ac_var=yes"
22706 else
22707   echo "$as_me: failed program was:" >&5
22708 sed 's/^/| /' conftest.$ac_ext >&5
22709
22710 eval "$as_ac_var=no"
22711 fi
22712 rm -f conftest.err conftest.$ac_objext \
22713       conftest$ac_exeext conftest.$ac_ext
22714 fi
22715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22717 if test `eval echo '${'$as_ac_var'}'` = yes; then
22718   cat >>confdefs.h <<_ACEOF
22719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22720 _ACEOF
22721
22722 fi
22723 done
22724
22725   else
22726
22727   echo "$as_me:$LINENO: checking for _expf declaration" >&5
22728 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
22729   if test x${glibcxx_cv_func__expf_use+set} != xset; then
22730     if test "${glibcxx_cv_func__expf_use+set}" = set; then
22731   echo $ECHO_N "(cached) $ECHO_C" >&6
22732 else
22733
22734
22735
22736       ac_ext=cc
22737 ac_cpp='$CXXCPP $CPPFLAGS'
22738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22741
22742       cat >conftest.$ac_ext <<_ACEOF
22743 /* confdefs.h.  */
22744 _ACEOF
22745 cat confdefs.h >>conftest.$ac_ext
22746 cat >>conftest.$ac_ext <<_ACEOF
22747 /* end confdefs.h.  */
22748 #include <math.h>
22749                       #ifdef HAVE_IEEEFP_H
22750                       #include <ieeefp.h>
22751                       #endif
22752
22753 int
22754 main ()
22755 {
22756  _expf(0);
22757   ;
22758   return 0;
22759 }
22760 _ACEOF
22761 rm -f conftest.$ac_objext
22762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22763   (eval $ac_compile) 2>conftest.er1
22764   ac_status=$?
22765   grep -v '^ *+' conftest.er1 >conftest.err
22766   rm -f conftest.er1
22767   cat conftest.err >&5
22768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22769   (exit $ac_status); } &&
22770          { ac_try='test -z "$ac_cxx_werror_flag"
22771                          || test ! -s conftest.err'
22772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22773   (eval $ac_try) 2>&5
22774   ac_status=$?
22775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776   (exit $ac_status); }; } &&
22777          { ac_try='test -s conftest.$ac_objext'
22778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22779   (eval $ac_try) 2>&5
22780   ac_status=$?
22781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782   (exit $ac_status); }; }; then
22783   glibcxx_cv_func__expf_use=yes
22784 else
22785   echo "$as_me: failed program was:" >&5
22786 sed 's/^/| /' conftest.$ac_ext >&5
22787
22788 glibcxx_cv_func__expf_use=no
22789 fi
22790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22791       ac_ext=c
22792 ac_cpp='$CPP $CPPFLAGS'
22793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22796
22797
22798 fi
22799
22800   fi
22801   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
22802 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
22803
22804     if test x$glibcxx_cv_func__expf_use = x"yes"; then
22805
22806 for ac_func in _expf
22807 do
22808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22809 echo "$as_me:$LINENO: checking for $ac_func" >&5
22810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22811 if eval "test \"\${$as_ac_var+set}\" = set"; then
22812   echo $ECHO_N "(cached) $ECHO_C" >&6
22813 else
22814   if test x$gcc_no_link = xyes; then
22815   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22817    { (exit 1); exit 1; }; }
22818 fi
22819 cat >conftest.$ac_ext <<_ACEOF
22820 /* confdefs.h.  */
22821 _ACEOF
22822 cat confdefs.h >>conftest.$ac_ext
22823 cat >>conftest.$ac_ext <<_ACEOF
22824 /* end confdefs.h.  */
22825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22826    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22827 #define $ac_func innocuous_$ac_func
22828
22829 /* System header to define __stub macros and hopefully few prototypes,
22830     which can conflict with char $ac_func (); below.
22831     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22832     <limits.h> exists even on freestanding compilers.  */
22833
22834 #ifdef __STDC__
22835 # include <limits.h>
22836 #else
22837 # include <assert.h>
22838 #endif
22839
22840 #undef $ac_func
22841
22842 /* Override any gcc2 internal prototype to avoid an error.  */
22843 #ifdef __cplusplus
22844 extern "C"
22845 {
22846 #endif
22847 /* We use char because int might match the return type of a gcc2
22848    builtin and then its argument prototype would still apply.  */
22849 char $ac_func ();
22850 /* The GNU C library defines this for functions which it implements
22851     to always fail with ENOSYS.  Some functions are actually named
22852     something starting with __ and the normal name is an alias.  */
22853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22854 choke me
22855 #else
22856 char (*f) () = $ac_func;
22857 #endif
22858 #ifdef __cplusplus
22859 }
22860 #endif
22861
22862 int
22863 main ()
22864 {
22865 return f != $ac_func;
22866   ;
22867   return 0;
22868 }
22869 _ACEOF
22870 rm -f conftest.$ac_objext conftest$ac_exeext
22871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22872   (eval $ac_link) 2>conftest.er1
22873   ac_status=$?
22874   grep -v '^ *+' conftest.er1 >conftest.err
22875   rm -f conftest.er1
22876   cat conftest.err >&5
22877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22878   (exit $ac_status); } &&
22879          { ac_try='test -z "$ac_c_werror_flag"
22880                          || test ! -s conftest.err'
22881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22882   (eval $ac_try) 2>&5
22883   ac_status=$?
22884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885   (exit $ac_status); }; } &&
22886          { ac_try='test -s conftest$ac_exeext'
22887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22888   (eval $ac_try) 2>&5
22889   ac_status=$?
22890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891   (exit $ac_status); }; }; then
22892   eval "$as_ac_var=yes"
22893 else
22894   echo "$as_me: failed program was:" >&5
22895 sed 's/^/| /' conftest.$ac_ext >&5
22896
22897 eval "$as_ac_var=no"
22898 fi
22899 rm -f conftest.err conftest.$ac_objext \
22900       conftest$ac_exeext conftest.$ac_ext
22901 fi
22902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22904 if test `eval echo '${'$as_ac_var'}'` = yes; then
22905   cat >>confdefs.h <<_ACEOF
22906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22907 _ACEOF
22908
22909 fi
22910 done
22911
22912     fi
22913   fi
22914
22915
22916
22917
22918
22919
22920   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
22921 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
22922   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22923     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
22924   echo $ECHO_N "(cached) $ECHO_C" >&6
22925 else
22926
22927
22928
22929       ac_ext=cc
22930 ac_cpp='$CXXCPP $CPPFLAGS'
22931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22934
22935       cat >conftest.$ac_ext <<_ACEOF
22936 /* confdefs.h.  */
22937 _ACEOF
22938 cat confdefs.h >>conftest.$ac_ext
22939 cat >>conftest.$ac_ext <<_ACEOF
22940 /* end confdefs.h.  */
22941 #include <math.h>
22942                       #ifdef HAVE_IEEEFP_H
22943                       #include <ieeefp.h>
22944                       #endif
22945
22946 int
22947 main ()
22948 {
22949  isnanf(0);
22950   ;
22951   return 0;
22952 }
22953 _ACEOF
22954 rm -f conftest.$ac_objext
22955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22956   (eval $ac_compile) 2>conftest.er1
22957   ac_status=$?
22958   grep -v '^ *+' conftest.er1 >conftest.err
22959   rm -f conftest.er1
22960   cat conftest.err >&5
22961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22962   (exit $ac_status); } &&
22963          { ac_try='test -z "$ac_cxx_werror_flag"
22964                          || test ! -s conftest.err'
22965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22966   (eval $ac_try) 2>&5
22967   ac_status=$?
22968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22969   (exit $ac_status); }; } &&
22970          { ac_try='test -s conftest.$ac_objext'
22971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22972   (eval $ac_try) 2>&5
22973   ac_status=$?
22974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22975   (exit $ac_status); }; }; then
22976   glibcxx_cv_func_isnanf_use=yes
22977 else
22978   echo "$as_me: failed program was:" >&5
22979 sed 's/^/| /' conftest.$ac_ext >&5
22980
22981 glibcxx_cv_func_isnanf_use=no
22982 fi
22983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22984       ac_ext=c
22985 ac_cpp='$CPP $CPPFLAGS'
22986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22989
22990
22991 fi
22992
22993   fi
22994   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
22995 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
22996
22997   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22998
22999 for ac_func in isnanf
23000 do
23001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23002 echo "$as_me:$LINENO: checking for $ac_func" >&5
23003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23004 if eval "test \"\${$as_ac_var+set}\" = set"; then
23005   echo $ECHO_N "(cached) $ECHO_C" >&6
23006 else
23007   if test x$gcc_no_link = xyes; then
23008   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23010    { (exit 1); exit 1; }; }
23011 fi
23012 cat >conftest.$ac_ext <<_ACEOF
23013 /* confdefs.h.  */
23014 _ACEOF
23015 cat confdefs.h >>conftest.$ac_ext
23016 cat >>conftest.$ac_ext <<_ACEOF
23017 /* end confdefs.h.  */
23018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23019    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23020 #define $ac_func innocuous_$ac_func
23021
23022 /* System header to define __stub macros and hopefully few prototypes,
23023     which can conflict with char $ac_func (); below.
23024     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23025     <limits.h> exists even on freestanding compilers.  */
23026
23027 #ifdef __STDC__
23028 # include <limits.h>
23029 #else
23030 # include <assert.h>
23031 #endif
23032
23033 #undef $ac_func
23034
23035 /* Override any gcc2 internal prototype to avoid an error.  */
23036 #ifdef __cplusplus
23037 extern "C"
23038 {
23039 #endif
23040 /* We use char because int might match the return type of a gcc2
23041    builtin and then its argument prototype would still apply.  */
23042 char $ac_func ();
23043 /* The GNU C library defines this for functions which it implements
23044     to always fail with ENOSYS.  Some functions are actually named
23045     something starting with __ and the normal name is an alias.  */
23046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23047 choke me
23048 #else
23049 char (*f) () = $ac_func;
23050 #endif
23051 #ifdef __cplusplus
23052 }
23053 #endif
23054
23055 int
23056 main ()
23057 {
23058 return f != $ac_func;
23059   ;
23060   return 0;
23061 }
23062 _ACEOF
23063 rm -f conftest.$ac_objext conftest$ac_exeext
23064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23065   (eval $ac_link) 2>conftest.er1
23066   ac_status=$?
23067   grep -v '^ *+' conftest.er1 >conftest.err
23068   rm -f conftest.er1
23069   cat conftest.err >&5
23070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23071   (exit $ac_status); } &&
23072          { ac_try='test -z "$ac_c_werror_flag"
23073                          || test ! -s conftest.err'
23074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23075   (eval $ac_try) 2>&5
23076   ac_status=$?
23077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23078   (exit $ac_status); }; } &&
23079          { ac_try='test -s conftest$ac_exeext'
23080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23081   (eval $ac_try) 2>&5
23082   ac_status=$?
23083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084   (exit $ac_status); }; }; then
23085   eval "$as_ac_var=yes"
23086 else
23087   echo "$as_me: failed program was:" >&5
23088 sed 's/^/| /' conftest.$ac_ext >&5
23089
23090 eval "$as_ac_var=no"
23091 fi
23092 rm -f conftest.err conftest.$ac_objext \
23093       conftest$ac_exeext conftest.$ac_ext
23094 fi
23095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23097 if test `eval echo '${'$as_ac_var'}'` = yes; then
23098   cat >>confdefs.h <<_ACEOF
23099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23100 _ACEOF
23101
23102 fi
23103 done
23104
23105   else
23106
23107   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
23108 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
23109   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23110     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
23111   echo $ECHO_N "(cached) $ECHO_C" >&6
23112 else
23113
23114
23115
23116       ac_ext=cc
23117 ac_cpp='$CXXCPP $CPPFLAGS'
23118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23121
23122       cat >conftest.$ac_ext <<_ACEOF
23123 /* confdefs.h.  */
23124 _ACEOF
23125 cat confdefs.h >>conftest.$ac_ext
23126 cat >>conftest.$ac_ext <<_ACEOF
23127 /* end confdefs.h.  */
23128 #include <math.h>
23129                       #ifdef HAVE_IEEEFP_H
23130                       #include <ieeefp.h>
23131                       #endif
23132
23133 int
23134 main ()
23135 {
23136  _isnanf(0);
23137   ;
23138   return 0;
23139 }
23140 _ACEOF
23141 rm -f conftest.$ac_objext
23142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23143   (eval $ac_compile) 2>conftest.er1
23144   ac_status=$?
23145   grep -v '^ *+' conftest.er1 >conftest.err
23146   rm -f conftest.er1
23147   cat conftest.err >&5
23148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23149   (exit $ac_status); } &&
23150          { ac_try='test -z "$ac_cxx_werror_flag"
23151                          || test ! -s conftest.err'
23152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23153   (eval $ac_try) 2>&5
23154   ac_status=$?
23155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156   (exit $ac_status); }; } &&
23157          { ac_try='test -s conftest.$ac_objext'
23158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23159   (eval $ac_try) 2>&5
23160   ac_status=$?
23161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23162   (exit $ac_status); }; }; then
23163   glibcxx_cv_func__isnanf_use=yes
23164 else
23165   echo "$as_me: failed program was:" >&5
23166 sed 's/^/| /' conftest.$ac_ext >&5
23167
23168 glibcxx_cv_func__isnanf_use=no
23169 fi
23170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23171       ac_ext=c
23172 ac_cpp='$CPP $CPPFLAGS'
23173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23176
23177
23178 fi
23179
23180   fi
23181   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
23182 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
23183
23184     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23185
23186 for ac_func in _isnanf
23187 do
23188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23189 echo "$as_me:$LINENO: checking for $ac_func" >&5
23190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23191 if eval "test \"\${$as_ac_var+set}\" = set"; then
23192   echo $ECHO_N "(cached) $ECHO_C" >&6
23193 else
23194   if test x$gcc_no_link = xyes; then
23195   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23197    { (exit 1); exit 1; }; }
23198 fi
23199 cat >conftest.$ac_ext <<_ACEOF
23200 /* confdefs.h.  */
23201 _ACEOF
23202 cat confdefs.h >>conftest.$ac_ext
23203 cat >>conftest.$ac_ext <<_ACEOF
23204 /* end confdefs.h.  */
23205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23206    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23207 #define $ac_func innocuous_$ac_func
23208
23209 /* System header to define __stub macros and hopefully few prototypes,
23210     which can conflict with char $ac_func (); below.
23211     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23212     <limits.h> exists even on freestanding compilers.  */
23213
23214 #ifdef __STDC__
23215 # include <limits.h>
23216 #else
23217 # include <assert.h>
23218 #endif
23219
23220 #undef $ac_func
23221
23222 /* Override any gcc2 internal prototype to avoid an error.  */
23223 #ifdef __cplusplus
23224 extern "C"
23225 {
23226 #endif
23227 /* We use char because int might match the return type of a gcc2
23228    builtin and then its argument prototype would still apply.  */
23229 char $ac_func ();
23230 /* The GNU C library defines this for functions which it implements
23231     to always fail with ENOSYS.  Some functions are actually named
23232     something starting with __ and the normal name is an alias.  */
23233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23234 choke me
23235 #else
23236 char (*f) () = $ac_func;
23237 #endif
23238 #ifdef __cplusplus
23239 }
23240 #endif
23241
23242 int
23243 main ()
23244 {
23245 return f != $ac_func;
23246   ;
23247   return 0;
23248 }
23249 _ACEOF
23250 rm -f conftest.$ac_objext conftest$ac_exeext
23251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23252   (eval $ac_link) 2>conftest.er1
23253   ac_status=$?
23254   grep -v '^ *+' conftest.er1 >conftest.err
23255   rm -f conftest.er1
23256   cat conftest.err >&5
23257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23258   (exit $ac_status); } &&
23259          { ac_try='test -z "$ac_c_werror_flag"
23260                          || test ! -s conftest.err'
23261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23262   (eval $ac_try) 2>&5
23263   ac_status=$?
23264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23265   (exit $ac_status); }; } &&
23266          { ac_try='test -s conftest$ac_exeext'
23267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23268   (eval $ac_try) 2>&5
23269   ac_status=$?
23270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23271   (exit $ac_status); }; }; then
23272   eval "$as_ac_var=yes"
23273 else
23274   echo "$as_me: failed program was:" >&5
23275 sed 's/^/| /' conftest.$ac_ext >&5
23276
23277 eval "$as_ac_var=no"
23278 fi
23279 rm -f conftest.err conftest.$ac_objext \
23280       conftest$ac_exeext conftest.$ac_ext
23281 fi
23282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23284 if test `eval echo '${'$as_ac_var'}'` = yes; then
23285   cat >>confdefs.h <<_ACEOF
23286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23287 _ACEOF
23288
23289 fi
23290 done
23291
23292     fi
23293   fi
23294
23295
23296
23297
23298
23299
23300   echo "$as_me:$LINENO: checking for isinff declaration" >&5
23301 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
23302   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23303     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
23304   echo $ECHO_N "(cached) $ECHO_C" >&6
23305 else
23306
23307
23308
23309       ac_ext=cc
23310 ac_cpp='$CXXCPP $CPPFLAGS'
23311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23314
23315       cat >conftest.$ac_ext <<_ACEOF
23316 /* confdefs.h.  */
23317 _ACEOF
23318 cat confdefs.h >>conftest.$ac_ext
23319 cat >>conftest.$ac_ext <<_ACEOF
23320 /* end confdefs.h.  */
23321 #include <math.h>
23322                       #ifdef HAVE_IEEEFP_H
23323                       #include <ieeefp.h>
23324                       #endif
23325
23326 int
23327 main ()
23328 {
23329  isinff(0);
23330   ;
23331   return 0;
23332 }
23333 _ACEOF
23334 rm -f conftest.$ac_objext
23335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23336   (eval $ac_compile) 2>conftest.er1
23337   ac_status=$?
23338   grep -v '^ *+' conftest.er1 >conftest.err
23339   rm -f conftest.er1
23340   cat conftest.err >&5
23341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23342   (exit $ac_status); } &&
23343          { ac_try='test -z "$ac_cxx_werror_flag"
23344                          || test ! -s conftest.err'
23345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23346   (eval $ac_try) 2>&5
23347   ac_status=$?
23348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23349   (exit $ac_status); }; } &&
23350          { ac_try='test -s conftest.$ac_objext'
23351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23352   (eval $ac_try) 2>&5
23353   ac_status=$?
23354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355   (exit $ac_status); }; }; then
23356   glibcxx_cv_func_isinff_use=yes
23357 else
23358   echo "$as_me: failed program was:" >&5
23359 sed 's/^/| /' conftest.$ac_ext >&5
23360
23361 glibcxx_cv_func_isinff_use=no
23362 fi
23363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23364       ac_ext=c
23365 ac_cpp='$CPP $CPPFLAGS'
23366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23369
23370
23371 fi
23372
23373   fi
23374   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
23375 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
23376
23377   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23378
23379 for ac_func in isinff
23380 do
23381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23382 echo "$as_me:$LINENO: checking for $ac_func" >&5
23383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23384 if eval "test \"\${$as_ac_var+set}\" = set"; then
23385   echo $ECHO_N "(cached) $ECHO_C" >&6
23386 else
23387   if test x$gcc_no_link = xyes; then
23388   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23390    { (exit 1); exit 1; }; }
23391 fi
23392 cat >conftest.$ac_ext <<_ACEOF
23393 /* confdefs.h.  */
23394 _ACEOF
23395 cat confdefs.h >>conftest.$ac_ext
23396 cat >>conftest.$ac_ext <<_ACEOF
23397 /* end confdefs.h.  */
23398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23399    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23400 #define $ac_func innocuous_$ac_func
23401
23402 /* System header to define __stub macros and hopefully few prototypes,
23403     which can conflict with char $ac_func (); below.
23404     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23405     <limits.h> exists even on freestanding compilers.  */
23406
23407 #ifdef __STDC__
23408 # include <limits.h>
23409 #else
23410 # include <assert.h>
23411 #endif
23412
23413 #undef $ac_func
23414
23415 /* Override any gcc2 internal prototype to avoid an error.  */
23416 #ifdef __cplusplus
23417 extern "C"
23418 {
23419 #endif
23420 /* We use char because int might match the return type of a gcc2
23421    builtin and then its argument prototype would still apply.  */
23422 char $ac_func ();
23423 /* The GNU C library defines this for functions which it implements
23424     to always fail with ENOSYS.  Some functions are actually named
23425     something starting with __ and the normal name is an alias.  */
23426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23427 choke me
23428 #else
23429 char (*f) () = $ac_func;
23430 #endif
23431 #ifdef __cplusplus
23432 }
23433 #endif
23434
23435 int
23436 main ()
23437 {
23438 return f != $ac_func;
23439   ;
23440   return 0;
23441 }
23442 _ACEOF
23443 rm -f conftest.$ac_objext conftest$ac_exeext
23444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23445   (eval $ac_link) 2>conftest.er1
23446   ac_status=$?
23447   grep -v '^ *+' conftest.er1 >conftest.err
23448   rm -f conftest.er1
23449   cat conftest.err >&5
23450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23451   (exit $ac_status); } &&
23452          { ac_try='test -z "$ac_c_werror_flag"
23453                          || test ! -s conftest.err'
23454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23455   (eval $ac_try) 2>&5
23456   ac_status=$?
23457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23458   (exit $ac_status); }; } &&
23459          { ac_try='test -s conftest$ac_exeext'
23460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23461   (eval $ac_try) 2>&5
23462   ac_status=$?
23463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464   (exit $ac_status); }; }; then
23465   eval "$as_ac_var=yes"
23466 else
23467   echo "$as_me: failed program was:" >&5
23468 sed 's/^/| /' conftest.$ac_ext >&5
23469
23470 eval "$as_ac_var=no"
23471 fi
23472 rm -f conftest.err conftest.$ac_objext \
23473       conftest$ac_exeext conftest.$ac_ext
23474 fi
23475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23477 if test `eval echo '${'$as_ac_var'}'` = yes; then
23478   cat >>confdefs.h <<_ACEOF
23479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23480 _ACEOF
23481
23482 fi
23483 done
23484
23485   else
23486
23487   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
23488 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
23489   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23490     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
23491   echo $ECHO_N "(cached) $ECHO_C" >&6
23492 else
23493
23494
23495
23496       ac_ext=cc
23497 ac_cpp='$CXXCPP $CPPFLAGS'
23498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23501
23502       cat >conftest.$ac_ext <<_ACEOF
23503 /* confdefs.h.  */
23504 _ACEOF
23505 cat confdefs.h >>conftest.$ac_ext
23506 cat >>conftest.$ac_ext <<_ACEOF
23507 /* end confdefs.h.  */
23508 #include <math.h>
23509                       #ifdef HAVE_IEEEFP_H
23510                       #include <ieeefp.h>
23511                       #endif
23512
23513 int
23514 main ()
23515 {
23516  _isinff(0);
23517   ;
23518   return 0;
23519 }
23520 _ACEOF
23521 rm -f conftest.$ac_objext
23522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23523   (eval $ac_compile) 2>conftest.er1
23524   ac_status=$?
23525   grep -v '^ *+' conftest.er1 >conftest.err
23526   rm -f conftest.er1
23527   cat conftest.err >&5
23528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23529   (exit $ac_status); } &&
23530          { ac_try='test -z "$ac_cxx_werror_flag"
23531                          || test ! -s conftest.err'
23532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23533   (eval $ac_try) 2>&5
23534   ac_status=$?
23535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536   (exit $ac_status); }; } &&
23537          { ac_try='test -s conftest.$ac_objext'
23538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23539   (eval $ac_try) 2>&5
23540   ac_status=$?
23541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23542   (exit $ac_status); }; }; then
23543   glibcxx_cv_func__isinff_use=yes
23544 else
23545   echo "$as_me: failed program was:" >&5
23546 sed 's/^/| /' conftest.$ac_ext >&5
23547
23548 glibcxx_cv_func__isinff_use=no
23549 fi
23550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23551       ac_ext=c
23552 ac_cpp='$CPP $CPPFLAGS'
23553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23556
23557
23558 fi
23559
23560   fi
23561   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
23562 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
23563
23564     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23565
23566 for ac_func in _isinff
23567 do
23568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23569 echo "$as_me:$LINENO: checking for $ac_func" >&5
23570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23571 if eval "test \"\${$as_ac_var+set}\" = set"; then
23572   echo $ECHO_N "(cached) $ECHO_C" >&6
23573 else
23574   if test x$gcc_no_link = xyes; then
23575   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23577    { (exit 1); exit 1; }; }
23578 fi
23579 cat >conftest.$ac_ext <<_ACEOF
23580 /* confdefs.h.  */
23581 _ACEOF
23582 cat confdefs.h >>conftest.$ac_ext
23583 cat >>conftest.$ac_ext <<_ACEOF
23584 /* end confdefs.h.  */
23585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23586    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23587 #define $ac_func innocuous_$ac_func
23588
23589 /* System header to define __stub macros and hopefully few prototypes,
23590     which can conflict with char $ac_func (); below.
23591     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23592     <limits.h> exists even on freestanding compilers.  */
23593
23594 #ifdef __STDC__
23595 # include <limits.h>
23596 #else
23597 # include <assert.h>
23598 #endif
23599
23600 #undef $ac_func
23601
23602 /* Override any gcc2 internal prototype to avoid an error.  */
23603 #ifdef __cplusplus
23604 extern "C"
23605 {
23606 #endif
23607 /* We use char because int might match the return type of a gcc2
23608    builtin and then its argument prototype would still apply.  */
23609 char $ac_func ();
23610 /* The GNU C library defines this for functions which it implements
23611     to always fail with ENOSYS.  Some functions are actually named
23612     something starting with __ and the normal name is an alias.  */
23613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23614 choke me
23615 #else
23616 char (*f) () = $ac_func;
23617 #endif
23618 #ifdef __cplusplus
23619 }
23620 #endif
23621
23622 int
23623 main ()
23624 {
23625 return f != $ac_func;
23626   ;
23627   return 0;
23628 }
23629 _ACEOF
23630 rm -f conftest.$ac_objext conftest$ac_exeext
23631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23632   (eval $ac_link) 2>conftest.er1
23633   ac_status=$?
23634   grep -v '^ *+' conftest.er1 >conftest.err
23635   rm -f conftest.er1
23636   cat conftest.err >&5
23637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23638   (exit $ac_status); } &&
23639          { ac_try='test -z "$ac_c_werror_flag"
23640                          || test ! -s conftest.err'
23641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23642   (eval $ac_try) 2>&5
23643   ac_status=$?
23644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645   (exit $ac_status); }; } &&
23646          { ac_try='test -s conftest$ac_exeext'
23647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23648   (eval $ac_try) 2>&5
23649   ac_status=$?
23650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23651   (exit $ac_status); }; }; then
23652   eval "$as_ac_var=yes"
23653 else
23654   echo "$as_me: failed program was:" >&5
23655 sed 's/^/| /' conftest.$ac_ext >&5
23656
23657 eval "$as_ac_var=no"
23658 fi
23659 rm -f conftest.err conftest.$ac_objext \
23660       conftest$ac_exeext conftest.$ac_ext
23661 fi
23662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23664 if test `eval echo '${'$as_ac_var'}'` = yes; then
23665   cat >>confdefs.h <<_ACEOF
23666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23667 _ACEOF
23668
23669 fi
23670 done
23671
23672     fi
23673   fi
23674
23675
23676
23677
23678
23679
23680   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
23681 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
23682   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23683     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
23684   echo $ECHO_N "(cached) $ECHO_C" >&6
23685 else
23686
23687
23688
23689       ac_ext=cc
23690 ac_cpp='$CXXCPP $CPPFLAGS'
23691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23694
23695       cat >conftest.$ac_ext <<_ACEOF
23696 /* confdefs.h.  */
23697 _ACEOF
23698 cat confdefs.h >>conftest.$ac_ext
23699 cat >>conftest.$ac_ext <<_ACEOF
23700 /* end confdefs.h.  */
23701 #include <math.h>
23702 int
23703 main ()
23704 {
23705  atan2f(0, 0);
23706   ;
23707   return 0;
23708 }
23709 _ACEOF
23710 rm -f conftest.$ac_objext
23711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23712   (eval $ac_compile) 2>conftest.er1
23713   ac_status=$?
23714   grep -v '^ *+' conftest.er1 >conftest.err
23715   rm -f conftest.er1
23716   cat conftest.err >&5
23717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23718   (exit $ac_status); } &&
23719          { ac_try='test -z "$ac_cxx_werror_flag"
23720                          || test ! -s conftest.err'
23721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23722   (eval $ac_try) 2>&5
23723   ac_status=$?
23724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23725   (exit $ac_status); }; } &&
23726          { ac_try='test -s conftest.$ac_objext'
23727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23728   (eval $ac_try) 2>&5
23729   ac_status=$?
23730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23731   (exit $ac_status); }; }; then
23732   glibcxx_cv_func_atan2f_use=yes
23733 else
23734   echo "$as_me: failed program was:" >&5
23735 sed 's/^/| /' conftest.$ac_ext >&5
23736
23737 glibcxx_cv_func_atan2f_use=no
23738 fi
23739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23740       ac_ext=c
23741 ac_cpp='$CPP $CPPFLAGS'
23742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23745
23746
23747 fi
23748
23749   fi
23750   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
23751 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
23752
23753   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23754
23755 for ac_func in atan2f
23756 do
23757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23758 echo "$as_me:$LINENO: checking for $ac_func" >&5
23759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23760 if eval "test \"\${$as_ac_var+set}\" = set"; then
23761   echo $ECHO_N "(cached) $ECHO_C" >&6
23762 else
23763   if test x$gcc_no_link = xyes; then
23764   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23766    { (exit 1); exit 1; }; }
23767 fi
23768 cat >conftest.$ac_ext <<_ACEOF
23769 /* confdefs.h.  */
23770 _ACEOF
23771 cat confdefs.h >>conftest.$ac_ext
23772 cat >>conftest.$ac_ext <<_ACEOF
23773 /* end confdefs.h.  */
23774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23775    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23776 #define $ac_func innocuous_$ac_func
23777
23778 /* System header to define __stub macros and hopefully few prototypes,
23779     which can conflict with char $ac_func (); below.
23780     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23781     <limits.h> exists even on freestanding compilers.  */
23782
23783 #ifdef __STDC__
23784 # include <limits.h>
23785 #else
23786 # include <assert.h>
23787 #endif
23788
23789 #undef $ac_func
23790
23791 /* Override any gcc2 internal prototype to avoid an error.  */
23792 #ifdef __cplusplus
23793 extern "C"
23794 {
23795 #endif
23796 /* We use char because int might match the return type of a gcc2
23797    builtin and then its argument prototype would still apply.  */
23798 char $ac_func ();
23799 /* The GNU C library defines this for functions which it implements
23800     to always fail with ENOSYS.  Some functions are actually named
23801     something starting with __ and the normal name is an alias.  */
23802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23803 choke me
23804 #else
23805 char (*f) () = $ac_func;
23806 #endif
23807 #ifdef __cplusplus
23808 }
23809 #endif
23810
23811 int
23812 main ()
23813 {
23814 return f != $ac_func;
23815   ;
23816   return 0;
23817 }
23818 _ACEOF
23819 rm -f conftest.$ac_objext conftest$ac_exeext
23820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23821   (eval $ac_link) 2>conftest.er1
23822   ac_status=$?
23823   grep -v '^ *+' conftest.er1 >conftest.err
23824   rm -f conftest.er1
23825   cat conftest.err >&5
23826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827   (exit $ac_status); } &&
23828          { ac_try='test -z "$ac_c_werror_flag"
23829                          || test ! -s conftest.err'
23830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23831   (eval $ac_try) 2>&5
23832   ac_status=$?
23833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23834   (exit $ac_status); }; } &&
23835          { ac_try='test -s conftest$ac_exeext'
23836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23837   (eval $ac_try) 2>&5
23838   ac_status=$?
23839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23840   (exit $ac_status); }; }; then
23841   eval "$as_ac_var=yes"
23842 else
23843   echo "$as_me: failed program was:" >&5
23844 sed 's/^/| /' conftest.$ac_ext >&5
23845
23846 eval "$as_ac_var=no"
23847 fi
23848 rm -f conftest.err conftest.$ac_objext \
23849       conftest$ac_exeext conftest.$ac_ext
23850 fi
23851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23853 if test `eval echo '${'$as_ac_var'}'` = yes; then
23854   cat >>confdefs.h <<_ACEOF
23855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23856 _ACEOF
23857
23858 fi
23859 done
23860
23861   else
23862
23863   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
23864 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
23865   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23866     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
23867   echo $ECHO_N "(cached) $ECHO_C" >&6
23868 else
23869
23870
23871
23872       ac_ext=cc
23873 ac_cpp='$CXXCPP $CPPFLAGS'
23874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23877
23878       cat >conftest.$ac_ext <<_ACEOF
23879 /* confdefs.h.  */
23880 _ACEOF
23881 cat confdefs.h >>conftest.$ac_ext
23882 cat >>conftest.$ac_ext <<_ACEOF
23883 /* end confdefs.h.  */
23884 #include <math.h>
23885 int
23886 main ()
23887 {
23888  _atan2f(0, 0);
23889   ;
23890   return 0;
23891 }
23892 _ACEOF
23893 rm -f conftest.$ac_objext
23894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23895   (eval $ac_compile) 2>conftest.er1
23896   ac_status=$?
23897   grep -v '^ *+' conftest.er1 >conftest.err
23898   rm -f conftest.er1
23899   cat conftest.err >&5
23900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23901   (exit $ac_status); } &&
23902          { ac_try='test -z "$ac_cxx_werror_flag"
23903                          || test ! -s conftest.err'
23904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23905   (eval $ac_try) 2>&5
23906   ac_status=$?
23907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23908   (exit $ac_status); }; } &&
23909          { ac_try='test -s conftest.$ac_objext'
23910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23911   (eval $ac_try) 2>&5
23912   ac_status=$?
23913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23914   (exit $ac_status); }; }; then
23915   glibcxx_cv_func__atan2f_use=yes
23916 else
23917   echo "$as_me: failed program was:" >&5
23918 sed 's/^/| /' conftest.$ac_ext >&5
23919
23920 glibcxx_cv_func__atan2f_use=no
23921 fi
23922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23923       ac_ext=c
23924 ac_cpp='$CPP $CPPFLAGS'
23925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23928
23929
23930 fi
23931
23932   fi
23933   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
23934 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
23935
23936     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23937
23938 for ac_func in _atan2f
23939 do
23940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23941 echo "$as_me:$LINENO: checking for $ac_func" >&5
23942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23943 if eval "test \"\${$as_ac_var+set}\" = set"; then
23944   echo $ECHO_N "(cached) $ECHO_C" >&6
23945 else
23946   if test x$gcc_no_link = xyes; then
23947   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23949    { (exit 1); exit 1; }; }
23950 fi
23951 cat >conftest.$ac_ext <<_ACEOF
23952 /* confdefs.h.  */
23953 _ACEOF
23954 cat confdefs.h >>conftest.$ac_ext
23955 cat >>conftest.$ac_ext <<_ACEOF
23956 /* end confdefs.h.  */
23957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23958    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23959 #define $ac_func innocuous_$ac_func
23960
23961 /* System header to define __stub macros and hopefully few prototypes,
23962     which can conflict with char $ac_func (); below.
23963     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23964     <limits.h> exists even on freestanding compilers.  */
23965
23966 #ifdef __STDC__
23967 # include <limits.h>
23968 #else
23969 # include <assert.h>
23970 #endif
23971
23972 #undef $ac_func
23973
23974 /* Override any gcc2 internal prototype to avoid an error.  */
23975 #ifdef __cplusplus
23976 extern "C"
23977 {
23978 #endif
23979 /* We use char because int might match the return type of a gcc2
23980    builtin and then its argument prototype would still apply.  */
23981 char $ac_func ();
23982 /* The GNU C library defines this for functions which it implements
23983     to always fail with ENOSYS.  Some functions are actually named
23984     something starting with __ and the normal name is an alias.  */
23985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23986 choke me
23987 #else
23988 char (*f) () = $ac_func;
23989 #endif
23990 #ifdef __cplusplus
23991 }
23992 #endif
23993
23994 int
23995 main ()
23996 {
23997 return f != $ac_func;
23998   ;
23999   return 0;
24000 }
24001 _ACEOF
24002 rm -f conftest.$ac_objext conftest$ac_exeext
24003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24004   (eval $ac_link) 2>conftest.er1
24005   ac_status=$?
24006   grep -v '^ *+' conftest.er1 >conftest.err
24007   rm -f conftest.er1
24008   cat conftest.err >&5
24009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24010   (exit $ac_status); } &&
24011          { ac_try='test -z "$ac_c_werror_flag"
24012                          || test ! -s conftest.err'
24013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24014   (eval $ac_try) 2>&5
24015   ac_status=$?
24016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24017   (exit $ac_status); }; } &&
24018          { ac_try='test -s conftest$ac_exeext'
24019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24020   (eval $ac_try) 2>&5
24021   ac_status=$?
24022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24023   (exit $ac_status); }; }; then
24024   eval "$as_ac_var=yes"
24025 else
24026   echo "$as_me: failed program was:" >&5
24027 sed 's/^/| /' conftest.$ac_ext >&5
24028
24029 eval "$as_ac_var=no"
24030 fi
24031 rm -f conftest.err conftest.$ac_objext \
24032       conftest$ac_exeext conftest.$ac_ext
24033 fi
24034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24036 if test `eval echo '${'$as_ac_var'}'` = yes; then
24037   cat >>confdefs.h <<_ACEOF
24038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24039 _ACEOF
24040
24041 fi
24042 done
24043
24044     fi
24045   fi
24046
24047
24048
24049
24050
24051
24052   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
24053 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
24054   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24055     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
24056   echo $ECHO_N "(cached) $ECHO_C" >&6
24057 else
24058
24059
24060
24061       ac_ext=cc
24062 ac_cpp='$CXXCPP $CPPFLAGS'
24063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24066
24067       cat >conftest.$ac_ext <<_ACEOF
24068 /* confdefs.h.  */
24069 _ACEOF
24070 cat confdefs.h >>conftest.$ac_ext
24071 cat >>conftest.$ac_ext <<_ACEOF
24072 /* end confdefs.h.  */
24073 #include <math.h>
24074                       #ifdef HAVE_IEEEFP_H
24075                       #include <ieeefp.h>
24076                       #endif
24077
24078 int
24079 main ()
24080 {
24081  fabsf(0);
24082   ;
24083   return 0;
24084 }
24085 _ACEOF
24086 rm -f conftest.$ac_objext
24087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24088   (eval $ac_compile) 2>conftest.er1
24089   ac_status=$?
24090   grep -v '^ *+' conftest.er1 >conftest.err
24091   rm -f conftest.er1
24092   cat conftest.err >&5
24093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24094   (exit $ac_status); } &&
24095          { ac_try='test -z "$ac_cxx_werror_flag"
24096                          || test ! -s conftest.err'
24097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24098   (eval $ac_try) 2>&5
24099   ac_status=$?
24100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24101   (exit $ac_status); }; } &&
24102          { ac_try='test -s conftest.$ac_objext'
24103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24104   (eval $ac_try) 2>&5
24105   ac_status=$?
24106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24107   (exit $ac_status); }; }; then
24108   glibcxx_cv_func_fabsf_use=yes
24109 else
24110   echo "$as_me: failed program was:" >&5
24111 sed 's/^/| /' conftest.$ac_ext >&5
24112
24113 glibcxx_cv_func_fabsf_use=no
24114 fi
24115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24116       ac_ext=c
24117 ac_cpp='$CPP $CPPFLAGS'
24118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24121
24122
24123 fi
24124
24125   fi
24126   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
24127 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
24128
24129   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24130
24131 for ac_func in fabsf
24132 do
24133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24134 echo "$as_me:$LINENO: checking for $ac_func" >&5
24135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24136 if eval "test \"\${$as_ac_var+set}\" = set"; then
24137   echo $ECHO_N "(cached) $ECHO_C" >&6
24138 else
24139   if test x$gcc_no_link = xyes; then
24140   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24142    { (exit 1); exit 1; }; }
24143 fi
24144 cat >conftest.$ac_ext <<_ACEOF
24145 /* confdefs.h.  */
24146 _ACEOF
24147 cat confdefs.h >>conftest.$ac_ext
24148 cat >>conftest.$ac_ext <<_ACEOF
24149 /* end confdefs.h.  */
24150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24151    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24152 #define $ac_func innocuous_$ac_func
24153
24154 /* System header to define __stub macros and hopefully few prototypes,
24155     which can conflict with char $ac_func (); below.
24156     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24157     <limits.h> exists even on freestanding compilers.  */
24158
24159 #ifdef __STDC__
24160 # include <limits.h>
24161 #else
24162 # include <assert.h>
24163 #endif
24164
24165 #undef $ac_func
24166
24167 /* Override any gcc2 internal prototype to avoid an error.  */
24168 #ifdef __cplusplus
24169 extern "C"
24170 {
24171 #endif
24172 /* We use char because int might match the return type of a gcc2
24173    builtin and then its argument prototype would still apply.  */
24174 char $ac_func ();
24175 /* The GNU C library defines this for functions which it implements
24176     to always fail with ENOSYS.  Some functions are actually named
24177     something starting with __ and the normal name is an alias.  */
24178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24179 choke me
24180 #else
24181 char (*f) () = $ac_func;
24182 #endif
24183 #ifdef __cplusplus
24184 }
24185 #endif
24186
24187 int
24188 main ()
24189 {
24190 return f != $ac_func;
24191   ;
24192   return 0;
24193 }
24194 _ACEOF
24195 rm -f conftest.$ac_objext conftest$ac_exeext
24196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24197   (eval $ac_link) 2>conftest.er1
24198   ac_status=$?
24199   grep -v '^ *+' conftest.er1 >conftest.err
24200   rm -f conftest.er1
24201   cat conftest.err >&5
24202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24203   (exit $ac_status); } &&
24204          { ac_try='test -z "$ac_c_werror_flag"
24205                          || test ! -s conftest.err'
24206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24207   (eval $ac_try) 2>&5
24208   ac_status=$?
24209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24210   (exit $ac_status); }; } &&
24211          { ac_try='test -s conftest$ac_exeext'
24212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24213   (eval $ac_try) 2>&5
24214   ac_status=$?
24215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24216   (exit $ac_status); }; }; then
24217   eval "$as_ac_var=yes"
24218 else
24219   echo "$as_me: failed program was:" >&5
24220 sed 's/^/| /' conftest.$ac_ext >&5
24221
24222 eval "$as_ac_var=no"
24223 fi
24224 rm -f conftest.err conftest.$ac_objext \
24225       conftest$ac_exeext conftest.$ac_ext
24226 fi
24227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24229 if test `eval echo '${'$as_ac_var'}'` = yes; then
24230   cat >>confdefs.h <<_ACEOF
24231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24232 _ACEOF
24233
24234 fi
24235 done
24236
24237   else
24238
24239   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
24240 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
24241   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24242     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
24243   echo $ECHO_N "(cached) $ECHO_C" >&6
24244 else
24245
24246
24247
24248       ac_ext=cc
24249 ac_cpp='$CXXCPP $CPPFLAGS'
24250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24253
24254       cat >conftest.$ac_ext <<_ACEOF
24255 /* confdefs.h.  */
24256 _ACEOF
24257 cat confdefs.h >>conftest.$ac_ext
24258 cat >>conftest.$ac_ext <<_ACEOF
24259 /* end confdefs.h.  */
24260 #include <math.h>
24261                       #ifdef HAVE_IEEEFP_H
24262                       #include <ieeefp.h>
24263                       #endif
24264
24265 int
24266 main ()
24267 {
24268  _fabsf(0);
24269   ;
24270   return 0;
24271 }
24272 _ACEOF
24273 rm -f conftest.$ac_objext
24274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24275   (eval $ac_compile) 2>conftest.er1
24276   ac_status=$?
24277   grep -v '^ *+' conftest.er1 >conftest.err
24278   rm -f conftest.er1
24279   cat conftest.err >&5
24280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24281   (exit $ac_status); } &&
24282          { ac_try='test -z "$ac_cxx_werror_flag"
24283                          || test ! -s conftest.err'
24284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24285   (eval $ac_try) 2>&5
24286   ac_status=$?
24287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24288   (exit $ac_status); }; } &&
24289          { ac_try='test -s conftest.$ac_objext'
24290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24291   (eval $ac_try) 2>&5
24292   ac_status=$?
24293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24294   (exit $ac_status); }; }; then
24295   glibcxx_cv_func__fabsf_use=yes
24296 else
24297   echo "$as_me: failed program was:" >&5
24298 sed 's/^/| /' conftest.$ac_ext >&5
24299
24300 glibcxx_cv_func__fabsf_use=no
24301 fi
24302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24303       ac_ext=c
24304 ac_cpp='$CPP $CPPFLAGS'
24305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24308
24309
24310 fi
24311
24312   fi
24313   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
24314 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
24315
24316     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24317
24318 for ac_func in _fabsf
24319 do
24320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24321 echo "$as_me:$LINENO: checking for $ac_func" >&5
24322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24323 if eval "test \"\${$as_ac_var+set}\" = set"; then
24324   echo $ECHO_N "(cached) $ECHO_C" >&6
24325 else
24326   if test x$gcc_no_link = xyes; then
24327   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24329    { (exit 1); exit 1; }; }
24330 fi
24331 cat >conftest.$ac_ext <<_ACEOF
24332 /* confdefs.h.  */
24333 _ACEOF
24334 cat confdefs.h >>conftest.$ac_ext
24335 cat >>conftest.$ac_ext <<_ACEOF
24336 /* end confdefs.h.  */
24337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24338    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24339 #define $ac_func innocuous_$ac_func
24340
24341 /* System header to define __stub macros and hopefully few prototypes,
24342     which can conflict with char $ac_func (); below.
24343     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24344     <limits.h> exists even on freestanding compilers.  */
24345
24346 #ifdef __STDC__
24347 # include <limits.h>
24348 #else
24349 # include <assert.h>
24350 #endif
24351
24352 #undef $ac_func
24353
24354 /* Override any gcc2 internal prototype to avoid an error.  */
24355 #ifdef __cplusplus
24356 extern "C"
24357 {
24358 #endif
24359 /* We use char because int might match the return type of a gcc2
24360    builtin and then its argument prototype would still apply.  */
24361 char $ac_func ();
24362 /* The GNU C library defines this for functions which it implements
24363     to always fail with ENOSYS.  Some functions are actually named
24364     something starting with __ and the normal name is an alias.  */
24365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24366 choke me
24367 #else
24368 char (*f) () = $ac_func;
24369 #endif
24370 #ifdef __cplusplus
24371 }
24372 #endif
24373
24374 int
24375 main ()
24376 {
24377 return f != $ac_func;
24378   ;
24379   return 0;
24380 }
24381 _ACEOF
24382 rm -f conftest.$ac_objext conftest$ac_exeext
24383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24384   (eval $ac_link) 2>conftest.er1
24385   ac_status=$?
24386   grep -v '^ *+' conftest.er1 >conftest.err
24387   rm -f conftest.er1
24388   cat conftest.err >&5
24389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24390   (exit $ac_status); } &&
24391          { ac_try='test -z "$ac_c_werror_flag"
24392                          || test ! -s conftest.err'
24393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24394   (eval $ac_try) 2>&5
24395   ac_status=$?
24396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24397   (exit $ac_status); }; } &&
24398          { ac_try='test -s conftest$ac_exeext'
24399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24400   (eval $ac_try) 2>&5
24401   ac_status=$?
24402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24403   (exit $ac_status); }; }; then
24404   eval "$as_ac_var=yes"
24405 else
24406   echo "$as_me: failed program was:" >&5
24407 sed 's/^/| /' conftest.$ac_ext >&5
24408
24409 eval "$as_ac_var=no"
24410 fi
24411 rm -f conftest.err conftest.$ac_objext \
24412       conftest$ac_exeext conftest.$ac_ext
24413 fi
24414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24416 if test `eval echo '${'$as_ac_var'}'` = yes; then
24417   cat >>confdefs.h <<_ACEOF
24418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24419 _ACEOF
24420
24421 fi
24422 done
24423
24424     fi
24425   fi
24426
24427
24428
24429
24430
24431
24432   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
24433 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
24434   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24435     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
24436   echo $ECHO_N "(cached) $ECHO_C" >&6
24437 else
24438
24439
24440
24441       ac_ext=cc
24442 ac_cpp='$CXXCPP $CPPFLAGS'
24443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24446
24447       cat >conftest.$ac_ext <<_ACEOF
24448 /* confdefs.h.  */
24449 _ACEOF
24450 cat confdefs.h >>conftest.$ac_ext
24451 cat >>conftest.$ac_ext <<_ACEOF
24452 /* end confdefs.h.  */
24453 #include <math.h>
24454 int
24455 main ()
24456 {
24457  fmodf(0, 0);
24458   ;
24459   return 0;
24460 }
24461 _ACEOF
24462 rm -f conftest.$ac_objext
24463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24464   (eval $ac_compile) 2>conftest.er1
24465   ac_status=$?
24466   grep -v '^ *+' conftest.er1 >conftest.err
24467   rm -f conftest.er1
24468   cat conftest.err >&5
24469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24470   (exit $ac_status); } &&
24471          { ac_try='test -z "$ac_cxx_werror_flag"
24472                          || test ! -s conftest.err'
24473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24474   (eval $ac_try) 2>&5
24475   ac_status=$?
24476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24477   (exit $ac_status); }; } &&
24478          { ac_try='test -s conftest.$ac_objext'
24479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24480   (eval $ac_try) 2>&5
24481   ac_status=$?
24482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24483   (exit $ac_status); }; }; then
24484   glibcxx_cv_func_fmodf_use=yes
24485 else
24486   echo "$as_me: failed program was:" >&5
24487 sed 's/^/| /' conftest.$ac_ext >&5
24488
24489 glibcxx_cv_func_fmodf_use=no
24490 fi
24491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24492       ac_ext=c
24493 ac_cpp='$CPP $CPPFLAGS'
24494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24497
24498
24499 fi
24500
24501   fi
24502   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
24503 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
24504
24505   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24506
24507 for ac_func in fmodf
24508 do
24509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24510 echo "$as_me:$LINENO: checking for $ac_func" >&5
24511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24512 if eval "test \"\${$as_ac_var+set}\" = set"; then
24513   echo $ECHO_N "(cached) $ECHO_C" >&6
24514 else
24515   if test x$gcc_no_link = xyes; then
24516   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24518    { (exit 1); exit 1; }; }
24519 fi
24520 cat >conftest.$ac_ext <<_ACEOF
24521 /* confdefs.h.  */
24522 _ACEOF
24523 cat confdefs.h >>conftest.$ac_ext
24524 cat >>conftest.$ac_ext <<_ACEOF
24525 /* end confdefs.h.  */
24526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24527    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24528 #define $ac_func innocuous_$ac_func
24529
24530 /* System header to define __stub macros and hopefully few prototypes,
24531     which can conflict with char $ac_func (); below.
24532     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24533     <limits.h> exists even on freestanding compilers.  */
24534
24535 #ifdef __STDC__
24536 # include <limits.h>
24537 #else
24538 # include <assert.h>
24539 #endif
24540
24541 #undef $ac_func
24542
24543 /* Override any gcc2 internal prototype to avoid an error.  */
24544 #ifdef __cplusplus
24545 extern "C"
24546 {
24547 #endif
24548 /* We use char because int might match the return type of a gcc2
24549    builtin and then its argument prototype would still apply.  */
24550 char $ac_func ();
24551 /* The GNU C library defines this for functions which it implements
24552     to always fail with ENOSYS.  Some functions are actually named
24553     something starting with __ and the normal name is an alias.  */
24554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24555 choke me
24556 #else
24557 char (*f) () = $ac_func;
24558 #endif
24559 #ifdef __cplusplus
24560 }
24561 #endif
24562
24563 int
24564 main ()
24565 {
24566 return f != $ac_func;
24567   ;
24568   return 0;
24569 }
24570 _ACEOF
24571 rm -f conftest.$ac_objext conftest$ac_exeext
24572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24573   (eval $ac_link) 2>conftest.er1
24574   ac_status=$?
24575   grep -v '^ *+' conftest.er1 >conftest.err
24576   rm -f conftest.er1
24577   cat conftest.err >&5
24578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24579   (exit $ac_status); } &&
24580          { ac_try='test -z "$ac_c_werror_flag"
24581                          || test ! -s conftest.err'
24582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24583   (eval $ac_try) 2>&5
24584   ac_status=$?
24585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24586   (exit $ac_status); }; } &&
24587          { ac_try='test -s conftest$ac_exeext'
24588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24589   (eval $ac_try) 2>&5
24590   ac_status=$?
24591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24592   (exit $ac_status); }; }; then
24593   eval "$as_ac_var=yes"
24594 else
24595   echo "$as_me: failed program was:" >&5
24596 sed 's/^/| /' conftest.$ac_ext >&5
24597
24598 eval "$as_ac_var=no"
24599 fi
24600 rm -f conftest.err conftest.$ac_objext \
24601       conftest$ac_exeext conftest.$ac_ext
24602 fi
24603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24605 if test `eval echo '${'$as_ac_var'}'` = yes; then
24606   cat >>confdefs.h <<_ACEOF
24607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24608 _ACEOF
24609
24610 fi
24611 done
24612
24613   else
24614
24615   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
24616 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
24617   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24618     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
24619   echo $ECHO_N "(cached) $ECHO_C" >&6
24620 else
24621
24622
24623
24624       ac_ext=cc
24625 ac_cpp='$CXXCPP $CPPFLAGS'
24626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24629
24630       cat >conftest.$ac_ext <<_ACEOF
24631 /* confdefs.h.  */
24632 _ACEOF
24633 cat confdefs.h >>conftest.$ac_ext
24634 cat >>conftest.$ac_ext <<_ACEOF
24635 /* end confdefs.h.  */
24636 #include <math.h>
24637 int
24638 main ()
24639 {
24640  _fmodf(0, 0);
24641   ;
24642   return 0;
24643 }
24644 _ACEOF
24645 rm -f conftest.$ac_objext
24646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24647   (eval $ac_compile) 2>conftest.er1
24648   ac_status=$?
24649   grep -v '^ *+' conftest.er1 >conftest.err
24650   rm -f conftest.er1
24651   cat conftest.err >&5
24652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24653   (exit $ac_status); } &&
24654          { ac_try='test -z "$ac_cxx_werror_flag"
24655                          || test ! -s conftest.err'
24656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24657   (eval $ac_try) 2>&5
24658   ac_status=$?
24659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24660   (exit $ac_status); }; } &&
24661          { ac_try='test -s conftest.$ac_objext'
24662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24663   (eval $ac_try) 2>&5
24664   ac_status=$?
24665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24666   (exit $ac_status); }; }; then
24667   glibcxx_cv_func__fmodf_use=yes
24668 else
24669   echo "$as_me: failed program was:" >&5
24670 sed 's/^/| /' conftest.$ac_ext >&5
24671
24672 glibcxx_cv_func__fmodf_use=no
24673 fi
24674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24675       ac_ext=c
24676 ac_cpp='$CPP $CPPFLAGS'
24677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24680
24681
24682 fi
24683
24684   fi
24685   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
24686 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
24687
24688     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24689
24690 for ac_func in _fmodf
24691 do
24692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24693 echo "$as_me:$LINENO: checking for $ac_func" >&5
24694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24695 if eval "test \"\${$as_ac_var+set}\" = set"; then
24696   echo $ECHO_N "(cached) $ECHO_C" >&6
24697 else
24698   if test x$gcc_no_link = xyes; then
24699   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24701    { (exit 1); exit 1; }; }
24702 fi
24703 cat >conftest.$ac_ext <<_ACEOF
24704 /* confdefs.h.  */
24705 _ACEOF
24706 cat confdefs.h >>conftest.$ac_ext
24707 cat >>conftest.$ac_ext <<_ACEOF
24708 /* end confdefs.h.  */
24709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24710    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24711 #define $ac_func innocuous_$ac_func
24712
24713 /* System header to define __stub macros and hopefully few prototypes,
24714     which can conflict with char $ac_func (); below.
24715     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24716     <limits.h> exists even on freestanding compilers.  */
24717
24718 #ifdef __STDC__
24719 # include <limits.h>
24720 #else
24721 # include <assert.h>
24722 #endif
24723
24724 #undef $ac_func
24725
24726 /* Override any gcc2 internal prototype to avoid an error.  */
24727 #ifdef __cplusplus
24728 extern "C"
24729 {
24730 #endif
24731 /* We use char because int might match the return type of a gcc2
24732    builtin and then its argument prototype would still apply.  */
24733 char $ac_func ();
24734 /* The GNU C library defines this for functions which it implements
24735     to always fail with ENOSYS.  Some functions are actually named
24736     something starting with __ and the normal name is an alias.  */
24737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24738 choke me
24739 #else
24740 char (*f) () = $ac_func;
24741 #endif
24742 #ifdef __cplusplus
24743 }
24744 #endif
24745
24746 int
24747 main ()
24748 {
24749 return f != $ac_func;
24750   ;
24751   return 0;
24752 }
24753 _ACEOF
24754 rm -f conftest.$ac_objext conftest$ac_exeext
24755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24756   (eval $ac_link) 2>conftest.er1
24757   ac_status=$?
24758   grep -v '^ *+' conftest.er1 >conftest.err
24759   rm -f conftest.er1
24760   cat conftest.err >&5
24761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24762   (exit $ac_status); } &&
24763          { ac_try='test -z "$ac_c_werror_flag"
24764                          || test ! -s conftest.err'
24765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24766   (eval $ac_try) 2>&5
24767   ac_status=$?
24768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24769   (exit $ac_status); }; } &&
24770          { ac_try='test -s conftest$ac_exeext'
24771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24772   (eval $ac_try) 2>&5
24773   ac_status=$?
24774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24775   (exit $ac_status); }; }; then
24776   eval "$as_ac_var=yes"
24777 else
24778   echo "$as_me: failed program was:" >&5
24779 sed 's/^/| /' conftest.$ac_ext >&5
24780
24781 eval "$as_ac_var=no"
24782 fi
24783 rm -f conftest.err conftest.$ac_objext \
24784       conftest$ac_exeext conftest.$ac_ext
24785 fi
24786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24788 if test `eval echo '${'$as_ac_var'}'` = yes; then
24789   cat >>confdefs.h <<_ACEOF
24790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24791 _ACEOF
24792
24793 fi
24794 done
24795
24796     fi
24797   fi
24798
24799
24800
24801
24802
24803
24804   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
24805 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
24806   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24807     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
24808   echo $ECHO_N "(cached) $ECHO_C" >&6
24809 else
24810
24811
24812
24813       ac_ext=cc
24814 ac_cpp='$CXXCPP $CPPFLAGS'
24815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24818
24819       cat >conftest.$ac_ext <<_ACEOF
24820 /* confdefs.h.  */
24821 _ACEOF
24822 cat confdefs.h >>conftest.$ac_ext
24823 cat >>conftest.$ac_ext <<_ACEOF
24824 /* end confdefs.h.  */
24825 #include <math.h>
24826 int
24827 main ()
24828 {
24829  frexpf(0, 0);
24830   ;
24831   return 0;
24832 }
24833 _ACEOF
24834 rm -f conftest.$ac_objext
24835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24836   (eval $ac_compile) 2>conftest.er1
24837   ac_status=$?
24838   grep -v '^ *+' conftest.er1 >conftest.err
24839   rm -f conftest.er1
24840   cat conftest.err >&5
24841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24842   (exit $ac_status); } &&
24843          { ac_try='test -z "$ac_cxx_werror_flag"
24844                          || test ! -s conftest.err'
24845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24846   (eval $ac_try) 2>&5
24847   ac_status=$?
24848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24849   (exit $ac_status); }; } &&
24850          { ac_try='test -s conftest.$ac_objext'
24851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24852   (eval $ac_try) 2>&5
24853   ac_status=$?
24854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24855   (exit $ac_status); }; }; then
24856   glibcxx_cv_func_frexpf_use=yes
24857 else
24858   echo "$as_me: failed program was:" >&5
24859 sed 's/^/| /' conftest.$ac_ext >&5
24860
24861 glibcxx_cv_func_frexpf_use=no
24862 fi
24863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24864       ac_ext=c
24865 ac_cpp='$CPP $CPPFLAGS'
24866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24869
24870
24871 fi
24872
24873   fi
24874   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
24875 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
24876
24877   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24878
24879 for ac_func in frexpf
24880 do
24881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24882 echo "$as_me:$LINENO: checking for $ac_func" >&5
24883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24884 if eval "test \"\${$as_ac_var+set}\" = set"; then
24885   echo $ECHO_N "(cached) $ECHO_C" >&6
24886 else
24887   if test x$gcc_no_link = xyes; then
24888   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24890    { (exit 1); exit 1; }; }
24891 fi
24892 cat >conftest.$ac_ext <<_ACEOF
24893 /* confdefs.h.  */
24894 _ACEOF
24895 cat confdefs.h >>conftest.$ac_ext
24896 cat >>conftest.$ac_ext <<_ACEOF
24897 /* end confdefs.h.  */
24898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24899    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24900 #define $ac_func innocuous_$ac_func
24901
24902 /* System header to define __stub macros and hopefully few prototypes,
24903     which can conflict with char $ac_func (); below.
24904     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24905     <limits.h> exists even on freestanding compilers.  */
24906
24907 #ifdef __STDC__
24908 # include <limits.h>
24909 #else
24910 # include <assert.h>
24911 #endif
24912
24913 #undef $ac_func
24914
24915 /* Override any gcc2 internal prototype to avoid an error.  */
24916 #ifdef __cplusplus
24917 extern "C"
24918 {
24919 #endif
24920 /* We use char because int might match the return type of a gcc2
24921    builtin and then its argument prototype would still apply.  */
24922 char $ac_func ();
24923 /* The GNU C library defines this for functions which it implements
24924     to always fail with ENOSYS.  Some functions are actually named
24925     something starting with __ and the normal name is an alias.  */
24926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24927 choke me
24928 #else
24929 char (*f) () = $ac_func;
24930 #endif
24931 #ifdef __cplusplus
24932 }
24933 #endif
24934
24935 int
24936 main ()
24937 {
24938 return f != $ac_func;
24939   ;
24940   return 0;
24941 }
24942 _ACEOF
24943 rm -f conftest.$ac_objext conftest$ac_exeext
24944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24945   (eval $ac_link) 2>conftest.er1
24946   ac_status=$?
24947   grep -v '^ *+' conftest.er1 >conftest.err
24948   rm -f conftest.er1
24949   cat conftest.err >&5
24950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24951   (exit $ac_status); } &&
24952          { ac_try='test -z "$ac_c_werror_flag"
24953                          || test ! -s conftest.err'
24954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24955   (eval $ac_try) 2>&5
24956   ac_status=$?
24957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24958   (exit $ac_status); }; } &&
24959          { ac_try='test -s conftest$ac_exeext'
24960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24961   (eval $ac_try) 2>&5
24962   ac_status=$?
24963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24964   (exit $ac_status); }; }; then
24965   eval "$as_ac_var=yes"
24966 else
24967   echo "$as_me: failed program was:" >&5
24968 sed 's/^/| /' conftest.$ac_ext >&5
24969
24970 eval "$as_ac_var=no"
24971 fi
24972 rm -f conftest.err conftest.$ac_objext \
24973       conftest$ac_exeext conftest.$ac_ext
24974 fi
24975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24977 if test `eval echo '${'$as_ac_var'}'` = yes; then
24978   cat >>confdefs.h <<_ACEOF
24979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24980 _ACEOF
24981
24982 fi
24983 done
24984
24985   else
24986
24987   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
24988 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
24989   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24990     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
24991   echo $ECHO_N "(cached) $ECHO_C" >&6
24992 else
24993
24994
24995
24996       ac_ext=cc
24997 ac_cpp='$CXXCPP $CPPFLAGS'
24998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25001
25002       cat >conftest.$ac_ext <<_ACEOF
25003 /* confdefs.h.  */
25004 _ACEOF
25005 cat confdefs.h >>conftest.$ac_ext
25006 cat >>conftest.$ac_ext <<_ACEOF
25007 /* end confdefs.h.  */
25008 #include <math.h>
25009 int
25010 main ()
25011 {
25012  _frexpf(0, 0);
25013   ;
25014   return 0;
25015 }
25016 _ACEOF
25017 rm -f conftest.$ac_objext
25018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25019   (eval $ac_compile) 2>conftest.er1
25020   ac_status=$?
25021   grep -v '^ *+' conftest.er1 >conftest.err
25022   rm -f conftest.er1
25023   cat conftest.err >&5
25024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25025   (exit $ac_status); } &&
25026          { ac_try='test -z "$ac_cxx_werror_flag"
25027                          || test ! -s conftest.err'
25028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25029   (eval $ac_try) 2>&5
25030   ac_status=$?
25031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25032   (exit $ac_status); }; } &&
25033          { ac_try='test -s conftest.$ac_objext'
25034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25035   (eval $ac_try) 2>&5
25036   ac_status=$?
25037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25038   (exit $ac_status); }; }; then
25039   glibcxx_cv_func__frexpf_use=yes
25040 else
25041   echo "$as_me: failed program was:" >&5
25042 sed 's/^/| /' conftest.$ac_ext >&5
25043
25044 glibcxx_cv_func__frexpf_use=no
25045 fi
25046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25047       ac_ext=c
25048 ac_cpp='$CPP $CPPFLAGS'
25049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25052
25053
25054 fi
25055
25056   fi
25057   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
25058 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
25059
25060     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
25061
25062 for ac_func in _frexpf
25063 do
25064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25065 echo "$as_me:$LINENO: checking for $ac_func" >&5
25066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25067 if eval "test \"\${$as_ac_var+set}\" = set"; then
25068   echo $ECHO_N "(cached) $ECHO_C" >&6
25069 else
25070   if test x$gcc_no_link = xyes; then
25071   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25073    { (exit 1); exit 1; }; }
25074 fi
25075 cat >conftest.$ac_ext <<_ACEOF
25076 /* confdefs.h.  */
25077 _ACEOF
25078 cat confdefs.h >>conftest.$ac_ext
25079 cat >>conftest.$ac_ext <<_ACEOF
25080 /* end confdefs.h.  */
25081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25082    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25083 #define $ac_func innocuous_$ac_func
25084
25085 /* System header to define __stub macros and hopefully few prototypes,
25086     which can conflict with char $ac_func (); below.
25087     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25088     <limits.h> exists even on freestanding compilers.  */
25089
25090 #ifdef __STDC__
25091 # include <limits.h>
25092 #else
25093 # include <assert.h>
25094 #endif
25095
25096 #undef $ac_func
25097
25098 /* Override any gcc2 internal prototype to avoid an error.  */
25099 #ifdef __cplusplus
25100 extern "C"
25101 {
25102 #endif
25103 /* We use char because int might match the return type of a gcc2
25104    builtin and then its argument prototype would still apply.  */
25105 char $ac_func ();
25106 /* The GNU C library defines this for functions which it implements
25107     to always fail with ENOSYS.  Some functions are actually named
25108     something starting with __ and the normal name is an alias.  */
25109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25110 choke me
25111 #else
25112 char (*f) () = $ac_func;
25113 #endif
25114 #ifdef __cplusplus
25115 }
25116 #endif
25117
25118 int
25119 main ()
25120 {
25121 return f != $ac_func;
25122   ;
25123   return 0;
25124 }
25125 _ACEOF
25126 rm -f conftest.$ac_objext conftest$ac_exeext
25127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25128   (eval $ac_link) 2>conftest.er1
25129   ac_status=$?
25130   grep -v '^ *+' conftest.er1 >conftest.err
25131   rm -f conftest.er1
25132   cat conftest.err >&5
25133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25134   (exit $ac_status); } &&
25135          { ac_try='test -z "$ac_c_werror_flag"
25136                          || test ! -s conftest.err'
25137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25138   (eval $ac_try) 2>&5
25139   ac_status=$?
25140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25141   (exit $ac_status); }; } &&
25142          { ac_try='test -s conftest$ac_exeext'
25143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25144   (eval $ac_try) 2>&5
25145   ac_status=$?
25146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25147   (exit $ac_status); }; }; then
25148   eval "$as_ac_var=yes"
25149 else
25150   echo "$as_me: failed program was:" >&5
25151 sed 's/^/| /' conftest.$ac_ext >&5
25152
25153 eval "$as_ac_var=no"
25154 fi
25155 rm -f conftest.err conftest.$ac_objext \
25156       conftest$ac_exeext conftest.$ac_ext
25157 fi
25158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25160 if test `eval echo '${'$as_ac_var'}'` = yes; then
25161   cat >>confdefs.h <<_ACEOF
25162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25163 _ACEOF
25164
25165 fi
25166 done
25167
25168     fi
25169   fi
25170
25171
25172
25173
25174
25175
25176   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
25177 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
25178   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
25179     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
25180   echo $ECHO_N "(cached) $ECHO_C" >&6
25181 else
25182
25183
25184
25185       ac_ext=cc
25186 ac_cpp='$CXXCPP $CPPFLAGS'
25187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25190
25191       cat >conftest.$ac_ext <<_ACEOF
25192 /* confdefs.h.  */
25193 _ACEOF
25194 cat confdefs.h >>conftest.$ac_ext
25195 cat >>conftest.$ac_ext <<_ACEOF
25196 /* end confdefs.h.  */
25197 #include <math.h>
25198 int
25199 main ()
25200 {
25201  hypotf(0, 0);
25202   ;
25203   return 0;
25204 }
25205 _ACEOF
25206 rm -f conftest.$ac_objext
25207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25208   (eval $ac_compile) 2>conftest.er1
25209   ac_status=$?
25210   grep -v '^ *+' conftest.er1 >conftest.err
25211   rm -f conftest.er1
25212   cat conftest.err >&5
25213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25214   (exit $ac_status); } &&
25215          { ac_try='test -z "$ac_cxx_werror_flag"
25216                          || test ! -s conftest.err'
25217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25218   (eval $ac_try) 2>&5
25219   ac_status=$?
25220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25221   (exit $ac_status); }; } &&
25222          { ac_try='test -s conftest.$ac_objext'
25223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25224   (eval $ac_try) 2>&5
25225   ac_status=$?
25226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25227   (exit $ac_status); }; }; then
25228   glibcxx_cv_func_hypotf_use=yes
25229 else
25230   echo "$as_me: failed program was:" >&5
25231 sed 's/^/| /' conftest.$ac_ext >&5
25232
25233 glibcxx_cv_func_hypotf_use=no
25234 fi
25235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25236       ac_ext=c
25237 ac_cpp='$CPP $CPPFLAGS'
25238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25241
25242
25243 fi
25244
25245   fi
25246   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
25247 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
25248
25249   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
25250
25251 for ac_func in hypotf
25252 do
25253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25254 echo "$as_me:$LINENO: checking for $ac_func" >&5
25255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25256 if eval "test \"\${$as_ac_var+set}\" = set"; then
25257   echo $ECHO_N "(cached) $ECHO_C" >&6
25258 else
25259   if test x$gcc_no_link = xyes; then
25260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25262    { (exit 1); exit 1; }; }
25263 fi
25264 cat >conftest.$ac_ext <<_ACEOF
25265 /* confdefs.h.  */
25266 _ACEOF
25267 cat confdefs.h >>conftest.$ac_ext
25268 cat >>conftest.$ac_ext <<_ACEOF
25269 /* end confdefs.h.  */
25270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25271    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25272 #define $ac_func innocuous_$ac_func
25273
25274 /* System header to define __stub macros and hopefully few prototypes,
25275     which can conflict with char $ac_func (); below.
25276     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25277     <limits.h> exists even on freestanding compilers.  */
25278
25279 #ifdef __STDC__
25280 # include <limits.h>
25281 #else
25282 # include <assert.h>
25283 #endif
25284
25285 #undef $ac_func
25286
25287 /* Override any gcc2 internal prototype to avoid an error.  */
25288 #ifdef __cplusplus
25289 extern "C"
25290 {
25291 #endif
25292 /* We use char because int might match the return type of a gcc2
25293    builtin and then its argument prototype would still apply.  */
25294 char $ac_func ();
25295 /* The GNU C library defines this for functions which it implements
25296     to always fail with ENOSYS.  Some functions are actually named
25297     something starting with __ and the normal name is an alias.  */
25298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25299 choke me
25300 #else
25301 char (*f) () = $ac_func;
25302 #endif
25303 #ifdef __cplusplus
25304 }
25305 #endif
25306
25307 int
25308 main ()
25309 {
25310 return f != $ac_func;
25311   ;
25312   return 0;
25313 }
25314 _ACEOF
25315 rm -f conftest.$ac_objext conftest$ac_exeext
25316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25317   (eval $ac_link) 2>conftest.er1
25318   ac_status=$?
25319   grep -v '^ *+' conftest.er1 >conftest.err
25320   rm -f conftest.er1
25321   cat conftest.err >&5
25322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25323   (exit $ac_status); } &&
25324          { ac_try='test -z "$ac_c_werror_flag"
25325                          || test ! -s conftest.err'
25326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25327   (eval $ac_try) 2>&5
25328   ac_status=$?
25329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25330   (exit $ac_status); }; } &&
25331          { ac_try='test -s conftest$ac_exeext'
25332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25333   (eval $ac_try) 2>&5
25334   ac_status=$?
25335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25336   (exit $ac_status); }; }; then
25337   eval "$as_ac_var=yes"
25338 else
25339   echo "$as_me: failed program was:" >&5
25340 sed 's/^/| /' conftest.$ac_ext >&5
25341
25342 eval "$as_ac_var=no"
25343 fi
25344 rm -f conftest.err conftest.$ac_objext \
25345       conftest$ac_exeext conftest.$ac_ext
25346 fi
25347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25349 if test `eval echo '${'$as_ac_var'}'` = yes; then
25350   cat >>confdefs.h <<_ACEOF
25351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25352 _ACEOF
25353
25354 fi
25355 done
25356
25357   else
25358
25359   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
25360 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
25361   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
25362     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
25363   echo $ECHO_N "(cached) $ECHO_C" >&6
25364 else
25365
25366
25367
25368       ac_ext=cc
25369 ac_cpp='$CXXCPP $CPPFLAGS'
25370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25373
25374       cat >conftest.$ac_ext <<_ACEOF
25375 /* confdefs.h.  */
25376 _ACEOF
25377 cat confdefs.h >>conftest.$ac_ext
25378 cat >>conftest.$ac_ext <<_ACEOF
25379 /* end confdefs.h.  */
25380 #include <math.h>
25381 int
25382 main ()
25383 {
25384  _hypotf(0, 0);
25385   ;
25386   return 0;
25387 }
25388 _ACEOF
25389 rm -f conftest.$ac_objext
25390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25391   (eval $ac_compile) 2>conftest.er1
25392   ac_status=$?
25393   grep -v '^ *+' conftest.er1 >conftest.err
25394   rm -f conftest.er1
25395   cat conftest.err >&5
25396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25397   (exit $ac_status); } &&
25398          { ac_try='test -z "$ac_cxx_werror_flag"
25399                          || test ! -s conftest.err'
25400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25401   (eval $ac_try) 2>&5
25402   ac_status=$?
25403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25404   (exit $ac_status); }; } &&
25405          { ac_try='test -s conftest.$ac_objext'
25406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25407   (eval $ac_try) 2>&5
25408   ac_status=$?
25409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25410   (exit $ac_status); }; }; then
25411   glibcxx_cv_func__hypotf_use=yes
25412 else
25413   echo "$as_me: failed program was:" >&5
25414 sed 's/^/| /' conftest.$ac_ext >&5
25415
25416 glibcxx_cv_func__hypotf_use=no
25417 fi
25418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25419       ac_ext=c
25420 ac_cpp='$CPP $CPPFLAGS'
25421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25424
25425
25426 fi
25427
25428   fi
25429   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
25430 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
25431
25432     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25433
25434 for ac_func in _hypotf
25435 do
25436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25437 echo "$as_me:$LINENO: checking for $ac_func" >&5
25438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25439 if eval "test \"\${$as_ac_var+set}\" = set"; then
25440   echo $ECHO_N "(cached) $ECHO_C" >&6
25441 else
25442   if test x$gcc_no_link = xyes; then
25443   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25445    { (exit 1); exit 1; }; }
25446 fi
25447 cat >conftest.$ac_ext <<_ACEOF
25448 /* confdefs.h.  */
25449 _ACEOF
25450 cat confdefs.h >>conftest.$ac_ext
25451 cat >>conftest.$ac_ext <<_ACEOF
25452 /* end confdefs.h.  */
25453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25454    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25455 #define $ac_func innocuous_$ac_func
25456
25457 /* System header to define __stub macros and hopefully few prototypes,
25458     which can conflict with char $ac_func (); below.
25459     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25460     <limits.h> exists even on freestanding compilers.  */
25461
25462 #ifdef __STDC__
25463 # include <limits.h>
25464 #else
25465 # include <assert.h>
25466 #endif
25467
25468 #undef $ac_func
25469
25470 /* Override any gcc2 internal prototype to avoid an error.  */
25471 #ifdef __cplusplus
25472 extern "C"
25473 {
25474 #endif
25475 /* We use char because int might match the return type of a gcc2
25476    builtin and then its argument prototype would still apply.  */
25477 char $ac_func ();
25478 /* The GNU C library defines this for functions which it implements
25479     to always fail with ENOSYS.  Some functions are actually named
25480     something starting with __ and the normal name is an alias.  */
25481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25482 choke me
25483 #else
25484 char (*f) () = $ac_func;
25485 #endif
25486 #ifdef __cplusplus
25487 }
25488 #endif
25489
25490 int
25491 main ()
25492 {
25493 return f != $ac_func;
25494   ;
25495   return 0;
25496 }
25497 _ACEOF
25498 rm -f conftest.$ac_objext conftest$ac_exeext
25499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25500   (eval $ac_link) 2>conftest.er1
25501   ac_status=$?
25502   grep -v '^ *+' conftest.er1 >conftest.err
25503   rm -f conftest.er1
25504   cat conftest.err >&5
25505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25506   (exit $ac_status); } &&
25507          { ac_try='test -z "$ac_c_werror_flag"
25508                          || test ! -s conftest.err'
25509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25510   (eval $ac_try) 2>&5
25511   ac_status=$?
25512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25513   (exit $ac_status); }; } &&
25514          { ac_try='test -s conftest$ac_exeext'
25515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25516   (eval $ac_try) 2>&5
25517   ac_status=$?
25518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25519   (exit $ac_status); }; }; then
25520   eval "$as_ac_var=yes"
25521 else
25522   echo "$as_me: failed program was:" >&5
25523 sed 's/^/| /' conftest.$ac_ext >&5
25524
25525 eval "$as_ac_var=no"
25526 fi
25527 rm -f conftest.err conftest.$ac_objext \
25528       conftest$ac_exeext conftest.$ac_ext
25529 fi
25530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25532 if test `eval echo '${'$as_ac_var'}'` = yes; then
25533   cat >>confdefs.h <<_ACEOF
25534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25535 _ACEOF
25536
25537 fi
25538 done
25539
25540     fi
25541   fi
25542
25543
25544
25545
25546
25547
25548   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
25549 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
25550   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25551     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
25552   echo $ECHO_N "(cached) $ECHO_C" >&6
25553 else
25554
25555
25556
25557       ac_ext=cc
25558 ac_cpp='$CXXCPP $CPPFLAGS'
25559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25562
25563       cat >conftest.$ac_ext <<_ACEOF
25564 /* confdefs.h.  */
25565 _ACEOF
25566 cat confdefs.h >>conftest.$ac_ext
25567 cat >>conftest.$ac_ext <<_ACEOF
25568 /* end confdefs.h.  */
25569 #include <math.h>
25570 int
25571 main ()
25572 {
25573  ldexpf(0, 0);
25574   ;
25575   return 0;
25576 }
25577 _ACEOF
25578 rm -f conftest.$ac_objext
25579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25580   (eval $ac_compile) 2>conftest.er1
25581   ac_status=$?
25582   grep -v '^ *+' conftest.er1 >conftest.err
25583   rm -f conftest.er1
25584   cat conftest.err >&5
25585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25586   (exit $ac_status); } &&
25587          { ac_try='test -z "$ac_cxx_werror_flag"
25588                          || test ! -s conftest.err'
25589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25590   (eval $ac_try) 2>&5
25591   ac_status=$?
25592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25593   (exit $ac_status); }; } &&
25594          { ac_try='test -s conftest.$ac_objext'
25595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25596   (eval $ac_try) 2>&5
25597   ac_status=$?
25598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25599   (exit $ac_status); }; }; then
25600   glibcxx_cv_func_ldexpf_use=yes
25601 else
25602   echo "$as_me: failed program was:" >&5
25603 sed 's/^/| /' conftest.$ac_ext >&5
25604
25605 glibcxx_cv_func_ldexpf_use=no
25606 fi
25607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25608       ac_ext=c
25609 ac_cpp='$CPP $CPPFLAGS'
25610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25613
25614
25615 fi
25616
25617   fi
25618   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
25619 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
25620
25621   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25622
25623 for ac_func in ldexpf
25624 do
25625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25626 echo "$as_me:$LINENO: checking for $ac_func" >&5
25627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25628 if eval "test \"\${$as_ac_var+set}\" = set"; then
25629   echo $ECHO_N "(cached) $ECHO_C" >&6
25630 else
25631   if test x$gcc_no_link = xyes; then
25632   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25634    { (exit 1); exit 1; }; }
25635 fi
25636 cat >conftest.$ac_ext <<_ACEOF
25637 /* confdefs.h.  */
25638 _ACEOF
25639 cat confdefs.h >>conftest.$ac_ext
25640 cat >>conftest.$ac_ext <<_ACEOF
25641 /* end confdefs.h.  */
25642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25643    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25644 #define $ac_func innocuous_$ac_func
25645
25646 /* System header to define __stub macros and hopefully few prototypes,
25647     which can conflict with char $ac_func (); below.
25648     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25649     <limits.h> exists even on freestanding compilers.  */
25650
25651 #ifdef __STDC__
25652 # include <limits.h>
25653 #else
25654 # include <assert.h>
25655 #endif
25656
25657 #undef $ac_func
25658
25659 /* Override any gcc2 internal prototype to avoid an error.  */
25660 #ifdef __cplusplus
25661 extern "C"
25662 {
25663 #endif
25664 /* We use char because int might match the return type of a gcc2
25665    builtin and then its argument prototype would still apply.  */
25666 char $ac_func ();
25667 /* The GNU C library defines this for functions which it implements
25668     to always fail with ENOSYS.  Some functions are actually named
25669     something starting with __ and the normal name is an alias.  */
25670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25671 choke me
25672 #else
25673 char (*f) () = $ac_func;
25674 #endif
25675 #ifdef __cplusplus
25676 }
25677 #endif
25678
25679 int
25680 main ()
25681 {
25682 return f != $ac_func;
25683   ;
25684   return 0;
25685 }
25686 _ACEOF
25687 rm -f conftest.$ac_objext conftest$ac_exeext
25688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25689   (eval $ac_link) 2>conftest.er1
25690   ac_status=$?
25691   grep -v '^ *+' conftest.er1 >conftest.err
25692   rm -f conftest.er1
25693   cat conftest.err >&5
25694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25695   (exit $ac_status); } &&
25696          { ac_try='test -z "$ac_c_werror_flag"
25697                          || test ! -s conftest.err'
25698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25699   (eval $ac_try) 2>&5
25700   ac_status=$?
25701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25702   (exit $ac_status); }; } &&
25703          { ac_try='test -s conftest$ac_exeext'
25704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25705   (eval $ac_try) 2>&5
25706   ac_status=$?
25707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25708   (exit $ac_status); }; }; then
25709   eval "$as_ac_var=yes"
25710 else
25711   echo "$as_me: failed program was:" >&5
25712 sed 's/^/| /' conftest.$ac_ext >&5
25713
25714 eval "$as_ac_var=no"
25715 fi
25716 rm -f conftest.err conftest.$ac_objext \
25717       conftest$ac_exeext conftest.$ac_ext
25718 fi
25719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25721 if test `eval echo '${'$as_ac_var'}'` = yes; then
25722   cat >>confdefs.h <<_ACEOF
25723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25724 _ACEOF
25725
25726 fi
25727 done
25728
25729   else
25730
25731   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
25732 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
25733   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25734     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
25735   echo $ECHO_N "(cached) $ECHO_C" >&6
25736 else
25737
25738
25739
25740       ac_ext=cc
25741 ac_cpp='$CXXCPP $CPPFLAGS'
25742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25745
25746       cat >conftest.$ac_ext <<_ACEOF
25747 /* confdefs.h.  */
25748 _ACEOF
25749 cat confdefs.h >>conftest.$ac_ext
25750 cat >>conftest.$ac_ext <<_ACEOF
25751 /* end confdefs.h.  */
25752 #include <math.h>
25753 int
25754 main ()
25755 {
25756  _ldexpf(0, 0);
25757   ;
25758   return 0;
25759 }
25760 _ACEOF
25761 rm -f conftest.$ac_objext
25762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25763   (eval $ac_compile) 2>conftest.er1
25764   ac_status=$?
25765   grep -v '^ *+' conftest.er1 >conftest.err
25766   rm -f conftest.er1
25767   cat conftest.err >&5
25768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25769   (exit $ac_status); } &&
25770          { ac_try='test -z "$ac_cxx_werror_flag"
25771                          || test ! -s conftest.err'
25772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25773   (eval $ac_try) 2>&5
25774   ac_status=$?
25775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25776   (exit $ac_status); }; } &&
25777          { ac_try='test -s conftest.$ac_objext'
25778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25779   (eval $ac_try) 2>&5
25780   ac_status=$?
25781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25782   (exit $ac_status); }; }; then
25783   glibcxx_cv_func__ldexpf_use=yes
25784 else
25785   echo "$as_me: failed program was:" >&5
25786 sed 's/^/| /' conftest.$ac_ext >&5
25787
25788 glibcxx_cv_func__ldexpf_use=no
25789 fi
25790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25791       ac_ext=c
25792 ac_cpp='$CPP $CPPFLAGS'
25793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25796
25797
25798 fi
25799
25800   fi
25801   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
25802 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
25803
25804     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25805
25806 for ac_func in _ldexpf
25807 do
25808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25809 echo "$as_me:$LINENO: checking for $ac_func" >&5
25810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25811 if eval "test \"\${$as_ac_var+set}\" = set"; then
25812   echo $ECHO_N "(cached) $ECHO_C" >&6
25813 else
25814   if test x$gcc_no_link = xyes; then
25815   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25817    { (exit 1); exit 1; }; }
25818 fi
25819 cat >conftest.$ac_ext <<_ACEOF
25820 /* confdefs.h.  */
25821 _ACEOF
25822 cat confdefs.h >>conftest.$ac_ext
25823 cat >>conftest.$ac_ext <<_ACEOF
25824 /* end confdefs.h.  */
25825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25826    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25827 #define $ac_func innocuous_$ac_func
25828
25829 /* System header to define __stub macros and hopefully few prototypes,
25830     which can conflict with char $ac_func (); below.
25831     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25832     <limits.h> exists even on freestanding compilers.  */
25833
25834 #ifdef __STDC__
25835 # include <limits.h>
25836 #else
25837 # include <assert.h>
25838 #endif
25839
25840 #undef $ac_func
25841
25842 /* Override any gcc2 internal prototype to avoid an error.  */
25843 #ifdef __cplusplus
25844 extern "C"
25845 {
25846 #endif
25847 /* We use char because int might match the return type of a gcc2
25848    builtin and then its argument prototype would still apply.  */
25849 char $ac_func ();
25850 /* The GNU C library defines this for functions which it implements
25851     to always fail with ENOSYS.  Some functions are actually named
25852     something starting with __ and the normal name is an alias.  */
25853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25854 choke me
25855 #else
25856 char (*f) () = $ac_func;
25857 #endif
25858 #ifdef __cplusplus
25859 }
25860 #endif
25861
25862 int
25863 main ()
25864 {
25865 return f != $ac_func;
25866   ;
25867   return 0;
25868 }
25869 _ACEOF
25870 rm -f conftest.$ac_objext conftest$ac_exeext
25871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25872   (eval $ac_link) 2>conftest.er1
25873   ac_status=$?
25874   grep -v '^ *+' conftest.er1 >conftest.err
25875   rm -f conftest.er1
25876   cat conftest.err >&5
25877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25878   (exit $ac_status); } &&
25879          { ac_try='test -z "$ac_c_werror_flag"
25880                          || test ! -s conftest.err'
25881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25882   (eval $ac_try) 2>&5
25883   ac_status=$?
25884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25885   (exit $ac_status); }; } &&
25886          { ac_try='test -s conftest$ac_exeext'
25887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25888   (eval $ac_try) 2>&5
25889   ac_status=$?
25890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25891   (exit $ac_status); }; }; then
25892   eval "$as_ac_var=yes"
25893 else
25894   echo "$as_me: failed program was:" >&5
25895 sed 's/^/| /' conftest.$ac_ext >&5
25896
25897 eval "$as_ac_var=no"
25898 fi
25899 rm -f conftest.err conftest.$ac_objext \
25900       conftest$ac_exeext conftest.$ac_ext
25901 fi
25902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25904 if test `eval echo '${'$as_ac_var'}'` = yes; then
25905   cat >>confdefs.h <<_ACEOF
25906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25907 _ACEOF
25908
25909 fi
25910 done
25911
25912     fi
25913   fi
25914
25915
25916
25917
25918
25919
25920   echo "$as_me:$LINENO: checking for logf declaration" >&5
25921 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
25922   if test x${glibcxx_cv_func_logf_use+set} != xset; then
25923     if test "${glibcxx_cv_func_logf_use+set}" = set; then
25924   echo $ECHO_N "(cached) $ECHO_C" >&6
25925 else
25926
25927
25928
25929       ac_ext=cc
25930 ac_cpp='$CXXCPP $CPPFLAGS'
25931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25934
25935       cat >conftest.$ac_ext <<_ACEOF
25936 /* confdefs.h.  */
25937 _ACEOF
25938 cat confdefs.h >>conftest.$ac_ext
25939 cat >>conftest.$ac_ext <<_ACEOF
25940 /* end confdefs.h.  */
25941 #include <math.h>
25942                       #ifdef HAVE_IEEEFP_H
25943                       #include <ieeefp.h>
25944                       #endif
25945
25946 int
25947 main ()
25948 {
25949  logf(0);
25950   ;
25951   return 0;
25952 }
25953 _ACEOF
25954 rm -f conftest.$ac_objext
25955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25956   (eval $ac_compile) 2>conftest.er1
25957   ac_status=$?
25958   grep -v '^ *+' conftest.er1 >conftest.err
25959   rm -f conftest.er1
25960   cat conftest.err >&5
25961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25962   (exit $ac_status); } &&
25963          { ac_try='test -z "$ac_cxx_werror_flag"
25964                          || test ! -s conftest.err'
25965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25966   (eval $ac_try) 2>&5
25967   ac_status=$?
25968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25969   (exit $ac_status); }; } &&
25970          { ac_try='test -s conftest.$ac_objext'
25971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25972   (eval $ac_try) 2>&5
25973   ac_status=$?
25974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25975   (exit $ac_status); }; }; then
25976   glibcxx_cv_func_logf_use=yes
25977 else
25978   echo "$as_me: failed program was:" >&5
25979 sed 's/^/| /' conftest.$ac_ext >&5
25980
25981 glibcxx_cv_func_logf_use=no
25982 fi
25983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25984       ac_ext=c
25985 ac_cpp='$CPP $CPPFLAGS'
25986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25989
25990
25991 fi
25992
25993   fi
25994   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
25995 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
25996
25997   if test x$glibcxx_cv_func_logf_use = x"yes"; then
25998
25999 for ac_func in logf
26000 do
26001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26002 echo "$as_me:$LINENO: checking for $ac_func" >&5
26003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26004 if eval "test \"\${$as_ac_var+set}\" = set"; then
26005   echo $ECHO_N "(cached) $ECHO_C" >&6
26006 else
26007   if test x$gcc_no_link = xyes; then
26008   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26010    { (exit 1); exit 1; }; }
26011 fi
26012 cat >conftest.$ac_ext <<_ACEOF
26013 /* confdefs.h.  */
26014 _ACEOF
26015 cat confdefs.h >>conftest.$ac_ext
26016 cat >>conftest.$ac_ext <<_ACEOF
26017 /* end confdefs.h.  */
26018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26019    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26020 #define $ac_func innocuous_$ac_func
26021
26022 /* System header to define __stub macros and hopefully few prototypes,
26023     which can conflict with char $ac_func (); below.
26024     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26025     <limits.h> exists even on freestanding compilers.  */
26026
26027 #ifdef __STDC__
26028 # include <limits.h>
26029 #else
26030 # include <assert.h>
26031 #endif
26032
26033 #undef $ac_func
26034
26035 /* Override any gcc2 internal prototype to avoid an error.  */
26036 #ifdef __cplusplus
26037 extern "C"
26038 {
26039 #endif
26040 /* We use char because int might match the return type of a gcc2
26041    builtin and then its argument prototype would still apply.  */
26042 char $ac_func ();
26043 /* The GNU C library defines this for functions which it implements
26044     to always fail with ENOSYS.  Some functions are actually named
26045     something starting with __ and the normal name is an alias.  */
26046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26047 choke me
26048 #else
26049 char (*f) () = $ac_func;
26050 #endif
26051 #ifdef __cplusplus
26052 }
26053 #endif
26054
26055 int
26056 main ()
26057 {
26058 return f != $ac_func;
26059   ;
26060   return 0;
26061 }
26062 _ACEOF
26063 rm -f conftest.$ac_objext conftest$ac_exeext
26064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26065   (eval $ac_link) 2>conftest.er1
26066   ac_status=$?
26067   grep -v '^ *+' conftest.er1 >conftest.err
26068   rm -f conftest.er1
26069   cat conftest.err >&5
26070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26071   (exit $ac_status); } &&
26072          { ac_try='test -z "$ac_c_werror_flag"
26073                          || test ! -s conftest.err'
26074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26075   (eval $ac_try) 2>&5
26076   ac_status=$?
26077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26078   (exit $ac_status); }; } &&
26079          { ac_try='test -s conftest$ac_exeext'
26080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26081   (eval $ac_try) 2>&5
26082   ac_status=$?
26083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26084   (exit $ac_status); }; }; then
26085   eval "$as_ac_var=yes"
26086 else
26087   echo "$as_me: failed program was:" >&5
26088 sed 's/^/| /' conftest.$ac_ext >&5
26089
26090 eval "$as_ac_var=no"
26091 fi
26092 rm -f conftest.err conftest.$ac_objext \
26093       conftest$ac_exeext conftest.$ac_ext
26094 fi
26095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26097 if test `eval echo '${'$as_ac_var'}'` = yes; then
26098   cat >>confdefs.h <<_ACEOF
26099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26100 _ACEOF
26101
26102 fi
26103 done
26104
26105   else
26106
26107   echo "$as_me:$LINENO: checking for _logf declaration" >&5
26108 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
26109   if test x${glibcxx_cv_func__logf_use+set} != xset; then
26110     if test "${glibcxx_cv_func__logf_use+set}" = set; then
26111   echo $ECHO_N "(cached) $ECHO_C" >&6
26112 else
26113
26114
26115
26116       ac_ext=cc
26117 ac_cpp='$CXXCPP $CPPFLAGS'
26118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26121
26122       cat >conftest.$ac_ext <<_ACEOF
26123 /* confdefs.h.  */
26124 _ACEOF
26125 cat confdefs.h >>conftest.$ac_ext
26126 cat >>conftest.$ac_ext <<_ACEOF
26127 /* end confdefs.h.  */
26128 #include <math.h>
26129                       #ifdef HAVE_IEEEFP_H
26130                       #include <ieeefp.h>
26131                       #endif
26132
26133 int
26134 main ()
26135 {
26136  _logf(0);
26137   ;
26138   return 0;
26139 }
26140 _ACEOF
26141 rm -f conftest.$ac_objext
26142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26143   (eval $ac_compile) 2>conftest.er1
26144   ac_status=$?
26145   grep -v '^ *+' conftest.er1 >conftest.err
26146   rm -f conftest.er1
26147   cat conftest.err >&5
26148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26149   (exit $ac_status); } &&
26150          { ac_try='test -z "$ac_cxx_werror_flag"
26151                          || test ! -s conftest.err'
26152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26153   (eval $ac_try) 2>&5
26154   ac_status=$?
26155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26156   (exit $ac_status); }; } &&
26157          { ac_try='test -s conftest.$ac_objext'
26158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26159   (eval $ac_try) 2>&5
26160   ac_status=$?
26161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26162   (exit $ac_status); }; }; then
26163   glibcxx_cv_func__logf_use=yes
26164 else
26165   echo "$as_me: failed program was:" >&5
26166 sed 's/^/| /' conftest.$ac_ext >&5
26167
26168 glibcxx_cv_func__logf_use=no
26169 fi
26170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26171       ac_ext=c
26172 ac_cpp='$CPP $CPPFLAGS'
26173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26176
26177
26178 fi
26179
26180   fi
26181   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
26182 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
26183
26184     if test x$glibcxx_cv_func__logf_use = x"yes"; then
26185
26186 for ac_func in _logf
26187 do
26188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26189 echo "$as_me:$LINENO: checking for $ac_func" >&5
26190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26191 if eval "test \"\${$as_ac_var+set}\" = set"; then
26192   echo $ECHO_N "(cached) $ECHO_C" >&6
26193 else
26194   if test x$gcc_no_link = xyes; then
26195   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26197    { (exit 1); exit 1; }; }
26198 fi
26199 cat >conftest.$ac_ext <<_ACEOF
26200 /* confdefs.h.  */
26201 _ACEOF
26202 cat confdefs.h >>conftest.$ac_ext
26203 cat >>conftest.$ac_ext <<_ACEOF
26204 /* end confdefs.h.  */
26205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26206    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26207 #define $ac_func innocuous_$ac_func
26208
26209 /* System header to define __stub macros and hopefully few prototypes,
26210     which can conflict with char $ac_func (); below.
26211     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26212     <limits.h> exists even on freestanding compilers.  */
26213
26214 #ifdef __STDC__
26215 # include <limits.h>
26216 #else
26217 # include <assert.h>
26218 #endif
26219
26220 #undef $ac_func
26221
26222 /* Override any gcc2 internal prototype to avoid an error.  */
26223 #ifdef __cplusplus
26224 extern "C"
26225 {
26226 #endif
26227 /* We use char because int might match the return type of a gcc2
26228    builtin and then its argument prototype would still apply.  */
26229 char $ac_func ();
26230 /* The GNU C library defines this for functions which it implements
26231     to always fail with ENOSYS.  Some functions are actually named
26232     something starting with __ and the normal name is an alias.  */
26233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26234 choke me
26235 #else
26236 char (*f) () = $ac_func;
26237 #endif
26238 #ifdef __cplusplus
26239 }
26240 #endif
26241
26242 int
26243 main ()
26244 {
26245 return f != $ac_func;
26246   ;
26247   return 0;
26248 }
26249 _ACEOF
26250 rm -f conftest.$ac_objext conftest$ac_exeext
26251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26252   (eval $ac_link) 2>conftest.er1
26253   ac_status=$?
26254   grep -v '^ *+' conftest.er1 >conftest.err
26255   rm -f conftest.er1
26256   cat conftest.err >&5
26257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26258   (exit $ac_status); } &&
26259          { ac_try='test -z "$ac_c_werror_flag"
26260                          || test ! -s conftest.err'
26261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26262   (eval $ac_try) 2>&5
26263   ac_status=$?
26264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26265   (exit $ac_status); }; } &&
26266          { ac_try='test -s conftest$ac_exeext'
26267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26268   (eval $ac_try) 2>&5
26269   ac_status=$?
26270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271   (exit $ac_status); }; }; then
26272   eval "$as_ac_var=yes"
26273 else
26274   echo "$as_me: failed program was:" >&5
26275 sed 's/^/| /' conftest.$ac_ext >&5
26276
26277 eval "$as_ac_var=no"
26278 fi
26279 rm -f conftest.err conftest.$ac_objext \
26280       conftest$ac_exeext conftest.$ac_ext
26281 fi
26282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26284 if test `eval echo '${'$as_ac_var'}'` = yes; then
26285   cat >>confdefs.h <<_ACEOF
26286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26287 _ACEOF
26288
26289 fi
26290 done
26291
26292     fi
26293   fi
26294
26295
26296
26297
26298
26299
26300   echo "$as_me:$LINENO: checking for log10f declaration" >&5
26301 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
26302   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
26303     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
26304   echo $ECHO_N "(cached) $ECHO_C" >&6
26305 else
26306
26307
26308
26309       ac_ext=cc
26310 ac_cpp='$CXXCPP $CPPFLAGS'
26311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26314
26315       cat >conftest.$ac_ext <<_ACEOF
26316 /* confdefs.h.  */
26317 _ACEOF
26318 cat confdefs.h >>conftest.$ac_ext
26319 cat >>conftest.$ac_ext <<_ACEOF
26320 /* end confdefs.h.  */
26321 #include <math.h>
26322                       #ifdef HAVE_IEEEFP_H
26323                       #include <ieeefp.h>
26324                       #endif
26325
26326 int
26327 main ()
26328 {
26329  log10f(0);
26330   ;
26331   return 0;
26332 }
26333 _ACEOF
26334 rm -f conftest.$ac_objext
26335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26336   (eval $ac_compile) 2>conftest.er1
26337   ac_status=$?
26338   grep -v '^ *+' conftest.er1 >conftest.err
26339   rm -f conftest.er1
26340   cat conftest.err >&5
26341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26342   (exit $ac_status); } &&
26343          { ac_try='test -z "$ac_cxx_werror_flag"
26344                          || test ! -s conftest.err'
26345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26346   (eval $ac_try) 2>&5
26347   ac_status=$?
26348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26349   (exit $ac_status); }; } &&
26350          { ac_try='test -s conftest.$ac_objext'
26351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26352   (eval $ac_try) 2>&5
26353   ac_status=$?
26354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26355   (exit $ac_status); }; }; then
26356   glibcxx_cv_func_log10f_use=yes
26357 else
26358   echo "$as_me: failed program was:" >&5
26359 sed 's/^/| /' conftest.$ac_ext >&5
26360
26361 glibcxx_cv_func_log10f_use=no
26362 fi
26363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26364       ac_ext=c
26365 ac_cpp='$CPP $CPPFLAGS'
26366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26369
26370
26371 fi
26372
26373   fi
26374   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
26375 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
26376
26377   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
26378
26379 for ac_func in log10f
26380 do
26381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26382 echo "$as_me:$LINENO: checking for $ac_func" >&5
26383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26384 if eval "test \"\${$as_ac_var+set}\" = set"; then
26385   echo $ECHO_N "(cached) $ECHO_C" >&6
26386 else
26387   if test x$gcc_no_link = xyes; then
26388   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26390    { (exit 1); exit 1; }; }
26391 fi
26392 cat >conftest.$ac_ext <<_ACEOF
26393 /* confdefs.h.  */
26394 _ACEOF
26395 cat confdefs.h >>conftest.$ac_ext
26396 cat >>conftest.$ac_ext <<_ACEOF
26397 /* end confdefs.h.  */
26398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26399    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26400 #define $ac_func innocuous_$ac_func
26401
26402 /* System header to define __stub macros and hopefully few prototypes,
26403     which can conflict with char $ac_func (); below.
26404     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26405     <limits.h> exists even on freestanding compilers.  */
26406
26407 #ifdef __STDC__
26408 # include <limits.h>
26409 #else
26410 # include <assert.h>
26411 #endif
26412
26413 #undef $ac_func
26414
26415 /* Override any gcc2 internal prototype to avoid an error.  */
26416 #ifdef __cplusplus
26417 extern "C"
26418 {
26419 #endif
26420 /* We use char because int might match the return type of a gcc2
26421    builtin and then its argument prototype would still apply.  */
26422 char $ac_func ();
26423 /* The GNU C library defines this for functions which it implements
26424     to always fail with ENOSYS.  Some functions are actually named
26425     something starting with __ and the normal name is an alias.  */
26426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26427 choke me
26428 #else
26429 char (*f) () = $ac_func;
26430 #endif
26431 #ifdef __cplusplus
26432 }
26433 #endif
26434
26435 int
26436 main ()
26437 {
26438 return f != $ac_func;
26439   ;
26440   return 0;
26441 }
26442 _ACEOF
26443 rm -f conftest.$ac_objext conftest$ac_exeext
26444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26445   (eval $ac_link) 2>conftest.er1
26446   ac_status=$?
26447   grep -v '^ *+' conftest.er1 >conftest.err
26448   rm -f conftest.er1
26449   cat conftest.err >&5
26450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26451   (exit $ac_status); } &&
26452          { ac_try='test -z "$ac_c_werror_flag"
26453                          || test ! -s conftest.err'
26454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26455   (eval $ac_try) 2>&5
26456   ac_status=$?
26457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26458   (exit $ac_status); }; } &&
26459          { ac_try='test -s conftest$ac_exeext'
26460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26461   (eval $ac_try) 2>&5
26462   ac_status=$?
26463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26464   (exit $ac_status); }; }; then
26465   eval "$as_ac_var=yes"
26466 else
26467   echo "$as_me: failed program was:" >&5
26468 sed 's/^/| /' conftest.$ac_ext >&5
26469
26470 eval "$as_ac_var=no"
26471 fi
26472 rm -f conftest.err conftest.$ac_objext \
26473       conftest$ac_exeext conftest.$ac_ext
26474 fi
26475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26477 if test `eval echo '${'$as_ac_var'}'` = yes; then
26478   cat >>confdefs.h <<_ACEOF
26479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26480 _ACEOF
26481
26482 fi
26483 done
26484
26485   else
26486
26487   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
26488 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
26489   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
26490     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
26491   echo $ECHO_N "(cached) $ECHO_C" >&6
26492 else
26493
26494
26495
26496       ac_ext=cc
26497 ac_cpp='$CXXCPP $CPPFLAGS'
26498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26501
26502       cat >conftest.$ac_ext <<_ACEOF
26503 /* confdefs.h.  */
26504 _ACEOF
26505 cat confdefs.h >>conftest.$ac_ext
26506 cat >>conftest.$ac_ext <<_ACEOF
26507 /* end confdefs.h.  */
26508 #include <math.h>
26509                       #ifdef HAVE_IEEEFP_H
26510                       #include <ieeefp.h>
26511                       #endif
26512
26513 int
26514 main ()
26515 {
26516  _log10f(0);
26517   ;
26518   return 0;
26519 }
26520 _ACEOF
26521 rm -f conftest.$ac_objext
26522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26523   (eval $ac_compile) 2>conftest.er1
26524   ac_status=$?
26525   grep -v '^ *+' conftest.er1 >conftest.err
26526   rm -f conftest.er1
26527   cat conftest.err >&5
26528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26529   (exit $ac_status); } &&
26530          { ac_try='test -z "$ac_cxx_werror_flag"
26531                          || test ! -s conftest.err'
26532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26533   (eval $ac_try) 2>&5
26534   ac_status=$?
26535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26536   (exit $ac_status); }; } &&
26537          { ac_try='test -s conftest.$ac_objext'
26538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26539   (eval $ac_try) 2>&5
26540   ac_status=$?
26541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542   (exit $ac_status); }; }; then
26543   glibcxx_cv_func__log10f_use=yes
26544 else
26545   echo "$as_me: failed program was:" >&5
26546 sed 's/^/| /' conftest.$ac_ext >&5
26547
26548 glibcxx_cv_func__log10f_use=no
26549 fi
26550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26551       ac_ext=c
26552 ac_cpp='$CPP $CPPFLAGS'
26553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26556
26557
26558 fi
26559
26560   fi
26561   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
26562 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
26563
26564     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
26565
26566 for ac_func in _log10f
26567 do
26568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26569 echo "$as_me:$LINENO: checking for $ac_func" >&5
26570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26571 if eval "test \"\${$as_ac_var+set}\" = set"; then
26572   echo $ECHO_N "(cached) $ECHO_C" >&6
26573 else
26574   if test x$gcc_no_link = xyes; then
26575   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26577    { (exit 1); exit 1; }; }
26578 fi
26579 cat >conftest.$ac_ext <<_ACEOF
26580 /* confdefs.h.  */
26581 _ACEOF
26582 cat confdefs.h >>conftest.$ac_ext
26583 cat >>conftest.$ac_ext <<_ACEOF
26584 /* end confdefs.h.  */
26585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26586    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26587 #define $ac_func innocuous_$ac_func
26588
26589 /* System header to define __stub macros and hopefully few prototypes,
26590     which can conflict with char $ac_func (); below.
26591     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26592     <limits.h> exists even on freestanding compilers.  */
26593
26594 #ifdef __STDC__
26595 # include <limits.h>
26596 #else
26597 # include <assert.h>
26598 #endif
26599
26600 #undef $ac_func
26601
26602 /* Override any gcc2 internal prototype to avoid an error.  */
26603 #ifdef __cplusplus
26604 extern "C"
26605 {
26606 #endif
26607 /* We use char because int might match the return type of a gcc2
26608    builtin and then its argument prototype would still apply.  */
26609 char $ac_func ();
26610 /* The GNU C library defines this for functions which it implements
26611     to always fail with ENOSYS.  Some functions are actually named
26612     something starting with __ and the normal name is an alias.  */
26613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26614 choke me
26615 #else
26616 char (*f) () = $ac_func;
26617 #endif
26618 #ifdef __cplusplus
26619 }
26620 #endif
26621
26622 int
26623 main ()
26624 {
26625 return f != $ac_func;
26626   ;
26627   return 0;
26628 }
26629 _ACEOF
26630 rm -f conftest.$ac_objext conftest$ac_exeext
26631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26632   (eval $ac_link) 2>conftest.er1
26633   ac_status=$?
26634   grep -v '^ *+' conftest.er1 >conftest.err
26635   rm -f conftest.er1
26636   cat conftest.err >&5
26637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26638   (exit $ac_status); } &&
26639          { ac_try='test -z "$ac_c_werror_flag"
26640                          || test ! -s conftest.err'
26641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26642   (eval $ac_try) 2>&5
26643   ac_status=$?
26644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26645   (exit $ac_status); }; } &&
26646          { ac_try='test -s conftest$ac_exeext'
26647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26648   (eval $ac_try) 2>&5
26649   ac_status=$?
26650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26651   (exit $ac_status); }; }; then
26652   eval "$as_ac_var=yes"
26653 else
26654   echo "$as_me: failed program was:" >&5
26655 sed 's/^/| /' conftest.$ac_ext >&5
26656
26657 eval "$as_ac_var=no"
26658 fi
26659 rm -f conftest.err conftest.$ac_objext \
26660       conftest$ac_exeext conftest.$ac_ext
26661 fi
26662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26664 if test `eval echo '${'$as_ac_var'}'` = yes; then
26665   cat >>confdefs.h <<_ACEOF
26666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26667 _ACEOF
26668
26669 fi
26670 done
26671
26672     fi
26673   fi
26674
26675
26676
26677
26678
26679
26680   echo "$as_me:$LINENO: checking for modff declaration" >&5
26681 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
26682   if test x${glibcxx_cv_func_modff_use+set} != xset; then
26683     if test "${glibcxx_cv_func_modff_use+set}" = set; then
26684   echo $ECHO_N "(cached) $ECHO_C" >&6
26685 else
26686
26687
26688
26689       ac_ext=cc
26690 ac_cpp='$CXXCPP $CPPFLAGS'
26691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26694
26695       cat >conftest.$ac_ext <<_ACEOF
26696 /* confdefs.h.  */
26697 _ACEOF
26698 cat confdefs.h >>conftest.$ac_ext
26699 cat >>conftest.$ac_ext <<_ACEOF
26700 /* end confdefs.h.  */
26701 #include <math.h>
26702 int
26703 main ()
26704 {
26705  modff(0, 0);
26706   ;
26707   return 0;
26708 }
26709 _ACEOF
26710 rm -f conftest.$ac_objext
26711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26712   (eval $ac_compile) 2>conftest.er1
26713   ac_status=$?
26714   grep -v '^ *+' conftest.er1 >conftest.err
26715   rm -f conftest.er1
26716   cat conftest.err >&5
26717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26718   (exit $ac_status); } &&
26719          { ac_try='test -z "$ac_cxx_werror_flag"
26720                          || test ! -s conftest.err'
26721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26722   (eval $ac_try) 2>&5
26723   ac_status=$?
26724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26725   (exit $ac_status); }; } &&
26726          { ac_try='test -s conftest.$ac_objext'
26727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26728   (eval $ac_try) 2>&5
26729   ac_status=$?
26730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26731   (exit $ac_status); }; }; then
26732   glibcxx_cv_func_modff_use=yes
26733 else
26734   echo "$as_me: failed program was:" >&5
26735 sed 's/^/| /' conftest.$ac_ext >&5
26736
26737 glibcxx_cv_func_modff_use=no
26738 fi
26739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26740       ac_ext=c
26741 ac_cpp='$CPP $CPPFLAGS'
26742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26745
26746
26747 fi
26748
26749   fi
26750   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
26751 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
26752
26753   if test x$glibcxx_cv_func_modff_use = x"yes"; then
26754
26755 for ac_func in modff
26756 do
26757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26758 echo "$as_me:$LINENO: checking for $ac_func" >&5
26759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26760 if eval "test \"\${$as_ac_var+set}\" = set"; then
26761   echo $ECHO_N "(cached) $ECHO_C" >&6
26762 else
26763   if test x$gcc_no_link = xyes; then
26764   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26766    { (exit 1); exit 1; }; }
26767 fi
26768 cat >conftest.$ac_ext <<_ACEOF
26769 /* confdefs.h.  */
26770 _ACEOF
26771 cat confdefs.h >>conftest.$ac_ext
26772 cat >>conftest.$ac_ext <<_ACEOF
26773 /* end confdefs.h.  */
26774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26775    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26776 #define $ac_func innocuous_$ac_func
26777
26778 /* System header to define __stub macros and hopefully few prototypes,
26779     which can conflict with char $ac_func (); below.
26780     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26781     <limits.h> exists even on freestanding compilers.  */
26782
26783 #ifdef __STDC__
26784 # include <limits.h>
26785 #else
26786 # include <assert.h>
26787 #endif
26788
26789 #undef $ac_func
26790
26791 /* Override any gcc2 internal prototype to avoid an error.  */
26792 #ifdef __cplusplus
26793 extern "C"
26794 {
26795 #endif
26796 /* We use char because int might match the return type of a gcc2
26797    builtin and then its argument prototype would still apply.  */
26798 char $ac_func ();
26799 /* The GNU C library defines this for functions which it implements
26800     to always fail with ENOSYS.  Some functions are actually named
26801     something starting with __ and the normal name is an alias.  */
26802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26803 choke me
26804 #else
26805 char (*f) () = $ac_func;
26806 #endif
26807 #ifdef __cplusplus
26808 }
26809 #endif
26810
26811 int
26812 main ()
26813 {
26814 return f != $ac_func;
26815   ;
26816   return 0;
26817 }
26818 _ACEOF
26819 rm -f conftest.$ac_objext conftest$ac_exeext
26820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26821   (eval $ac_link) 2>conftest.er1
26822   ac_status=$?
26823   grep -v '^ *+' conftest.er1 >conftest.err
26824   rm -f conftest.er1
26825   cat conftest.err >&5
26826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26827   (exit $ac_status); } &&
26828          { ac_try='test -z "$ac_c_werror_flag"
26829                          || test ! -s conftest.err'
26830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26831   (eval $ac_try) 2>&5
26832   ac_status=$?
26833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26834   (exit $ac_status); }; } &&
26835          { ac_try='test -s conftest$ac_exeext'
26836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26837   (eval $ac_try) 2>&5
26838   ac_status=$?
26839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26840   (exit $ac_status); }; }; then
26841   eval "$as_ac_var=yes"
26842 else
26843   echo "$as_me: failed program was:" >&5
26844 sed 's/^/| /' conftest.$ac_ext >&5
26845
26846 eval "$as_ac_var=no"
26847 fi
26848 rm -f conftest.err conftest.$ac_objext \
26849       conftest$ac_exeext conftest.$ac_ext
26850 fi
26851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26853 if test `eval echo '${'$as_ac_var'}'` = yes; then
26854   cat >>confdefs.h <<_ACEOF
26855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26856 _ACEOF
26857
26858 fi
26859 done
26860
26861   else
26862
26863   echo "$as_me:$LINENO: checking for _modff declaration" >&5
26864 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
26865   if test x${glibcxx_cv_func__modff_use+set} != xset; then
26866     if test "${glibcxx_cv_func__modff_use+set}" = set; then
26867   echo $ECHO_N "(cached) $ECHO_C" >&6
26868 else
26869
26870
26871
26872       ac_ext=cc
26873 ac_cpp='$CXXCPP $CPPFLAGS'
26874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26877
26878       cat >conftest.$ac_ext <<_ACEOF
26879 /* confdefs.h.  */
26880 _ACEOF
26881 cat confdefs.h >>conftest.$ac_ext
26882 cat >>conftest.$ac_ext <<_ACEOF
26883 /* end confdefs.h.  */
26884 #include <math.h>
26885 int
26886 main ()
26887 {
26888  _modff(0, 0);
26889   ;
26890   return 0;
26891 }
26892 _ACEOF
26893 rm -f conftest.$ac_objext
26894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26895   (eval $ac_compile) 2>conftest.er1
26896   ac_status=$?
26897   grep -v '^ *+' conftest.er1 >conftest.err
26898   rm -f conftest.er1
26899   cat conftest.err >&5
26900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26901   (exit $ac_status); } &&
26902          { ac_try='test -z "$ac_cxx_werror_flag"
26903                          || test ! -s conftest.err'
26904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26905   (eval $ac_try) 2>&5
26906   ac_status=$?
26907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26908   (exit $ac_status); }; } &&
26909          { ac_try='test -s conftest.$ac_objext'
26910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26911   (eval $ac_try) 2>&5
26912   ac_status=$?
26913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26914   (exit $ac_status); }; }; then
26915   glibcxx_cv_func__modff_use=yes
26916 else
26917   echo "$as_me: failed program was:" >&5
26918 sed 's/^/| /' conftest.$ac_ext >&5
26919
26920 glibcxx_cv_func__modff_use=no
26921 fi
26922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26923       ac_ext=c
26924 ac_cpp='$CPP $CPPFLAGS'
26925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26928
26929
26930 fi
26931
26932   fi
26933   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
26934 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
26935
26936     if test x$glibcxx_cv_func__modff_use = x"yes"; then
26937
26938 for ac_func in _modff
26939 do
26940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26941 echo "$as_me:$LINENO: checking for $ac_func" >&5
26942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26943 if eval "test \"\${$as_ac_var+set}\" = set"; then
26944   echo $ECHO_N "(cached) $ECHO_C" >&6
26945 else
26946   if test x$gcc_no_link = xyes; then
26947   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26949    { (exit 1); exit 1; }; }
26950 fi
26951 cat >conftest.$ac_ext <<_ACEOF
26952 /* confdefs.h.  */
26953 _ACEOF
26954 cat confdefs.h >>conftest.$ac_ext
26955 cat >>conftest.$ac_ext <<_ACEOF
26956 /* end confdefs.h.  */
26957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26958    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26959 #define $ac_func innocuous_$ac_func
26960
26961 /* System header to define __stub macros and hopefully few prototypes,
26962     which can conflict with char $ac_func (); below.
26963     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26964     <limits.h> exists even on freestanding compilers.  */
26965
26966 #ifdef __STDC__
26967 # include <limits.h>
26968 #else
26969 # include <assert.h>
26970 #endif
26971
26972 #undef $ac_func
26973
26974 /* Override any gcc2 internal prototype to avoid an error.  */
26975 #ifdef __cplusplus
26976 extern "C"
26977 {
26978 #endif
26979 /* We use char because int might match the return type of a gcc2
26980    builtin and then its argument prototype would still apply.  */
26981 char $ac_func ();
26982 /* The GNU C library defines this for functions which it implements
26983     to always fail with ENOSYS.  Some functions are actually named
26984     something starting with __ and the normal name is an alias.  */
26985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26986 choke me
26987 #else
26988 char (*f) () = $ac_func;
26989 #endif
26990 #ifdef __cplusplus
26991 }
26992 #endif
26993
26994 int
26995 main ()
26996 {
26997 return f != $ac_func;
26998   ;
26999   return 0;
27000 }
27001 _ACEOF
27002 rm -f conftest.$ac_objext conftest$ac_exeext
27003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27004   (eval $ac_link) 2>conftest.er1
27005   ac_status=$?
27006   grep -v '^ *+' conftest.er1 >conftest.err
27007   rm -f conftest.er1
27008   cat conftest.err >&5
27009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27010   (exit $ac_status); } &&
27011          { ac_try='test -z "$ac_c_werror_flag"
27012                          || test ! -s conftest.err'
27013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27014   (eval $ac_try) 2>&5
27015   ac_status=$?
27016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27017   (exit $ac_status); }; } &&
27018          { ac_try='test -s conftest$ac_exeext'
27019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27020   (eval $ac_try) 2>&5
27021   ac_status=$?
27022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27023   (exit $ac_status); }; }; then
27024   eval "$as_ac_var=yes"
27025 else
27026   echo "$as_me: failed program was:" >&5
27027 sed 's/^/| /' conftest.$ac_ext >&5
27028
27029 eval "$as_ac_var=no"
27030 fi
27031 rm -f conftest.err conftest.$ac_objext \
27032       conftest$ac_exeext conftest.$ac_ext
27033 fi
27034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27036 if test `eval echo '${'$as_ac_var'}'` = yes; then
27037   cat >>confdefs.h <<_ACEOF
27038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27039 _ACEOF
27040
27041 fi
27042 done
27043
27044     fi
27045   fi
27046
27047
27048
27049
27050
27051
27052   echo "$as_me:$LINENO: checking for modf declaration" >&5
27053 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
27054   if test x${glibcxx_cv_func_modf_use+set} != xset; then
27055     if test "${glibcxx_cv_func_modf_use+set}" = set; then
27056   echo $ECHO_N "(cached) $ECHO_C" >&6
27057 else
27058
27059
27060
27061       ac_ext=cc
27062 ac_cpp='$CXXCPP $CPPFLAGS'
27063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27066
27067       cat >conftest.$ac_ext <<_ACEOF
27068 /* confdefs.h.  */
27069 _ACEOF
27070 cat confdefs.h >>conftest.$ac_ext
27071 cat >>conftest.$ac_ext <<_ACEOF
27072 /* end confdefs.h.  */
27073 #include <math.h>
27074 int
27075 main ()
27076 {
27077  modf(0, 0);
27078   ;
27079   return 0;
27080 }
27081 _ACEOF
27082 rm -f conftest.$ac_objext
27083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27084   (eval $ac_compile) 2>conftest.er1
27085   ac_status=$?
27086   grep -v '^ *+' conftest.er1 >conftest.err
27087   rm -f conftest.er1
27088   cat conftest.err >&5
27089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27090   (exit $ac_status); } &&
27091          { ac_try='test -z "$ac_cxx_werror_flag"
27092                          || test ! -s conftest.err'
27093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27094   (eval $ac_try) 2>&5
27095   ac_status=$?
27096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27097   (exit $ac_status); }; } &&
27098          { ac_try='test -s conftest.$ac_objext'
27099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27100   (eval $ac_try) 2>&5
27101   ac_status=$?
27102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27103   (exit $ac_status); }; }; then
27104   glibcxx_cv_func_modf_use=yes
27105 else
27106   echo "$as_me: failed program was:" >&5
27107 sed 's/^/| /' conftest.$ac_ext >&5
27108
27109 glibcxx_cv_func_modf_use=no
27110 fi
27111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27112       ac_ext=c
27113 ac_cpp='$CPP $CPPFLAGS'
27114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27117
27118
27119 fi
27120
27121   fi
27122   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
27123 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
27124
27125   if test x$glibcxx_cv_func_modf_use = x"yes"; then
27126
27127 for ac_func in modf
27128 do
27129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27130 echo "$as_me:$LINENO: checking for $ac_func" >&5
27131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27132 if eval "test \"\${$as_ac_var+set}\" = set"; then
27133   echo $ECHO_N "(cached) $ECHO_C" >&6
27134 else
27135   if test x$gcc_no_link = xyes; then
27136   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27138    { (exit 1); exit 1; }; }
27139 fi
27140 cat >conftest.$ac_ext <<_ACEOF
27141 /* confdefs.h.  */
27142 _ACEOF
27143 cat confdefs.h >>conftest.$ac_ext
27144 cat >>conftest.$ac_ext <<_ACEOF
27145 /* end confdefs.h.  */
27146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27147    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27148 #define $ac_func innocuous_$ac_func
27149
27150 /* System header to define __stub macros and hopefully few prototypes,
27151     which can conflict with char $ac_func (); below.
27152     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27153     <limits.h> exists even on freestanding compilers.  */
27154
27155 #ifdef __STDC__
27156 # include <limits.h>
27157 #else
27158 # include <assert.h>
27159 #endif
27160
27161 #undef $ac_func
27162
27163 /* Override any gcc2 internal prototype to avoid an error.  */
27164 #ifdef __cplusplus
27165 extern "C"
27166 {
27167 #endif
27168 /* We use char because int might match the return type of a gcc2
27169    builtin and then its argument prototype would still apply.  */
27170 char $ac_func ();
27171 /* The GNU C library defines this for functions which it implements
27172     to always fail with ENOSYS.  Some functions are actually named
27173     something starting with __ and the normal name is an alias.  */
27174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27175 choke me
27176 #else
27177 char (*f) () = $ac_func;
27178 #endif
27179 #ifdef __cplusplus
27180 }
27181 #endif
27182
27183 int
27184 main ()
27185 {
27186 return f != $ac_func;
27187   ;
27188   return 0;
27189 }
27190 _ACEOF
27191 rm -f conftest.$ac_objext conftest$ac_exeext
27192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27193   (eval $ac_link) 2>conftest.er1
27194   ac_status=$?
27195   grep -v '^ *+' conftest.er1 >conftest.err
27196   rm -f conftest.er1
27197   cat conftest.err >&5
27198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27199   (exit $ac_status); } &&
27200          { ac_try='test -z "$ac_c_werror_flag"
27201                          || test ! -s conftest.err'
27202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27203   (eval $ac_try) 2>&5
27204   ac_status=$?
27205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27206   (exit $ac_status); }; } &&
27207          { ac_try='test -s conftest$ac_exeext'
27208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27209   (eval $ac_try) 2>&5
27210   ac_status=$?
27211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27212   (exit $ac_status); }; }; then
27213   eval "$as_ac_var=yes"
27214 else
27215   echo "$as_me: failed program was:" >&5
27216 sed 's/^/| /' conftest.$ac_ext >&5
27217
27218 eval "$as_ac_var=no"
27219 fi
27220 rm -f conftest.err conftest.$ac_objext \
27221       conftest$ac_exeext conftest.$ac_ext
27222 fi
27223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27225 if test `eval echo '${'$as_ac_var'}'` = yes; then
27226   cat >>confdefs.h <<_ACEOF
27227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27228 _ACEOF
27229
27230 fi
27231 done
27232
27233   else
27234
27235   echo "$as_me:$LINENO: checking for _modf declaration" >&5
27236 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
27237   if test x${glibcxx_cv_func__modf_use+set} != xset; then
27238     if test "${glibcxx_cv_func__modf_use+set}" = set; then
27239   echo $ECHO_N "(cached) $ECHO_C" >&6
27240 else
27241
27242
27243
27244       ac_ext=cc
27245 ac_cpp='$CXXCPP $CPPFLAGS'
27246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27249
27250       cat >conftest.$ac_ext <<_ACEOF
27251 /* confdefs.h.  */
27252 _ACEOF
27253 cat confdefs.h >>conftest.$ac_ext
27254 cat >>conftest.$ac_ext <<_ACEOF
27255 /* end confdefs.h.  */
27256 #include <math.h>
27257 int
27258 main ()
27259 {
27260  _modf(0, 0);
27261   ;
27262   return 0;
27263 }
27264 _ACEOF
27265 rm -f conftest.$ac_objext
27266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27267   (eval $ac_compile) 2>conftest.er1
27268   ac_status=$?
27269   grep -v '^ *+' conftest.er1 >conftest.err
27270   rm -f conftest.er1
27271   cat conftest.err >&5
27272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27273   (exit $ac_status); } &&
27274          { ac_try='test -z "$ac_cxx_werror_flag"
27275                          || test ! -s conftest.err'
27276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27277   (eval $ac_try) 2>&5
27278   ac_status=$?
27279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27280   (exit $ac_status); }; } &&
27281          { ac_try='test -s conftest.$ac_objext'
27282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27283   (eval $ac_try) 2>&5
27284   ac_status=$?
27285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27286   (exit $ac_status); }; }; then
27287   glibcxx_cv_func__modf_use=yes
27288 else
27289   echo "$as_me: failed program was:" >&5
27290 sed 's/^/| /' conftest.$ac_ext >&5
27291
27292 glibcxx_cv_func__modf_use=no
27293 fi
27294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27295       ac_ext=c
27296 ac_cpp='$CPP $CPPFLAGS'
27297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27300
27301
27302 fi
27303
27304   fi
27305   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
27306 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
27307
27308     if test x$glibcxx_cv_func__modf_use = x"yes"; then
27309
27310 for ac_func in _modf
27311 do
27312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27313 echo "$as_me:$LINENO: checking for $ac_func" >&5
27314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27315 if eval "test \"\${$as_ac_var+set}\" = set"; then
27316   echo $ECHO_N "(cached) $ECHO_C" >&6
27317 else
27318   if test x$gcc_no_link = xyes; then
27319   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27321    { (exit 1); exit 1; }; }
27322 fi
27323 cat >conftest.$ac_ext <<_ACEOF
27324 /* confdefs.h.  */
27325 _ACEOF
27326 cat confdefs.h >>conftest.$ac_ext
27327 cat >>conftest.$ac_ext <<_ACEOF
27328 /* end confdefs.h.  */
27329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27330    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27331 #define $ac_func innocuous_$ac_func
27332
27333 /* System header to define __stub macros and hopefully few prototypes,
27334     which can conflict with char $ac_func (); below.
27335     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27336     <limits.h> exists even on freestanding compilers.  */
27337
27338 #ifdef __STDC__
27339 # include <limits.h>
27340 #else
27341 # include <assert.h>
27342 #endif
27343
27344 #undef $ac_func
27345
27346 /* Override any gcc2 internal prototype to avoid an error.  */
27347 #ifdef __cplusplus
27348 extern "C"
27349 {
27350 #endif
27351 /* We use char because int might match the return type of a gcc2
27352    builtin and then its argument prototype would still apply.  */
27353 char $ac_func ();
27354 /* The GNU C library defines this for functions which it implements
27355     to always fail with ENOSYS.  Some functions are actually named
27356     something starting with __ and the normal name is an alias.  */
27357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27358 choke me
27359 #else
27360 char (*f) () = $ac_func;
27361 #endif
27362 #ifdef __cplusplus
27363 }
27364 #endif
27365
27366 int
27367 main ()
27368 {
27369 return f != $ac_func;
27370   ;
27371   return 0;
27372 }
27373 _ACEOF
27374 rm -f conftest.$ac_objext conftest$ac_exeext
27375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27376   (eval $ac_link) 2>conftest.er1
27377   ac_status=$?
27378   grep -v '^ *+' conftest.er1 >conftest.err
27379   rm -f conftest.er1
27380   cat conftest.err >&5
27381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27382   (exit $ac_status); } &&
27383          { ac_try='test -z "$ac_c_werror_flag"
27384                          || test ! -s conftest.err'
27385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27386   (eval $ac_try) 2>&5
27387   ac_status=$?
27388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27389   (exit $ac_status); }; } &&
27390          { ac_try='test -s conftest$ac_exeext'
27391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27392   (eval $ac_try) 2>&5
27393   ac_status=$?
27394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27395   (exit $ac_status); }; }; then
27396   eval "$as_ac_var=yes"
27397 else
27398   echo "$as_me: failed program was:" >&5
27399 sed 's/^/| /' conftest.$ac_ext >&5
27400
27401 eval "$as_ac_var=no"
27402 fi
27403 rm -f conftest.err conftest.$ac_objext \
27404       conftest$ac_exeext conftest.$ac_ext
27405 fi
27406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27408 if test `eval echo '${'$as_ac_var'}'` = yes; then
27409   cat >>confdefs.h <<_ACEOF
27410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27411 _ACEOF
27412
27413 fi
27414 done
27415
27416     fi
27417   fi
27418
27419
27420
27421
27422
27423
27424   echo "$as_me:$LINENO: checking for powf declaration" >&5
27425 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
27426   if test x${glibcxx_cv_func_powf_use+set} != xset; then
27427     if test "${glibcxx_cv_func_powf_use+set}" = set; then
27428   echo $ECHO_N "(cached) $ECHO_C" >&6
27429 else
27430
27431
27432
27433       ac_ext=cc
27434 ac_cpp='$CXXCPP $CPPFLAGS'
27435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27438
27439       cat >conftest.$ac_ext <<_ACEOF
27440 /* confdefs.h.  */
27441 _ACEOF
27442 cat confdefs.h >>conftest.$ac_ext
27443 cat >>conftest.$ac_ext <<_ACEOF
27444 /* end confdefs.h.  */
27445 #include <math.h>
27446 int
27447 main ()
27448 {
27449  powf(0, 0);
27450   ;
27451   return 0;
27452 }
27453 _ACEOF
27454 rm -f conftest.$ac_objext
27455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27456   (eval $ac_compile) 2>conftest.er1
27457   ac_status=$?
27458   grep -v '^ *+' conftest.er1 >conftest.err
27459   rm -f conftest.er1
27460   cat conftest.err >&5
27461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27462   (exit $ac_status); } &&
27463          { ac_try='test -z "$ac_cxx_werror_flag"
27464                          || test ! -s conftest.err'
27465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27466   (eval $ac_try) 2>&5
27467   ac_status=$?
27468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27469   (exit $ac_status); }; } &&
27470          { ac_try='test -s conftest.$ac_objext'
27471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27472   (eval $ac_try) 2>&5
27473   ac_status=$?
27474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27475   (exit $ac_status); }; }; then
27476   glibcxx_cv_func_powf_use=yes
27477 else
27478   echo "$as_me: failed program was:" >&5
27479 sed 's/^/| /' conftest.$ac_ext >&5
27480
27481 glibcxx_cv_func_powf_use=no
27482 fi
27483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27484       ac_ext=c
27485 ac_cpp='$CPP $CPPFLAGS'
27486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27489
27490
27491 fi
27492
27493   fi
27494   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
27495 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
27496
27497   if test x$glibcxx_cv_func_powf_use = x"yes"; then
27498
27499 for ac_func in powf
27500 do
27501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27502 echo "$as_me:$LINENO: checking for $ac_func" >&5
27503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27504 if eval "test \"\${$as_ac_var+set}\" = set"; then
27505   echo $ECHO_N "(cached) $ECHO_C" >&6
27506 else
27507   if test x$gcc_no_link = xyes; then
27508   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27510    { (exit 1); exit 1; }; }
27511 fi
27512 cat >conftest.$ac_ext <<_ACEOF
27513 /* confdefs.h.  */
27514 _ACEOF
27515 cat confdefs.h >>conftest.$ac_ext
27516 cat >>conftest.$ac_ext <<_ACEOF
27517 /* end confdefs.h.  */
27518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27519    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27520 #define $ac_func innocuous_$ac_func
27521
27522 /* System header to define __stub macros and hopefully few prototypes,
27523     which can conflict with char $ac_func (); below.
27524     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27525     <limits.h> exists even on freestanding compilers.  */
27526
27527 #ifdef __STDC__
27528 # include <limits.h>
27529 #else
27530 # include <assert.h>
27531 #endif
27532
27533 #undef $ac_func
27534
27535 /* Override any gcc2 internal prototype to avoid an error.  */
27536 #ifdef __cplusplus
27537 extern "C"
27538 {
27539 #endif
27540 /* We use char because int might match the return type of a gcc2
27541    builtin and then its argument prototype would still apply.  */
27542 char $ac_func ();
27543 /* The GNU C library defines this for functions which it implements
27544     to always fail with ENOSYS.  Some functions are actually named
27545     something starting with __ and the normal name is an alias.  */
27546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27547 choke me
27548 #else
27549 char (*f) () = $ac_func;
27550 #endif
27551 #ifdef __cplusplus
27552 }
27553 #endif
27554
27555 int
27556 main ()
27557 {
27558 return f != $ac_func;
27559   ;
27560   return 0;
27561 }
27562 _ACEOF
27563 rm -f conftest.$ac_objext conftest$ac_exeext
27564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27565   (eval $ac_link) 2>conftest.er1
27566   ac_status=$?
27567   grep -v '^ *+' conftest.er1 >conftest.err
27568   rm -f conftest.er1
27569   cat conftest.err >&5
27570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27571   (exit $ac_status); } &&
27572          { ac_try='test -z "$ac_c_werror_flag"
27573                          || test ! -s conftest.err'
27574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27575   (eval $ac_try) 2>&5
27576   ac_status=$?
27577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27578   (exit $ac_status); }; } &&
27579          { ac_try='test -s conftest$ac_exeext'
27580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27581   (eval $ac_try) 2>&5
27582   ac_status=$?
27583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27584   (exit $ac_status); }; }; then
27585   eval "$as_ac_var=yes"
27586 else
27587   echo "$as_me: failed program was:" >&5
27588 sed 's/^/| /' conftest.$ac_ext >&5
27589
27590 eval "$as_ac_var=no"
27591 fi
27592 rm -f conftest.err conftest.$ac_objext \
27593       conftest$ac_exeext conftest.$ac_ext
27594 fi
27595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27597 if test `eval echo '${'$as_ac_var'}'` = yes; then
27598   cat >>confdefs.h <<_ACEOF
27599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27600 _ACEOF
27601
27602 fi
27603 done
27604
27605   else
27606
27607   echo "$as_me:$LINENO: checking for _powf declaration" >&5
27608 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
27609   if test x${glibcxx_cv_func__powf_use+set} != xset; then
27610     if test "${glibcxx_cv_func__powf_use+set}" = set; then
27611   echo $ECHO_N "(cached) $ECHO_C" >&6
27612 else
27613
27614
27615
27616       ac_ext=cc
27617 ac_cpp='$CXXCPP $CPPFLAGS'
27618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27621
27622       cat >conftest.$ac_ext <<_ACEOF
27623 /* confdefs.h.  */
27624 _ACEOF
27625 cat confdefs.h >>conftest.$ac_ext
27626 cat >>conftest.$ac_ext <<_ACEOF
27627 /* end confdefs.h.  */
27628 #include <math.h>
27629 int
27630 main ()
27631 {
27632  _powf(0, 0);
27633   ;
27634   return 0;
27635 }
27636 _ACEOF
27637 rm -f conftest.$ac_objext
27638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27639   (eval $ac_compile) 2>conftest.er1
27640   ac_status=$?
27641   grep -v '^ *+' conftest.er1 >conftest.err
27642   rm -f conftest.er1
27643   cat conftest.err >&5
27644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27645   (exit $ac_status); } &&
27646          { ac_try='test -z "$ac_cxx_werror_flag"
27647                          || test ! -s conftest.err'
27648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27649   (eval $ac_try) 2>&5
27650   ac_status=$?
27651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27652   (exit $ac_status); }; } &&
27653          { ac_try='test -s conftest.$ac_objext'
27654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27655   (eval $ac_try) 2>&5
27656   ac_status=$?
27657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27658   (exit $ac_status); }; }; then
27659   glibcxx_cv_func__powf_use=yes
27660 else
27661   echo "$as_me: failed program was:" >&5
27662 sed 's/^/| /' conftest.$ac_ext >&5
27663
27664 glibcxx_cv_func__powf_use=no
27665 fi
27666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27667       ac_ext=c
27668 ac_cpp='$CPP $CPPFLAGS'
27669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27672
27673
27674 fi
27675
27676   fi
27677   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
27678 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
27679
27680     if test x$glibcxx_cv_func__powf_use = x"yes"; then
27681
27682 for ac_func in _powf
27683 do
27684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27685 echo "$as_me:$LINENO: checking for $ac_func" >&5
27686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27687 if eval "test \"\${$as_ac_var+set}\" = set"; then
27688   echo $ECHO_N "(cached) $ECHO_C" >&6
27689 else
27690   if test x$gcc_no_link = xyes; then
27691   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27693    { (exit 1); exit 1; }; }
27694 fi
27695 cat >conftest.$ac_ext <<_ACEOF
27696 /* confdefs.h.  */
27697 _ACEOF
27698 cat confdefs.h >>conftest.$ac_ext
27699 cat >>conftest.$ac_ext <<_ACEOF
27700 /* end confdefs.h.  */
27701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27702    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27703 #define $ac_func innocuous_$ac_func
27704
27705 /* System header to define __stub macros and hopefully few prototypes,
27706     which can conflict with char $ac_func (); below.
27707     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27708     <limits.h> exists even on freestanding compilers.  */
27709
27710 #ifdef __STDC__
27711 # include <limits.h>
27712 #else
27713 # include <assert.h>
27714 #endif
27715
27716 #undef $ac_func
27717
27718 /* Override any gcc2 internal prototype to avoid an error.  */
27719 #ifdef __cplusplus
27720 extern "C"
27721 {
27722 #endif
27723 /* We use char because int might match the return type of a gcc2
27724    builtin and then its argument prototype would still apply.  */
27725 char $ac_func ();
27726 /* The GNU C library defines this for functions which it implements
27727     to always fail with ENOSYS.  Some functions are actually named
27728     something starting with __ and the normal name is an alias.  */
27729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27730 choke me
27731 #else
27732 char (*f) () = $ac_func;
27733 #endif
27734 #ifdef __cplusplus
27735 }
27736 #endif
27737
27738 int
27739 main ()
27740 {
27741 return f != $ac_func;
27742   ;
27743   return 0;
27744 }
27745 _ACEOF
27746 rm -f conftest.$ac_objext conftest$ac_exeext
27747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27748   (eval $ac_link) 2>conftest.er1
27749   ac_status=$?
27750   grep -v '^ *+' conftest.er1 >conftest.err
27751   rm -f conftest.er1
27752   cat conftest.err >&5
27753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27754   (exit $ac_status); } &&
27755          { ac_try='test -z "$ac_c_werror_flag"
27756                          || test ! -s conftest.err'
27757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27758   (eval $ac_try) 2>&5
27759   ac_status=$?
27760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27761   (exit $ac_status); }; } &&
27762          { ac_try='test -s conftest$ac_exeext'
27763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27764   (eval $ac_try) 2>&5
27765   ac_status=$?
27766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27767   (exit $ac_status); }; }; then
27768   eval "$as_ac_var=yes"
27769 else
27770   echo "$as_me: failed program was:" >&5
27771 sed 's/^/| /' conftest.$ac_ext >&5
27772
27773 eval "$as_ac_var=no"
27774 fi
27775 rm -f conftest.err conftest.$ac_objext \
27776       conftest$ac_exeext conftest.$ac_ext
27777 fi
27778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27780 if test `eval echo '${'$as_ac_var'}'` = yes; then
27781   cat >>confdefs.h <<_ACEOF
27782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27783 _ACEOF
27784
27785 fi
27786 done
27787
27788     fi
27789   fi
27790
27791
27792
27793
27794
27795
27796   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
27797 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
27798   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
27799     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
27800   echo $ECHO_N "(cached) $ECHO_C" >&6
27801 else
27802
27803
27804
27805       ac_ext=cc
27806 ac_cpp='$CXXCPP $CPPFLAGS'
27807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27810
27811       cat >conftest.$ac_ext <<_ACEOF
27812 /* confdefs.h.  */
27813 _ACEOF
27814 cat confdefs.h >>conftest.$ac_ext
27815 cat >>conftest.$ac_ext <<_ACEOF
27816 /* end confdefs.h.  */
27817 #include <math.h>
27818                       #ifdef HAVE_IEEEFP_H
27819                       #include <ieeefp.h>
27820                       #endif
27821
27822 int
27823 main ()
27824 {
27825  sqrtf(0);
27826   ;
27827   return 0;
27828 }
27829 _ACEOF
27830 rm -f conftest.$ac_objext
27831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27832   (eval $ac_compile) 2>conftest.er1
27833   ac_status=$?
27834   grep -v '^ *+' conftest.er1 >conftest.err
27835   rm -f conftest.er1
27836   cat conftest.err >&5
27837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27838   (exit $ac_status); } &&
27839          { ac_try='test -z "$ac_cxx_werror_flag"
27840                          || test ! -s conftest.err'
27841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27842   (eval $ac_try) 2>&5
27843   ac_status=$?
27844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27845   (exit $ac_status); }; } &&
27846          { ac_try='test -s conftest.$ac_objext'
27847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27848   (eval $ac_try) 2>&5
27849   ac_status=$?
27850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27851   (exit $ac_status); }; }; then
27852   glibcxx_cv_func_sqrtf_use=yes
27853 else
27854   echo "$as_me: failed program was:" >&5
27855 sed 's/^/| /' conftest.$ac_ext >&5
27856
27857 glibcxx_cv_func_sqrtf_use=no
27858 fi
27859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27860       ac_ext=c
27861 ac_cpp='$CPP $CPPFLAGS'
27862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27865
27866
27867 fi
27868
27869   fi
27870   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
27871 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
27872
27873   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
27874
27875 for ac_func in sqrtf
27876 do
27877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27878 echo "$as_me:$LINENO: checking for $ac_func" >&5
27879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27880 if eval "test \"\${$as_ac_var+set}\" = set"; then
27881   echo $ECHO_N "(cached) $ECHO_C" >&6
27882 else
27883   if test x$gcc_no_link = xyes; then
27884   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27886    { (exit 1); exit 1; }; }
27887 fi
27888 cat >conftest.$ac_ext <<_ACEOF
27889 /* confdefs.h.  */
27890 _ACEOF
27891 cat confdefs.h >>conftest.$ac_ext
27892 cat >>conftest.$ac_ext <<_ACEOF
27893 /* end confdefs.h.  */
27894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27895    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27896 #define $ac_func innocuous_$ac_func
27897
27898 /* System header to define __stub macros and hopefully few prototypes,
27899     which can conflict with char $ac_func (); below.
27900     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27901     <limits.h> exists even on freestanding compilers.  */
27902
27903 #ifdef __STDC__
27904 # include <limits.h>
27905 #else
27906 # include <assert.h>
27907 #endif
27908
27909 #undef $ac_func
27910
27911 /* Override any gcc2 internal prototype to avoid an error.  */
27912 #ifdef __cplusplus
27913 extern "C"
27914 {
27915 #endif
27916 /* We use char because int might match the return type of a gcc2
27917    builtin and then its argument prototype would still apply.  */
27918 char $ac_func ();
27919 /* The GNU C library defines this for functions which it implements
27920     to always fail with ENOSYS.  Some functions are actually named
27921     something starting with __ and the normal name is an alias.  */
27922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27923 choke me
27924 #else
27925 char (*f) () = $ac_func;
27926 #endif
27927 #ifdef __cplusplus
27928 }
27929 #endif
27930
27931 int
27932 main ()
27933 {
27934 return f != $ac_func;
27935   ;
27936   return 0;
27937 }
27938 _ACEOF
27939 rm -f conftest.$ac_objext conftest$ac_exeext
27940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27941   (eval $ac_link) 2>conftest.er1
27942   ac_status=$?
27943   grep -v '^ *+' conftest.er1 >conftest.err
27944   rm -f conftest.er1
27945   cat conftest.err >&5
27946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27947   (exit $ac_status); } &&
27948          { ac_try='test -z "$ac_c_werror_flag"
27949                          || test ! -s conftest.err'
27950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27951   (eval $ac_try) 2>&5
27952   ac_status=$?
27953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27954   (exit $ac_status); }; } &&
27955          { ac_try='test -s conftest$ac_exeext'
27956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27957   (eval $ac_try) 2>&5
27958   ac_status=$?
27959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27960   (exit $ac_status); }; }; then
27961   eval "$as_ac_var=yes"
27962 else
27963   echo "$as_me: failed program was:" >&5
27964 sed 's/^/| /' conftest.$ac_ext >&5
27965
27966 eval "$as_ac_var=no"
27967 fi
27968 rm -f conftest.err conftest.$ac_objext \
27969       conftest$ac_exeext conftest.$ac_ext
27970 fi
27971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27973 if test `eval echo '${'$as_ac_var'}'` = yes; then
27974   cat >>confdefs.h <<_ACEOF
27975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27976 _ACEOF
27977
27978 fi
27979 done
27980
27981   else
27982
27983   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
27984 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
27985   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
27986     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
27987   echo $ECHO_N "(cached) $ECHO_C" >&6
27988 else
27989
27990
27991
27992       ac_ext=cc
27993 ac_cpp='$CXXCPP $CPPFLAGS'
27994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27997
27998       cat >conftest.$ac_ext <<_ACEOF
27999 /* confdefs.h.  */
28000 _ACEOF
28001 cat confdefs.h >>conftest.$ac_ext
28002 cat >>conftest.$ac_ext <<_ACEOF
28003 /* end confdefs.h.  */
28004 #include <math.h>
28005                       #ifdef HAVE_IEEEFP_H
28006                       #include <ieeefp.h>
28007                       #endif
28008
28009 int
28010 main ()
28011 {
28012  _sqrtf(0);
28013   ;
28014   return 0;
28015 }
28016 _ACEOF
28017 rm -f conftest.$ac_objext
28018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28019   (eval $ac_compile) 2>conftest.er1
28020   ac_status=$?
28021   grep -v '^ *+' conftest.er1 >conftest.err
28022   rm -f conftest.er1
28023   cat conftest.err >&5
28024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28025   (exit $ac_status); } &&
28026          { ac_try='test -z "$ac_cxx_werror_flag"
28027                          || test ! -s conftest.err'
28028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28029   (eval $ac_try) 2>&5
28030   ac_status=$?
28031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28032   (exit $ac_status); }; } &&
28033          { ac_try='test -s conftest.$ac_objext'
28034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28035   (eval $ac_try) 2>&5
28036   ac_status=$?
28037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28038   (exit $ac_status); }; }; then
28039   glibcxx_cv_func__sqrtf_use=yes
28040 else
28041   echo "$as_me: failed program was:" >&5
28042 sed 's/^/| /' conftest.$ac_ext >&5
28043
28044 glibcxx_cv_func__sqrtf_use=no
28045 fi
28046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28047       ac_ext=c
28048 ac_cpp='$CPP $CPPFLAGS'
28049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28052
28053
28054 fi
28055
28056   fi
28057   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
28058 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
28059
28060     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
28061
28062 for ac_func in _sqrtf
28063 do
28064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28065 echo "$as_me:$LINENO: checking for $ac_func" >&5
28066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28067 if eval "test \"\${$as_ac_var+set}\" = set"; then
28068   echo $ECHO_N "(cached) $ECHO_C" >&6
28069 else
28070   if test x$gcc_no_link = xyes; then
28071   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28073    { (exit 1); exit 1; }; }
28074 fi
28075 cat >conftest.$ac_ext <<_ACEOF
28076 /* confdefs.h.  */
28077 _ACEOF
28078 cat confdefs.h >>conftest.$ac_ext
28079 cat >>conftest.$ac_ext <<_ACEOF
28080 /* end confdefs.h.  */
28081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28082    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28083 #define $ac_func innocuous_$ac_func
28084
28085 /* System header to define __stub macros and hopefully few prototypes,
28086     which can conflict with char $ac_func (); below.
28087     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28088     <limits.h> exists even on freestanding compilers.  */
28089
28090 #ifdef __STDC__
28091 # include <limits.h>
28092 #else
28093 # include <assert.h>
28094 #endif
28095
28096 #undef $ac_func
28097
28098 /* Override any gcc2 internal prototype to avoid an error.  */
28099 #ifdef __cplusplus
28100 extern "C"
28101 {
28102 #endif
28103 /* We use char because int might match the return type of a gcc2
28104    builtin and then its argument prototype would still apply.  */
28105 char $ac_func ();
28106 /* The GNU C library defines this for functions which it implements
28107     to always fail with ENOSYS.  Some functions are actually named
28108     something starting with __ and the normal name is an alias.  */
28109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28110 choke me
28111 #else
28112 char (*f) () = $ac_func;
28113 #endif
28114 #ifdef __cplusplus
28115 }
28116 #endif
28117
28118 int
28119 main ()
28120 {
28121 return f != $ac_func;
28122   ;
28123   return 0;
28124 }
28125 _ACEOF
28126 rm -f conftest.$ac_objext conftest$ac_exeext
28127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28128   (eval $ac_link) 2>conftest.er1
28129   ac_status=$?
28130   grep -v '^ *+' conftest.er1 >conftest.err
28131   rm -f conftest.er1
28132   cat conftest.err >&5
28133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28134   (exit $ac_status); } &&
28135          { ac_try='test -z "$ac_c_werror_flag"
28136                          || test ! -s conftest.err'
28137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28138   (eval $ac_try) 2>&5
28139   ac_status=$?
28140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28141   (exit $ac_status); }; } &&
28142          { ac_try='test -s conftest$ac_exeext'
28143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28144   (eval $ac_try) 2>&5
28145   ac_status=$?
28146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28147   (exit $ac_status); }; }; then
28148   eval "$as_ac_var=yes"
28149 else
28150   echo "$as_me: failed program was:" >&5
28151 sed 's/^/| /' conftest.$ac_ext >&5
28152
28153 eval "$as_ac_var=no"
28154 fi
28155 rm -f conftest.err conftest.$ac_objext \
28156       conftest$ac_exeext conftest.$ac_ext
28157 fi
28158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28160 if test `eval echo '${'$as_ac_var'}'` = yes; then
28161   cat >>confdefs.h <<_ACEOF
28162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28163 _ACEOF
28164
28165 fi
28166 done
28167
28168     fi
28169   fi
28170
28171
28172
28173
28174
28175
28176   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
28177 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
28178   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
28179     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
28180   echo $ECHO_N "(cached) $ECHO_C" >&6
28181 else
28182
28183
28184
28185       ac_ext=cc
28186 ac_cpp='$CXXCPP $CPPFLAGS'
28187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28190
28191       cat >conftest.$ac_ext <<_ACEOF
28192 /* confdefs.h.  */
28193 _ACEOF
28194 cat confdefs.h >>conftest.$ac_ext
28195 cat >>conftest.$ac_ext <<_ACEOF
28196 /* end confdefs.h.  */
28197 #include <math.h>
28198 int
28199 main ()
28200 {
28201  sincosf(0, 0, 0);
28202   ;
28203   return 0;
28204 }
28205 _ACEOF
28206 rm -f conftest.$ac_objext
28207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28208   (eval $ac_compile) 2>conftest.er1
28209   ac_status=$?
28210   grep -v '^ *+' conftest.er1 >conftest.err
28211   rm -f conftest.er1
28212   cat conftest.err >&5
28213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28214   (exit $ac_status); } &&
28215          { ac_try='test -z "$ac_cxx_werror_flag"
28216                          || test ! -s conftest.err'
28217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28218   (eval $ac_try) 2>&5
28219   ac_status=$?
28220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28221   (exit $ac_status); }; } &&
28222          { ac_try='test -s conftest.$ac_objext'
28223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28224   (eval $ac_try) 2>&5
28225   ac_status=$?
28226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28227   (exit $ac_status); }; }; then
28228   glibcxx_cv_func_sincosf_use=yes
28229 else
28230   echo "$as_me: failed program was:" >&5
28231 sed 's/^/| /' conftest.$ac_ext >&5
28232
28233 glibcxx_cv_func_sincosf_use=no
28234 fi
28235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28236       ac_ext=c
28237 ac_cpp='$CPP $CPPFLAGS'
28238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28241
28242
28243 fi
28244
28245   fi
28246   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
28247 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
28248
28249   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
28250
28251 for ac_func in sincosf
28252 do
28253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28254 echo "$as_me:$LINENO: checking for $ac_func" >&5
28255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28256 if eval "test \"\${$as_ac_var+set}\" = set"; then
28257   echo $ECHO_N "(cached) $ECHO_C" >&6
28258 else
28259   if test x$gcc_no_link = xyes; then
28260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28262    { (exit 1); exit 1; }; }
28263 fi
28264 cat >conftest.$ac_ext <<_ACEOF
28265 /* confdefs.h.  */
28266 _ACEOF
28267 cat confdefs.h >>conftest.$ac_ext
28268 cat >>conftest.$ac_ext <<_ACEOF
28269 /* end confdefs.h.  */
28270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28271    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28272 #define $ac_func innocuous_$ac_func
28273
28274 /* System header to define __stub macros and hopefully few prototypes,
28275     which can conflict with char $ac_func (); below.
28276     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28277     <limits.h> exists even on freestanding compilers.  */
28278
28279 #ifdef __STDC__
28280 # include <limits.h>
28281 #else
28282 # include <assert.h>
28283 #endif
28284
28285 #undef $ac_func
28286
28287 /* Override any gcc2 internal prototype to avoid an error.  */
28288 #ifdef __cplusplus
28289 extern "C"
28290 {
28291 #endif
28292 /* We use char because int might match the return type of a gcc2
28293    builtin and then its argument prototype would still apply.  */
28294 char $ac_func ();
28295 /* The GNU C library defines this for functions which it implements
28296     to always fail with ENOSYS.  Some functions are actually named
28297     something starting with __ and the normal name is an alias.  */
28298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28299 choke me
28300 #else
28301 char (*f) () = $ac_func;
28302 #endif
28303 #ifdef __cplusplus
28304 }
28305 #endif
28306
28307 int
28308 main ()
28309 {
28310 return f != $ac_func;
28311   ;
28312   return 0;
28313 }
28314 _ACEOF
28315 rm -f conftest.$ac_objext conftest$ac_exeext
28316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28317   (eval $ac_link) 2>conftest.er1
28318   ac_status=$?
28319   grep -v '^ *+' conftest.er1 >conftest.err
28320   rm -f conftest.er1
28321   cat conftest.err >&5
28322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28323   (exit $ac_status); } &&
28324          { ac_try='test -z "$ac_c_werror_flag"
28325                          || test ! -s conftest.err'
28326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28327   (eval $ac_try) 2>&5
28328   ac_status=$?
28329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28330   (exit $ac_status); }; } &&
28331          { ac_try='test -s conftest$ac_exeext'
28332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28333   (eval $ac_try) 2>&5
28334   ac_status=$?
28335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28336   (exit $ac_status); }; }; then
28337   eval "$as_ac_var=yes"
28338 else
28339   echo "$as_me: failed program was:" >&5
28340 sed 's/^/| /' conftest.$ac_ext >&5
28341
28342 eval "$as_ac_var=no"
28343 fi
28344 rm -f conftest.err conftest.$ac_objext \
28345       conftest$ac_exeext conftest.$ac_ext
28346 fi
28347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28349 if test `eval echo '${'$as_ac_var'}'` = yes; then
28350   cat >>confdefs.h <<_ACEOF
28351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28352 _ACEOF
28353
28354 fi
28355 done
28356
28357   else
28358
28359   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
28360 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
28361   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
28362     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
28363   echo $ECHO_N "(cached) $ECHO_C" >&6
28364 else
28365
28366
28367
28368       ac_ext=cc
28369 ac_cpp='$CXXCPP $CPPFLAGS'
28370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28373
28374       cat >conftest.$ac_ext <<_ACEOF
28375 /* confdefs.h.  */
28376 _ACEOF
28377 cat confdefs.h >>conftest.$ac_ext
28378 cat >>conftest.$ac_ext <<_ACEOF
28379 /* end confdefs.h.  */
28380 #include <math.h>
28381 int
28382 main ()
28383 {
28384  _sincosf(0, 0, 0);
28385   ;
28386   return 0;
28387 }
28388 _ACEOF
28389 rm -f conftest.$ac_objext
28390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28391   (eval $ac_compile) 2>conftest.er1
28392   ac_status=$?
28393   grep -v '^ *+' conftest.er1 >conftest.err
28394   rm -f conftest.er1
28395   cat conftest.err >&5
28396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28397   (exit $ac_status); } &&
28398          { ac_try='test -z "$ac_cxx_werror_flag"
28399                          || test ! -s conftest.err'
28400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28401   (eval $ac_try) 2>&5
28402   ac_status=$?
28403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28404   (exit $ac_status); }; } &&
28405          { ac_try='test -s conftest.$ac_objext'
28406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28407   (eval $ac_try) 2>&5
28408   ac_status=$?
28409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28410   (exit $ac_status); }; }; then
28411   glibcxx_cv_func__sincosf_use=yes
28412 else
28413   echo "$as_me: failed program was:" >&5
28414 sed 's/^/| /' conftest.$ac_ext >&5
28415
28416 glibcxx_cv_func__sincosf_use=no
28417 fi
28418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28419       ac_ext=c
28420 ac_cpp='$CPP $CPPFLAGS'
28421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28424
28425
28426 fi
28427
28428   fi
28429   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
28430 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
28431
28432     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
28433
28434 for ac_func in _sincosf
28435 do
28436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28437 echo "$as_me:$LINENO: checking for $ac_func" >&5
28438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28439 if eval "test \"\${$as_ac_var+set}\" = set"; then
28440   echo $ECHO_N "(cached) $ECHO_C" >&6
28441 else
28442   if test x$gcc_no_link = xyes; then
28443   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28445    { (exit 1); exit 1; }; }
28446 fi
28447 cat >conftest.$ac_ext <<_ACEOF
28448 /* confdefs.h.  */
28449 _ACEOF
28450 cat confdefs.h >>conftest.$ac_ext
28451 cat >>conftest.$ac_ext <<_ACEOF
28452 /* end confdefs.h.  */
28453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28454    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28455 #define $ac_func innocuous_$ac_func
28456
28457 /* System header to define __stub macros and hopefully few prototypes,
28458     which can conflict with char $ac_func (); below.
28459     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28460     <limits.h> exists even on freestanding compilers.  */
28461
28462 #ifdef __STDC__
28463 # include <limits.h>
28464 #else
28465 # include <assert.h>
28466 #endif
28467
28468 #undef $ac_func
28469
28470 /* Override any gcc2 internal prototype to avoid an error.  */
28471 #ifdef __cplusplus
28472 extern "C"
28473 {
28474 #endif
28475 /* We use char because int might match the return type of a gcc2
28476    builtin and then its argument prototype would still apply.  */
28477 char $ac_func ();
28478 /* The GNU C library defines this for functions which it implements
28479     to always fail with ENOSYS.  Some functions are actually named
28480     something starting with __ and the normal name is an alias.  */
28481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28482 choke me
28483 #else
28484 char (*f) () = $ac_func;
28485 #endif
28486 #ifdef __cplusplus
28487 }
28488 #endif
28489
28490 int
28491 main ()
28492 {
28493 return f != $ac_func;
28494   ;
28495   return 0;
28496 }
28497 _ACEOF
28498 rm -f conftest.$ac_objext conftest$ac_exeext
28499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28500   (eval $ac_link) 2>conftest.er1
28501   ac_status=$?
28502   grep -v '^ *+' conftest.er1 >conftest.err
28503   rm -f conftest.er1
28504   cat conftest.err >&5
28505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28506   (exit $ac_status); } &&
28507          { ac_try='test -z "$ac_c_werror_flag"
28508                          || test ! -s conftest.err'
28509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28510   (eval $ac_try) 2>&5
28511   ac_status=$?
28512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28513   (exit $ac_status); }; } &&
28514          { ac_try='test -s conftest$ac_exeext'
28515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28516   (eval $ac_try) 2>&5
28517   ac_status=$?
28518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28519   (exit $ac_status); }; }; then
28520   eval "$as_ac_var=yes"
28521 else
28522   echo "$as_me: failed program was:" >&5
28523 sed 's/^/| /' conftest.$ac_ext >&5
28524
28525 eval "$as_ac_var=no"
28526 fi
28527 rm -f conftest.err conftest.$ac_objext \
28528       conftest$ac_exeext conftest.$ac_ext
28529 fi
28530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28532 if test `eval echo '${'$as_ac_var'}'` = yes; then
28533   cat >>confdefs.h <<_ACEOF
28534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28535 _ACEOF
28536
28537 fi
28538 done
28539
28540     fi
28541   fi
28542
28543
28544
28545
28546
28547
28548   echo "$as_me:$LINENO: checking for finitef declaration" >&5
28549 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
28550   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
28551     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
28552   echo $ECHO_N "(cached) $ECHO_C" >&6
28553 else
28554
28555
28556
28557       ac_ext=cc
28558 ac_cpp='$CXXCPP $CPPFLAGS'
28559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28562
28563       cat >conftest.$ac_ext <<_ACEOF
28564 /* confdefs.h.  */
28565 _ACEOF
28566 cat confdefs.h >>conftest.$ac_ext
28567 cat >>conftest.$ac_ext <<_ACEOF
28568 /* end confdefs.h.  */
28569 #include <math.h>
28570                       #ifdef HAVE_IEEEFP_H
28571                       #include <ieeefp.h>
28572                       #endif
28573
28574 int
28575 main ()
28576 {
28577  finitef(0);
28578   ;
28579   return 0;
28580 }
28581 _ACEOF
28582 rm -f conftest.$ac_objext
28583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28584   (eval $ac_compile) 2>conftest.er1
28585   ac_status=$?
28586   grep -v '^ *+' conftest.er1 >conftest.err
28587   rm -f conftest.er1
28588   cat conftest.err >&5
28589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28590   (exit $ac_status); } &&
28591          { ac_try='test -z "$ac_cxx_werror_flag"
28592                          || test ! -s conftest.err'
28593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28594   (eval $ac_try) 2>&5
28595   ac_status=$?
28596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28597   (exit $ac_status); }; } &&
28598          { ac_try='test -s conftest.$ac_objext'
28599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28600   (eval $ac_try) 2>&5
28601   ac_status=$?
28602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28603   (exit $ac_status); }; }; then
28604   glibcxx_cv_func_finitef_use=yes
28605 else
28606   echo "$as_me: failed program was:" >&5
28607 sed 's/^/| /' conftest.$ac_ext >&5
28608
28609 glibcxx_cv_func_finitef_use=no
28610 fi
28611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28612       ac_ext=c
28613 ac_cpp='$CPP $CPPFLAGS'
28614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28617
28618
28619 fi
28620
28621   fi
28622   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
28623 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
28624
28625   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
28626
28627 for ac_func in finitef
28628 do
28629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28630 echo "$as_me:$LINENO: checking for $ac_func" >&5
28631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28632 if eval "test \"\${$as_ac_var+set}\" = set"; then
28633   echo $ECHO_N "(cached) $ECHO_C" >&6
28634 else
28635   if test x$gcc_no_link = xyes; then
28636   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28638    { (exit 1); exit 1; }; }
28639 fi
28640 cat >conftest.$ac_ext <<_ACEOF
28641 /* confdefs.h.  */
28642 _ACEOF
28643 cat confdefs.h >>conftest.$ac_ext
28644 cat >>conftest.$ac_ext <<_ACEOF
28645 /* end confdefs.h.  */
28646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28647    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28648 #define $ac_func innocuous_$ac_func
28649
28650 /* System header to define __stub macros and hopefully few prototypes,
28651     which can conflict with char $ac_func (); below.
28652     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28653     <limits.h> exists even on freestanding compilers.  */
28654
28655 #ifdef __STDC__
28656 # include <limits.h>
28657 #else
28658 # include <assert.h>
28659 #endif
28660
28661 #undef $ac_func
28662
28663 /* Override any gcc2 internal prototype to avoid an error.  */
28664 #ifdef __cplusplus
28665 extern "C"
28666 {
28667 #endif
28668 /* We use char because int might match the return type of a gcc2
28669    builtin and then its argument prototype would still apply.  */
28670 char $ac_func ();
28671 /* The GNU C library defines this for functions which it implements
28672     to always fail with ENOSYS.  Some functions are actually named
28673     something starting with __ and the normal name is an alias.  */
28674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28675 choke me
28676 #else
28677 char (*f) () = $ac_func;
28678 #endif
28679 #ifdef __cplusplus
28680 }
28681 #endif
28682
28683 int
28684 main ()
28685 {
28686 return f != $ac_func;
28687   ;
28688   return 0;
28689 }
28690 _ACEOF
28691 rm -f conftest.$ac_objext conftest$ac_exeext
28692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28693   (eval $ac_link) 2>conftest.er1
28694   ac_status=$?
28695   grep -v '^ *+' conftest.er1 >conftest.err
28696   rm -f conftest.er1
28697   cat conftest.err >&5
28698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28699   (exit $ac_status); } &&
28700          { ac_try='test -z "$ac_c_werror_flag"
28701                          || test ! -s conftest.err'
28702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28703   (eval $ac_try) 2>&5
28704   ac_status=$?
28705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28706   (exit $ac_status); }; } &&
28707          { ac_try='test -s conftest$ac_exeext'
28708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28709   (eval $ac_try) 2>&5
28710   ac_status=$?
28711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28712   (exit $ac_status); }; }; then
28713   eval "$as_ac_var=yes"
28714 else
28715   echo "$as_me: failed program was:" >&5
28716 sed 's/^/| /' conftest.$ac_ext >&5
28717
28718 eval "$as_ac_var=no"
28719 fi
28720 rm -f conftest.err conftest.$ac_objext \
28721       conftest$ac_exeext conftest.$ac_ext
28722 fi
28723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28725 if test `eval echo '${'$as_ac_var'}'` = yes; then
28726   cat >>confdefs.h <<_ACEOF
28727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28728 _ACEOF
28729
28730 fi
28731 done
28732
28733   else
28734
28735   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
28736 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
28737   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
28738     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
28739   echo $ECHO_N "(cached) $ECHO_C" >&6
28740 else
28741
28742
28743
28744       ac_ext=cc
28745 ac_cpp='$CXXCPP $CPPFLAGS'
28746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28749
28750       cat >conftest.$ac_ext <<_ACEOF
28751 /* confdefs.h.  */
28752 _ACEOF
28753 cat confdefs.h >>conftest.$ac_ext
28754 cat >>conftest.$ac_ext <<_ACEOF
28755 /* end confdefs.h.  */
28756 #include <math.h>
28757                       #ifdef HAVE_IEEEFP_H
28758                       #include <ieeefp.h>
28759                       #endif
28760
28761 int
28762 main ()
28763 {
28764  _finitef(0);
28765   ;
28766   return 0;
28767 }
28768 _ACEOF
28769 rm -f conftest.$ac_objext
28770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28771   (eval $ac_compile) 2>conftest.er1
28772   ac_status=$?
28773   grep -v '^ *+' conftest.er1 >conftest.err
28774   rm -f conftest.er1
28775   cat conftest.err >&5
28776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28777   (exit $ac_status); } &&
28778          { ac_try='test -z "$ac_cxx_werror_flag"
28779                          || test ! -s conftest.err'
28780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28781   (eval $ac_try) 2>&5
28782   ac_status=$?
28783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28784   (exit $ac_status); }; } &&
28785          { ac_try='test -s conftest.$ac_objext'
28786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28787   (eval $ac_try) 2>&5
28788   ac_status=$?
28789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28790   (exit $ac_status); }; }; then
28791   glibcxx_cv_func__finitef_use=yes
28792 else
28793   echo "$as_me: failed program was:" >&5
28794 sed 's/^/| /' conftest.$ac_ext >&5
28795
28796 glibcxx_cv_func__finitef_use=no
28797 fi
28798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28799       ac_ext=c
28800 ac_cpp='$CPP $CPPFLAGS'
28801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28804
28805
28806 fi
28807
28808   fi
28809   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
28810 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
28811
28812     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
28813
28814 for ac_func in _finitef
28815 do
28816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28817 echo "$as_me:$LINENO: checking for $ac_func" >&5
28818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28819 if eval "test \"\${$as_ac_var+set}\" = set"; then
28820   echo $ECHO_N "(cached) $ECHO_C" >&6
28821 else
28822   if test x$gcc_no_link = xyes; then
28823   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28825    { (exit 1); exit 1; }; }
28826 fi
28827 cat >conftest.$ac_ext <<_ACEOF
28828 /* confdefs.h.  */
28829 _ACEOF
28830 cat confdefs.h >>conftest.$ac_ext
28831 cat >>conftest.$ac_ext <<_ACEOF
28832 /* end confdefs.h.  */
28833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28834    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28835 #define $ac_func innocuous_$ac_func
28836
28837 /* System header to define __stub macros and hopefully few prototypes,
28838     which can conflict with char $ac_func (); below.
28839     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28840     <limits.h> exists even on freestanding compilers.  */
28841
28842 #ifdef __STDC__
28843 # include <limits.h>
28844 #else
28845 # include <assert.h>
28846 #endif
28847
28848 #undef $ac_func
28849
28850 /* Override any gcc2 internal prototype to avoid an error.  */
28851 #ifdef __cplusplus
28852 extern "C"
28853 {
28854 #endif
28855 /* We use char because int might match the return type of a gcc2
28856    builtin and then its argument prototype would still apply.  */
28857 char $ac_func ();
28858 /* The GNU C library defines this for functions which it implements
28859     to always fail with ENOSYS.  Some functions are actually named
28860     something starting with __ and the normal name is an alias.  */
28861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28862 choke me
28863 #else
28864 char (*f) () = $ac_func;
28865 #endif
28866 #ifdef __cplusplus
28867 }
28868 #endif
28869
28870 int
28871 main ()
28872 {
28873 return f != $ac_func;
28874   ;
28875   return 0;
28876 }
28877 _ACEOF
28878 rm -f conftest.$ac_objext conftest$ac_exeext
28879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28880   (eval $ac_link) 2>conftest.er1
28881   ac_status=$?
28882   grep -v '^ *+' conftest.er1 >conftest.err
28883   rm -f conftest.er1
28884   cat conftest.err >&5
28885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28886   (exit $ac_status); } &&
28887          { ac_try='test -z "$ac_c_werror_flag"
28888                          || test ! -s conftest.err'
28889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28890   (eval $ac_try) 2>&5
28891   ac_status=$?
28892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28893   (exit $ac_status); }; } &&
28894          { ac_try='test -s conftest$ac_exeext'
28895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28896   (eval $ac_try) 2>&5
28897   ac_status=$?
28898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28899   (exit $ac_status); }; }; then
28900   eval "$as_ac_var=yes"
28901 else
28902   echo "$as_me: failed program was:" >&5
28903 sed 's/^/| /' conftest.$ac_ext >&5
28904
28905 eval "$as_ac_var=no"
28906 fi
28907 rm -f conftest.err conftest.$ac_objext \
28908       conftest$ac_exeext conftest.$ac_ext
28909 fi
28910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28912 if test `eval echo '${'$as_ac_var'}'` = yes; then
28913   cat >>confdefs.h <<_ACEOF
28914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28915 _ACEOF
28916
28917 fi
28918 done
28919
28920     fi
28921   fi
28922
28923
28924
28925
28926
28927
28928     echo "$as_me:$LINENO: checking for long double trig functions" >&5
28929 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
28930   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
28931   echo $ECHO_N "(cached) $ECHO_C" >&6
28932 else
28933
28934
28935
28936     ac_ext=cc
28937 ac_cpp='$CXXCPP $CPPFLAGS'
28938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28941
28942     cat >conftest.$ac_ext <<_ACEOF
28943 /* confdefs.h.  */
28944 _ACEOF
28945 cat confdefs.h >>conftest.$ac_ext
28946 cat >>conftest.$ac_ext <<_ACEOF
28947 /* end confdefs.h.  */
28948 #include <math.h>
28949 int
28950 main ()
28951 {
28952 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
28953   ;
28954   return 0;
28955 }
28956 _ACEOF
28957 rm -f conftest.$ac_objext
28958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28959   (eval $ac_compile) 2>conftest.er1
28960   ac_status=$?
28961   grep -v '^ *+' conftest.er1 >conftest.err
28962   rm -f conftest.er1
28963   cat conftest.err >&5
28964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28965   (exit $ac_status); } &&
28966          { ac_try='test -z "$ac_cxx_werror_flag"
28967                          || test ! -s conftest.err'
28968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28969   (eval $ac_try) 2>&5
28970   ac_status=$?
28971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28972   (exit $ac_status); }; } &&
28973          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
28979   glibcxx_cv_func_long_double_trig_use=yes
28980 else
28981   echo "$as_me: failed program was:" >&5
28982 sed 's/^/| /' conftest.$ac_ext >&5
28983
28984 glibcxx_cv_func_long_double_trig_use=no
28985 fi
28986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28987     ac_ext=c
28988 ac_cpp='$CPP $CPPFLAGS'
28989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28992
28993 fi
28994
28995   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
28996 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
28997   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
28998
28999
29000
29001
29002
29003
29004
29005
29006
29007 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29008 do
29009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29010 echo "$as_me:$LINENO: checking for $ac_func" >&5
29011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29012 if eval "test \"\${$as_ac_var+set}\" = set"; then
29013   echo $ECHO_N "(cached) $ECHO_C" >&6
29014 else
29015   if test x$gcc_no_link = xyes; then
29016   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29018    { (exit 1); exit 1; }; }
29019 fi
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29027    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29028 #define $ac_func innocuous_$ac_func
29029
29030 /* System header to define __stub macros and hopefully few prototypes,
29031     which can conflict with char $ac_func (); below.
29032     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29033     <limits.h> exists even on freestanding compilers.  */
29034
29035 #ifdef __STDC__
29036 # include <limits.h>
29037 #else
29038 # include <assert.h>
29039 #endif
29040
29041 #undef $ac_func
29042
29043 /* Override any gcc2 internal prototype to avoid an error.  */
29044 #ifdef __cplusplus
29045 extern "C"
29046 {
29047 #endif
29048 /* We use char because int might match the return type of a gcc2
29049    builtin and then its argument prototype would still apply.  */
29050 char $ac_func ();
29051 /* The GNU C library defines this for functions which it implements
29052     to always fail with ENOSYS.  Some functions are actually named
29053     something starting with __ and the normal name is an alias.  */
29054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29055 choke me
29056 #else
29057 char (*f) () = $ac_func;
29058 #endif
29059 #ifdef __cplusplus
29060 }
29061 #endif
29062
29063 int
29064 main ()
29065 {
29066 return f != $ac_func;
29067   ;
29068   return 0;
29069 }
29070 _ACEOF
29071 rm -f conftest.$ac_objext conftest$ac_exeext
29072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29073   (eval $ac_link) 2>conftest.er1
29074   ac_status=$?
29075   grep -v '^ *+' conftest.er1 >conftest.err
29076   rm -f conftest.er1
29077   cat conftest.err >&5
29078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29079   (exit $ac_status); } &&
29080          { ac_try='test -z "$ac_c_werror_flag"
29081                          || test ! -s conftest.err'
29082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29083   (eval $ac_try) 2>&5
29084   ac_status=$?
29085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29086   (exit $ac_status); }; } &&
29087          { ac_try='test -s conftest$ac_exeext'
29088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29089   (eval $ac_try) 2>&5
29090   ac_status=$?
29091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29092   (exit $ac_status); }; }; then
29093   eval "$as_ac_var=yes"
29094 else
29095   echo "$as_me: failed program was:" >&5
29096 sed 's/^/| /' conftest.$ac_ext >&5
29097
29098 eval "$as_ac_var=no"
29099 fi
29100 rm -f conftest.err conftest.$ac_objext \
29101       conftest$ac_exeext conftest.$ac_ext
29102 fi
29103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29105 if test `eval echo '${'$as_ac_var'}'` = yes; then
29106   cat >>confdefs.h <<_ACEOF
29107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29108 _ACEOF
29109
29110 fi
29111 done
29112
29113   else
29114     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
29115 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
29116     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
29117   echo $ECHO_N "(cached) $ECHO_C" >&6
29118 else
29119
29120
29121
29122       ac_ext=cc
29123 ac_cpp='$CXXCPP $CPPFLAGS'
29124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29127
29128       cat >conftest.$ac_ext <<_ACEOF
29129 /* confdefs.h.  */
29130 _ACEOF
29131 cat confdefs.h >>conftest.$ac_ext
29132 cat >>conftest.$ac_ext <<_ACEOF
29133 /* end confdefs.h.  */
29134 #include <math.h>
29135 int
29136 main ()
29137 {
29138 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
29139   ;
29140   return 0;
29141 }
29142 _ACEOF
29143 rm -f conftest.$ac_objext
29144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29145   (eval $ac_compile) 2>conftest.er1
29146   ac_status=$?
29147   grep -v '^ *+' conftest.er1 >conftest.err
29148   rm -f conftest.er1
29149   cat conftest.err >&5
29150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29151   (exit $ac_status); } &&
29152          { ac_try='test -z "$ac_cxx_werror_flag"
29153                          || test ! -s conftest.err'
29154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29155   (eval $ac_try) 2>&5
29156   ac_status=$?
29157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29158   (exit $ac_status); }; } &&
29159          { ac_try='test -s conftest.$ac_objext'
29160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29161   (eval $ac_try) 2>&5
29162   ac_status=$?
29163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29164   (exit $ac_status); }; }; then
29165   glibcxx_cv_func__long_double_trig_use=yes
29166 else
29167   echo "$as_me: failed program was:" >&5
29168 sed 's/^/| /' conftest.$ac_ext >&5
29169
29170 glibcxx_cv_func__long_double_trig_use=no
29171 fi
29172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29173       ac_ext=c
29174 ac_cpp='$CPP $CPPFLAGS'
29175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29178
29179 fi
29180
29181     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
29182 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
29183     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
29184
29185
29186
29187
29188
29189
29190
29191
29192
29193 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
29194 do
29195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29196 echo "$as_me:$LINENO: checking for $ac_func" >&5
29197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29198 if eval "test \"\${$as_ac_var+set}\" = set"; then
29199   echo $ECHO_N "(cached) $ECHO_C" >&6
29200 else
29201   if test x$gcc_no_link = xyes; then
29202   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29204    { (exit 1); exit 1; }; }
29205 fi
29206 cat >conftest.$ac_ext <<_ACEOF
29207 /* confdefs.h.  */
29208 _ACEOF
29209 cat confdefs.h >>conftest.$ac_ext
29210 cat >>conftest.$ac_ext <<_ACEOF
29211 /* end confdefs.h.  */
29212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29213    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29214 #define $ac_func innocuous_$ac_func
29215
29216 /* System header to define __stub macros and hopefully few prototypes,
29217     which can conflict with char $ac_func (); below.
29218     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29219     <limits.h> exists even on freestanding compilers.  */
29220
29221 #ifdef __STDC__
29222 # include <limits.h>
29223 #else
29224 # include <assert.h>
29225 #endif
29226
29227 #undef $ac_func
29228
29229 /* Override any gcc2 internal prototype to avoid an error.  */
29230 #ifdef __cplusplus
29231 extern "C"
29232 {
29233 #endif
29234 /* We use char because int might match the return type of a gcc2
29235    builtin and then its argument prototype would still apply.  */
29236 char $ac_func ();
29237 /* The GNU C library defines this for functions which it implements
29238     to always fail with ENOSYS.  Some functions are actually named
29239     something starting with __ and the normal name is an alias.  */
29240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29241 choke me
29242 #else
29243 char (*f) () = $ac_func;
29244 #endif
29245 #ifdef __cplusplus
29246 }
29247 #endif
29248
29249 int
29250 main ()
29251 {
29252 return f != $ac_func;
29253   ;
29254   return 0;
29255 }
29256 _ACEOF
29257 rm -f conftest.$ac_objext conftest$ac_exeext
29258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29259   (eval $ac_link) 2>conftest.er1
29260   ac_status=$?
29261   grep -v '^ *+' conftest.er1 >conftest.err
29262   rm -f conftest.er1
29263   cat conftest.err >&5
29264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29265   (exit $ac_status); } &&
29266          { ac_try='test -z "$ac_c_werror_flag"
29267                          || test ! -s conftest.err'
29268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29269   (eval $ac_try) 2>&5
29270   ac_status=$?
29271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29272   (exit $ac_status); }; } &&
29273          { ac_try='test -s conftest$ac_exeext'
29274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29275   (eval $ac_try) 2>&5
29276   ac_status=$?
29277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29278   (exit $ac_status); }; }; then
29279   eval "$as_ac_var=yes"
29280 else
29281   echo "$as_me: failed program was:" >&5
29282 sed 's/^/| /' conftest.$ac_ext >&5
29283
29284 eval "$as_ac_var=no"
29285 fi
29286 rm -f conftest.err conftest.$ac_objext \
29287       conftest$ac_exeext conftest.$ac_ext
29288 fi
29289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29291 if test `eval echo '${'$as_ac_var'}'` = yes; then
29292   cat >>confdefs.h <<_ACEOF
29293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29294 _ACEOF
29295
29296 fi
29297 done
29298
29299     fi
29300   fi
29301
29302
29303
29304
29305
29306
29307
29308
29309
29310
29311
29312
29313
29314
29315     echo "$as_me:$LINENO: checking for long double round functions" >&5
29316 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
29317   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
29318   echo $ECHO_N "(cached) $ECHO_C" >&6
29319 else
29320
29321
29322
29323     ac_ext=cc
29324 ac_cpp='$CXXCPP $CPPFLAGS'
29325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29328
29329     cat >conftest.$ac_ext <<_ACEOF
29330 /* confdefs.h.  */
29331 _ACEOF
29332 cat confdefs.h >>conftest.$ac_ext
29333 cat >>conftest.$ac_ext <<_ACEOF
29334 /* end confdefs.h.  */
29335 #include <math.h>
29336 int
29337 main ()
29338 {
29339 ceill (0); floorl (0);
29340   ;
29341   return 0;
29342 }
29343 _ACEOF
29344 rm -f conftest.$ac_objext
29345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29346   (eval $ac_compile) 2>conftest.er1
29347   ac_status=$?
29348   grep -v '^ *+' conftest.er1 >conftest.err
29349   rm -f conftest.er1
29350   cat conftest.err >&5
29351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29352   (exit $ac_status); } &&
29353          { ac_try='test -z "$ac_cxx_werror_flag"
29354                          || test ! -s conftest.err'
29355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29356   (eval $ac_try) 2>&5
29357   ac_status=$?
29358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29359   (exit $ac_status); }; } &&
29360          { ac_try='test -s conftest.$ac_objext'
29361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29362   (eval $ac_try) 2>&5
29363   ac_status=$?
29364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29365   (exit $ac_status); }; }; then
29366   glibcxx_cv_func_long_double_round_use=yes
29367 else
29368   echo "$as_me: failed program was:" >&5
29369 sed 's/^/| /' conftest.$ac_ext >&5
29370
29371 glibcxx_cv_func_long_double_round_use=no
29372 fi
29373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29374     ac_ext=c
29375 ac_cpp='$CPP $CPPFLAGS'
29376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29379
29380 fi
29381
29382   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
29383 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
29384   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
29385
29386
29387 for ac_func in ceill floorl
29388 do
29389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29390 echo "$as_me:$LINENO: checking for $ac_func" >&5
29391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29392 if eval "test \"\${$as_ac_var+set}\" = set"; then
29393   echo $ECHO_N "(cached) $ECHO_C" >&6
29394 else
29395   if test x$gcc_no_link = xyes; then
29396   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29398    { (exit 1); exit 1; }; }
29399 fi
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29407    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29408 #define $ac_func innocuous_$ac_func
29409
29410 /* System header to define __stub macros and hopefully few prototypes,
29411     which can conflict with char $ac_func (); below.
29412     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29413     <limits.h> exists even on freestanding compilers.  */
29414
29415 #ifdef __STDC__
29416 # include <limits.h>
29417 #else
29418 # include <assert.h>
29419 #endif
29420
29421 #undef $ac_func
29422
29423 /* Override any gcc2 internal prototype to avoid an error.  */
29424 #ifdef __cplusplus
29425 extern "C"
29426 {
29427 #endif
29428 /* We use char because int might match the return type of a gcc2
29429    builtin and then its argument prototype would still apply.  */
29430 char $ac_func ();
29431 /* The GNU C library defines this for functions which it implements
29432     to always fail with ENOSYS.  Some functions are actually named
29433     something starting with __ and the normal name is an alias.  */
29434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29435 choke me
29436 #else
29437 char (*f) () = $ac_func;
29438 #endif
29439 #ifdef __cplusplus
29440 }
29441 #endif
29442
29443 int
29444 main ()
29445 {
29446 return f != $ac_func;
29447   ;
29448   return 0;
29449 }
29450 _ACEOF
29451 rm -f conftest.$ac_objext conftest$ac_exeext
29452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29453   (eval $ac_link) 2>conftest.er1
29454   ac_status=$?
29455   grep -v '^ *+' conftest.er1 >conftest.err
29456   rm -f conftest.er1
29457   cat conftest.err >&5
29458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29459   (exit $ac_status); } &&
29460          { ac_try='test -z "$ac_c_werror_flag"
29461                          || test ! -s conftest.err'
29462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29463   (eval $ac_try) 2>&5
29464   ac_status=$?
29465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29466   (exit $ac_status); }; } &&
29467          { ac_try='test -s conftest$ac_exeext'
29468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29469   (eval $ac_try) 2>&5
29470   ac_status=$?
29471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29472   (exit $ac_status); }; }; then
29473   eval "$as_ac_var=yes"
29474 else
29475   echo "$as_me: failed program was:" >&5
29476 sed 's/^/| /' conftest.$ac_ext >&5
29477
29478 eval "$as_ac_var=no"
29479 fi
29480 rm -f conftest.err conftest.$ac_objext \
29481       conftest$ac_exeext conftest.$ac_ext
29482 fi
29483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29485 if test `eval echo '${'$as_ac_var'}'` = yes; then
29486   cat >>confdefs.h <<_ACEOF
29487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29488 _ACEOF
29489
29490 fi
29491 done
29492
29493   else
29494     echo "$as_me:$LINENO: checking for _long double round functions" >&5
29495 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
29496     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
29497   echo $ECHO_N "(cached) $ECHO_C" >&6
29498 else
29499
29500
29501
29502       ac_ext=cc
29503 ac_cpp='$CXXCPP $CPPFLAGS'
29504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29507
29508       cat >conftest.$ac_ext <<_ACEOF
29509 /* confdefs.h.  */
29510 _ACEOF
29511 cat confdefs.h >>conftest.$ac_ext
29512 cat >>conftest.$ac_ext <<_ACEOF
29513 /* end confdefs.h.  */
29514 #include <math.h>
29515 int
29516 main ()
29517 {
29518 _ceill (0); _floorl (0);
29519   ;
29520   return 0;
29521 }
29522 _ACEOF
29523 rm -f conftest.$ac_objext
29524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29525   (eval $ac_compile) 2>conftest.er1
29526   ac_status=$?
29527   grep -v '^ *+' conftest.er1 >conftest.err
29528   rm -f conftest.er1
29529   cat conftest.err >&5
29530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29531   (exit $ac_status); } &&
29532          { ac_try='test -z "$ac_cxx_werror_flag"
29533                          || test ! -s conftest.err'
29534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29535   (eval $ac_try) 2>&5
29536   ac_status=$?
29537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29538   (exit $ac_status); }; } &&
29539          { ac_try='test -s conftest.$ac_objext'
29540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29541   (eval $ac_try) 2>&5
29542   ac_status=$?
29543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29544   (exit $ac_status); }; }; then
29545   glibcxx_cv_func__long_double_round_use=yes
29546 else
29547   echo "$as_me: failed program was:" >&5
29548 sed 's/^/| /' conftest.$ac_ext >&5
29549
29550 glibcxx_cv_func__long_double_round_use=no
29551 fi
29552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29553       ac_ext=c
29554 ac_cpp='$CPP $CPPFLAGS'
29555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29558
29559 fi
29560
29561     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
29562 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
29563     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
29564
29565
29566 for ac_func in _ceill _floorl
29567 do
29568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29569 echo "$as_me:$LINENO: checking for $ac_func" >&5
29570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29571 if eval "test \"\${$as_ac_var+set}\" = set"; then
29572   echo $ECHO_N "(cached) $ECHO_C" >&6
29573 else
29574   if test x$gcc_no_link = xyes; then
29575   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29577    { (exit 1); exit 1; }; }
29578 fi
29579 cat >conftest.$ac_ext <<_ACEOF
29580 /* confdefs.h.  */
29581 _ACEOF
29582 cat confdefs.h >>conftest.$ac_ext
29583 cat >>conftest.$ac_ext <<_ACEOF
29584 /* end confdefs.h.  */
29585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29586    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29587 #define $ac_func innocuous_$ac_func
29588
29589 /* System header to define __stub macros and hopefully few prototypes,
29590     which can conflict with char $ac_func (); below.
29591     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29592     <limits.h> exists even on freestanding compilers.  */
29593
29594 #ifdef __STDC__
29595 # include <limits.h>
29596 #else
29597 # include <assert.h>
29598 #endif
29599
29600 #undef $ac_func
29601
29602 /* Override any gcc2 internal prototype to avoid an error.  */
29603 #ifdef __cplusplus
29604 extern "C"
29605 {
29606 #endif
29607 /* We use char because int might match the return type of a gcc2
29608    builtin and then its argument prototype would still apply.  */
29609 char $ac_func ();
29610 /* The GNU C library defines this for functions which it implements
29611     to always fail with ENOSYS.  Some functions are actually named
29612     something starting with __ and the normal name is an alias.  */
29613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29614 choke me
29615 #else
29616 char (*f) () = $ac_func;
29617 #endif
29618 #ifdef __cplusplus
29619 }
29620 #endif
29621
29622 int
29623 main ()
29624 {
29625 return f != $ac_func;
29626   ;
29627   return 0;
29628 }
29629 _ACEOF
29630 rm -f conftest.$ac_objext conftest$ac_exeext
29631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29632   (eval $ac_link) 2>conftest.er1
29633   ac_status=$?
29634   grep -v '^ *+' conftest.er1 >conftest.err
29635   rm -f conftest.er1
29636   cat conftest.err >&5
29637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29638   (exit $ac_status); } &&
29639          { ac_try='test -z "$ac_c_werror_flag"
29640                          || test ! -s conftest.err'
29641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29642   (eval $ac_try) 2>&5
29643   ac_status=$?
29644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29645   (exit $ac_status); }; } &&
29646          { ac_try='test -s conftest$ac_exeext'
29647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29648   (eval $ac_try) 2>&5
29649   ac_status=$?
29650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651   (exit $ac_status); }; }; then
29652   eval "$as_ac_var=yes"
29653 else
29654   echo "$as_me: failed program was:" >&5
29655 sed 's/^/| /' conftest.$ac_ext >&5
29656
29657 eval "$as_ac_var=no"
29658 fi
29659 rm -f conftest.err conftest.$ac_objext \
29660       conftest$ac_exeext conftest.$ac_ext
29661 fi
29662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29664 if test `eval echo '${'$as_ac_var'}'` = yes; then
29665   cat >>confdefs.h <<_ACEOF
29666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29667 _ACEOF
29668
29669 fi
29670 done
29671
29672     fi
29673   fi
29674
29675
29676
29677
29678
29679
29680
29681
29682   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
29683 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
29684   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
29685     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
29686   echo $ECHO_N "(cached) $ECHO_C" >&6
29687 else
29688
29689
29690
29691       ac_ext=cc
29692 ac_cpp='$CXXCPP $CPPFLAGS'
29693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29696
29697       cat >conftest.$ac_ext <<_ACEOF
29698 /* confdefs.h.  */
29699 _ACEOF
29700 cat confdefs.h >>conftest.$ac_ext
29701 cat >>conftest.$ac_ext <<_ACEOF
29702 /* end confdefs.h.  */
29703 #include <math.h>
29704                       #ifdef HAVE_IEEEFP_H
29705                       #include <ieeefp.h>
29706                       #endif
29707
29708 int
29709 main ()
29710 {
29711  isnanl(0);
29712   ;
29713   return 0;
29714 }
29715 _ACEOF
29716 rm -f conftest.$ac_objext
29717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29718   (eval $ac_compile) 2>conftest.er1
29719   ac_status=$?
29720   grep -v '^ *+' conftest.er1 >conftest.err
29721   rm -f conftest.er1
29722   cat conftest.err >&5
29723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29724   (exit $ac_status); } &&
29725          { ac_try='test -z "$ac_cxx_werror_flag"
29726                          || test ! -s conftest.err'
29727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29728   (eval $ac_try) 2>&5
29729   ac_status=$?
29730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29731   (exit $ac_status); }; } &&
29732          { ac_try='test -s conftest.$ac_objext'
29733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29734   (eval $ac_try) 2>&5
29735   ac_status=$?
29736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29737   (exit $ac_status); }; }; then
29738   glibcxx_cv_func_isnanl_use=yes
29739 else
29740   echo "$as_me: failed program was:" >&5
29741 sed 's/^/| /' conftest.$ac_ext >&5
29742
29743 glibcxx_cv_func_isnanl_use=no
29744 fi
29745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29746       ac_ext=c
29747 ac_cpp='$CPP $CPPFLAGS'
29748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29751
29752
29753 fi
29754
29755   fi
29756   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
29757 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
29758
29759   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
29760
29761 for ac_func in isnanl
29762 do
29763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29764 echo "$as_me:$LINENO: checking for $ac_func" >&5
29765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29766 if eval "test \"\${$as_ac_var+set}\" = set"; then
29767   echo $ECHO_N "(cached) $ECHO_C" >&6
29768 else
29769   if test x$gcc_no_link = xyes; then
29770   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29772    { (exit 1); exit 1; }; }
29773 fi
29774 cat >conftest.$ac_ext <<_ACEOF
29775 /* confdefs.h.  */
29776 _ACEOF
29777 cat confdefs.h >>conftest.$ac_ext
29778 cat >>conftest.$ac_ext <<_ACEOF
29779 /* end confdefs.h.  */
29780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29781    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29782 #define $ac_func innocuous_$ac_func
29783
29784 /* System header to define __stub macros and hopefully few prototypes,
29785     which can conflict with char $ac_func (); below.
29786     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29787     <limits.h> exists even on freestanding compilers.  */
29788
29789 #ifdef __STDC__
29790 # include <limits.h>
29791 #else
29792 # include <assert.h>
29793 #endif
29794
29795 #undef $ac_func
29796
29797 /* Override any gcc2 internal prototype to avoid an error.  */
29798 #ifdef __cplusplus
29799 extern "C"
29800 {
29801 #endif
29802 /* We use char because int might match the return type of a gcc2
29803    builtin and then its argument prototype would still apply.  */
29804 char $ac_func ();
29805 /* The GNU C library defines this for functions which it implements
29806     to always fail with ENOSYS.  Some functions are actually named
29807     something starting with __ and the normal name is an alias.  */
29808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29809 choke me
29810 #else
29811 char (*f) () = $ac_func;
29812 #endif
29813 #ifdef __cplusplus
29814 }
29815 #endif
29816
29817 int
29818 main ()
29819 {
29820 return f != $ac_func;
29821   ;
29822   return 0;
29823 }
29824 _ACEOF
29825 rm -f conftest.$ac_objext conftest$ac_exeext
29826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29827   (eval $ac_link) 2>conftest.er1
29828   ac_status=$?
29829   grep -v '^ *+' conftest.er1 >conftest.err
29830   rm -f conftest.er1
29831   cat conftest.err >&5
29832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29833   (exit $ac_status); } &&
29834          { ac_try='test -z "$ac_c_werror_flag"
29835                          || test ! -s conftest.err'
29836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29837   (eval $ac_try) 2>&5
29838   ac_status=$?
29839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29840   (exit $ac_status); }; } &&
29841          { ac_try='test -s conftest$ac_exeext'
29842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29843   (eval $ac_try) 2>&5
29844   ac_status=$?
29845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29846   (exit $ac_status); }; }; then
29847   eval "$as_ac_var=yes"
29848 else
29849   echo "$as_me: failed program was:" >&5
29850 sed 's/^/| /' conftest.$ac_ext >&5
29851
29852 eval "$as_ac_var=no"
29853 fi
29854 rm -f conftest.err conftest.$ac_objext \
29855       conftest$ac_exeext conftest.$ac_ext
29856 fi
29857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29859 if test `eval echo '${'$as_ac_var'}'` = yes; then
29860   cat >>confdefs.h <<_ACEOF
29861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29862 _ACEOF
29863
29864 fi
29865 done
29866
29867   else
29868
29869   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
29870 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
29871   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
29872     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
29873   echo $ECHO_N "(cached) $ECHO_C" >&6
29874 else
29875
29876
29877
29878       ac_ext=cc
29879 ac_cpp='$CXXCPP $CPPFLAGS'
29880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29883
29884       cat >conftest.$ac_ext <<_ACEOF
29885 /* confdefs.h.  */
29886 _ACEOF
29887 cat confdefs.h >>conftest.$ac_ext
29888 cat >>conftest.$ac_ext <<_ACEOF
29889 /* end confdefs.h.  */
29890 #include <math.h>
29891                       #ifdef HAVE_IEEEFP_H
29892                       #include <ieeefp.h>
29893                       #endif
29894
29895 int
29896 main ()
29897 {
29898  _isnanl(0);
29899   ;
29900   return 0;
29901 }
29902 _ACEOF
29903 rm -f conftest.$ac_objext
29904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29905   (eval $ac_compile) 2>conftest.er1
29906   ac_status=$?
29907   grep -v '^ *+' conftest.er1 >conftest.err
29908   rm -f conftest.er1
29909   cat conftest.err >&5
29910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29911   (exit $ac_status); } &&
29912          { ac_try='test -z "$ac_cxx_werror_flag"
29913                          || test ! -s conftest.err'
29914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29915   (eval $ac_try) 2>&5
29916   ac_status=$?
29917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29918   (exit $ac_status); }; } &&
29919          { ac_try='test -s conftest.$ac_objext'
29920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29921   (eval $ac_try) 2>&5
29922   ac_status=$?
29923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29924   (exit $ac_status); }; }; then
29925   glibcxx_cv_func__isnanl_use=yes
29926 else
29927   echo "$as_me: failed program was:" >&5
29928 sed 's/^/| /' conftest.$ac_ext >&5
29929
29930 glibcxx_cv_func__isnanl_use=no
29931 fi
29932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29933       ac_ext=c
29934 ac_cpp='$CPP $CPPFLAGS'
29935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29938
29939
29940 fi
29941
29942   fi
29943   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
29944 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
29945
29946     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
29947
29948 for ac_func in _isnanl
29949 do
29950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29951 echo "$as_me:$LINENO: checking for $ac_func" >&5
29952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29953 if eval "test \"\${$as_ac_var+set}\" = set"; then
29954   echo $ECHO_N "(cached) $ECHO_C" >&6
29955 else
29956   if test x$gcc_no_link = xyes; then
29957   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29959    { (exit 1); exit 1; }; }
29960 fi
29961 cat >conftest.$ac_ext <<_ACEOF
29962 /* confdefs.h.  */
29963 _ACEOF
29964 cat confdefs.h >>conftest.$ac_ext
29965 cat >>conftest.$ac_ext <<_ACEOF
29966 /* end confdefs.h.  */
29967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29968    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29969 #define $ac_func innocuous_$ac_func
29970
29971 /* System header to define __stub macros and hopefully few prototypes,
29972     which can conflict with char $ac_func (); below.
29973     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29974     <limits.h> exists even on freestanding compilers.  */
29975
29976 #ifdef __STDC__
29977 # include <limits.h>
29978 #else
29979 # include <assert.h>
29980 #endif
29981
29982 #undef $ac_func
29983
29984 /* Override any gcc2 internal prototype to avoid an error.  */
29985 #ifdef __cplusplus
29986 extern "C"
29987 {
29988 #endif
29989 /* We use char because int might match the return type of a gcc2
29990    builtin and then its argument prototype would still apply.  */
29991 char $ac_func ();
29992 /* The GNU C library defines this for functions which it implements
29993     to always fail with ENOSYS.  Some functions are actually named
29994     something starting with __ and the normal name is an alias.  */
29995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29996 choke me
29997 #else
29998 char (*f) () = $ac_func;
29999 #endif
30000 #ifdef __cplusplus
30001 }
30002 #endif
30003
30004 int
30005 main ()
30006 {
30007 return f != $ac_func;
30008   ;
30009   return 0;
30010 }
30011 _ACEOF
30012 rm -f conftest.$ac_objext conftest$ac_exeext
30013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30014   (eval $ac_link) 2>conftest.er1
30015   ac_status=$?
30016   grep -v '^ *+' conftest.er1 >conftest.err
30017   rm -f conftest.er1
30018   cat conftest.err >&5
30019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30020   (exit $ac_status); } &&
30021          { ac_try='test -z "$ac_c_werror_flag"
30022                          || test ! -s conftest.err'
30023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30024   (eval $ac_try) 2>&5
30025   ac_status=$?
30026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30027   (exit $ac_status); }; } &&
30028          { ac_try='test -s conftest$ac_exeext'
30029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30030   (eval $ac_try) 2>&5
30031   ac_status=$?
30032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30033   (exit $ac_status); }; }; then
30034   eval "$as_ac_var=yes"
30035 else
30036   echo "$as_me: failed program was:" >&5
30037 sed 's/^/| /' conftest.$ac_ext >&5
30038
30039 eval "$as_ac_var=no"
30040 fi
30041 rm -f conftest.err conftest.$ac_objext \
30042       conftest$ac_exeext conftest.$ac_ext
30043 fi
30044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30046 if test `eval echo '${'$as_ac_var'}'` = yes; then
30047   cat >>confdefs.h <<_ACEOF
30048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30049 _ACEOF
30050
30051 fi
30052 done
30053
30054     fi
30055   fi
30056
30057
30058
30059
30060
30061
30062   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
30063 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
30064   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30065     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
30066   echo $ECHO_N "(cached) $ECHO_C" >&6
30067 else
30068
30069
30070
30071       ac_ext=cc
30072 ac_cpp='$CXXCPP $CPPFLAGS'
30073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30076
30077       cat >conftest.$ac_ext <<_ACEOF
30078 /* confdefs.h.  */
30079 _ACEOF
30080 cat confdefs.h >>conftest.$ac_ext
30081 cat >>conftest.$ac_ext <<_ACEOF
30082 /* end confdefs.h.  */
30083 #include <math.h>
30084                       #ifdef HAVE_IEEEFP_H
30085                       #include <ieeefp.h>
30086                       #endif
30087
30088 int
30089 main ()
30090 {
30091  isinfl(0);
30092   ;
30093   return 0;
30094 }
30095 _ACEOF
30096 rm -f conftest.$ac_objext
30097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30098   (eval $ac_compile) 2>conftest.er1
30099   ac_status=$?
30100   grep -v '^ *+' conftest.er1 >conftest.err
30101   rm -f conftest.er1
30102   cat conftest.err >&5
30103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30104   (exit $ac_status); } &&
30105          { ac_try='test -z "$ac_cxx_werror_flag"
30106                          || test ! -s conftest.err'
30107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30108   (eval $ac_try) 2>&5
30109   ac_status=$?
30110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30111   (exit $ac_status); }; } &&
30112          { ac_try='test -s conftest.$ac_objext'
30113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30114   (eval $ac_try) 2>&5
30115   ac_status=$?
30116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30117   (exit $ac_status); }; }; then
30118   glibcxx_cv_func_isinfl_use=yes
30119 else
30120   echo "$as_me: failed program was:" >&5
30121 sed 's/^/| /' conftest.$ac_ext >&5
30122
30123 glibcxx_cv_func_isinfl_use=no
30124 fi
30125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30126       ac_ext=c
30127 ac_cpp='$CPP $CPPFLAGS'
30128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30131
30132
30133 fi
30134
30135   fi
30136   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
30137 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
30138
30139   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30140
30141 for ac_func in isinfl
30142 do
30143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30144 echo "$as_me:$LINENO: checking for $ac_func" >&5
30145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30146 if eval "test \"\${$as_ac_var+set}\" = set"; then
30147   echo $ECHO_N "(cached) $ECHO_C" >&6
30148 else
30149   if test x$gcc_no_link = xyes; then
30150   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30152    { (exit 1); exit 1; }; }
30153 fi
30154 cat >conftest.$ac_ext <<_ACEOF
30155 /* confdefs.h.  */
30156 _ACEOF
30157 cat confdefs.h >>conftest.$ac_ext
30158 cat >>conftest.$ac_ext <<_ACEOF
30159 /* end confdefs.h.  */
30160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30161    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30162 #define $ac_func innocuous_$ac_func
30163
30164 /* System header to define __stub macros and hopefully few prototypes,
30165     which can conflict with char $ac_func (); below.
30166     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30167     <limits.h> exists even on freestanding compilers.  */
30168
30169 #ifdef __STDC__
30170 # include <limits.h>
30171 #else
30172 # include <assert.h>
30173 #endif
30174
30175 #undef $ac_func
30176
30177 /* Override any gcc2 internal prototype to avoid an error.  */
30178 #ifdef __cplusplus
30179 extern "C"
30180 {
30181 #endif
30182 /* We use char because int might match the return type of a gcc2
30183    builtin and then its argument prototype would still apply.  */
30184 char $ac_func ();
30185 /* The GNU C library defines this for functions which it implements
30186     to always fail with ENOSYS.  Some functions are actually named
30187     something starting with __ and the normal name is an alias.  */
30188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30189 choke me
30190 #else
30191 char (*f) () = $ac_func;
30192 #endif
30193 #ifdef __cplusplus
30194 }
30195 #endif
30196
30197 int
30198 main ()
30199 {
30200 return f != $ac_func;
30201   ;
30202   return 0;
30203 }
30204 _ACEOF
30205 rm -f conftest.$ac_objext conftest$ac_exeext
30206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30207   (eval $ac_link) 2>conftest.er1
30208   ac_status=$?
30209   grep -v '^ *+' conftest.er1 >conftest.err
30210   rm -f conftest.er1
30211   cat conftest.err >&5
30212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30213   (exit $ac_status); } &&
30214          { ac_try='test -z "$ac_c_werror_flag"
30215                          || test ! -s conftest.err'
30216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30217   (eval $ac_try) 2>&5
30218   ac_status=$?
30219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30220   (exit $ac_status); }; } &&
30221          { ac_try='test -s conftest$ac_exeext'
30222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30223   (eval $ac_try) 2>&5
30224   ac_status=$?
30225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30226   (exit $ac_status); }; }; then
30227   eval "$as_ac_var=yes"
30228 else
30229   echo "$as_me: failed program was:" >&5
30230 sed 's/^/| /' conftest.$ac_ext >&5
30231
30232 eval "$as_ac_var=no"
30233 fi
30234 rm -f conftest.err conftest.$ac_objext \
30235       conftest$ac_exeext conftest.$ac_ext
30236 fi
30237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30239 if test `eval echo '${'$as_ac_var'}'` = yes; then
30240   cat >>confdefs.h <<_ACEOF
30241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30242 _ACEOF
30243
30244 fi
30245 done
30246
30247   else
30248
30249   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
30250 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
30251   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30252     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
30253   echo $ECHO_N "(cached) $ECHO_C" >&6
30254 else
30255
30256
30257
30258       ac_ext=cc
30259 ac_cpp='$CXXCPP $CPPFLAGS'
30260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30263
30264       cat >conftest.$ac_ext <<_ACEOF
30265 /* confdefs.h.  */
30266 _ACEOF
30267 cat confdefs.h >>conftest.$ac_ext
30268 cat >>conftest.$ac_ext <<_ACEOF
30269 /* end confdefs.h.  */
30270 #include <math.h>
30271                       #ifdef HAVE_IEEEFP_H
30272                       #include <ieeefp.h>
30273                       #endif
30274
30275 int
30276 main ()
30277 {
30278  _isinfl(0);
30279   ;
30280   return 0;
30281 }
30282 _ACEOF
30283 rm -f conftest.$ac_objext
30284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30285   (eval $ac_compile) 2>conftest.er1
30286   ac_status=$?
30287   grep -v '^ *+' conftest.er1 >conftest.err
30288   rm -f conftest.er1
30289   cat conftest.err >&5
30290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30291   (exit $ac_status); } &&
30292          { ac_try='test -z "$ac_cxx_werror_flag"
30293                          || test ! -s conftest.err'
30294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30295   (eval $ac_try) 2>&5
30296   ac_status=$?
30297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30298   (exit $ac_status); }; } &&
30299          { ac_try='test -s conftest.$ac_objext'
30300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30301   (eval $ac_try) 2>&5
30302   ac_status=$?
30303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30304   (exit $ac_status); }; }; then
30305   glibcxx_cv_func__isinfl_use=yes
30306 else
30307   echo "$as_me: failed program was:" >&5
30308 sed 's/^/| /' conftest.$ac_ext >&5
30309
30310 glibcxx_cv_func__isinfl_use=no
30311 fi
30312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30313       ac_ext=c
30314 ac_cpp='$CPP $CPPFLAGS'
30315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30318
30319
30320 fi
30321
30322   fi
30323   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
30324 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
30325
30326     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30327
30328 for ac_func in _isinfl
30329 do
30330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30331 echo "$as_me:$LINENO: checking for $ac_func" >&5
30332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30333 if eval "test \"\${$as_ac_var+set}\" = set"; then
30334   echo $ECHO_N "(cached) $ECHO_C" >&6
30335 else
30336   if test x$gcc_no_link = xyes; then
30337   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30339    { (exit 1); exit 1; }; }
30340 fi
30341 cat >conftest.$ac_ext <<_ACEOF
30342 /* confdefs.h.  */
30343 _ACEOF
30344 cat confdefs.h >>conftest.$ac_ext
30345 cat >>conftest.$ac_ext <<_ACEOF
30346 /* end confdefs.h.  */
30347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30348    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30349 #define $ac_func innocuous_$ac_func
30350
30351 /* System header to define __stub macros and hopefully few prototypes,
30352     which can conflict with char $ac_func (); below.
30353     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30354     <limits.h> exists even on freestanding compilers.  */
30355
30356 #ifdef __STDC__
30357 # include <limits.h>
30358 #else
30359 # include <assert.h>
30360 #endif
30361
30362 #undef $ac_func
30363
30364 /* Override any gcc2 internal prototype to avoid an error.  */
30365 #ifdef __cplusplus
30366 extern "C"
30367 {
30368 #endif
30369 /* We use char because int might match the return type of a gcc2
30370    builtin and then its argument prototype would still apply.  */
30371 char $ac_func ();
30372 /* The GNU C library defines this for functions which it implements
30373     to always fail with ENOSYS.  Some functions are actually named
30374     something starting with __ and the normal name is an alias.  */
30375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30376 choke me
30377 #else
30378 char (*f) () = $ac_func;
30379 #endif
30380 #ifdef __cplusplus
30381 }
30382 #endif
30383
30384 int
30385 main ()
30386 {
30387 return f != $ac_func;
30388   ;
30389   return 0;
30390 }
30391 _ACEOF
30392 rm -f conftest.$ac_objext conftest$ac_exeext
30393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30394   (eval $ac_link) 2>conftest.er1
30395   ac_status=$?
30396   grep -v '^ *+' conftest.er1 >conftest.err
30397   rm -f conftest.er1
30398   cat conftest.err >&5
30399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30400   (exit $ac_status); } &&
30401          { ac_try='test -z "$ac_c_werror_flag"
30402                          || test ! -s conftest.err'
30403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30404   (eval $ac_try) 2>&5
30405   ac_status=$?
30406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30407   (exit $ac_status); }; } &&
30408          { ac_try='test -s conftest$ac_exeext'
30409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30410   (eval $ac_try) 2>&5
30411   ac_status=$?
30412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30413   (exit $ac_status); }; }; then
30414   eval "$as_ac_var=yes"
30415 else
30416   echo "$as_me: failed program was:" >&5
30417 sed 's/^/| /' conftest.$ac_ext >&5
30418
30419 eval "$as_ac_var=no"
30420 fi
30421 rm -f conftest.err conftest.$ac_objext \
30422       conftest$ac_exeext conftest.$ac_ext
30423 fi
30424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30426 if test `eval echo '${'$as_ac_var'}'` = yes; then
30427   cat >>confdefs.h <<_ACEOF
30428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30429 _ACEOF
30430
30431 fi
30432 done
30433
30434     fi
30435   fi
30436
30437
30438
30439
30440
30441
30442   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
30443 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
30444   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
30445     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
30446   echo $ECHO_N "(cached) $ECHO_C" >&6
30447 else
30448
30449
30450
30451       ac_ext=cc
30452 ac_cpp='$CXXCPP $CPPFLAGS'
30453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30456
30457       cat >conftest.$ac_ext <<_ACEOF
30458 /* confdefs.h.  */
30459 _ACEOF
30460 cat confdefs.h >>conftest.$ac_ext
30461 cat >>conftest.$ac_ext <<_ACEOF
30462 /* end confdefs.h.  */
30463 #include <math.h>
30464 int
30465 main ()
30466 {
30467  copysignl(0, 0);
30468   ;
30469   return 0;
30470 }
30471 _ACEOF
30472 rm -f conftest.$ac_objext
30473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30474   (eval $ac_compile) 2>conftest.er1
30475   ac_status=$?
30476   grep -v '^ *+' conftest.er1 >conftest.err
30477   rm -f conftest.er1
30478   cat conftest.err >&5
30479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30480   (exit $ac_status); } &&
30481          { ac_try='test -z "$ac_cxx_werror_flag"
30482                          || test ! -s conftest.err'
30483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30484   (eval $ac_try) 2>&5
30485   ac_status=$?
30486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30487   (exit $ac_status); }; } &&
30488          { ac_try='test -s conftest.$ac_objext'
30489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30490   (eval $ac_try) 2>&5
30491   ac_status=$?
30492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30493   (exit $ac_status); }; }; then
30494   glibcxx_cv_func_copysignl_use=yes
30495 else
30496   echo "$as_me: failed program was:" >&5
30497 sed 's/^/| /' conftest.$ac_ext >&5
30498
30499 glibcxx_cv_func_copysignl_use=no
30500 fi
30501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30502       ac_ext=c
30503 ac_cpp='$CPP $CPPFLAGS'
30504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30507
30508
30509 fi
30510
30511   fi
30512   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
30513 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
30514
30515   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
30516
30517 for ac_func in copysignl
30518 do
30519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30520 echo "$as_me:$LINENO: checking for $ac_func" >&5
30521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30522 if eval "test \"\${$as_ac_var+set}\" = set"; then
30523   echo $ECHO_N "(cached) $ECHO_C" >&6
30524 else
30525   if test x$gcc_no_link = xyes; then
30526   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30528    { (exit 1); exit 1; }; }
30529 fi
30530 cat >conftest.$ac_ext <<_ACEOF
30531 /* confdefs.h.  */
30532 _ACEOF
30533 cat confdefs.h >>conftest.$ac_ext
30534 cat >>conftest.$ac_ext <<_ACEOF
30535 /* end confdefs.h.  */
30536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30537    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30538 #define $ac_func innocuous_$ac_func
30539
30540 /* System header to define __stub macros and hopefully few prototypes,
30541     which can conflict with char $ac_func (); below.
30542     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30543     <limits.h> exists even on freestanding compilers.  */
30544
30545 #ifdef __STDC__
30546 # include <limits.h>
30547 #else
30548 # include <assert.h>
30549 #endif
30550
30551 #undef $ac_func
30552
30553 /* Override any gcc2 internal prototype to avoid an error.  */
30554 #ifdef __cplusplus
30555 extern "C"
30556 {
30557 #endif
30558 /* We use char because int might match the return type of a gcc2
30559    builtin and then its argument prototype would still apply.  */
30560 char $ac_func ();
30561 /* The GNU C library defines this for functions which it implements
30562     to always fail with ENOSYS.  Some functions are actually named
30563     something starting with __ and the normal name is an alias.  */
30564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30565 choke me
30566 #else
30567 char (*f) () = $ac_func;
30568 #endif
30569 #ifdef __cplusplus
30570 }
30571 #endif
30572
30573 int
30574 main ()
30575 {
30576 return f != $ac_func;
30577   ;
30578   return 0;
30579 }
30580 _ACEOF
30581 rm -f conftest.$ac_objext conftest$ac_exeext
30582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30583   (eval $ac_link) 2>conftest.er1
30584   ac_status=$?
30585   grep -v '^ *+' conftest.er1 >conftest.err
30586   rm -f conftest.er1
30587   cat conftest.err >&5
30588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30589   (exit $ac_status); } &&
30590          { ac_try='test -z "$ac_c_werror_flag"
30591                          || test ! -s conftest.err'
30592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30593   (eval $ac_try) 2>&5
30594   ac_status=$?
30595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30596   (exit $ac_status); }; } &&
30597          { ac_try='test -s conftest$ac_exeext'
30598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30599   (eval $ac_try) 2>&5
30600   ac_status=$?
30601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30602   (exit $ac_status); }; }; then
30603   eval "$as_ac_var=yes"
30604 else
30605   echo "$as_me: failed program was:" >&5
30606 sed 's/^/| /' conftest.$ac_ext >&5
30607
30608 eval "$as_ac_var=no"
30609 fi
30610 rm -f conftest.err conftest.$ac_objext \
30611       conftest$ac_exeext conftest.$ac_ext
30612 fi
30613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30615 if test `eval echo '${'$as_ac_var'}'` = yes; then
30616   cat >>confdefs.h <<_ACEOF
30617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30618 _ACEOF
30619
30620 fi
30621 done
30622
30623   else
30624
30625   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
30626 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
30627   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
30628     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
30629   echo $ECHO_N "(cached) $ECHO_C" >&6
30630 else
30631
30632
30633
30634       ac_ext=cc
30635 ac_cpp='$CXXCPP $CPPFLAGS'
30636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30639
30640       cat >conftest.$ac_ext <<_ACEOF
30641 /* confdefs.h.  */
30642 _ACEOF
30643 cat confdefs.h >>conftest.$ac_ext
30644 cat >>conftest.$ac_ext <<_ACEOF
30645 /* end confdefs.h.  */
30646 #include <math.h>
30647 int
30648 main ()
30649 {
30650  _copysignl(0, 0);
30651   ;
30652   return 0;
30653 }
30654 _ACEOF
30655 rm -f conftest.$ac_objext
30656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30657   (eval $ac_compile) 2>conftest.er1
30658   ac_status=$?
30659   grep -v '^ *+' conftest.er1 >conftest.err
30660   rm -f conftest.er1
30661   cat conftest.err >&5
30662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30663   (exit $ac_status); } &&
30664          { ac_try='test -z "$ac_cxx_werror_flag"
30665                          || test ! -s conftest.err'
30666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30667   (eval $ac_try) 2>&5
30668   ac_status=$?
30669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30670   (exit $ac_status); }; } &&
30671          { ac_try='test -s conftest.$ac_objext'
30672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30673   (eval $ac_try) 2>&5
30674   ac_status=$?
30675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30676   (exit $ac_status); }; }; then
30677   glibcxx_cv_func__copysignl_use=yes
30678 else
30679   echo "$as_me: failed program was:" >&5
30680 sed 's/^/| /' conftest.$ac_ext >&5
30681
30682 glibcxx_cv_func__copysignl_use=no
30683 fi
30684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30685       ac_ext=c
30686 ac_cpp='$CPP $CPPFLAGS'
30687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30690
30691
30692 fi
30693
30694   fi
30695   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
30696 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
30697
30698     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
30699
30700 for ac_func in _copysignl
30701 do
30702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30703 echo "$as_me:$LINENO: checking for $ac_func" >&5
30704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30705 if eval "test \"\${$as_ac_var+set}\" = set"; then
30706   echo $ECHO_N "(cached) $ECHO_C" >&6
30707 else
30708   if test x$gcc_no_link = xyes; then
30709   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30711    { (exit 1); exit 1; }; }
30712 fi
30713 cat >conftest.$ac_ext <<_ACEOF
30714 /* confdefs.h.  */
30715 _ACEOF
30716 cat confdefs.h >>conftest.$ac_ext
30717 cat >>conftest.$ac_ext <<_ACEOF
30718 /* end confdefs.h.  */
30719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30720    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30721 #define $ac_func innocuous_$ac_func
30722
30723 /* System header to define __stub macros and hopefully few prototypes,
30724     which can conflict with char $ac_func (); below.
30725     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30726     <limits.h> exists even on freestanding compilers.  */
30727
30728 #ifdef __STDC__
30729 # include <limits.h>
30730 #else
30731 # include <assert.h>
30732 #endif
30733
30734 #undef $ac_func
30735
30736 /* Override any gcc2 internal prototype to avoid an error.  */
30737 #ifdef __cplusplus
30738 extern "C"
30739 {
30740 #endif
30741 /* We use char because int might match the return type of a gcc2
30742    builtin and then its argument prototype would still apply.  */
30743 char $ac_func ();
30744 /* The GNU C library defines this for functions which it implements
30745     to always fail with ENOSYS.  Some functions are actually named
30746     something starting with __ and the normal name is an alias.  */
30747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30748 choke me
30749 #else
30750 char (*f) () = $ac_func;
30751 #endif
30752 #ifdef __cplusplus
30753 }
30754 #endif
30755
30756 int
30757 main ()
30758 {
30759 return f != $ac_func;
30760   ;
30761   return 0;
30762 }
30763 _ACEOF
30764 rm -f conftest.$ac_objext conftest$ac_exeext
30765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30766   (eval $ac_link) 2>conftest.er1
30767   ac_status=$?
30768   grep -v '^ *+' conftest.er1 >conftest.err
30769   rm -f conftest.er1
30770   cat conftest.err >&5
30771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30772   (exit $ac_status); } &&
30773          { ac_try='test -z "$ac_c_werror_flag"
30774                          || test ! -s conftest.err'
30775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30776   (eval $ac_try) 2>&5
30777   ac_status=$?
30778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30779   (exit $ac_status); }; } &&
30780          { ac_try='test -s conftest$ac_exeext'
30781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30782   (eval $ac_try) 2>&5
30783   ac_status=$?
30784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30785   (exit $ac_status); }; }; then
30786   eval "$as_ac_var=yes"
30787 else
30788   echo "$as_me: failed program was:" >&5
30789 sed 's/^/| /' conftest.$ac_ext >&5
30790
30791 eval "$as_ac_var=no"
30792 fi
30793 rm -f conftest.err conftest.$ac_objext \
30794       conftest$ac_exeext conftest.$ac_ext
30795 fi
30796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30798 if test `eval echo '${'$as_ac_var'}'` = yes; then
30799   cat >>confdefs.h <<_ACEOF
30800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30801 _ACEOF
30802
30803 fi
30804 done
30805
30806     fi
30807   fi
30808
30809
30810
30811
30812
30813
30814   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
30815 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
30816   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30817     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
30818   echo $ECHO_N "(cached) $ECHO_C" >&6
30819 else
30820
30821
30822
30823       ac_ext=cc
30824 ac_cpp='$CXXCPP $CPPFLAGS'
30825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30828
30829       cat >conftest.$ac_ext <<_ACEOF
30830 /* confdefs.h.  */
30831 _ACEOF
30832 cat confdefs.h >>conftest.$ac_ext
30833 cat >>conftest.$ac_ext <<_ACEOF
30834 /* end confdefs.h.  */
30835 #include <math.h>
30836 int
30837 main ()
30838 {
30839  atan2l(0, 0);
30840   ;
30841   return 0;
30842 }
30843 _ACEOF
30844 rm -f conftest.$ac_objext
30845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30846   (eval $ac_compile) 2>conftest.er1
30847   ac_status=$?
30848   grep -v '^ *+' conftest.er1 >conftest.err
30849   rm -f conftest.er1
30850   cat conftest.err >&5
30851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30852   (exit $ac_status); } &&
30853          { ac_try='test -z "$ac_cxx_werror_flag"
30854                          || test ! -s conftest.err'
30855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30856   (eval $ac_try) 2>&5
30857   ac_status=$?
30858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30859   (exit $ac_status); }; } &&
30860          { ac_try='test -s conftest.$ac_objext'
30861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30862   (eval $ac_try) 2>&5
30863   ac_status=$?
30864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30865   (exit $ac_status); }; }; then
30866   glibcxx_cv_func_atan2l_use=yes
30867 else
30868   echo "$as_me: failed program was:" >&5
30869 sed 's/^/| /' conftest.$ac_ext >&5
30870
30871 glibcxx_cv_func_atan2l_use=no
30872 fi
30873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30874       ac_ext=c
30875 ac_cpp='$CPP $CPPFLAGS'
30876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30879
30880
30881 fi
30882
30883   fi
30884   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
30885 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
30886
30887   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30888
30889 for ac_func in atan2l
30890 do
30891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30892 echo "$as_me:$LINENO: checking for $ac_func" >&5
30893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30894 if eval "test \"\${$as_ac_var+set}\" = set"; then
30895   echo $ECHO_N "(cached) $ECHO_C" >&6
30896 else
30897   if test x$gcc_no_link = xyes; then
30898   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30900    { (exit 1); exit 1; }; }
30901 fi
30902 cat >conftest.$ac_ext <<_ACEOF
30903 /* confdefs.h.  */
30904 _ACEOF
30905 cat confdefs.h >>conftest.$ac_ext
30906 cat >>conftest.$ac_ext <<_ACEOF
30907 /* end confdefs.h.  */
30908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30909    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30910 #define $ac_func innocuous_$ac_func
30911
30912 /* System header to define __stub macros and hopefully few prototypes,
30913     which can conflict with char $ac_func (); below.
30914     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30915     <limits.h> exists even on freestanding compilers.  */
30916
30917 #ifdef __STDC__
30918 # include <limits.h>
30919 #else
30920 # include <assert.h>
30921 #endif
30922
30923 #undef $ac_func
30924
30925 /* Override any gcc2 internal prototype to avoid an error.  */
30926 #ifdef __cplusplus
30927 extern "C"
30928 {
30929 #endif
30930 /* We use char because int might match the return type of a gcc2
30931    builtin and then its argument prototype would still apply.  */
30932 char $ac_func ();
30933 /* The GNU C library defines this for functions which it implements
30934     to always fail with ENOSYS.  Some functions are actually named
30935     something starting with __ and the normal name is an alias.  */
30936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30937 choke me
30938 #else
30939 char (*f) () = $ac_func;
30940 #endif
30941 #ifdef __cplusplus
30942 }
30943 #endif
30944
30945 int
30946 main ()
30947 {
30948 return f != $ac_func;
30949   ;
30950   return 0;
30951 }
30952 _ACEOF
30953 rm -f conftest.$ac_objext conftest$ac_exeext
30954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30955   (eval $ac_link) 2>conftest.er1
30956   ac_status=$?
30957   grep -v '^ *+' conftest.er1 >conftest.err
30958   rm -f conftest.er1
30959   cat conftest.err >&5
30960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30961   (exit $ac_status); } &&
30962          { ac_try='test -z "$ac_c_werror_flag"
30963                          || test ! -s conftest.err'
30964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30965   (eval $ac_try) 2>&5
30966   ac_status=$?
30967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30968   (exit $ac_status); }; } &&
30969          { ac_try='test -s conftest$ac_exeext'
30970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30971   (eval $ac_try) 2>&5
30972   ac_status=$?
30973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30974   (exit $ac_status); }; }; then
30975   eval "$as_ac_var=yes"
30976 else
30977   echo "$as_me: failed program was:" >&5
30978 sed 's/^/| /' conftest.$ac_ext >&5
30979
30980 eval "$as_ac_var=no"
30981 fi
30982 rm -f conftest.err conftest.$ac_objext \
30983       conftest$ac_exeext conftest.$ac_ext
30984 fi
30985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30987 if test `eval echo '${'$as_ac_var'}'` = yes; then
30988   cat >>confdefs.h <<_ACEOF
30989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30990 _ACEOF
30991
30992 fi
30993 done
30994
30995   else
30996
30997   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
30998 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
30999   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31000     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
31001   echo $ECHO_N "(cached) $ECHO_C" >&6
31002 else
31003
31004
31005
31006       ac_ext=cc
31007 ac_cpp='$CXXCPP $CPPFLAGS'
31008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31011
31012       cat >conftest.$ac_ext <<_ACEOF
31013 /* confdefs.h.  */
31014 _ACEOF
31015 cat confdefs.h >>conftest.$ac_ext
31016 cat >>conftest.$ac_ext <<_ACEOF
31017 /* end confdefs.h.  */
31018 #include <math.h>
31019 int
31020 main ()
31021 {
31022  _atan2l(0, 0);
31023   ;
31024   return 0;
31025 }
31026 _ACEOF
31027 rm -f conftest.$ac_objext
31028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31029   (eval $ac_compile) 2>conftest.er1
31030   ac_status=$?
31031   grep -v '^ *+' conftest.er1 >conftest.err
31032   rm -f conftest.er1
31033   cat conftest.err >&5
31034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31035   (exit $ac_status); } &&
31036          { ac_try='test -z "$ac_cxx_werror_flag"
31037                          || test ! -s conftest.err'
31038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31039   (eval $ac_try) 2>&5
31040   ac_status=$?
31041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31042   (exit $ac_status); }; } &&
31043          { ac_try='test -s conftest.$ac_objext'
31044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31045   (eval $ac_try) 2>&5
31046   ac_status=$?
31047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31048   (exit $ac_status); }; }; then
31049   glibcxx_cv_func__atan2l_use=yes
31050 else
31051   echo "$as_me: failed program was:" >&5
31052 sed 's/^/| /' conftest.$ac_ext >&5
31053
31054 glibcxx_cv_func__atan2l_use=no
31055 fi
31056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31057       ac_ext=c
31058 ac_cpp='$CPP $CPPFLAGS'
31059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31062
31063
31064 fi
31065
31066   fi
31067   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
31068 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
31069
31070     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31071
31072 for ac_func in _atan2l
31073 do
31074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31075 echo "$as_me:$LINENO: checking for $ac_func" >&5
31076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31077 if eval "test \"\${$as_ac_var+set}\" = set"; then
31078   echo $ECHO_N "(cached) $ECHO_C" >&6
31079 else
31080   if test x$gcc_no_link = xyes; then
31081   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31083    { (exit 1); exit 1; }; }
31084 fi
31085 cat >conftest.$ac_ext <<_ACEOF
31086 /* confdefs.h.  */
31087 _ACEOF
31088 cat confdefs.h >>conftest.$ac_ext
31089 cat >>conftest.$ac_ext <<_ACEOF
31090 /* end confdefs.h.  */
31091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31092    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31093 #define $ac_func innocuous_$ac_func
31094
31095 /* System header to define __stub macros and hopefully few prototypes,
31096     which can conflict with char $ac_func (); below.
31097     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31098     <limits.h> exists even on freestanding compilers.  */
31099
31100 #ifdef __STDC__
31101 # include <limits.h>
31102 #else
31103 # include <assert.h>
31104 #endif
31105
31106 #undef $ac_func
31107
31108 /* Override any gcc2 internal prototype to avoid an error.  */
31109 #ifdef __cplusplus
31110 extern "C"
31111 {
31112 #endif
31113 /* We use char because int might match the return type of a gcc2
31114    builtin and then its argument prototype would still apply.  */
31115 char $ac_func ();
31116 /* The GNU C library defines this for functions which it implements
31117     to always fail with ENOSYS.  Some functions are actually named
31118     something starting with __ and the normal name is an alias.  */
31119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31120 choke me
31121 #else
31122 char (*f) () = $ac_func;
31123 #endif
31124 #ifdef __cplusplus
31125 }
31126 #endif
31127
31128 int
31129 main ()
31130 {
31131 return f != $ac_func;
31132   ;
31133   return 0;
31134 }
31135 _ACEOF
31136 rm -f conftest.$ac_objext conftest$ac_exeext
31137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31138   (eval $ac_link) 2>conftest.er1
31139   ac_status=$?
31140   grep -v '^ *+' conftest.er1 >conftest.err
31141   rm -f conftest.er1
31142   cat conftest.err >&5
31143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31144   (exit $ac_status); } &&
31145          { ac_try='test -z "$ac_c_werror_flag"
31146                          || test ! -s conftest.err'
31147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31148   (eval $ac_try) 2>&5
31149   ac_status=$?
31150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31151   (exit $ac_status); }; } &&
31152          { ac_try='test -s conftest$ac_exeext'
31153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31154   (eval $ac_try) 2>&5
31155   ac_status=$?
31156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31157   (exit $ac_status); }; }; then
31158   eval "$as_ac_var=yes"
31159 else
31160   echo "$as_me: failed program was:" >&5
31161 sed 's/^/| /' conftest.$ac_ext >&5
31162
31163 eval "$as_ac_var=no"
31164 fi
31165 rm -f conftest.err conftest.$ac_objext \
31166       conftest$ac_exeext conftest.$ac_ext
31167 fi
31168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31170 if test `eval echo '${'$as_ac_var'}'` = yes; then
31171   cat >>confdefs.h <<_ACEOF
31172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31173 _ACEOF
31174
31175 fi
31176 done
31177
31178     fi
31179   fi
31180
31181
31182
31183
31184
31185
31186   echo "$as_me:$LINENO: checking for expl declaration" >&5
31187 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
31188   if test x${glibcxx_cv_func_expl_use+set} != xset; then
31189     if test "${glibcxx_cv_func_expl_use+set}" = set; then
31190   echo $ECHO_N "(cached) $ECHO_C" >&6
31191 else
31192
31193
31194
31195       ac_ext=cc
31196 ac_cpp='$CXXCPP $CPPFLAGS'
31197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31200
31201       cat >conftest.$ac_ext <<_ACEOF
31202 /* confdefs.h.  */
31203 _ACEOF
31204 cat confdefs.h >>conftest.$ac_ext
31205 cat >>conftest.$ac_ext <<_ACEOF
31206 /* end confdefs.h.  */
31207 #include <math.h>
31208                       #ifdef HAVE_IEEEFP_H
31209                       #include <ieeefp.h>
31210                       #endif
31211
31212 int
31213 main ()
31214 {
31215  expl(0);
31216   ;
31217   return 0;
31218 }
31219 _ACEOF
31220 rm -f conftest.$ac_objext
31221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31222   (eval $ac_compile) 2>conftest.er1
31223   ac_status=$?
31224   grep -v '^ *+' conftest.er1 >conftest.err
31225   rm -f conftest.er1
31226   cat conftest.err >&5
31227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31228   (exit $ac_status); } &&
31229          { ac_try='test -z "$ac_cxx_werror_flag"
31230                          || test ! -s conftest.err'
31231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31232   (eval $ac_try) 2>&5
31233   ac_status=$?
31234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31235   (exit $ac_status); }; } &&
31236          { ac_try='test -s conftest.$ac_objext'
31237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31238   (eval $ac_try) 2>&5
31239   ac_status=$?
31240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31241   (exit $ac_status); }; }; then
31242   glibcxx_cv_func_expl_use=yes
31243 else
31244   echo "$as_me: failed program was:" >&5
31245 sed 's/^/| /' conftest.$ac_ext >&5
31246
31247 glibcxx_cv_func_expl_use=no
31248 fi
31249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31250       ac_ext=c
31251 ac_cpp='$CPP $CPPFLAGS'
31252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31255
31256
31257 fi
31258
31259   fi
31260   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
31261 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
31262
31263   if test x$glibcxx_cv_func_expl_use = x"yes"; then
31264
31265 for ac_func in expl
31266 do
31267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31268 echo "$as_me:$LINENO: checking for $ac_func" >&5
31269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31270 if eval "test \"\${$as_ac_var+set}\" = set"; then
31271   echo $ECHO_N "(cached) $ECHO_C" >&6
31272 else
31273   if test x$gcc_no_link = xyes; then
31274   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31276    { (exit 1); exit 1; }; }
31277 fi
31278 cat >conftest.$ac_ext <<_ACEOF
31279 /* confdefs.h.  */
31280 _ACEOF
31281 cat confdefs.h >>conftest.$ac_ext
31282 cat >>conftest.$ac_ext <<_ACEOF
31283 /* end confdefs.h.  */
31284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31285    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31286 #define $ac_func innocuous_$ac_func
31287
31288 /* System header to define __stub macros and hopefully few prototypes,
31289     which can conflict with char $ac_func (); below.
31290     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31291     <limits.h> exists even on freestanding compilers.  */
31292
31293 #ifdef __STDC__
31294 # include <limits.h>
31295 #else
31296 # include <assert.h>
31297 #endif
31298
31299 #undef $ac_func
31300
31301 /* Override any gcc2 internal prototype to avoid an error.  */
31302 #ifdef __cplusplus
31303 extern "C"
31304 {
31305 #endif
31306 /* We use char because int might match the return type of a gcc2
31307    builtin and then its argument prototype would still apply.  */
31308 char $ac_func ();
31309 /* The GNU C library defines this for functions which it implements
31310     to always fail with ENOSYS.  Some functions are actually named
31311     something starting with __ and the normal name is an alias.  */
31312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31313 choke me
31314 #else
31315 char (*f) () = $ac_func;
31316 #endif
31317 #ifdef __cplusplus
31318 }
31319 #endif
31320
31321 int
31322 main ()
31323 {
31324 return f != $ac_func;
31325   ;
31326   return 0;
31327 }
31328 _ACEOF
31329 rm -f conftest.$ac_objext conftest$ac_exeext
31330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31331   (eval $ac_link) 2>conftest.er1
31332   ac_status=$?
31333   grep -v '^ *+' conftest.er1 >conftest.err
31334   rm -f conftest.er1
31335   cat conftest.err >&5
31336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31337   (exit $ac_status); } &&
31338          { ac_try='test -z "$ac_c_werror_flag"
31339                          || test ! -s conftest.err'
31340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31341   (eval $ac_try) 2>&5
31342   ac_status=$?
31343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31344   (exit $ac_status); }; } &&
31345          { ac_try='test -s conftest$ac_exeext'
31346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31347   (eval $ac_try) 2>&5
31348   ac_status=$?
31349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31350   (exit $ac_status); }; }; then
31351   eval "$as_ac_var=yes"
31352 else
31353   echo "$as_me: failed program was:" >&5
31354 sed 's/^/| /' conftest.$ac_ext >&5
31355
31356 eval "$as_ac_var=no"
31357 fi
31358 rm -f conftest.err conftest.$ac_objext \
31359       conftest$ac_exeext conftest.$ac_ext
31360 fi
31361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31363 if test `eval echo '${'$as_ac_var'}'` = yes; then
31364   cat >>confdefs.h <<_ACEOF
31365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31366 _ACEOF
31367
31368 fi
31369 done
31370
31371   else
31372
31373   echo "$as_me:$LINENO: checking for _expl declaration" >&5
31374 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
31375   if test x${glibcxx_cv_func__expl_use+set} != xset; then
31376     if test "${glibcxx_cv_func__expl_use+set}" = set; then
31377   echo $ECHO_N "(cached) $ECHO_C" >&6
31378 else
31379
31380
31381
31382       ac_ext=cc
31383 ac_cpp='$CXXCPP $CPPFLAGS'
31384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31387
31388       cat >conftest.$ac_ext <<_ACEOF
31389 /* confdefs.h.  */
31390 _ACEOF
31391 cat confdefs.h >>conftest.$ac_ext
31392 cat >>conftest.$ac_ext <<_ACEOF
31393 /* end confdefs.h.  */
31394 #include <math.h>
31395                       #ifdef HAVE_IEEEFP_H
31396                       #include <ieeefp.h>
31397                       #endif
31398
31399 int
31400 main ()
31401 {
31402  _expl(0);
31403   ;
31404   return 0;
31405 }
31406 _ACEOF
31407 rm -f conftest.$ac_objext
31408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31409   (eval $ac_compile) 2>conftest.er1
31410   ac_status=$?
31411   grep -v '^ *+' conftest.er1 >conftest.err
31412   rm -f conftest.er1
31413   cat conftest.err >&5
31414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31415   (exit $ac_status); } &&
31416          { ac_try='test -z "$ac_cxx_werror_flag"
31417                          || test ! -s conftest.err'
31418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31419   (eval $ac_try) 2>&5
31420   ac_status=$?
31421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31422   (exit $ac_status); }; } &&
31423          { ac_try='test -s conftest.$ac_objext'
31424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31425   (eval $ac_try) 2>&5
31426   ac_status=$?
31427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31428   (exit $ac_status); }; }; then
31429   glibcxx_cv_func__expl_use=yes
31430 else
31431   echo "$as_me: failed program was:" >&5
31432 sed 's/^/| /' conftest.$ac_ext >&5
31433
31434 glibcxx_cv_func__expl_use=no
31435 fi
31436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31437       ac_ext=c
31438 ac_cpp='$CPP $CPPFLAGS'
31439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31442
31443
31444 fi
31445
31446   fi
31447   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
31448 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
31449
31450     if test x$glibcxx_cv_func__expl_use = x"yes"; then
31451
31452 for ac_func in _expl
31453 do
31454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31455 echo "$as_me:$LINENO: checking for $ac_func" >&5
31456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31457 if eval "test \"\${$as_ac_var+set}\" = set"; then
31458   echo $ECHO_N "(cached) $ECHO_C" >&6
31459 else
31460   if test x$gcc_no_link = xyes; then
31461   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31463    { (exit 1); exit 1; }; }
31464 fi
31465 cat >conftest.$ac_ext <<_ACEOF
31466 /* confdefs.h.  */
31467 _ACEOF
31468 cat confdefs.h >>conftest.$ac_ext
31469 cat >>conftest.$ac_ext <<_ACEOF
31470 /* end confdefs.h.  */
31471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31472    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31473 #define $ac_func innocuous_$ac_func
31474
31475 /* System header to define __stub macros and hopefully few prototypes,
31476     which can conflict with char $ac_func (); below.
31477     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31478     <limits.h> exists even on freestanding compilers.  */
31479
31480 #ifdef __STDC__
31481 # include <limits.h>
31482 #else
31483 # include <assert.h>
31484 #endif
31485
31486 #undef $ac_func
31487
31488 /* Override any gcc2 internal prototype to avoid an error.  */
31489 #ifdef __cplusplus
31490 extern "C"
31491 {
31492 #endif
31493 /* We use char because int might match the return type of a gcc2
31494    builtin and then its argument prototype would still apply.  */
31495 char $ac_func ();
31496 /* The GNU C library defines this for functions which it implements
31497     to always fail with ENOSYS.  Some functions are actually named
31498     something starting with __ and the normal name is an alias.  */
31499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31500 choke me
31501 #else
31502 char (*f) () = $ac_func;
31503 #endif
31504 #ifdef __cplusplus
31505 }
31506 #endif
31507
31508 int
31509 main ()
31510 {
31511 return f != $ac_func;
31512   ;
31513   return 0;
31514 }
31515 _ACEOF
31516 rm -f conftest.$ac_objext conftest$ac_exeext
31517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31518   (eval $ac_link) 2>conftest.er1
31519   ac_status=$?
31520   grep -v '^ *+' conftest.er1 >conftest.err
31521   rm -f conftest.er1
31522   cat conftest.err >&5
31523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31524   (exit $ac_status); } &&
31525          { ac_try='test -z "$ac_c_werror_flag"
31526                          || test ! -s conftest.err'
31527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31528   (eval $ac_try) 2>&5
31529   ac_status=$?
31530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31531   (exit $ac_status); }; } &&
31532          { ac_try='test -s conftest$ac_exeext'
31533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31534   (eval $ac_try) 2>&5
31535   ac_status=$?
31536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31537   (exit $ac_status); }; }; then
31538   eval "$as_ac_var=yes"
31539 else
31540   echo "$as_me: failed program was:" >&5
31541 sed 's/^/| /' conftest.$ac_ext >&5
31542
31543 eval "$as_ac_var=no"
31544 fi
31545 rm -f conftest.err conftest.$ac_objext \
31546       conftest$ac_exeext conftest.$ac_ext
31547 fi
31548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31550 if test `eval echo '${'$as_ac_var'}'` = yes; then
31551   cat >>confdefs.h <<_ACEOF
31552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31553 _ACEOF
31554
31555 fi
31556 done
31557
31558     fi
31559   fi
31560
31561
31562
31563
31564
31565
31566   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
31567 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
31568   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31569     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
31570   echo $ECHO_N "(cached) $ECHO_C" >&6
31571 else
31572
31573
31574
31575       ac_ext=cc
31576 ac_cpp='$CXXCPP $CPPFLAGS'
31577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31580
31581       cat >conftest.$ac_ext <<_ACEOF
31582 /* confdefs.h.  */
31583 _ACEOF
31584 cat confdefs.h >>conftest.$ac_ext
31585 cat >>conftest.$ac_ext <<_ACEOF
31586 /* end confdefs.h.  */
31587 #include <math.h>
31588                       #ifdef HAVE_IEEEFP_H
31589                       #include <ieeefp.h>
31590                       #endif
31591
31592 int
31593 main ()
31594 {
31595  fabsl(0);
31596   ;
31597   return 0;
31598 }
31599 _ACEOF
31600 rm -f conftest.$ac_objext
31601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31602   (eval $ac_compile) 2>conftest.er1
31603   ac_status=$?
31604   grep -v '^ *+' conftest.er1 >conftest.err
31605   rm -f conftest.er1
31606   cat conftest.err >&5
31607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31608   (exit $ac_status); } &&
31609          { ac_try='test -z "$ac_cxx_werror_flag"
31610                          || test ! -s conftest.err'
31611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31612   (eval $ac_try) 2>&5
31613   ac_status=$?
31614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31615   (exit $ac_status); }; } &&
31616          { ac_try='test -s conftest.$ac_objext'
31617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31618   (eval $ac_try) 2>&5
31619   ac_status=$?
31620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31621   (exit $ac_status); }; }; then
31622   glibcxx_cv_func_fabsl_use=yes
31623 else
31624   echo "$as_me: failed program was:" >&5
31625 sed 's/^/| /' conftest.$ac_ext >&5
31626
31627 glibcxx_cv_func_fabsl_use=no
31628 fi
31629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31630       ac_ext=c
31631 ac_cpp='$CPP $CPPFLAGS'
31632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31635
31636
31637 fi
31638
31639   fi
31640   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
31641 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
31642
31643   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31644
31645 for ac_func in fabsl
31646 do
31647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31648 echo "$as_me:$LINENO: checking for $ac_func" >&5
31649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31650 if eval "test \"\${$as_ac_var+set}\" = set"; then
31651   echo $ECHO_N "(cached) $ECHO_C" >&6
31652 else
31653   if test x$gcc_no_link = xyes; then
31654   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31656    { (exit 1); exit 1; }; }
31657 fi
31658 cat >conftest.$ac_ext <<_ACEOF
31659 /* confdefs.h.  */
31660 _ACEOF
31661 cat confdefs.h >>conftest.$ac_ext
31662 cat >>conftest.$ac_ext <<_ACEOF
31663 /* end confdefs.h.  */
31664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31665    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31666 #define $ac_func innocuous_$ac_func
31667
31668 /* System header to define __stub macros and hopefully few prototypes,
31669     which can conflict with char $ac_func (); below.
31670     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31671     <limits.h> exists even on freestanding compilers.  */
31672
31673 #ifdef __STDC__
31674 # include <limits.h>
31675 #else
31676 # include <assert.h>
31677 #endif
31678
31679 #undef $ac_func
31680
31681 /* Override any gcc2 internal prototype to avoid an error.  */
31682 #ifdef __cplusplus
31683 extern "C"
31684 {
31685 #endif
31686 /* We use char because int might match the return type of a gcc2
31687    builtin and then its argument prototype would still apply.  */
31688 char $ac_func ();
31689 /* The GNU C library defines this for functions which it implements
31690     to always fail with ENOSYS.  Some functions are actually named
31691     something starting with __ and the normal name is an alias.  */
31692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31693 choke me
31694 #else
31695 char (*f) () = $ac_func;
31696 #endif
31697 #ifdef __cplusplus
31698 }
31699 #endif
31700
31701 int
31702 main ()
31703 {
31704 return f != $ac_func;
31705   ;
31706   return 0;
31707 }
31708 _ACEOF
31709 rm -f conftest.$ac_objext conftest$ac_exeext
31710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31711   (eval $ac_link) 2>conftest.er1
31712   ac_status=$?
31713   grep -v '^ *+' conftest.er1 >conftest.err
31714   rm -f conftest.er1
31715   cat conftest.err >&5
31716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31717   (exit $ac_status); } &&
31718          { ac_try='test -z "$ac_c_werror_flag"
31719                          || test ! -s conftest.err'
31720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31721   (eval $ac_try) 2>&5
31722   ac_status=$?
31723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31724   (exit $ac_status); }; } &&
31725          { ac_try='test -s conftest$ac_exeext'
31726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31727   (eval $ac_try) 2>&5
31728   ac_status=$?
31729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31730   (exit $ac_status); }; }; then
31731   eval "$as_ac_var=yes"
31732 else
31733   echo "$as_me: failed program was:" >&5
31734 sed 's/^/| /' conftest.$ac_ext >&5
31735
31736 eval "$as_ac_var=no"
31737 fi
31738 rm -f conftest.err conftest.$ac_objext \
31739       conftest$ac_exeext conftest.$ac_ext
31740 fi
31741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31743 if test `eval echo '${'$as_ac_var'}'` = yes; then
31744   cat >>confdefs.h <<_ACEOF
31745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31746 _ACEOF
31747
31748 fi
31749 done
31750
31751   else
31752
31753   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
31754 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
31755   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31756     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
31757   echo $ECHO_N "(cached) $ECHO_C" >&6
31758 else
31759
31760
31761
31762       ac_ext=cc
31763 ac_cpp='$CXXCPP $CPPFLAGS'
31764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31767
31768       cat >conftest.$ac_ext <<_ACEOF
31769 /* confdefs.h.  */
31770 _ACEOF
31771 cat confdefs.h >>conftest.$ac_ext
31772 cat >>conftest.$ac_ext <<_ACEOF
31773 /* end confdefs.h.  */
31774 #include <math.h>
31775                       #ifdef HAVE_IEEEFP_H
31776                       #include <ieeefp.h>
31777                       #endif
31778
31779 int
31780 main ()
31781 {
31782  _fabsl(0);
31783   ;
31784   return 0;
31785 }
31786 _ACEOF
31787 rm -f conftest.$ac_objext
31788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31789   (eval $ac_compile) 2>conftest.er1
31790   ac_status=$?
31791   grep -v '^ *+' conftest.er1 >conftest.err
31792   rm -f conftest.er1
31793   cat conftest.err >&5
31794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31795   (exit $ac_status); } &&
31796          { ac_try='test -z "$ac_cxx_werror_flag"
31797                          || test ! -s conftest.err'
31798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31799   (eval $ac_try) 2>&5
31800   ac_status=$?
31801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31802   (exit $ac_status); }; } &&
31803          { ac_try='test -s conftest.$ac_objext'
31804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31805   (eval $ac_try) 2>&5
31806   ac_status=$?
31807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31808   (exit $ac_status); }; }; then
31809   glibcxx_cv_func__fabsl_use=yes
31810 else
31811   echo "$as_me: failed program was:" >&5
31812 sed 's/^/| /' conftest.$ac_ext >&5
31813
31814 glibcxx_cv_func__fabsl_use=no
31815 fi
31816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31817       ac_ext=c
31818 ac_cpp='$CPP $CPPFLAGS'
31819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31822
31823
31824 fi
31825
31826   fi
31827   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
31828 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
31829
31830     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31831
31832 for ac_func in _fabsl
31833 do
31834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31835 echo "$as_me:$LINENO: checking for $ac_func" >&5
31836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31837 if eval "test \"\${$as_ac_var+set}\" = set"; then
31838   echo $ECHO_N "(cached) $ECHO_C" >&6
31839 else
31840   if test x$gcc_no_link = xyes; then
31841   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31843    { (exit 1); exit 1; }; }
31844 fi
31845 cat >conftest.$ac_ext <<_ACEOF
31846 /* confdefs.h.  */
31847 _ACEOF
31848 cat confdefs.h >>conftest.$ac_ext
31849 cat >>conftest.$ac_ext <<_ACEOF
31850 /* end confdefs.h.  */
31851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31852    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31853 #define $ac_func innocuous_$ac_func
31854
31855 /* System header to define __stub macros and hopefully few prototypes,
31856     which can conflict with char $ac_func (); below.
31857     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31858     <limits.h> exists even on freestanding compilers.  */
31859
31860 #ifdef __STDC__
31861 # include <limits.h>
31862 #else
31863 # include <assert.h>
31864 #endif
31865
31866 #undef $ac_func
31867
31868 /* Override any gcc2 internal prototype to avoid an error.  */
31869 #ifdef __cplusplus
31870 extern "C"
31871 {
31872 #endif
31873 /* We use char because int might match the return type of a gcc2
31874    builtin and then its argument prototype would still apply.  */
31875 char $ac_func ();
31876 /* The GNU C library defines this for functions which it implements
31877     to always fail with ENOSYS.  Some functions are actually named
31878     something starting with __ and the normal name is an alias.  */
31879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31880 choke me
31881 #else
31882 char (*f) () = $ac_func;
31883 #endif
31884 #ifdef __cplusplus
31885 }
31886 #endif
31887
31888 int
31889 main ()
31890 {
31891 return f != $ac_func;
31892   ;
31893   return 0;
31894 }
31895 _ACEOF
31896 rm -f conftest.$ac_objext conftest$ac_exeext
31897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31898   (eval $ac_link) 2>conftest.er1
31899   ac_status=$?
31900   grep -v '^ *+' conftest.er1 >conftest.err
31901   rm -f conftest.er1
31902   cat conftest.err >&5
31903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31904   (exit $ac_status); } &&
31905          { ac_try='test -z "$ac_c_werror_flag"
31906                          || test ! -s conftest.err'
31907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31908   (eval $ac_try) 2>&5
31909   ac_status=$?
31910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31911   (exit $ac_status); }; } &&
31912          { ac_try='test -s conftest$ac_exeext'
31913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31914   (eval $ac_try) 2>&5
31915   ac_status=$?
31916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31917   (exit $ac_status); }; }; then
31918   eval "$as_ac_var=yes"
31919 else
31920   echo "$as_me: failed program was:" >&5
31921 sed 's/^/| /' conftest.$ac_ext >&5
31922
31923 eval "$as_ac_var=no"
31924 fi
31925 rm -f conftest.err conftest.$ac_objext \
31926       conftest$ac_exeext conftest.$ac_ext
31927 fi
31928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31930 if test `eval echo '${'$as_ac_var'}'` = yes; then
31931   cat >>confdefs.h <<_ACEOF
31932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31933 _ACEOF
31934
31935 fi
31936 done
31937
31938     fi
31939   fi
31940
31941
31942
31943
31944
31945
31946   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
31947 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
31948   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31949     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
31950   echo $ECHO_N "(cached) $ECHO_C" >&6
31951 else
31952
31953
31954
31955       ac_ext=cc
31956 ac_cpp='$CXXCPP $CPPFLAGS'
31957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31960
31961       cat >conftest.$ac_ext <<_ACEOF
31962 /* confdefs.h.  */
31963 _ACEOF
31964 cat confdefs.h >>conftest.$ac_ext
31965 cat >>conftest.$ac_ext <<_ACEOF
31966 /* end confdefs.h.  */
31967 #include <math.h>
31968 int
31969 main ()
31970 {
31971  fmodl(0, 0);
31972   ;
31973   return 0;
31974 }
31975 _ACEOF
31976 rm -f conftest.$ac_objext
31977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31978   (eval $ac_compile) 2>conftest.er1
31979   ac_status=$?
31980   grep -v '^ *+' conftest.er1 >conftest.err
31981   rm -f conftest.er1
31982   cat conftest.err >&5
31983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31984   (exit $ac_status); } &&
31985          { ac_try='test -z "$ac_cxx_werror_flag"
31986                          || test ! -s conftest.err'
31987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31988   (eval $ac_try) 2>&5
31989   ac_status=$?
31990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31991   (exit $ac_status); }; } &&
31992          { ac_try='test -s conftest.$ac_objext'
31993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31994   (eval $ac_try) 2>&5
31995   ac_status=$?
31996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31997   (exit $ac_status); }; }; then
31998   glibcxx_cv_func_fmodl_use=yes
31999 else
32000   echo "$as_me: failed program was:" >&5
32001 sed 's/^/| /' conftest.$ac_ext >&5
32002
32003 glibcxx_cv_func_fmodl_use=no
32004 fi
32005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32006       ac_ext=c
32007 ac_cpp='$CPP $CPPFLAGS'
32008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32011
32012
32013 fi
32014
32015   fi
32016   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
32017 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
32018
32019   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32020
32021 for ac_func in fmodl
32022 do
32023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32024 echo "$as_me:$LINENO: checking for $ac_func" >&5
32025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32026 if eval "test \"\${$as_ac_var+set}\" = set"; then
32027   echo $ECHO_N "(cached) $ECHO_C" >&6
32028 else
32029   if test x$gcc_no_link = xyes; then
32030   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32032    { (exit 1); exit 1; }; }
32033 fi
32034 cat >conftest.$ac_ext <<_ACEOF
32035 /* confdefs.h.  */
32036 _ACEOF
32037 cat confdefs.h >>conftest.$ac_ext
32038 cat >>conftest.$ac_ext <<_ACEOF
32039 /* end confdefs.h.  */
32040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32041    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32042 #define $ac_func innocuous_$ac_func
32043
32044 /* System header to define __stub macros and hopefully few prototypes,
32045     which can conflict with char $ac_func (); below.
32046     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32047     <limits.h> exists even on freestanding compilers.  */
32048
32049 #ifdef __STDC__
32050 # include <limits.h>
32051 #else
32052 # include <assert.h>
32053 #endif
32054
32055 #undef $ac_func
32056
32057 /* Override any gcc2 internal prototype to avoid an error.  */
32058 #ifdef __cplusplus
32059 extern "C"
32060 {
32061 #endif
32062 /* We use char because int might match the return type of a gcc2
32063    builtin and then its argument prototype would still apply.  */
32064 char $ac_func ();
32065 /* The GNU C library defines this for functions which it implements
32066     to always fail with ENOSYS.  Some functions are actually named
32067     something starting with __ and the normal name is an alias.  */
32068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32069 choke me
32070 #else
32071 char (*f) () = $ac_func;
32072 #endif
32073 #ifdef __cplusplus
32074 }
32075 #endif
32076
32077 int
32078 main ()
32079 {
32080 return f != $ac_func;
32081   ;
32082   return 0;
32083 }
32084 _ACEOF
32085 rm -f conftest.$ac_objext conftest$ac_exeext
32086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32087   (eval $ac_link) 2>conftest.er1
32088   ac_status=$?
32089   grep -v '^ *+' conftest.er1 >conftest.err
32090   rm -f conftest.er1
32091   cat conftest.err >&5
32092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32093   (exit $ac_status); } &&
32094          { ac_try='test -z "$ac_c_werror_flag"
32095                          || test ! -s conftest.err'
32096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32097   (eval $ac_try) 2>&5
32098   ac_status=$?
32099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32100   (exit $ac_status); }; } &&
32101          { ac_try='test -s conftest$ac_exeext'
32102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32103   (eval $ac_try) 2>&5
32104   ac_status=$?
32105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32106   (exit $ac_status); }; }; then
32107   eval "$as_ac_var=yes"
32108 else
32109   echo "$as_me: failed program was:" >&5
32110 sed 's/^/| /' conftest.$ac_ext >&5
32111
32112 eval "$as_ac_var=no"
32113 fi
32114 rm -f conftest.err conftest.$ac_objext \
32115       conftest$ac_exeext conftest.$ac_ext
32116 fi
32117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32119 if test `eval echo '${'$as_ac_var'}'` = yes; then
32120   cat >>confdefs.h <<_ACEOF
32121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32122 _ACEOF
32123
32124 fi
32125 done
32126
32127   else
32128
32129   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
32130 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
32131   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32132     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
32133   echo $ECHO_N "(cached) $ECHO_C" >&6
32134 else
32135
32136
32137
32138       ac_ext=cc
32139 ac_cpp='$CXXCPP $CPPFLAGS'
32140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32143
32144       cat >conftest.$ac_ext <<_ACEOF
32145 /* confdefs.h.  */
32146 _ACEOF
32147 cat confdefs.h >>conftest.$ac_ext
32148 cat >>conftest.$ac_ext <<_ACEOF
32149 /* end confdefs.h.  */
32150 #include <math.h>
32151 int
32152 main ()
32153 {
32154  _fmodl(0, 0);
32155   ;
32156   return 0;
32157 }
32158 _ACEOF
32159 rm -f conftest.$ac_objext
32160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32161   (eval $ac_compile) 2>conftest.er1
32162   ac_status=$?
32163   grep -v '^ *+' conftest.er1 >conftest.err
32164   rm -f conftest.er1
32165   cat conftest.err >&5
32166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32167   (exit $ac_status); } &&
32168          { ac_try='test -z "$ac_cxx_werror_flag"
32169                          || test ! -s conftest.err'
32170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32171   (eval $ac_try) 2>&5
32172   ac_status=$?
32173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32174   (exit $ac_status); }; } &&
32175          { ac_try='test -s conftest.$ac_objext'
32176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32177   (eval $ac_try) 2>&5
32178   ac_status=$?
32179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32180   (exit $ac_status); }; }; then
32181   glibcxx_cv_func__fmodl_use=yes
32182 else
32183   echo "$as_me: failed program was:" >&5
32184 sed 's/^/| /' conftest.$ac_ext >&5
32185
32186 glibcxx_cv_func__fmodl_use=no
32187 fi
32188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32189       ac_ext=c
32190 ac_cpp='$CPP $CPPFLAGS'
32191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32194
32195
32196 fi
32197
32198   fi
32199   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
32200 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
32201
32202     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32203
32204 for ac_func in _fmodl
32205 do
32206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32207 echo "$as_me:$LINENO: checking for $ac_func" >&5
32208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32209 if eval "test \"\${$as_ac_var+set}\" = set"; then
32210   echo $ECHO_N "(cached) $ECHO_C" >&6
32211 else
32212   if test x$gcc_no_link = xyes; then
32213   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32215    { (exit 1); exit 1; }; }
32216 fi
32217 cat >conftest.$ac_ext <<_ACEOF
32218 /* confdefs.h.  */
32219 _ACEOF
32220 cat confdefs.h >>conftest.$ac_ext
32221 cat >>conftest.$ac_ext <<_ACEOF
32222 /* end confdefs.h.  */
32223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32224    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32225 #define $ac_func innocuous_$ac_func
32226
32227 /* System header to define __stub macros and hopefully few prototypes,
32228     which can conflict with char $ac_func (); below.
32229     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32230     <limits.h> exists even on freestanding compilers.  */
32231
32232 #ifdef __STDC__
32233 # include <limits.h>
32234 #else
32235 # include <assert.h>
32236 #endif
32237
32238 #undef $ac_func
32239
32240 /* Override any gcc2 internal prototype to avoid an error.  */
32241 #ifdef __cplusplus
32242 extern "C"
32243 {
32244 #endif
32245 /* We use char because int might match the return type of a gcc2
32246    builtin and then its argument prototype would still apply.  */
32247 char $ac_func ();
32248 /* The GNU C library defines this for functions which it implements
32249     to always fail with ENOSYS.  Some functions are actually named
32250     something starting with __ and the normal name is an alias.  */
32251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32252 choke me
32253 #else
32254 char (*f) () = $ac_func;
32255 #endif
32256 #ifdef __cplusplus
32257 }
32258 #endif
32259
32260 int
32261 main ()
32262 {
32263 return f != $ac_func;
32264   ;
32265   return 0;
32266 }
32267 _ACEOF
32268 rm -f conftest.$ac_objext conftest$ac_exeext
32269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32270   (eval $ac_link) 2>conftest.er1
32271   ac_status=$?
32272   grep -v '^ *+' conftest.er1 >conftest.err
32273   rm -f conftest.er1
32274   cat conftest.err >&5
32275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32276   (exit $ac_status); } &&
32277          { ac_try='test -z "$ac_c_werror_flag"
32278                          || test ! -s conftest.err'
32279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32280   (eval $ac_try) 2>&5
32281   ac_status=$?
32282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32283   (exit $ac_status); }; } &&
32284          { ac_try='test -s conftest$ac_exeext'
32285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32286   (eval $ac_try) 2>&5
32287   ac_status=$?
32288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32289   (exit $ac_status); }; }; then
32290   eval "$as_ac_var=yes"
32291 else
32292   echo "$as_me: failed program was:" >&5
32293 sed 's/^/| /' conftest.$ac_ext >&5
32294
32295 eval "$as_ac_var=no"
32296 fi
32297 rm -f conftest.err conftest.$ac_objext \
32298       conftest$ac_exeext conftest.$ac_ext
32299 fi
32300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32302 if test `eval echo '${'$as_ac_var'}'` = yes; then
32303   cat >>confdefs.h <<_ACEOF
32304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32305 _ACEOF
32306
32307 fi
32308 done
32309
32310     fi
32311   fi
32312
32313
32314
32315
32316
32317
32318   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
32319 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
32320   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32321     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
32322   echo $ECHO_N "(cached) $ECHO_C" >&6
32323 else
32324
32325
32326
32327       ac_ext=cc
32328 ac_cpp='$CXXCPP $CPPFLAGS'
32329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32332
32333       cat >conftest.$ac_ext <<_ACEOF
32334 /* confdefs.h.  */
32335 _ACEOF
32336 cat confdefs.h >>conftest.$ac_ext
32337 cat >>conftest.$ac_ext <<_ACEOF
32338 /* end confdefs.h.  */
32339 #include <math.h>
32340 int
32341 main ()
32342 {
32343  frexpl(0, 0);
32344   ;
32345   return 0;
32346 }
32347 _ACEOF
32348 rm -f conftest.$ac_objext
32349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32350   (eval $ac_compile) 2>conftest.er1
32351   ac_status=$?
32352   grep -v '^ *+' conftest.er1 >conftest.err
32353   rm -f conftest.er1
32354   cat conftest.err >&5
32355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32356   (exit $ac_status); } &&
32357          { ac_try='test -z "$ac_cxx_werror_flag"
32358                          || test ! -s conftest.err'
32359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32360   (eval $ac_try) 2>&5
32361   ac_status=$?
32362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32363   (exit $ac_status); }; } &&
32364          { ac_try='test -s conftest.$ac_objext'
32365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32366   (eval $ac_try) 2>&5
32367   ac_status=$?
32368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32369   (exit $ac_status); }; }; then
32370   glibcxx_cv_func_frexpl_use=yes
32371 else
32372   echo "$as_me: failed program was:" >&5
32373 sed 's/^/| /' conftest.$ac_ext >&5
32374
32375 glibcxx_cv_func_frexpl_use=no
32376 fi
32377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32378       ac_ext=c
32379 ac_cpp='$CPP $CPPFLAGS'
32380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32383
32384
32385 fi
32386
32387   fi
32388   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
32389 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
32390
32391   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32392
32393 for ac_func in frexpl
32394 do
32395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32396 echo "$as_me:$LINENO: checking for $ac_func" >&5
32397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32398 if eval "test \"\${$as_ac_var+set}\" = set"; then
32399   echo $ECHO_N "(cached) $ECHO_C" >&6
32400 else
32401   if test x$gcc_no_link = xyes; then
32402   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32404    { (exit 1); exit 1; }; }
32405 fi
32406 cat >conftest.$ac_ext <<_ACEOF
32407 /* confdefs.h.  */
32408 _ACEOF
32409 cat confdefs.h >>conftest.$ac_ext
32410 cat >>conftest.$ac_ext <<_ACEOF
32411 /* end confdefs.h.  */
32412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32413    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32414 #define $ac_func innocuous_$ac_func
32415
32416 /* System header to define __stub macros and hopefully few prototypes,
32417     which can conflict with char $ac_func (); below.
32418     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32419     <limits.h> exists even on freestanding compilers.  */
32420
32421 #ifdef __STDC__
32422 # include <limits.h>
32423 #else
32424 # include <assert.h>
32425 #endif
32426
32427 #undef $ac_func
32428
32429 /* Override any gcc2 internal prototype to avoid an error.  */
32430 #ifdef __cplusplus
32431 extern "C"
32432 {
32433 #endif
32434 /* We use char because int might match the return type of a gcc2
32435    builtin and then its argument prototype would still apply.  */
32436 char $ac_func ();
32437 /* The GNU C library defines this for functions which it implements
32438     to always fail with ENOSYS.  Some functions are actually named
32439     something starting with __ and the normal name is an alias.  */
32440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32441 choke me
32442 #else
32443 char (*f) () = $ac_func;
32444 #endif
32445 #ifdef __cplusplus
32446 }
32447 #endif
32448
32449 int
32450 main ()
32451 {
32452 return f != $ac_func;
32453   ;
32454   return 0;
32455 }
32456 _ACEOF
32457 rm -f conftest.$ac_objext conftest$ac_exeext
32458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32459   (eval $ac_link) 2>conftest.er1
32460   ac_status=$?
32461   grep -v '^ *+' conftest.er1 >conftest.err
32462   rm -f conftest.er1
32463   cat conftest.err >&5
32464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32465   (exit $ac_status); } &&
32466          { ac_try='test -z "$ac_c_werror_flag"
32467                          || test ! -s conftest.err'
32468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32469   (eval $ac_try) 2>&5
32470   ac_status=$?
32471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32472   (exit $ac_status); }; } &&
32473          { ac_try='test -s conftest$ac_exeext'
32474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32475   (eval $ac_try) 2>&5
32476   ac_status=$?
32477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32478   (exit $ac_status); }; }; then
32479   eval "$as_ac_var=yes"
32480 else
32481   echo "$as_me: failed program was:" >&5
32482 sed 's/^/| /' conftest.$ac_ext >&5
32483
32484 eval "$as_ac_var=no"
32485 fi
32486 rm -f conftest.err conftest.$ac_objext \
32487       conftest$ac_exeext conftest.$ac_ext
32488 fi
32489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32491 if test `eval echo '${'$as_ac_var'}'` = yes; then
32492   cat >>confdefs.h <<_ACEOF
32493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32494 _ACEOF
32495
32496 fi
32497 done
32498
32499   else
32500
32501   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
32502 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
32503   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32504     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
32505   echo $ECHO_N "(cached) $ECHO_C" >&6
32506 else
32507
32508
32509
32510       ac_ext=cc
32511 ac_cpp='$CXXCPP $CPPFLAGS'
32512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32515
32516       cat >conftest.$ac_ext <<_ACEOF
32517 /* confdefs.h.  */
32518 _ACEOF
32519 cat confdefs.h >>conftest.$ac_ext
32520 cat >>conftest.$ac_ext <<_ACEOF
32521 /* end confdefs.h.  */
32522 #include <math.h>
32523 int
32524 main ()
32525 {
32526  _frexpl(0, 0);
32527   ;
32528   return 0;
32529 }
32530 _ACEOF
32531 rm -f conftest.$ac_objext
32532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32533   (eval $ac_compile) 2>conftest.er1
32534   ac_status=$?
32535   grep -v '^ *+' conftest.er1 >conftest.err
32536   rm -f conftest.er1
32537   cat conftest.err >&5
32538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32539   (exit $ac_status); } &&
32540          { ac_try='test -z "$ac_cxx_werror_flag"
32541                          || test ! -s conftest.err'
32542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32543   (eval $ac_try) 2>&5
32544   ac_status=$?
32545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32546   (exit $ac_status); }; } &&
32547          { ac_try='test -s conftest.$ac_objext'
32548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32549   (eval $ac_try) 2>&5
32550   ac_status=$?
32551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32552   (exit $ac_status); }; }; then
32553   glibcxx_cv_func__frexpl_use=yes
32554 else
32555   echo "$as_me: failed program was:" >&5
32556 sed 's/^/| /' conftest.$ac_ext >&5
32557
32558 glibcxx_cv_func__frexpl_use=no
32559 fi
32560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32561       ac_ext=c
32562 ac_cpp='$CPP $CPPFLAGS'
32563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32566
32567
32568 fi
32569
32570   fi
32571   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
32572 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
32573
32574     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32575
32576 for ac_func in _frexpl
32577 do
32578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32579 echo "$as_me:$LINENO: checking for $ac_func" >&5
32580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32581 if eval "test \"\${$as_ac_var+set}\" = set"; then
32582   echo $ECHO_N "(cached) $ECHO_C" >&6
32583 else
32584   if test x$gcc_no_link = xyes; then
32585   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32587    { (exit 1); exit 1; }; }
32588 fi
32589 cat >conftest.$ac_ext <<_ACEOF
32590 /* confdefs.h.  */
32591 _ACEOF
32592 cat confdefs.h >>conftest.$ac_ext
32593 cat >>conftest.$ac_ext <<_ACEOF
32594 /* end confdefs.h.  */
32595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32596    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32597 #define $ac_func innocuous_$ac_func
32598
32599 /* System header to define __stub macros and hopefully few prototypes,
32600     which can conflict with char $ac_func (); below.
32601     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32602     <limits.h> exists even on freestanding compilers.  */
32603
32604 #ifdef __STDC__
32605 # include <limits.h>
32606 #else
32607 # include <assert.h>
32608 #endif
32609
32610 #undef $ac_func
32611
32612 /* Override any gcc2 internal prototype to avoid an error.  */
32613 #ifdef __cplusplus
32614 extern "C"
32615 {
32616 #endif
32617 /* We use char because int might match the return type of a gcc2
32618    builtin and then its argument prototype would still apply.  */
32619 char $ac_func ();
32620 /* The GNU C library defines this for functions which it implements
32621     to always fail with ENOSYS.  Some functions are actually named
32622     something starting with __ and the normal name is an alias.  */
32623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32624 choke me
32625 #else
32626 char (*f) () = $ac_func;
32627 #endif
32628 #ifdef __cplusplus
32629 }
32630 #endif
32631
32632 int
32633 main ()
32634 {
32635 return f != $ac_func;
32636   ;
32637   return 0;
32638 }
32639 _ACEOF
32640 rm -f conftest.$ac_objext conftest$ac_exeext
32641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32642   (eval $ac_link) 2>conftest.er1
32643   ac_status=$?
32644   grep -v '^ *+' conftest.er1 >conftest.err
32645   rm -f conftest.er1
32646   cat conftest.err >&5
32647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32648   (exit $ac_status); } &&
32649          { ac_try='test -z "$ac_c_werror_flag"
32650                          || test ! -s conftest.err'
32651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32652   (eval $ac_try) 2>&5
32653   ac_status=$?
32654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32655   (exit $ac_status); }; } &&
32656          { ac_try='test -s conftest$ac_exeext'
32657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32658   (eval $ac_try) 2>&5
32659   ac_status=$?
32660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32661   (exit $ac_status); }; }; then
32662   eval "$as_ac_var=yes"
32663 else
32664   echo "$as_me: failed program was:" >&5
32665 sed 's/^/| /' conftest.$ac_ext >&5
32666
32667 eval "$as_ac_var=no"
32668 fi
32669 rm -f conftest.err conftest.$ac_objext \
32670       conftest$ac_exeext conftest.$ac_ext
32671 fi
32672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32674 if test `eval echo '${'$as_ac_var'}'` = yes; then
32675   cat >>confdefs.h <<_ACEOF
32676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32677 _ACEOF
32678
32679 fi
32680 done
32681
32682     fi
32683   fi
32684
32685
32686
32687
32688
32689
32690   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
32691 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
32692   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32693     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
32694   echo $ECHO_N "(cached) $ECHO_C" >&6
32695 else
32696
32697
32698
32699       ac_ext=cc
32700 ac_cpp='$CXXCPP $CPPFLAGS'
32701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32704
32705       cat >conftest.$ac_ext <<_ACEOF
32706 /* confdefs.h.  */
32707 _ACEOF
32708 cat confdefs.h >>conftest.$ac_ext
32709 cat >>conftest.$ac_ext <<_ACEOF
32710 /* end confdefs.h.  */
32711 #include <math.h>
32712 int
32713 main ()
32714 {
32715  hypotl(0, 0);
32716   ;
32717   return 0;
32718 }
32719 _ACEOF
32720 rm -f conftest.$ac_objext
32721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32722   (eval $ac_compile) 2>conftest.er1
32723   ac_status=$?
32724   grep -v '^ *+' conftest.er1 >conftest.err
32725   rm -f conftest.er1
32726   cat conftest.err >&5
32727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32728   (exit $ac_status); } &&
32729          { ac_try='test -z "$ac_cxx_werror_flag"
32730                          || test ! -s conftest.err'
32731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32732   (eval $ac_try) 2>&5
32733   ac_status=$?
32734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32735   (exit $ac_status); }; } &&
32736          { ac_try='test -s conftest.$ac_objext'
32737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32738   (eval $ac_try) 2>&5
32739   ac_status=$?
32740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32741   (exit $ac_status); }; }; then
32742   glibcxx_cv_func_hypotl_use=yes
32743 else
32744   echo "$as_me: failed program was:" >&5
32745 sed 's/^/| /' conftest.$ac_ext >&5
32746
32747 glibcxx_cv_func_hypotl_use=no
32748 fi
32749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32750       ac_ext=c
32751 ac_cpp='$CPP $CPPFLAGS'
32752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32755
32756
32757 fi
32758
32759   fi
32760   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
32761 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
32762
32763   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32764
32765 for ac_func in hypotl
32766 do
32767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32768 echo "$as_me:$LINENO: checking for $ac_func" >&5
32769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32770 if eval "test \"\${$as_ac_var+set}\" = set"; then
32771   echo $ECHO_N "(cached) $ECHO_C" >&6
32772 else
32773   if test x$gcc_no_link = xyes; then
32774   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32776    { (exit 1); exit 1; }; }
32777 fi
32778 cat >conftest.$ac_ext <<_ACEOF
32779 /* confdefs.h.  */
32780 _ACEOF
32781 cat confdefs.h >>conftest.$ac_ext
32782 cat >>conftest.$ac_ext <<_ACEOF
32783 /* end confdefs.h.  */
32784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32785    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32786 #define $ac_func innocuous_$ac_func
32787
32788 /* System header to define __stub macros and hopefully few prototypes,
32789     which can conflict with char $ac_func (); below.
32790     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32791     <limits.h> exists even on freestanding compilers.  */
32792
32793 #ifdef __STDC__
32794 # include <limits.h>
32795 #else
32796 # include <assert.h>
32797 #endif
32798
32799 #undef $ac_func
32800
32801 /* Override any gcc2 internal prototype to avoid an error.  */
32802 #ifdef __cplusplus
32803 extern "C"
32804 {
32805 #endif
32806 /* We use char because int might match the return type of a gcc2
32807    builtin and then its argument prototype would still apply.  */
32808 char $ac_func ();
32809 /* The GNU C library defines this for functions which it implements
32810     to always fail with ENOSYS.  Some functions are actually named
32811     something starting with __ and the normal name is an alias.  */
32812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32813 choke me
32814 #else
32815 char (*f) () = $ac_func;
32816 #endif
32817 #ifdef __cplusplus
32818 }
32819 #endif
32820
32821 int
32822 main ()
32823 {
32824 return f != $ac_func;
32825   ;
32826   return 0;
32827 }
32828 _ACEOF
32829 rm -f conftest.$ac_objext conftest$ac_exeext
32830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32831   (eval $ac_link) 2>conftest.er1
32832   ac_status=$?
32833   grep -v '^ *+' conftest.er1 >conftest.err
32834   rm -f conftest.er1
32835   cat conftest.err >&5
32836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32837   (exit $ac_status); } &&
32838          { ac_try='test -z "$ac_c_werror_flag"
32839                          || test ! -s conftest.err'
32840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32841   (eval $ac_try) 2>&5
32842   ac_status=$?
32843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32844   (exit $ac_status); }; } &&
32845          { ac_try='test -s conftest$ac_exeext'
32846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32847   (eval $ac_try) 2>&5
32848   ac_status=$?
32849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32850   (exit $ac_status); }; }; then
32851   eval "$as_ac_var=yes"
32852 else
32853   echo "$as_me: failed program was:" >&5
32854 sed 's/^/| /' conftest.$ac_ext >&5
32855
32856 eval "$as_ac_var=no"
32857 fi
32858 rm -f conftest.err conftest.$ac_objext \
32859       conftest$ac_exeext conftest.$ac_ext
32860 fi
32861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32863 if test `eval echo '${'$as_ac_var'}'` = yes; then
32864   cat >>confdefs.h <<_ACEOF
32865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32866 _ACEOF
32867
32868 fi
32869 done
32870
32871   else
32872
32873   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
32874 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
32875   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32876     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
32877   echo $ECHO_N "(cached) $ECHO_C" >&6
32878 else
32879
32880
32881
32882       ac_ext=cc
32883 ac_cpp='$CXXCPP $CPPFLAGS'
32884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32887
32888       cat >conftest.$ac_ext <<_ACEOF
32889 /* confdefs.h.  */
32890 _ACEOF
32891 cat confdefs.h >>conftest.$ac_ext
32892 cat >>conftest.$ac_ext <<_ACEOF
32893 /* end confdefs.h.  */
32894 #include <math.h>
32895 int
32896 main ()
32897 {
32898  _hypotl(0, 0);
32899   ;
32900   return 0;
32901 }
32902 _ACEOF
32903 rm -f conftest.$ac_objext
32904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32905   (eval $ac_compile) 2>conftest.er1
32906   ac_status=$?
32907   grep -v '^ *+' conftest.er1 >conftest.err
32908   rm -f conftest.er1
32909   cat conftest.err >&5
32910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32911   (exit $ac_status); } &&
32912          { ac_try='test -z "$ac_cxx_werror_flag"
32913                          || test ! -s conftest.err'
32914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32915   (eval $ac_try) 2>&5
32916   ac_status=$?
32917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32918   (exit $ac_status); }; } &&
32919          { ac_try='test -s conftest.$ac_objext'
32920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32921   (eval $ac_try) 2>&5
32922   ac_status=$?
32923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32924   (exit $ac_status); }; }; then
32925   glibcxx_cv_func__hypotl_use=yes
32926 else
32927   echo "$as_me: failed program was:" >&5
32928 sed 's/^/| /' conftest.$ac_ext >&5
32929
32930 glibcxx_cv_func__hypotl_use=no
32931 fi
32932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32933       ac_ext=c
32934 ac_cpp='$CPP $CPPFLAGS'
32935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32938
32939
32940 fi
32941
32942   fi
32943   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
32944 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
32945
32946     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32947
32948 for ac_func in _hypotl
32949 do
32950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32951 echo "$as_me:$LINENO: checking for $ac_func" >&5
32952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32953 if eval "test \"\${$as_ac_var+set}\" = set"; then
32954   echo $ECHO_N "(cached) $ECHO_C" >&6
32955 else
32956   if test x$gcc_no_link = xyes; then
32957   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32959    { (exit 1); exit 1; }; }
32960 fi
32961 cat >conftest.$ac_ext <<_ACEOF
32962 /* confdefs.h.  */
32963 _ACEOF
32964 cat confdefs.h >>conftest.$ac_ext
32965 cat >>conftest.$ac_ext <<_ACEOF
32966 /* end confdefs.h.  */
32967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32968    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32969 #define $ac_func innocuous_$ac_func
32970
32971 /* System header to define __stub macros and hopefully few prototypes,
32972     which can conflict with char $ac_func (); below.
32973     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32974     <limits.h> exists even on freestanding compilers.  */
32975
32976 #ifdef __STDC__
32977 # include <limits.h>
32978 #else
32979 # include <assert.h>
32980 #endif
32981
32982 #undef $ac_func
32983
32984 /* Override any gcc2 internal prototype to avoid an error.  */
32985 #ifdef __cplusplus
32986 extern "C"
32987 {
32988 #endif
32989 /* We use char because int might match the return type of a gcc2
32990    builtin and then its argument prototype would still apply.  */
32991 char $ac_func ();
32992 /* The GNU C library defines this for functions which it implements
32993     to always fail with ENOSYS.  Some functions are actually named
32994     something starting with __ and the normal name is an alias.  */
32995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32996 choke me
32997 #else
32998 char (*f) () = $ac_func;
32999 #endif
33000 #ifdef __cplusplus
33001 }
33002 #endif
33003
33004 int
33005 main ()
33006 {
33007 return f != $ac_func;
33008   ;
33009   return 0;
33010 }
33011 _ACEOF
33012 rm -f conftest.$ac_objext conftest$ac_exeext
33013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33014   (eval $ac_link) 2>conftest.er1
33015   ac_status=$?
33016   grep -v '^ *+' conftest.er1 >conftest.err
33017   rm -f conftest.er1
33018   cat conftest.err >&5
33019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33020   (exit $ac_status); } &&
33021          { ac_try='test -z "$ac_c_werror_flag"
33022                          || test ! -s conftest.err'
33023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33024   (eval $ac_try) 2>&5
33025   ac_status=$?
33026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33027   (exit $ac_status); }; } &&
33028          { ac_try='test -s conftest$ac_exeext'
33029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33030   (eval $ac_try) 2>&5
33031   ac_status=$?
33032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33033   (exit $ac_status); }; }; then
33034   eval "$as_ac_var=yes"
33035 else
33036   echo "$as_me: failed program was:" >&5
33037 sed 's/^/| /' conftest.$ac_ext >&5
33038
33039 eval "$as_ac_var=no"
33040 fi
33041 rm -f conftest.err conftest.$ac_objext \
33042       conftest$ac_exeext conftest.$ac_ext
33043 fi
33044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33046 if test `eval echo '${'$as_ac_var'}'` = yes; then
33047   cat >>confdefs.h <<_ACEOF
33048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33049 _ACEOF
33050
33051 fi
33052 done
33053
33054     fi
33055   fi
33056
33057
33058
33059
33060
33061
33062   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
33063 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
33064   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33065     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
33066   echo $ECHO_N "(cached) $ECHO_C" >&6
33067 else
33068
33069
33070
33071       ac_ext=cc
33072 ac_cpp='$CXXCPP $CPPFLAGS'
33073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33076
33077       cat >conftest.$ac_ext <<_ACEOF
33078 /* confdefs.h.  */
33079 _ACEOF
33080 cat confdefs.h >>conftest.$ac_ext
33081 cat >>conftest.$ac_ext <<_ACEOF
33082 /* end confdefs.h.  */
33083 #include <math.h>
33084 int
33085 main ()
33086 {
33087  ldexpl(0, 0);
33088   ;
33089   return 0;
33090 }
33091 _ACEOF
33092 rm -f conftest.$ac_objext
33093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33094   (eval $ac_compile) 2>conftest.er1
33095   ac_status=$?
33096   grep -v '^ *+' conftest.er1 >conftest.err
33097   rm -f conftest.er1
33098   cat conftest.err >&5
33099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33100   (exit $ac_status); } &&
33101          { ac_try='test -z "$ac_cxx_werror_flag"
33102                          || test ! -s conftest.err'
33103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33104   (eval $ac_try) 2>&5
33105   ac_status=$?
33106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33107   (exit $ac_status); }; } &&
33108          { ac_try='test -s conftest.$ac_objext'
33109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33110   (eval $ac_try) 2>&5
33111   ac_status=$?
33112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33113   (exit $ac_status); }; }; then
33114   glibcxx_cv_func_ldexpl_use=yes
33115 else
33116   echo "$as_me: failed program was:" >&5
33117 sed 's/^/| /' conftest.$ac_ext >&5
33118
33119 glibcxx_cv_func_ldexpl_use=no
33120 fi
33121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33122       ac_ext=c
33123 ac_cpp='$CPP $CPPFLAGS'
33124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33127
33128
33129 fi
33130
33131   fi
33132   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
33133 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
33134
33135   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33136
33137 for ac_func in ldexpl
33138 do
33139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33140 echo "$as_me:$LINENO: checking for $ac_func" >&5
33141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33142 if eval "test \"\${$as_ac_var+set}\" = set"; then
33143   echo $ECHO_N "(cached) $ECHO_C" >&6
33144 else
33145   if test x$gcc_no_link = xyes; then
33146   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33148    { (exit 1); exit 1; }; }
33149 fi
33150 cat >conftest.$ac_ext <<_ACEOF
33151 /* confdefs.h.  */
33152 _ACEOF
33153 cat confdefs.h >>conftest.$ac_ext
33154 cat >>conftest.$ac_ext <<_ACEOF
33155 /* end confdefs.h.  */
33156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33157    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33158 #define $ac_func innocuous_$ac_func
33159
33160 /* System header to define __stub macros and hopefully few prototypes,
33161     which can conflict with char $ac_func (); below.
33162     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33163     <limits.h> exists even on freestanding compilers.  */
33164
33165 #ifdef __STDC__
33166 # include <limits.h>
33167 #else
33168 # include <assert.h>
33169 #endif
33170
33171 #undef $ac_func
33172
33173 /* Override any gcc2 internal prototype to avoid an error.  */
33174 #ifdef __cplusplus
33175 extern "C"
33176 {
33177 #endif
33178 /* We use char because int might match the return type of a gcc2
33179    builtin and then its argument prototype would still apply.  */
33180 char $ac_func ();
33181 /* The GNU C library defines this for functions which it implements
33182     to always fail with ENOSYS.  Some functions are actually named
33183     something starting with __ and the normal name is an alias.  */
33184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33185 choke me
33186 #else
33187 char (*f) () = $ac_func;
33188 #endif
33189 #ifdef __cplusplus
33190 }
33191 #endif
33192
33193 int
33194 main ()
33195 {
33196 return f != $ac_func;
33197   ;
33198   return 0;
33199 }
33200 _ACEOF
33201 rm -f conftest.$ac_objext conftest$ac_exeext
33202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33203   (eval $ac_link) 2>conftest.er1
33204   ac_status=$?
33205   grep -v '^ *+' conftest.er1 >conftest.err
33206   rm -f conftest.er1
33207   cat conftest.err >&5
33208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33209   (exit $ac_status); } &&
33210          { ac_try='test -z "$ac_c_werror_flag"
33211                          || test ! -s conftest.err'
33212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33213   (eval $ac_try) 2>&5
33214   ac_status=$?
33215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33216   (exit $ac_status); }; } &&
33217          { ac_try='test -s conftest$ac_exeext'
33218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33219   (eval $ac_try) 2>&5
33220   ac_status=$?
33221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33222   (exit $ac_status); }; }; then
33223   eval "$as_ac_var=yes"
33224 else
33225   echo "$as_me: failed program was:" >&5
33226 sed 's/^/| /' conftest.$ac_ext >&5
33227
33228 eval "$as_ac_var=no"
33229 fi
33230 rm -f conftest.err conftest.$ac_objext \
33231       conftest$ac_exeext conftest.$ac_ext
33232 fi
33233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33235 if test `eval echo '${'$as_ac_var'}'` = yes; then
33236   cat >>confdefs.h <<_ACEOF
33237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33238 _ACEOF
33239
33240 fi
33241 done
33242
33243   else
33244
33245   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
33246 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
33247   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33248     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
33249   echo $ECHO_N "(cached) $ECHO_C" >&6
33250 else
33251
33252
33253
33254       ac_ext=cc
33255 ac_cpp='$CXXCPP $CPPFLAGS'
33256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33259
33260       cat >conftest.$ac_ext <<_ACEOF
33261 /* confdefs.h.  */
33262 _ACEOF
33263 cat confdefs.h >>conftest.$ac_ext
33264 cat >>conftest.$ac_ext <<_ACEOF
33265 /* end confdefs.h.  */
33266 #include <math.h>
33267 int
33268 main ()
33269 {
33270  _ldexpl(0, 0);
33271   ;
33272   return 0;
33273 }
33274 _ACEOF
33275 rm -f conftest.$ac_objext
33276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33277   (eval $ac_compile) 2>conftest.er1
33278   ac_status=$?
33279   grep -v '^ *+' conftest.er1 >conftest.err
33280   rm -f conftest.er1
33281   cat conftest.err >&5
33282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33283   (exit $ac_status); } &&
33284          { ac_try='test -z "$ac_cxx_werror_flag"
33285                          || test ! -s conftest.err'
33286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33287   (eval $ac_try) 2>&5
33288   ac_status=$?
33289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33290   (exit $ac_status); }; } &&
33291          { ac_try='test -s conftest.$ac_objext'
33292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33293   (eval $ac_try) 2>&5
33294   ac_status=$?
33295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33296   (exit $ac_status); }; }; then
33297   glibcxx_cv_func__ldexpl_use=yes
33298 else
33299   echo "$as_me: failed program was:" >&5
33300 sed 's/^/| /' conftest.$ac_ext >&5
33301
33302 glibcxx_cv_func__ldexpl_use=no
33303 fi
33304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33305       ac_ext=c
33306 ac_cpp='$CPP $CPPFLAGS'
33307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33310
33311
33312 fi
33313
33314   fi
33315   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
33316 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
33317
33318     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33319
33320 for ac_func in _ldexpl
33321 do
33322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33323 echo "$as_me:$LINENO: checking for $ac_func" >&5
33324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33325 if eval "test \"\${$as_ac_var+set}\" = set"; then
33326   echo $ECHO_N "(cached) $ECHO_C" >&6
33327 else
33328   if test x$gcc_no_link = xyes; then
33329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33331    { (exit 1); exit 1; }; }
33332 fi
33333 cat >conftest.$ac_ext <<_ACEOF
33334 /* confdefs.h.  */
33335 _ACEOF
33336 cat confdefs.h >>conftest.$ac_ext
33337 cat >>conftest.$ac_ext <<_ACEOF
33338 /* end confdefs.h.  */
33339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33340    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33341 #define $ac_func innocuous_$ac_func
33342
33343 /* System header to define __stub macros and hopefully few prototypes,
33344     which can conflict with char $ac_func (); below.
33345     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33346     <limits.h> exists even on freestanding compilers.  */
33347
33348 #ifdef __STDC__
33349 # include <limits.h>
33350 #else
33351 # include <assert.h>
33352 #endif
33353
33354 #undef $ac_func
33355
33356 /* Override any gcc2 internal prototype to avoid an error.  */
33357 #ifdef __cplusplus
33358 extern "C"
33359 {
33360 #endif
33361 /* We use char because int might match the return type of a gcc2
33362    builtin and then its argument prototype would still apply.  */
33363 char $ac_func ();
33364 /* The GNU C library defines this for functions which it implements
33365     to always fail with ENOSYS.  Some functions are actually named
33366     something starting with __ and the normal name is an alias.  */
33367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33368 choke me
33369 #else
33370 char (*f) () = $ac_func;
33371 #endif
33372 #ifdef __cplusplus
33373 }
33374 #endif
33375
33376 int
33377 main ()
33378 {
33379 return f != $ac_func;
33380   ;
33381   return 0;
33382 }
33383 _ACEOF
33384 rm -f conftest.$ac_objext conftest$ac_exeext
33385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33386   (eval $ac_link) 2>conftest.er1
33387   ac_status=$?
33388   grep -v '^ *+' conftest.er1 >conftest.err
33389   rm -f conftest.er1
33390   cat conftest.err >&5
33391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33392   (exit $ac_status); } &&
33393          { ac_try='test -z "$ac_c_werror_flag"
33394                          || test ! -s conftest.err'
33395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33396   (eval $ac_try) 2>&5
33397   ac_status=$?
33398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33399   (exit $ac_status); }; } &&
33400          { ac_try='test -s conftest$ac_exeext'
33401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33402   (eval $ac_try) 2>&5
33403   ac_status=$?
33404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33405   (exit $ac_status); }; }; then
33406   eval "$as_ac_var=yes"
33407 else
33408   echo "$as_me: failed program was:" >&5
33409 sed 's/^/| /' conftest.$ac_ext >&5
33410
33411 eval "$as_ac_var=no"
33412 fi
33413 rm -f conftest.err conftest.$ac_objext \
33414       conftest$ac_exeext conftest.$ac_ext
33415 fi
33416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33418 if test `eval echo '${'$as_ac_var'}'` = yes; then
33419   cat >>confdefs.h <<_ACEOF
33420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33421 _ACEOF
33422
33423 fi
33424 done
33425
33426     fi
33427   fi
33428
33429
33430
33431
33432
33433
33434   echo "$as_me:$LINENO: checking for logl declaration" >&5
33435 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
33436   if test x${glibcxx_cv_func_logl_use+set} != xset; then
33437     if test "${glibcxx_cv_func_logl_use+set}" = set; then
33438   echo $ECHO_N "(cached) $ECHO_C" >&6
33439 else
33440
33441
33442
33443       ac_ext=cc
33444 ac_cpp='$CXXCPP $CPPFLAGS'
33445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33448
33449       cat >conftest.$ac_ext <<_ACEOF
33450 /* confdefs.h.  */
33451 _ACEOF
33452 cat confdefs.h >>conftest.$ac_ext
33453 cat >>conftest.$ac_ext <<_ACEOF
33454 /* end confdefs.h.  */
33455 #include <math.h>
33456                       #ifdef HAVE_IEEEFP_H
33457                       #include <ieeefp.h>
33458                       #endif
33459
33460 int
33461 main ()
33462 {
33463  logl(0);
33464   ;
33465   return 0;
33466 }
33467 _ACEOF
33468 rm -f conftest.$ac_objext
33469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33470   (eval $ac_compile) 2>conftest.er1
33471   ac_status=$?
33472   grep -v '^ *+' conftest.er1 >conftest.err
33473   rm -f conftest.er1
33474   cat conftest.err >&5
33475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33476   (exit $ac_status); } &&
33477          { ac_try='test -z "$ac_cxx_werror_flag"
33478                          || test ! -s conftest.err'
33479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33480   (eval $ac_try) 2>&5
33481   ac_status=$?
33482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33483   (exit $ac_status); }; } &&
33484          { ac_try='test -s conftest.$ac_objext'
33485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33486   (eval $ac_try) 2>&5
33487   ac_status=$?
33488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33489   (exit $ac_status); }; }; then
33490   glibcxx_cv_func_logl_use=yes
33491 else
33492   echo "$as_me: failed program was:" >&5
33493 sed 's/^/| /' conftest.$ac_ext >&5
33494
33495 glibcxx_cv_func_logl_use=no
33496 fi
33497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33498       ac_ext=c
33499 ac_cpp='$CPP $CPPFLAGS'
33500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33503
33504
33505 fi
33506
33507   fi
33508   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
33509 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
33510
33511   if test x$glibcxx_cv_func_logl_use = x"yes"; then
33512
33513 for ac_func in logl
33514 do
33515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33516 echo "$as_me:$LINENO: checking for $ac_func" >&5
33517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33518 if eval "test \"\${$as_ac_var+set}\" = set"; then
33519   echo $ECHO_N "(cached) $ECHO_C" >&6
33520 else
33521   if test x$gcc_no_link = xyes; then
33522   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33524    { (exit 1); exit 1; }; }
33525 fi
33526 cat >conftest.$ac_ext <<_ACEOF
33527 /* confdefs.h.  */
33528 _ACEOF
33529 cat confdefs.h >>conftest.$ac_ext
33530 cat >>conftest.$ac_ext <<_ACEOF
33531 /* end confdefs.h.  */
33532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33533    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33534 #define $ac_func innocuous_$ac_func
33535
33536 /* System header to define __stub macros and hopefully few prototypes,
33537     which can conflict with char $ac_func (); below.
33538     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33539     <limits.h> exists even on freestanding compilers.  */
33540
33541 #ifdef __STDC__
33542 # include <limits.h>
33543 #else
33544 # include <assert.h>
33545 #endif
33546
33547 #undef $ac_func
33548
33549 /* Override any gcc2 internal prototype to avoid an error.  */
33550 #ifdef __cplusplus
33551 extern "C"
33552 {
33553 #endif
33554 /* We use char because int might match the return type of a gcc2
33555    builtin and then its argument prototype would still apply.  */
33556 char $ac_func ();
33557 /* The GNU C library defines this for functions which it implements
33558     to always fail with ENOSYS.  Some functions are actually named
33559     something starting with __ and the normal name is an alias.  */
33560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33561 choke me
33562 #else
33563 char (*f) () = $ac_func;
33564 #endif
33565 #ifdef __cplusplus
33566 }
33567 #endif
33568
33569 int
33570 main ()
33571 {
33572 return f != $ac_func;
33573   ;
33574   return 0;
33575 }
33576 _ACEOF
33577 rm -f conftest.$ac_objext conftest$ac_exeext
33578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33579   (eval $ac_link) 2>conftest.er1
33580   ac_status=$?
33581   grep -v '^ *+' conftest.er1 >conftest.err
33582   rm -f conftest.er1
33583   cat conftest.err >&5
33584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33585   (exit $ac_status); } &&
33586          { ac_try='test -z "$ac_c_werror_flag"
33587                          || test ! -s conftest.err'
33588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33589   (eval $ac_try) 2>&5
33590   ac_status=$?
33591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33592   (exit $ac_status); }; } &&
33593          { ac_try='test -s conftest$ac_exeext'
33594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33595   (eval $ac_try) 2>&5
33596   ac_status=$?
33597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33598   (exit $ac_status); }; }; then
33599   eval "$as_ac_var=yes"
33600 else
33601   echo "$as_me: failed program was:" >&5
33602 sed 's/^/| /' conftest.$ac_ext >&5
33603
33604 eval "$as_ac_var=no"
33605 fi
33606 rm -f conftest.err conftest.$ac_objext \
33607       conftest$ac_exeext conftest.$ac_ext
33608 fi
33609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33611 if test `eval echo '${'$as_ac_var'}'` = yes; then
33612   cat >>confdefs.h <<_ACEOF
33613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33614 _ACEOF
33615
33616 fi
33617 done
33618
33619   else
33620
33621   echo "$as_me:$LINENO: checking for _logl declaration" >&5
33622 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
33623   if test x${glibcxx_cv_func__logl_use+set} != xset; then
33624     if test "${glibcxx_cv_func__logl_use+set}" = set; then
33625   echo $ECHO_N "(cached) $ECHO_C" >&6
33626 else
33627
33628
33629
33630       ac_ext=cc
33631 ac_cpp='$CXXCPP $CPPFLAGS'
33632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33635
33636       cat >conftest.$ac_ext <<_ACEOF
33637 /* confdefs.h.  */
33638 _ACEOF
33639 cat confdefs.h >>conftest.$ac_ext
33640 cat >>conftest.$ac_ext <<_ACEOF
33641 /* end confdefs.h.  */
33642 #include <math.h>
33643                       #ifdef HAVE_IEEEFP_H
33644                       #include <ieeefp.h>
33645                       #endif
33646
33647 int
33648 main ()
33649 {
33650  _logl(0);
33651   ;
33652   return 0;
33653 }
33654 _ACEOF
33655 rm -f conftest.$ac_objext
33656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33657   (eval $ac_compile) 2>conftest.er1
33658   ac_status=$?
33659   grep -v '^ *+' conftest.er1 >conftest.err
33660   rm -f conftest.er1
33661   cat conftest.err >&5
33662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33663   (exit $ac_status); } &&
33664          { ac_try='test -z "$ac_cxx_werror_flag"
33665                          || test ! -s conftest.err'
33666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33667   (eval $ac_try) 2>&5
33668   ac_status=$?
33669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33670   (exit $ac_status); }; } &&
33671          { ac_try='test -s conftest.$ac_objext'
33672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33673   (eval $ac_try) 2>&5
33674   ac_status=$?
33675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33676   (exit $ac_status); }; }; then
33677   glibcxx_cv_func__logl_use=yes
33678 else
33679   echo "$as_me: failed program was:" >&5
33680 sed 's/^/| /' conftest.$ac_ext >&5
33681
33682 glibcxx_cv_func__logl_use=no
33683 fi
33684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33685       ac_ext=c
33686 ac_cpp='$CPP $CPPFLAGS'
33687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33690
33691
33692 fi
33693
33694   fi
33695   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
33696 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
33697
33698     if test x$glibcxx_cv_func__logl_use = x"yes"; then
33699
33700 for ac_func in _logl
33701 do
33702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33703 echo "$as_me:$LINENO: checking for $ac_func" >&5
33704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33705 if eval "test \"\${$as_ac_var+set}\" = set"; then
33706   echo $ECHO_N "(cached) $ECHO_C" >&6
33707 else
33708   if test x$gcc_no_link = xyes; then
33709   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33711    { (exit 1); exit 1; }; }
33712 fi
33713 cat >conftest.$ac_ext <<_ACEOF
33714 /* confdefs.h.  */
33715 _ACEOF
33716 cat confdefs.h >>conftest.$ac_ext
33717 cat >>conftest.$ac_ext <<_ACEOF
33718 /* end confdefs.h.  */
33719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33720    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33721 #define $ac_func innocuous_$ac_func
33722
33723 /* System header to define __stub macros and hopefully few prototypes,
33724     which can conflict with char $ac_func (); below.
33725     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33726     <limits.h> exists even on freestanding compilers.  */
33727
33728 #ifdef __STDC__
33729 # include <limits.h>
33730 #else
33731 # include <assert.h>
33732 #endif
33733
33734 #undef $ac_func
33735
33736 /* Override any gcc2 internal prototype to avoid an error.  */
33737 #ifdef __cplusplus
33738 extern "C"
33739 {
33740 #endif
33741 /* We use char because int might match the return type of a gcc2
33742    builtin and then its argument prototype would still apply.  */
33743 char $ac_func ();
33744 /* The GNU C library defines this for functions which it implements
33745     to always fail with ENOSYS.  Some functions are actually named
33746     something starting with __ and the normal name is an alias.  */
33747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33748 choke me
33749 #else
33750 char (*f) () = $ac_func;
33751 #endif
33752 #ifdef __cplusplus
33753 }
33754 #endif
33755
33756 int
33757 main ()
33758 {
33759 return f != $ac_func;
33760   ;
33761   return 0;
33762 }
33763 _ACEOF
33764 rm -f conftest.$ac_objext conftest$ac_exeext
33765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33766   (eval $ac_link) 2>conftest.er1
33767   ac_status=$?
33768   grep -v '^ *+' conftest.er1 >conftest.err
33769   rm -f conftest.er1
33770   cat conftest.err >&5
33771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33772   (exit $ac_status); } &&
33773          { ac_try='test -z "$ac_c_werror_flag"
33774                          || test ! -s conftest.err'
33775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33776   (eval $ac_try) 2>&5
33777   ac_status=$?
33778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33779   (exit $ac_status); }; } &&
33780          { ac_try='test -s conftest$ac_exeext'
33781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33782   (eval $ac_try) 2>&5
33783   ac_status=$?
33784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33785   (exit $ac_status); }; }; then
33786   eval "$as_ac_var=yes"
33787 else
33788   echo "$as_me: failed program was:" >&5
33789 sed 's/^/| /' conftest.$ac_ext >&5
33790
33791 eval "$as_ac_var=no"
33792 fi
33793 rm -f conftest.err conftest.$ac_objext \
33794       conftest$ac_exeext conftest.$ac_ext
33795 fi
33796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33798 if test `eval echo '${'$as_ac_var'}'` = yes; then
33799   cat >>confdefs.h <<_ACEOF
33800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33801 _ACEOF
33802
33803 fi
33804 done
33805
33806     fi
33807   fi
33808
33809
33810
33811
33812
33813
33814   echo "$as_me:$LINENO: checking for log10l declaration" >&5
33815 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
33816   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33817     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
33818   echo $ECHO_N "(cached) $ECHO_C" >&6
33819 else
33820
33821
33822
33823       ac_ext=cc
33824 ac_cpp='$CXXCPP $CPPFLAGS'
33825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33828
33829       cat >conftest.$ac_ext <<_ACEOF
33830 /* confdefs.h.  */
33831 _ACEOF
33832 cat confdefs.h >>conftest.$ac_ext
33833 cat >>conftest.$ac_ext <<_ACEOF
33834 /* end confdefs.h.  */
33835 #include <math.h>
33836                       #ifdef HAVE_IEEEFP_H
33837                       #include <ieeefp.h>
33838                       #endif
33839
33840 int
33841 main ()
33842 {
33843  log10l(0);
33844   ;
33845   return 0;
33846 }
33847 _ACEOF
33848 rm -f conftest.$ac_objext
33849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33850   (eval $ac_compile) 2>conftest.er1
33851   ac_status=$?
33852   grep -v '^ *+' conftest.er1 >conftest.err
33853   rm -f conftest.er1
33854   cat conftest.err >&5
33855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33856   (exit $ac_status); } &&
33857          { ac_try='test -z "$ac_cxx_werror_flag"
33858                          || test ! -s conftest.err'
33859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33860   (eval $ac_try) 2>&5
33861   ac_status=$?
33862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33863   (exit $ac_status); }; } &&
33864          { ac_try='test -s conftest.$ac_objext'
33865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33866   (eval $ac_try) 2>&5
33867   ac_status=$?
33868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33869   (exit $ac_status); }; }; then
33870   glibcxx_cv_func_log10l_use=yes
33871 else
33872   echo "$as_me: failed program was:" >&5
33873 sed 's/^/| /' conftest.$ac_ext >&5
33874
33875 glibcxx_cv_func_log10l_use=no
33876 fi
33877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33878       ac_ext=c
33879 ac_cpp='$CPP $CPPFLAGS'
33880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33883
33884
33885 fi
33886
33887   fi
33888   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
33889 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
33890
33891   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33892
33893 for ac_func in log10l
33894 do
33895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33896 echo "$as_me:$LINENO: checking for $ac_func" >&5
33897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33898 if eval "test \"\${$as_ac_var+set}\" = set"; then
33899   echo $ECHO_N "(cached) $ECHO_C" >&6
33900 else
33901   if test x$gcc_no_link = xyes; then
33902   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33904    { (exit 1); exit 1; }; }
33905 fi
33906 cat >conftest.$ac_ext <<_ACEOF
33907 /* confdefs.h.  */
33908 _ACEOF
33909 cat confdefs.h >>conftest.$ac_ext
33910 cat >>conftest.$ac_ext <<_ACEOF
33911 /* end confdefs.h.  */
33912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33913    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33914 #define $ac_func innocuous_$ac_func
33915
33916 /* System header to define __stub macros and hopefully few prototypes,
33917     which can conflict with char $ac_func (); below.
33918     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33919     <limits.h> exists even on freestanding compilers.  */
33920
33921 #ifdef __STDC__
33922 # include <limits.h>
33923 #else
33924 # include <assert.h>
33925 #endif
33926
33927 #undef $ac_func
33928
33929 /* Override any gcc2 internal prototype to avoid an error.  */
33930 #ifdef __cplusplus
33931 extern "C"
33932 {
33933 #endif
33934 /* We use char because int might match the return type of a gcc2
33935    builtin and then its argument prototype would still apply.  */
33936 char $ac_func ();
33937 /* The GNU C library defines this for functions which it implements
33938     to always fail with ENOSYS.  Some functions are actually named
33939     something starting with __ and the normal name is an alias.  */
33940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33941 choke me
33942 #else
33943 char (*f) () = $ac_func;
33944 #endif
33945 #ifdef __cplusplus
33946 }
33947 #endif
33948
33949 int
33950 main ()
33951 {
33952 return f != $ac_func;
33953   ;
33954   return 0;
33955 }
33956 _ACEOF
33957 rm -f conftest.$ac_objext conftest$ac_exeext
33958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33959   (eval $ac_link) 2>conftest.er1
33960   ac_status=$?
33961   grep -v '^ *+' conftest.er1 >conftest.err
33962   rm -f conftest.er1
33963   cat conftest.err >&5
33964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33965   (exit $ac_status); } &&
33966          { ac_try='test -z "$ac_c_werror_flag"
33967                          || test ! -s conftest.err'
33968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33969   (eval $ac_try) 2>&5
33970   ac_status=$?
33971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33972   (exit $ac_status); }; } &&
33973          { ac_try='test -s conftest$ac_exeext'
33974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33975   (eval $ac_try) 2>&5
33976   ac_status=$?
33977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33978   (exit $ac_status); }; }; then
33979   eval "$as_ac_var=yes"
33980 else
33981   echo "$as_me: failed program was:" >&5
33982 sed 's/^/| /' conftest.$ac_ext >&5
33983
33984 eval "$as_ac_var=no"
33985 fi
33986 rm -f conftest.err conftest.$ac_objext \
33987       conftest$ac_exeext conftest.$ac_ext
33988 fi
33989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33991 if test `eval echo '${'$as_ac_var'}'` = yes; then
33992   cat >>confdefs.h <<_ACEOF
33993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33994 _ACEOF
33995
33996 fi
33997 done
33998
33999   else
34000
34001   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
34002 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
34003   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34004     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
34005   echo $ECHO_N "(cached) $ECHO_C" >&6
34006 else
34007
34008
34009
34010       ac_ext=cc
34011 ac_cpp='$CXXCPP $CPPFLAGS'
34012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34015
34016       cat >conftest.$ac_ext <<_ACEOF
34017 /* confdefs.h.  */
34018 _ACEOF
34019 cat confdefs.h >>conftest.$ac_ext
34020 cat >>conftest.$ac_ext <<_ACEOF
34021 /* end confdefs.h.  */
34022 #include <math.h>
34023                       #ifdef HAVE_IEEEFP_H
34024                       #include <ieeefp.h>
34025                       #endif
34026
34027 int
34028 main ()
34029 {
34030  _log10l(0);
34031   ;
34032   return 0;
34033 }
34034 _ACEOF
34035 rm -f conftest.$ac_objext
34036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34037   (eval $ac_compile) 2>conftest.er1
34038   ac_status=$?
34039   grep -v '^ *+' conftest.er1 >conftest.err
34040   rm -f conftest.er1
34041   cat conftest.err >&5
34042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34043   (exit $ac_status); } &&
34044          { ac_try='test -z "$ac_cxx_werror_flag"
34045                          || test ! -s conftest.err'
34046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34047   (eval $ac_try) 2>&5
34048   ac_status=$?
34049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34050   (exit $ac_status); }; } &&
34051          { ac_try='test -s conftest.$ac_objext'
34052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34053   (eval $ac_try) 2>&5
34054   ac_status=$?
34055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34056   (exit $ac_status); }; }; then
34057   glibcxx_cv_func__log10l_use=yes
34058 else
34059   echo "$as_me: failed program was:" >&5
34060 sed 's/^/| /' conftest.$ac_ext >&5
34061
34062 glibcxx_cv_func__log10l_use=no
34063 fi
34064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34065       ac_ext=c
34066 ac_cpp='$CPP $CPPFLAGS'
34067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34070
34071
34072 fi
34073
34074   fi
34075   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
34076 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
34077
34078     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34079
34080 for ac_func in _log10l
34081 do
34082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34083 echo "$as_me:$LINENO: checking for $ac_func" >&5
34084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34085 if eval "test \"\${$as_ac_var+set}\" = set"; then
34086   echo $ECHO_N "(cached) $ECHO_C" >&6
34087 else
34088   if test x$gcc_no_link = xyes; then
34089   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34091    { (exit 1); exit 1; }; }
34092 fi
34093 cat >conftest.$ac_ext <<_ACEOF
34094 /* confdefs.h.  */
34095 _ACEOF
34096 cat confdefs.h >>conftest.$ac_ext
34097 cat >>conftest.$ac_ext <<_ACEOF
34098 /* end confdefs.h.  */
34099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34100    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34101 #define $ac_func innocuous_$ac_func
34102
34103 /* System header to define __stub macros and hopefully few prototypes,
34104     which can conflict with char $ac_func (); below.
34105     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34106     <limits.h> exists even on freestanding compilers.  */
34107
34108 #ifdef __STDC__
34109 # include <limits.h>
34110 #else
34111 # include <assert.h>
34112 #endif
34113
34114 #undef $ac_func
34115
34116 /* Override any gcc2 internal prototype to avoid an error.  */
34117 #ifdef __cplusplus
34118 extern "C"
34119 {
34120 #endif
34121 /* We use char because int might match the return type of a gcc2
34122    builtin and then its argument prototype would still apply.  */
34123 char $ac_func ();
34124 /* The GNU C library defines this for functions which it implements
34125     to always fail with ENOSYS.  Some functions are actually named
34126     something starting with __ and the normal name is an alias.  */
34127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34128 choke me
34129 #else
34130 char (*f) () = $ac_func;
34131 #endif
34132 #ifdef __cplusplus
34133 }
34134 #endif
34135
34136 int
34137 main ()
34138 {
34139 return f != $ac_func;
34140   ;
34141   return 0;
34142 }
34143 _ACEOF
34144 rm -f conftest.$ac_objext conftest$ac_exeext
34145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34146   (eval $ac_link) 2>conftest.er1
34147   ac_status=$?
34148   grep -v '^ *+' conftest.er1 >conftest.err
34149   rm -f conftest.er1
34150   cat conftest.err >&5
34151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34152   (exit $ac_status); } &&
34153          { ac_try='test -z "$ac_c_werror_flag"
34154                          || test ! -s conftest.err'
34155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34156   (eval $ac_try) 2>&5
34157   ac_status=$?
34158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34159   (exit $ac_status); }; } &&
34160          { ac_try='test -s conftest$ac_exeext'
34161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34162   (eval $ac_try) 2>&5
34163   ac_status=$?
34164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34165   (exit $ac_status); }; }; then
34166   eval "$as_ac_var=yes"
34167 else
34168   echo "$as_me: failed program was:" >&5
34169 sed 's/^/| /' conftest.$ac_ext >&5
34170
34171 eval "$as_ac_var=no"
34172 fi
34173 rm -f conftest.err conftest.$ac_objext \
34174       conftest$ac_exeext conftest.$ac_ext
34175 fi
34176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34178 if test `eval echo '${'$as_ac_var'}'` = yes; then
34179   cat >>confdefs.h <<_ACEOF
34180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34181 _ACEOF
34182
34183 fi
34184 done
34185
34186     fi
34187   fi
34188
34189
34190
34191
34192
34193
34194   echo "$as_me:$LINENO: checking for modfl declaration" >&5
34195 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
34196   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34197     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
34198   echo $ECHO_N "(cached) $ECHO_C" >&6
34199 else
34200
34201
34202
34203       ac_ext=cc
34204 ac_cpp='$CXXCPP $CPPFLAGS'
34205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34208
34209       cat >conftest.$ac_ext <<_ACEOF
34210 /* confdefs.h.  */
34211 _ACEOF
34212 cat confdefs.h >>conftest.$ac_ext
34213 cat >>conftest.$ac_ext <<_ACEOF
34214 /* end confdefs.h.  */
34215 #include <math.h>
34216 int
34217 main ()
34218 {
34219  modfl(0, 0);
34220   ;
34221   return 0;
34222 }
34223 _ACEOF
34224 rm -f conftest.$ac_objext
34225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34226   (eval $ac_compile) 2>conftest.er1
34227   ac_status=$?
34228   grep -v '^ *+' conftest.er1 >conftest.err
34229   rm -f conftest.er1
34230   cat conftest.err >&5
34231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34232   (exit $ac_status); } &&
34233          { ac_try='test -z "$ac_cxx_werror_flag"
34234                          || test ! -s conftest.err'
34235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34236   (eval $ac_try) 2>&5
34237   ac_status=$?
34238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34239   (exit $ac_status); }; } &&
34240          { ac_try='test -s conftest.$ac_objext'
34241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34242   (eval $ac_try) 2>&5
34243   ac_status=$?
34244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34245   (exit $ac_status); }; }; then
34246   glibcxx_cv_func_modfl_use=yes
34247 else
34248   echo "$as_me: failed program was:" >&5
34249 sed 's/^/| /' conftest.$ac_ext >&5
34250
34251 glibcxx_cv_func_modfl_use=no
34252 fi
34253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34254       ac_ext=c
34255 ac_cpp='$CPP $CPPFLAGS'
34256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34259
34260
34261 fi
34262
34263   fi
34264   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
34265 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
34266
34267   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34268
34269 for ac_func in modfl
34270 do
34271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34272 echo "$as_me:$LINENO: checking for $ac_func" >&5
34273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34274 if eval "test \"\${$as_ac_var+set}\" = set"; then
34275   echo $ECHO_N "(cached) $ECHO_C" >&6
34276 else
34277   if test x$gcc_no_link = xyes; then
34278   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34280    { (exit 1); exit 1; }; }
34281 fi
34282 cat >conftest.$ac_ext <<_ACEOF
34283 /* confdefs.h.  */
34284 _ACEOF
34285 cat confdefs.h >>conftest.$ac_ext
34286 cat >>conftest.$ac_ext <<_ACEOF
34287 /* end confdefs.h.  */
34288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34289    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34290 #define $ac_func innocuous_$ac_func
34291
34292 /* System header to define __stub macros and hopefully few prototypes,
34293     which can conflict with char $ac_func (); below.
34294     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34295     <limits.h> exists even on freestanding compilers.  */
34296
34297 #ifdef __STDC__
34298 # include <limits.h>
34299 #else
34300 # include <assert.h>
34301 #endif
34302
34303 #undef $ac_func
34304
34305 /* Override any gcc2 internal prototype to avoid an error.  */
34306 #ifdef __cplusplus
34307 extern "C"
34308 {
34309 #endif
34310 /* We use char because int might match the return type of a gcc2
34311    builtin and then its argument prototype would still apply.  */
34312 char $ac_func ();
34313 /* The GNU C library defines this for functions which it implements
34314     to always fail with ENOSYS.  Some functions are actually named
34315     something starting with __ and the normal name is an alias.  */
34316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34317 choke me
34318 #else
34319 char (*f) () = $ac_func;
34320 #endif
34321 #ifdef __cplusplus
34322 }
34323 #endif
34324
34325 int
34326 main ()
34327 {
34328 return f != $ac_func;
34329   ;
34330   return 0;
34331 }
34332 _ACEOF
34333 rm -f conftest.$ac_objext conftest$ac_exeext
34334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34335   (eval $ac_link) 2>conftest.er1
34336   ac_status=$?
34337   grep -v '^ *+' conftest.er1 >conftest.err
34338   rm -f conftest.er1
34339   cat conftest.err >&5
34340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34341   (exit $ac_status); } &&
34342          { ac_try='test -z "$ac_c_werror_flag"
34343                          || test ! -s conftest.err'
34344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34345   (eval $ac_try) 2>&5
34346   ac_status=$?
34347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34348   (exit $ac_status); }; } &&
34349          { ac_try='test -s conftest$ac_exeext'
34350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34351   (eval $ac_try) 2>&5
34352   ac_status=$?
34353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34354   (exit $ac_status); }; }; then
34355   eval "$as_ac_var=yes"
34356 else
34357   echo "$as_me: failed program was:" >&5
34358 sed 's/^/| /' conftest.$ac_ext >&5
34359
34360 eval "$as_ac_var=no"
34361 fi
34362 rm -f conftest.err conftest.$ac_objext \
34363       conftest$ac_exeext conftest.$ac_ext
34364 fi
34365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34367 if test `eval echo '${'$as_ac_var'}'` = yes; then
34368   cat >>confdefs.h <<_ACEOF
34369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34370 _ACEOF
34371
34372 fi
34373 done
34374
34375   else
34376
34377   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
34378 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
34379   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34380     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
34381   echo $ECHO_N "(cached) $ECHO_C" >&6
34382 else
34383
34384
34385
34386       ac_ext=cc
34387 ac_cpp='$CXXCPP $CPPFLAGS'
34388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34391
34392       cat >conftest.$ac_ext <<_ACEOF
34393 /* confdefs.h.  */
34394 _ACEOF
34395 cat confdefs.h >>conftest.$ac_ext
34396 cat >>conftest.$ac_ext <<_ACEOF
34397 /* end confdefs.h.  */
34398 #include <math.h>
34399 int
34400 main ()
34401 {
34402  _modfl(0, 0);
34403   ;
34404   return 0;
34405 }
34406 _ACEOF
34407 rm -f conftest.$ac_objext
34408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34409   (eval $ac_compile) 2>conftest.er1
34410   ac_status=$?
34411   grep -v '^ *+' conftest.er1 >conftest.err
34412   rm -f conftest.er1
34413   cat conftest.err >&5
34414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34415   (exit $ac_status); } &&
34416          { ac_try='test -z "$ac_cxx_werror_flag"
34417                          || test ! -s conftest.err'
34418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34419   (eval $ac_try) 2>&5
34420   ac_status=$?
34421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34422   (exit $ac_status); }; } &&
34423          { ac_try='test -s conftest.$ac_objext'
34424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34425   (eval $ac_try) 2>&5
34426   ac_status=$?
34427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34428   (exit $ac_status); }; }; then
34429   glibcxx_cv_func__modfl_use=yes
34430 else
34431   echo "$as_me: failed program was:" >&5
34432 sed 's/^/| /' conftest.$ac_ext >&5
34433
34434 glibcxx_cv_func__modfl_use=no
34435 fi
34436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34437       ac_ext=c
34438 ac_cpp='$CPP $CPPFLAGS'
34439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34442
34443
34444 fi
34445
34446   fi
34447   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
34448 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
34449
34450     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34451
34452 for ac_func in _modfl
34453 do
34454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34455 echo "$as_me:$LINENO: checking for $ac_func" >&5
34456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34457 if eval "test \"\${$as_ac_var+set}\" = set"; then
34458   echo $ECHO_N "(cached) $ECHO_C" >&6
34459 else
34460   if test x$gcc_no_link = xyes; then
34461   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34463    { (exit 1); exit 1; }; }
34464 fi
34465 cat >conftest.$ac_ext <<_ACEOF
34466 /* confdefs.h.  */
34467 _ACEOF
34468 cat confdefs.h >>conftest.$ac_ext
34469 cat >>conftest.$ac_ext <<_ACEOF
34470 /* end confdefs.h.  */
34471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34472    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34473 #define $ac_func innocuous_$ac_func
34474
34475 /* System header to define __stub macros and hopefully few prototypes,
34476     which can conflict with char $ac_func (); below.
34477     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34478     <limits.h> exists even on freestanding compilers.  */
34479
34480 #ifdef __STDC__
34481 # include <limits.h>
34482 #else
34483 # include <assert.h>
34484 #endif
34485
34486 #undef $ac_func
34487
34488 /* Override any gcc2 internal prototype to avoid an error.  */
34489 #ifdef __cplusplus
34490 extern "C"
34491 {
34492 #endif
34493 /* We use char because int might match the return type of a gcc2
34494    builtin and then its argument prototype would still apply.  */
34495 char $ac_func ();
34496 /* The GNU C library defines this for functions which it implements
34497     to always fail with ENOSYS.  Some functions are actually named
34498     something starting with __ and the normal name is an alias.  */
34499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34500 choke me
34501 #else
34502 char (*f) () = $ac_func;
34503 #endif
34504 #ifdef __cplusplus
34505 }
34506 #endif
34507
34508 int
34509 main ()
34510 {
34511 return f != $ac_func;
34512   ;
34513   return 0;
34514 }
34515 _ACEOF
34516 rm -f conftest.$ac_objext conftest$ac_exeext
34517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34518   (eval $ac_link) 2>conftest.er1
34519   ac_status=$?
34520   grep -v '^ *+' conftest.er1 >conftest.err
34521   rm -f conftest.er1
34522   cat conftest.err >&5
34523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34524   (exit $ac_status); } &&
34525          { ac_try='test -z "$ac_c_werror_flag"
34526                          || test ! -s conftest.err'
34527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34528   (eval $ac_try) 2>&5
34529   ac_status=$?
34530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34531   (exit $ac_status); }; } &&
34532          { ac_try='test -s conftest$ac_exeext'
34533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34534   (eval $ac_try) 2>&5
34535   ac_status=$?
34536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34537   (exit $ac_status); }; }; then
34538   eval "$as_ac_var=yes"
34539 else
34540   echo "$as_me: failed program was:" >&5
34541 sed 's/^/| /' conftest.$ac_ext >&5
34542
34543 eval "$as_ac_var=no"
34544 fi
34545 rm -f conftest.err conftest.$ac_objext \
34546       conftest$ac_exeext conftest.$ac_ext
34547 fi
34548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34550 if test `eval echo '${'$as_ac_var'}'` = yes; then
34551   cat >>confdefs.h <<_ACEOF
34552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34553 _ACEOF
34554
34555 fi
34556 done
34557
34558     fi
34559   fi
34560
34561
34562
34563
34564
34565
34566   echo "$as_me:$LINENO: checking for powl declaration" >&5
34567 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
34568   if test x${glibcxx_cv_func_powl_use+set} != xset; then
34569     if test "${glibcxx_cv_func_powl_use+set}" = set; then
34570   echo $ECHO_N "(cached) $ECHO_C" >&6
34571 else
34572
34573
34574
34575       ac_ext=cc
34576 ac_cpp='$CXXCPP $CPPFLAGS'
34577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34580
34581       cat >conftest.$ac_ext <<_ACEOF
34582 /* confdefs.h.  */
34583 _ACEOF
34584 cat confdefs.h >>conftest.$ac_ext
34585 cat >>conftest.$ac_ext <<_ACEOF
34586 /* end confdefs.h.  */
34587 #include <math.h>
34588 int
34589 main ()
34590 {
34591  powl(0, 0);
34592   ;
34593   return 0;
34594 }
34595 _ACEOF
34596 rm -f conftest.$ac_objext
34597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34598   (eval $ac_compile) 2>conftest.er1
34599   ac_status=$?
34600   grep -v '^ *+' conftest.er1 >conftest.err
34601   rm -f conftest.er1
34602   cat conftest.err >&5
34603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34604   (exit $ac_status); } &&
34605          { ac_try='test -z "$ac_cxx_werror_flag"
34606                          || test ! -s conftest.err'
34607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34608   (eval $ac_try) 2>&5
34609   ac_status=$?
34610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34611   (exit $ac_status); }; } &&
34612          { ac_try='test -s conftest.$ac_objext'
34613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34614   (eval $ac_try) 2>&5
34615   ac_status=$?
34616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34617   (exit $ac_status); }; }; then
34618   glibcxx_cv_func_powl_use=yes
34619 else
34620   echo "$as_me: failed program was:" >&5
34621 sed 's/^/| /' conftest.$ac_ext >&5
34622
34623 glibcxx_cv_func_powl_use=no
34624 fi
34625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34626       ac_ext=c
34627 ac_cpp='$CPP $CPPFLAGS'
34628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34631
34632
34633 fi
34634
34635   fi
34636   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
34637 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
34638
34639   if test x$glibcxx_cv_func_powl_use = x"yes"; then
34640
34641 for ac_func in powl
34642 do
34643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34644 echo "$as_me:$LINENO: checking for $ac_func" >&5
34645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34646 if eval "test \"\${$as_ac_var+set}\" = set"; then
34647   echo $ECHO_N "(cached) $ECHO_C" >&6
34648 else
34649   if test x$gcc_no_link = xyes; then
34650   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34652    { (exit 1); exit 1; }; }
34653 fi
34654 cat >conftest.$ac_ext <<_ACEOF
34655 /* confdefs.h.  */
34656 _ACEOF
34657 cat confdefs.h >>conftest.$ac_ext
34658 cat >>conftest.$ac_ext <<_ACEOF
34659 /* end confdefs.h.  */
34660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34661    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34662 #define $ac_func innocuous_$ac_func
34663
34664 /* System header to define __stub macros and hopefully few prototypes,
34665     which can conflict with char $ac_func (); below.
34666     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34667     <limits.h> exists even on freestanding compilers.  */
34668
34669 #ifdef __STDC__
34670 # include <limits.h>
34671 #else
34672 # include <assert.h>
34673 #endif
34674
34675 #undef $ac_func
34676
34677 /* Override any gcc2 internal prototype to avoid an error.  */
34678 #ifdef __cplusplus
34679 extern "C"
34680 {
34681 #endif
34682 /* We use char because int might match the return type of a gcc2
34683    builtin and then its argument prototype would still apply.  */
34684 char $ac_func ();
34685 /* The GNU C library defines this for functions which it implements
34686     to always fail with ENOSYS.  Some functions are actually named
34687     something starting with __ and the normal name is an alias.  */
34688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34689 choke me
34690 #else
34691 char (*f) () = $ac_func;
34692 #endif
34693 #ifdef __cplusplus
34694 }
34695 #endif
34696
34697 int
34698 main ()
34699 {
34700 return f != $ac_func;
34701   ;
34702   return 0;
34703 }
34704 _ACEOF
34705 rm -f conftest.$ac_objext conftest$ac_exeext
34706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34707   (eval $ac_link) 2>conftest.er1
34708   ac_status=$?
34709   grep -v '^ *+' conftest.er1 >conftest.err
34710   rm -f conftest.er1
34711   cat conftest.err >&5
34712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34713   (exit $ac_status); } &&
34714          { ac_try='test -z "$ac_c_werror_flag"
34715                          || test ! -s conftest.err'
34716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34717   (eval $ac_try) 2>&5
34718   ac_status=$?
34719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34720   (exit $ac_status); }; } &&
34721          { ac_try='test -s conftest$ac_exeext'
34722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34723   (eval $ac_try) 2>&5
34724   ac_status=$?
34725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34726   (exit $ac_status); }; }; then
34727   eval "$as_ac_var=yes"
34728 else
34729   echo "$as_me: failed program was:" >&5
34730 sed 's/^/| /' conftest.$ac_ext >&5
34731
34732 eval "$as_ac_var=no"
34733 fi
34734 rm -f conftest.err conftest.$ac_objext \
34735       conftest$ac_exeext conftest.$ac_ext
34736 fi
34737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34739 if test `eval echo '${'$as_ac_var'}'` = yes; then
34740   cat >>confdefs.h <<_ACEOF
34741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34742 _ACEOF
34743
34744 fi
34745 done
34746
34747   else
34748
34749   echo "$as_me:$LINENO: checking for _powl declaration" >&5
34750 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
34751   if test x${glibcxx_cv_func__powl_use+set} != xset; then
34752     if test "${glibcxx_cv_func__powl_use+set}" = set; then
34753   echo $ECHO_N "(cached) $ECHO_C" >&6
34754 else
34755
34756
34757
34758       ac_ext=cc
34759 ac_cpp='$CXXCPP $CPPFLAGS'
34760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34763
34764       cat >conftest.$ac_ext <<_ACEOF
34765 /* confdefs.h.  */
34766 _ACEOF
34767 cat confdefs.h >>conftest.$ac_ext
34768 cat >>conftest.$ac_ext <<_ACEOF
34769 /* end confdefs.h.  */
34770 #include <math.h>
34771 int
34772 main ()
34773 {
34774  _powl(0, 0);
34775   ;
34776   return 0;
34777 }
34778 _ACEOF
34779 rm -f conftest.$ac_objext
34780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34781   (eval $ac_compile) 2>conftest.er1
34782   ac_status=$?
34783   grep -v '^ *+' conftest.er1 >conftest.err
34784   rm -f conftest.er1
34785   cat conftest.err >&5
34786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787   (exit $ac_status); } &&
34788          { ac_try='test -z "$ac_cxx_werror_flag"
34789                          || test ! -s conftest.err'
34790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34791   (eval $ac_try) 2>&5
34792   ac_status=$?
34793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34794   (exit $ac_status); }; } &&
34795          { ac_try='test -s conftest.$ac_objext'
34796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34797   (eval $ac_try) 2>&5
34798   ac_status=$?
34799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34800   (exit $ac_status); }; }; then
34801   glibcxx_cv_func__powl_use=yes
34802 else
34803   echo "$as_me: failed program was:" >&5
34804 sed 's/^/| /' conftest.$ac_ext >&5
34805
34806 glibcxx_cv_func__powl_use=no
34807 fi
34808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34809       ac_ext=c
34810 ac_cpp='$CPP $CPPFLAGS'
34811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34814
34815
34816 fi
34817
34818   fi
34819   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
34820 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
34821
34822     if test x$glibcxx_cv_func__powl_use = x"yes"; then
34823
34824 for ac_func in _powl
34825 do
34826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34827 echo "$as_me:$LINENO: checking for $ac_func" >&5
34828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34829 if eval "test \"\${$as_ac_var+set}\" = set"; then
34830   echo $ECHO_N "(cached) $ECHO_C" >&6
34831 else
34832   if test x$gcc_no_link = xyes; then
34833   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34835    { (exit 1); exit 1; }; }
34836 fi
34837 cat >conftest.$ac_ext <<_ACEOF
34838 /* confdefs.h.  */
34839 _ACEOF
34840 cat confdefs.h >>conftest.$ac_ext
34841 cat >>conftest.$ac_ext <<_ACEOF
34842 /* end confdefs.h.  */
34843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34844    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34845 #define $ac_func innocuous_$ac_func
34846
34847 /* System header to define __stub macros and hopefully few prototypes,
34848     which can conflict with char $ac_func (); below.
34849     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34850     <limits.h> exists even on freestanding compilers.  */
34851
34852 #ifdef __STDC__
34853 # include <limits.h>
34854 #else
34855 # include <assert.h>
34856 #endif
34857
34858 #undef $ac_func
34859
34860 /* Override any gcc2 internal prototype to avoid an error.  */
34861 #ifdef __cplusplus
34862 extern "C"
34863 {
34864 #endif
34865 /* We use char because int might match the return type of a gcc2
34866    builtin and then its argument prototype would still apply.  */
34867 char $ac_func ();
34868 /* The GNU C library defines this for functions which it implements
34869     to always fail with ENOSYS.  Some functions are actually named
34870     something starting with __ and the normal name is an alias.  */
34871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34872 choke me
34873 #else
34874 char (*f) () = $ac_func;
34875 #endif
34876 #ifdef __cplusplus
34877 }
34878 #endif
34879
34880 int
34881 main ()
34882 {
34883 return f != $ac_func;
34884   ;
34885   return 0;
34886 }
34887 _ACEOF
34888 rm -f conftest.$ac_objext conftest$ac_exeext
34889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34890   (eval $ac_link) 2>conftest.er1
34891   ac_status=$?
34892   grep -v '^ *+' conftest.er1 >conftest.err
34893   rm -f conftest.er1
34894   cat conftest.err >&5
34895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34896   (exit $ac_status); } &&
34897          { ac_try='test -z "$ac_c_werror_flag"
34898                          || test ! -s conftest.err'
34899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34900   (eval $ac_try) 2>&5
34901   ac_status=$?
34902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34903   (exit $ac_status); }; } &&
34904          { ac_try='test -s conftest$ac_exeext'
34905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34906   (eval $ac_try) 2>&5
34907   ac_status=$?
34908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34909   (exit $ac_status); }; }; then
34910   eval "$as_ac_var=yes"
34911 else
34912   echo "$as_me: failed program was:" >&5
34913 sed 's/^/| /' conftest.$ac_ext >&5
34914
34915 eval "$as_ac_var=no"
34916 fi
34917 rm -f conftest.err conftest.$ac_objext \
34918       conftest$ac_exeext conftest.$ac_ext
34919 fi
34920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34922 if test `eval echo '${'$as_ac_var'}'` = yes; then
34923   cat >>confdefs.h <<_ACEOF
34924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34925 _ACEOF
34926
34927 fi
34928 done
34929
34930     fi
34931   fi
34932
34933
34934
34935
34936
34937
34938   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
34939 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
34940   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34941     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
34942   echo $ECHO_N "(cached) $ECHO_C" >&6
34943 else
34944
34945
34946
34947       ac_ext=cc
34948 ac_cpp='$CXXCPP $CPPFLAGS'
34949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34952
34953       cat >conftest.$ac_ext <<_ACEOF
34954 /* confdefs.h.  */
34955 _ACEOF
34956 cat confdefs.h >>conftest.$ac_ext
34957 cat >>conftest.$ac_ext <<_ACEOF
34958 /* end confdefs.h.  */
34959 #include <math.h>
34960                       #ifdef HAVE_IEEEFP_H
34961                       #include <ieeefp.h>
34962                       #endif
34963
34964 int
34965 main ()
34966 {
34967  sqrtl(0);
34968   ;
34969   return 0;
34970 }
34971 _ACEOF
34972 rm -f conftest.$ac_objext
34973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34974   (eval $ac_compile) 2>conftest.er1
34975   ac_status=$?
34976   grep -v '^ *+' conftest.er1 >conftest.err
34977   rm -f conftest.er1
34978   cat conftest.err >&5
34979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34980   (exit $ac_status); } &&
34981          { ac_try='test -z "$ac_cxx_werror_flag"
34982                          || test ! -s conftest.err'
34983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34984   (eval $ac_try) 2>&5
34985   ac_status=$?
34986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34987   (exit $ac_status); }; } &&
34988          { ac_try='test -s conftest.$ac_objext'
34989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34990   (eval $ac_try) 2>&5
34991   ac_status=$?
34992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34993   (exit $ac_status); }; }; then
34994   glibcxx_cv_func_sqrtl_use=yes
34995 else
34996   echo "$as_me: failed program was:" >&5
34997 sed 's/^/| /' conftest.$ac_ext >&5
34998
34999 glibcxx_cv_func_sqrtl_use=no
35000 fi
35001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35002       ac_ext=c
35003 ac_cpp='$CPP $CPPFLAGS'
35004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35007
35008
35009 fi
35010
35011   fi
35012   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
35013 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
35014
35015   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
35016
35017 for ac_func in sqrtl
35018 do
35019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35020 echo "$as_me:$LINENO: checking for $ac_func" >&5
35021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35022 if eval "test \"\${$as_ac_var+set}\" = set"; then
35023   echo $ECHO_N "(cached) $ECHO_C" >&6
35024 else
35025   if test x$gcc_no_link = xyes; then
35026   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35028    { (exit 1); exit 1; }; }
35029 fi
35030 cat >conftest.$ac_ext <<_ACEOF
35031 /* confdefs.h.  */
35032 _ACEOF
35033 cat confdefs.h >>conftest.$ac_ext
35034 cat >>conftest.$ac_ext <<_ACEOF
35035 /* end confdefs.h.  */
35036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35037    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35038 #define $ac_func innocuous_$ac_func
35039
35040 /* System header to define __stub macros and hopefully few prototypes,
35041     which can conflict with char $ac_func (); below.
35042     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35043     <limits.h> exists even on freestanding compilers.  */
35044
35045 #ifdef __STDC__
35046 # include <limits.h>
35047 #else
35048 # include <assert.h>
35049 #endif
35050
35051 #undef $ac_func
35052
35053 /* Override any gcc2 internal prototype to avoid an error.  */
35054 #ifdef __cplusplus
35055 extern "C"
35056 {
35057 #endif
35058 /* We use char because int might match the return type of a gcc2
35059    builtin and then its argument prototype would still apply.  */
35060 char $ac_func ();
35061 /* The GNU C library defines this for functions which it implements
35062     to always fail with ENOSYS.  Some functions are actually named
35063     something starting with __ and the normal name is an alias.  */
35064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35065 choke me
35066 #else
35067 char (*f) () = $ac_func;
35068 #endif
35069 #ifdef __cplusplus
35070 }
35071 #endif
35072
35073 int
35074 main ()
35075 {
35076 return f != $ac_func;
35077   ;
35078   return 0;
35079 }
35080 _ACEOF
35081 rm -f conftest.$ac_objext conftest$ac_exeext
35082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35083   (eval $ac_link) 2>conftest.er1
35084   ac_status=$?
35085   grep -v '^ *+' conftest.er1 >conftest.err
35086   rm -f conftest.er1
35087   cat conftest.err >&5
35088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35089   (exit $ac_status); } &&
35090          { ac_try='test -z "$ac_c_werror_flag"
35091                          || test ! -s conftest.err'
35092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35093   (eval $ac_try) 2>&5
35094   ac_status=$?
35095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35096   (exit $ac_status); }; } &&
35097          { ac_try='test -s conftest$ac_exeext'
35098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35099   (eval $ac_try) 2>&5
35100   ac_status=$?
35101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35102   (exit $ac_status); }; }; then
35103   eval "$as_ac_var=yes"
35104 else
35105   echo "$as_me: failed program was:" >&5
35106 sed 's/^/| /' conftest.$ac_ext >&5
35107
35108 eval "$as_ac_var=no"
35109 fi
35110 rm -f conftest.err conftest.$ac_objext \
35111       conftest$ac_exeext conftest.$ac_ext
35112 fi
35113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35115 if test `eval echo '${'$as_ac_var'}'` = yes; then
35116   cat >>confdefs.h <<_ACEOF
35117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35118 _ACEOF
35119
35120 fi
35121 done
35122
35123   else
35124
35125   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
35126 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
35127   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
35128     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
35129   echo $ECHO_N "(cached) $ECHO_C" >&6
35130 else
35131
35132
35133
35134       ac_ext=cc
35135 ac_cpp='$CXXCPP $CPPFLAGS'
35136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35139
35140       cat >conftest.$ac_ext <<_ACEOF
35141 /* confdefs.h.  */
35142 _ACEOF
35143 cat confdefs.h >>conftest.$ac_ext
35144 cat >>conftest.$ac_ext <<_ACEOF
35145 /* end confdefs.h.  */
35146 #include <math.h>
35147                       #ifdef HAVE_IEEEFP_H
35148                       #include <ieeefp.h>
35149                       #endif
35150
35151 int
35152 main ()
35153 {
35154  _sqrtl(0);
35155   ;
35156   return 0;
35157 }
35158 _ACEOF
35159 rm -f conftest.$ac_objext
35160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35161   (eval $ac_compile) 2>conftest.er1
35162   ac_status=$?
35163   grep -v '^ *+' conftest.er1 >conftest.err
35164   rm -f conftest.er1
35165   cat conftest.err >&5
35166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35167   (exit $ac_status); } &&
35168          { ac_try='test -z "$ac_cxx_werror_flag"
35169                          || test ! -s conftest.err'
35170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35171   (eval $ac_try) 2>&5
35172   ac_status=$?
35173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35174   (exit $ac_status); }; } &&
35175          { ac_try='test -s conftest.$ac_objext'
35176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35177   (eval $ac_try) 2>&5
35178   ac_status=$?
35179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35180   (exit $ac_status); }; }; then
35181   glibcxx_cv_func__sqrtl_use=yes
35182 else
35183   echo "$as_me: failed program was:" >&5
35184 sed 's/^/| /' conftest.$ac_ext >&5
35185
35186 glibcxx_cv_func__sqrtl_use=no
35187 fi
35188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35189       ac_ext=c
35190 ac_cpp='$CPP $CPPFLAGS'
35191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35194
35195
35196 fi
35197
35198   fi
35199   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
35200 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
35201
35202     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
35203
35204 for ac_func in _sqrtl
35205 do
35206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35207 echo "$as_me:$LINENO: checking for $ac_func" >&5
35208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35209 if eval "test \"\${$as_ac_var+set}\" = set"; then
35210   echo $ECHO_N "(cached) $ECHO_C" >&6
35211 else
35212   if test x$gcc_no_link = xyes; then
35213   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35215    { (exit 1); exit 1; }; }
35216 fi
35217 cat >conftest.$ac_ext <<_ACEOF
35218 /* confdefs.h.  */
35219 _ACEOF
35220 cat confdefs.h >>conftest.$ac_ext
35221 cat >>conftest.$ac_ext <<_ACEOF
35222 /* end confdefs.h.  */
35223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35224    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35225 #define $ac_func innocuous_$ac_func
35226
35227 /* System header to define __stub macros and hopefully few prototypes,
35228     which can conflict with char $ac_func (); below.
35229     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35230     <limits.h> exists even on freestanding compilers.  */
35231
35232 #ifdef __STDC__
35233 # include <limits.h>
35234 #else
35235 # include <assert.h>
35236 #endif
35237
35238 #undef $ac_func
35239
35240 /* Override any gcc2 internal prototype to avoid an error.  */
35241 #ifdef __cplusplus
35242 extern "C"
35243 {
35244 #endif
35245 /* We use char because int might match the return type of a gcc2
35246    builtin and then its argument prototype would still apply.  */
35247 char $ac_func ();
35248 /* The GNU C library defines this for functions which it implements
35249     to always fail with ENOSYS.  Some functions are actually named
35250     something starting with __ and the normal name is an alias.  */
35251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35252 choke me
35253 #else
35254 char (*f) () = $ac_func;
35255 #endif
35256 #ifdef __cplusplus
35257 }
35258 #endif
35259
35260 int
35261 main ()
35262 {
35263 return f != $ac_func;
35264   ;
35265   return 0;
35266 }
35267 _ACEOF
35268 rm -f conftest.$ac_objext conftest$ac_exeext
35269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35270   (eval $ac_link) 2>conftest.er1
35271   ac_status=$?
35272   grep -v '^ *+' conftest.er1 >conftest.err
35273   rm -f conftest.er1
35274   cat conftest.err >&5
35275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35276   (exit $ac_status); } &&
35277          { ac_try='test -z "$ac_c_werror_flag"
35278                          || test ! -s conftest.err'
35279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35280   (eval $ac_try) 2>&5
35281   ac_status=$?
35282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35283   (exit $ac_status); }; } &&
35284          { ac_try='test -s conftest$ac_exeext'
35285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35286   (eval $ac_try) 2>&5
35287   ac_status=$?
35288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35289   (exit $ac_status); }; }; then
35290   eval "$as_ac_var=yes"
35291 else
35292   echo "$as_me: failed program was:" >&5
35293 sed 's/^/| /' conftest.$ac_ext >&5
35294
35295 eval "$as_ac_var=no"
35296 fi
35297 rm -f conftest.err conftest.$ac_objext \
35298       conftest$ac_exeext conftest.$ac_ext
35299 fi
35300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35302 if test `eval echo '${'$as_ac_var'}'` = yes; then
35303   cat >>confdefs.h <<_ACEOF
35304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35305 _ACEOF
35306
35307 fi
35308 done
35309
35310     fi
35311   fi
35312
35313
35314
35315
35316
35317
35318   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
35319 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
35320   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
35321     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
35322   echo $ECHO_N "(cached) $ECHO_C" >&6
35323 else
35324
35325
35326
35327       ac_ext=cc
35328 ac_cpp='$CXXCPP $CPPFLAGS'
35329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35332
35333       cat >conftest.$ac_ext <<_ACEOF
35334 /* confdefs.h.  */
35335 _ACEOF
35336 cat confdefs.h >>conftest.$ac_ext
35337 cat >>conftest.$ac_ext <<_ACEOF
35338 /* end confdefs.h.  */
35339 #include <math.h>
35340 int
35341 main ()
35342 {
35343  sincosl(0, 0, 0);
35344   ;
35345   return 0;
35346 }
35347 _ACEOF
35348 rm -f conftest.$ac_objext
35349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35350   (eval $ac_compile) 2>conftest.er1
35351   ac_status=$?
35352   grep -v '^ *+' conftest.er1 >conftest.err
35353   rm -f conftest.er1
35354   cat conftest.err >&5
35355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35356   (exit $ac_status); } &&
35357          { ac_try='test -z "$ac_cxx_werror_flag"
35358                          || test ! -s conftest.err'
35359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35360   (eval $ac_try) 2>&5
35361   ac_status=$?
35362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35363   (exit $ac_status); }; } &&
35364          { ac_try='test -s conftest.$ac_objext'
35365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35366   (eval $ac_try) 2>&5
35367   ac_status=$?
35368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35369   (exit $ac_status); }; }; then
35370   glibcxx_cv_func_sincosl_use=yes
35371 else
35372   echo "$as_me: failed program was:" >&5
35373 sed 's/^/| /' conftest.$ac_ext >&5
35374
35375 glibcxx_cv_func_sincosl_use=no
35376 fi
35377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35378       ac_ext=c
35379 ac_cpp='$CPP $CPPFLAGS'
35380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35383
35384
35385 fi
35386
35387   fi
35388   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
35389 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
35390
35391   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35392
35393 for ac_func in sincosl
35394 do
35395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35396 echo "$as_me:$LINENO: checking for $ac_func" >&5
35397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35398 if eval "test \"\${$as_ac_var+set}\" = set"; then
35399   echo $ECHO_N "(cached) $ECHO_C" >&6
35400 else
35401   if test x$gcc_no_link = xyes; then
35402   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35404    { (exit 1); exit 1; }; }
35405 fi
35406 cat >conftest.$ac_ext <<_ACEOF
35407 /* confdefs.h.  */
35408 _ACEOF
35409 cat confdefs.h >>conftest.$ac_ext
35410 cat >>conftest.$ac_ext <<_ACEOF
35411 /* end confdefs.h.  */
35412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35413    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35414 #define $ac_func innocuous_$ac_func
35415
35416 /* System header to define __stub macros and hopefully few prototypes,
35417     which can conflict with char $ac_func (); below.
35418     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35419     <limits.h> exists even on freestanding compilers.  */
35420
35421 #ifdef __STDC__
35422 # include <limits.h>
35423 #else
35424 # include <assert.h>
35425 #endif
35426
35427 #undef $ac_func
35428
35429 /* Override any gcc2 internal prototype to avoid an error.  */
35430 #ifdef __cplusplus
35431 extern "C"
35432 {
35433 #endif
35434 /* We use char because int might match the return type of a gcc2
35435    builtin and then its argument prototype would still apply.  */
35436 char $ac_func ();
35437 /* The GNU C library defines this for functions which it implements
35438     to always fail with ENOSYS.  Some functions are actually named
35439     something starting with __ and the normal name is an alias.  */
35440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35441 choke me
35442 #else
35443 char (*f) () = $ac_func;
35444 #endif
35445 #ifdef __cplusplus
35446 }
35447 #endif
35448
35449 int
35450 main ()
35451 {
35452 return f != $ac_func;
35453   ;
35454   return 0;
35455 }
35456 _ACEOF
35457 rm -f conftest.$ac_objext conftest$ac_exeext
35458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35459   (eval $ac_link) 2>conftest.er1
35460   ac_status=$?
35461   grep -v '^ *+' conftest.er1 >conftest.err
35462   rm -f conftest.er1
35463   cat conftest.err >&5
35464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35465   (exit $ac_status); } &&
35466          { ac_try='test -z "$ac_c_werror_flag"
35467                          || test ! -s conftest.err'
35468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35469   (eval $ac_try) 2>&5
35470   ac_status=$?
35471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35472   (exit $ac_status); }; } &&
35473          { ac_try='test -s conftest$ac_exeext'
35474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35475   (eval $ac_try) 2>&5
35476   ac_status=$?
35477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35478   (exit $ac_status); }; }; then
35479   eval "$as_ac_var=yes"
35480 else
35481   echo "$as_me: failed program was:" >&5
35482 sed 's/^/| /' conftest.$ac_ext >&5
35483
35484 eval "$as_ac_var=no"
35485 fi
35486 rm -f conftest.err conftest.$ac_objext \
35487       conftest$ac_exeext conftest.$ac_ext
35488 fi
35489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35491 if test `eval echo '${'$as_ac_var'}'` = yes; then
35492   cat >>confdefs.h <<_ACEOF
35493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35494 _ACEOF
35495
35496 fi
35497 done
35498
35499   else
35500
35501   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
35502 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
35503   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35504     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
35505   echo $ECHO_N "(cached) $ECHO_C" >&6
35506 else
35507
35508
35509
35510       ac_ext=cc
35511 ac_cpp='$CXXCPP $CPPFLAGS'
35512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35515
35516       cat >conftest.$ac_ext <<_ACEOF
35517 /* confdefs.h.  */
35518 _ACEOF
35519 cat confdefs.h >>conftest.$ac_ext
35520 cat >>conftest.$ac_ext <<_ACEOF
35521 /* end confdefs.h.  */
35522 #include <math.h>
35523 int
35524 main ()
35525 {
35526  _sincosl(0, 0, 0);
35527   ;
35528   return 0;
35529 }
35530 _ACEOF
35531 rm -f conftest.$ac_objext
35532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35533   (eval $ac_compile) 2>conftest.er1
35534   ac_status=$?
35535   grep -v '^ *+' conftest.er1 >conftest.err
35536   rm -f conftest.er1
35537   cat conftest.err >&5
35538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35539   (exit $ac_status); } &&
35540          { ac_try='test -z "$ac_cxx_werror_flag"
35541                          || test ! -s conftest.err'
35542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35543   (eval $ac_try) 2>&5
35544   ac_status=$?
35545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35546   (exit $ac_status); }; } &&
35547          { ac_try='test -s conftest.$ac_objext'
35548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35549   (eval $ac_try) 2>&5
35550   ac_status=$?
35551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35552   (exit $ac_status); }; }; then
35553   glibcxx_cv_func__sincosl_use=yes
35554 else
35555   echo "$as_me: failed program was:" >&5
35556 sed 's/^/| /' conftest.$ac_ext >&5
35557
35558 glibcxx_cv_func__sincosl_use=no
35559 fi
35560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35561       ac_ext=c
35562 ac_cpp='$CPP $CPPFLAGS'
35563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35566
35567
35568 fi
35569
35570   fi
35571   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
35572 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
35573
35574     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35575
35576 for ac_func in _sincosl
35577 do
35578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35579 echo "$as_me:$LINENO: checking for $ac_func" >&5
35580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35581 if eval "test \"\${$as_ac_var+set}\" = set"; then
35582   echo $ECHO_N "(cached) $ECHO_C" >&6
35583 else
35584   if test x$gcc_no_link = xyes; then
35585   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35587    { (exit 1); exit 1; }; }
35588 fi
35589 cat >conftest.$ac_ext <<_ACEOF
35590 /* confdefs.h.  */
35591 _ACEOF
35592 cat confdefs.h >>conftest.$ac_ext
35593 cat >>conftest.$ac_ext <<_ACEOF
35594 /* end confdefs.h.  */
35595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35596    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35597 #define $ac_func innocuous_$ac_func
35598
35599 /* System header to define __stub macros and hopefully few prototypes,
35600     which can conflict with char $ac_func (); below.
35601     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35602     <limits.h> exists even on freestanding compilers.  */
35603
35604 #ifdef __STDC__
35605 # include <limits.h>
35606 #else
35607 # include <assert.h>
35608 #endif
35609
35610 #undef $ac_func
35611
35612 /* Override any gcc2 internal prototype to avoid an error.  */
35613 #ifdef __cplusplus
35614 extern "C"
35615 {
35616 #endif
35617 /* We use char because int might match the return type of a gcc2
35618    builtin and then its argument prototype would still apply.  */
35619 char $ac_func ();
35620 /* The GNU C library defines this for functions which it implements
35621     to always fail with ENOSYS.  Some functions are actually named
35622     something starting with __ and the normal name is an alias.  */
35623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35624 choke me
35625 #else
35626 char (*f) () = $ac_func;
35627 #endif
35628 #ifdef __cplusplus
35629 }
35630 #endif
35631
35632 int
35633 main ()
35634 {
35635 return f != $ac_func;
35636   ;
35637   return 0;
35638 }
35639 _ACEOF
35640 rm -f conftest.$ac_objext conftest$ac_exeext
35641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35642   (eval $ac_link) 2>conftest.er1
35643   ac_status=$?
35644   grep -v '^ *+' conftest.er1 >conftest.err
35645   rm -f conftest.er1
35646   cat conftest.err >&5
35647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35648   (exit $ac_status); } &&
35649          { ac_try='test -z "$ac_c_werror_flag"
35650                          || test ! -s conftest.err'
35651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35652   (eval $ac_try) 2>&5
35653   ac_status=$?
35654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35655   (exit $ac_status); }; } &&
35656          { ac_try='test -s conftest$ac_exeext'
35657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35658   (eval $ac_try) 2>&5
35659   ac_status=$?
35660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35661   (exit $ac_status); }; }; then
35662   eval "$as_ac_var=yes"
35663 else
35664   echo "$as_me: failed program was:" >&5
35665 sed 's/^/| /' conftest.$ac_ext >&5
35666
35667 eval "$as_ac_var=no"
35668 fi
35669 rm -f conftest.err conftest.$ac_objext \
35670       conftest$ac_exeext conftest.$ac_ext
35671 fi
35672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35674 if test `eval echo '${'$as_ac_var'}'` = yes; then
35675   cat >>confdefs.h <<_ACEOF
35676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35677 _ACEOF
35678
35679 fi
35680 done
35681
35682     fi
35683   fi
35684
35685
35686
35687
35688
35689
35690   echo "$as_me:$LINENO: checking for finitel declaration" >&5
35691 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
35692   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35693     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
35694   echo $ECHO_N "(cached) $ECHO_C" >&6
35695 else
35696
35697
35698
35699       ac_ext=cc
35700 ac_cpp='$CXXCPP $CPPFLAGS'
35701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35704
35705       cat >conftest.$ac_ext <<_ACEOF
35706 /* confdefs.h.  */
35707 _ACEOF
35708 cat confdefs.h >>conftest.$ac_ext
35709 cat >>conftest.$ac_ext <<_ACEOF
35710 /* end confdefs.h.  */
35711 #include <math.h>
35712                       #ifdef HAVE_IEEEFP_H
35713                       #include <ieeefp.h>
35714                       #endif
35715
35716 int
35717 main ()
35718 {
35719  finitel(0);
35720   ;
35721   return 0;
35722 }
35723 _ACEOF
35724 rm -f conftest.$ac_objext
35725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35726   (eval $ac_compile) 2>conftest.er1
35727   ac_status=$?
35728   grep -v '^ *+' conftest.er1 >conftest.err
35729   rm -f conftest.er1
35730   cat conftest.err >&5
35731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35732   (exit $ac_status); } &&
35733          { ac_try='test -z "$ac_cxx_werror_flag"
35734                          || test ! -s conftest.err'
35735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35736   (eval $ac_try) 2>&5
35737   ac_status=$?
35738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35739   (exit $ac_status); }; } &&
35740          { ac_try='test -s conftest.$ac_objext'
35741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35742   (eval $ac_try) 2>&5
35743   ac_status=$?
35744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35745   (exit $ac_status); }; }; then
35746   glibcxx_cv_func_finitel_use=yes
35747 else
35748   echo "$as_me: failed program was:" >&5
35749 sed 's/^/| /' conftest.$ac_ext >&5
35750
35751 glibcxx_cv_func_finitel_use=no
35752 fi
35753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35754       ac_ext=c
35755 ac_cpp='$CPP $CPPFLAGS'
35756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35759
35760
35761 fi
35762
35763   fi
35764   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
35765 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
35766
35767   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35768
35769 for ac_func in finitel
35770 do
35771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35772 echo "$as_me:$LINENO: checking for $ac_func" >&5
35773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35774 if eval "test \"\${$as_ac_var+set}\" = set"; then
35775   echo $ECHO_N "(cached) $ECHO_C" >&6
35776 else
35777   if test x$gcc_no_link = xyes; then
35778   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35780    { (exit 1); exit 1; }; }
35781 fi
35782 cat >conftest.$ac_ext <<_ACEOF
35783 /* confdefs.h.  */
35784 _ACEOF
35785 cat confdefs.h >>conftest.$ac_ext
35786 cat >>conftest.$ac_ext <<_ACEOF
35787 /* end confdefs.h.  */
35788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35789    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35790 #define $ac_func innocuous_$ac_func
35791
35792 /* System header to define __stub macros and hopefully few prototypes,
35793     which can conflict with char $ac_func (); below.
35794     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35795     <limits.h> exists even on freestanding compilers.  */
35796
35797 #ifdef __STDC__
35798 # include <limits.h>
35799 #else
35800 # include <assert.h>
35801 #endif
35802
35803 #undef $ac_func
35804
35805 /* Override any gcc2 internal prototype to avoid an error.  */
35806 #ifdef __cplusplus
35807 extern "C"
35808 {
35809 #endif
35810 /* We use char because int might match the return type of a gcc2
35811    builtin and then its argument prototype would still apply.  */
35812 char $ac_func ();
35813 /* The GNU C library defines this for functions which it implements
35814     to always fail with ENOSYS.  Some functions are actually named
35815     something starting with __ and the normal name is an alias.  */
35816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35817 choke me
35818 #else
35819 char (*f) () = $ac_func;
35820 #endif
35821 #ifdef __cplusplus
35822 }
35823 #endif
35824
35825 int
35826 main ()
35827 {
35828 return f != $ac_func;
35829   ;
35830   return 0;
35831 }
35832 _ACEOF
35833 rm -f conftest.$ac_objext conftest$ac_exeext
35834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35835   (eval $ac_link) 2>conftest.er1
35836   ac_status=$?
35837   grep -v '^ *+' conftest.er1 >conftest.err
35838   rm -f conftest.er1
35839   cat conftest.err >&5
35840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35841   (exit $ac_status); } &&
35842          { ac_try='test -z "$ac_c_werror_flag"
35843                          || test ! -s conftest.err'
35844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35845   (eval $ac_try) 2>&5
35846   ac_status=$?
35847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35848   (exit $ac_status); }; } &&
35849          { ac_try='test -s conftest$ac_exeext'
35850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35851   (eval $ac_try) 2>&5
35852   ac_status=$?
35853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35854   (exit $ac_status); }; }; then
35855   eval "$as_ac_var=yes"
35856 else
35857   echo "$as_me: failed program was:" >&5
35858 sed 's/^/| /' conftest.$ac_ext >&5
35859
35860 eval "$as_ac_var=no"
35861 fi
35862 rm -f conftest.err conftest.$ac_objext \
35863       conftest$ac_exeext conftest.$ac_ext
35864 fi
35865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35867 if test `eval echo '${'$as_ac_var'}'` = yes; then
35868   cat >>confdefs.h <<_ACEOF
35869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35870 _ACEOF
35871
35872 fi
35873 done
35874
35875   else
35876
35877   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
35878 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
35879   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35880     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
35881   echo $ECHO_N "(cached) $ECHO_C" >&6
35882 else
35883
35884
35885
35886       ac_ext=cc
35887 ac_cpp='$CXXCPP $CPPFLAGS'
35888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35891
35892       cat >conftest.$ac_ext <<_ACEOF
35893 /* confdefs.h.  */
35894 _ACEOF
35895 cat confdefs.h >>conftest.$ac_ext
35896 cat >>conftest.$ac_ext <<_ACEOF
35897 /* end confdefs.h.  */
35898 #include <math.h>
35899                       #ifdef HAVE_IEEEFP_H
35900                       #include <ieeefp.h>
35901                       #endif
35902
35903 int
35904 main ()
35905 {
35906  _finitel(0);
35907   ;
35908   return 0;
35909 }
35910 _ACEOF
35911 rm -f conftest.$ac_objext
35912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35913   (eval $ac_compile) 2>conftest.er1
35914   ac_status=$?
35915   grep -v '^ *+' conftest.er1 >conftest.err
35916   rm -f conftest.er1
35917   cat conftest.err >&5
35918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35919   (exit $ac_status); } &&
35920          { ac_try='test -z "$ac_cxx_werror_flag"
35921                          || test ! -s conftest.err'
35922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35923   (eval $ac_try) 2>&5
35924   ac_status=$?
35925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35926   (exit $ac_status); }; } &&
35927          { ac_try='test -s conftest.$ac_objext'
35928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35929   (eval $ac_try) 2>&5
35930   ac_status=$?
35931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35932   (exit $ac_status); }; }; then
35933   glibcxx_cv_func__finitel_use=yes
35934 else
35935   echo "$as_me: failed program was:" >&5
35936 sed 's/^/| /' conftest.$ac_ext >&5
35937
35938 glibcxx_cv_func__finitel_use=no
35939 fi
35940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35941       ac_ext=c
35942 ac_cpp='$CPP $CPPFLAGS'
35943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35946
35947
35948 fi
35949
35950   fi
35951   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
35952 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
35953
35954     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35955
35956 for ac_func in _finitel
35957 do
35958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35959 echo "$as_me:$LINENO: checking for $ac_func" >&5
35960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35961 if eval "test \"\${$as_ac_var+set}\" = set"; then
35962   echo $ECHO_N "(cached) $ECHO_C" >&6
35963 else
35964   if test x$gcc_no_link = xyes; then
35965   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35967    { (exit 1); exit 1; }; }
35968 fi
35969 cat >conftest.$ac_ext <<_ACEOF
35970 /* confdefs.h.  */
35971 _ACEOF
35972 cat confdefs.h >>conftest.$ac_ext
35973 cat >>conftest.$ac_ext <<_ACEOF
35974 /* end confdefs.h.  */
35975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35976    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35977 #define $ac_func innocuous_$ac_func
35978
35979 /* System header to define __stub macros and hopefully few prototypes,
35980     which can conflict with char $ac_func (); below.
35981     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35982     <limits.h> exists even on freestanding compilers.  */
35983
35984 #ifdef __STDC__
35985 # include <limits.h>
35986 #else
35987 # include <assert.h>
35988 #endif
35989
35990 #undef $ac_func
35991
35992 /* Override any gcc2 internal prototype to avoid an error.  */
35993 #ifdef __cplusplus
35994 extern "C"
35995 {
35996 #endif
35997 /* We use char because int might match the return type of a gcc2
35998    builtin and then its argument prototype would still apply.  */
35999 char $ac_func ();
36000 /* The GNU C library defines this for functions which it implements
36001     to always fail with ENOSYS.  Some functions are actually named
36002     something starting with __ and the normal name is an alias.  */
36003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36004 choke me
36005 #else
36006 char (*f) () = $ac_func;
36007 #endif
36008 #ifdef __cplusplus
36009 }
36010 #endif
36011
36012 int
36013 main ()
36014 {
36015 return f != $ac_func;
36016   ;
36017   return 0;
36018 }
36019 _ACEOF
36020 rm -f conftest.$ac_objext conftest$ac_exeext
36021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36022   (eval $ac_link) 2>conftest.er1
36023   ac_status=$?
36024   grep -v '^ *+' conftest.er1 >conftest.err
36025   rm -f conftest.er1
36026   cat conftest.err >&5
36027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36028   (exit $ac_status); } &&
36029          { ac_try='test -z "$ac_c_werror_flag"
36030                          || test ! -s conftest.err'
36031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36032   (eval $ac_try) 2>&5
36033   ac_status=$?
36034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36035   (exit $ac_status); }; } &&
36036          { ac_try='test -s conftest$ac_exeext'
36037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36038   (eval $ac_try) 2>&5
36039   ac_status=$?
36040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36041   (exit $ac_status); }; }; then
36042   eval "$as_ac_var=yes"
36043 else
36044   echo "$as_me: failed program was:" >&5
36045 sed 's/^/| /' conftest.$ac_ext >&5
36046
36047 eval "$as_ac_var=no"
36048 fi
36049 rm -f conftest.err conftest.$ac_objext \
36050       conftest$ac_exeext conftest.$ac_ext
36051 fi
36052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36054 if test `eval echo '${'$as_ac_var'}'` = yes; then
36055   cat >>confdefs.h <<_ACEOF
36056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36057 _ACEOF
36058
36059 fi
36060 done
36061
36062     fi
36063   fi
36064
36065
36066
36067
36068
36069   LIBS="$ac_save_LIBS"
36070   CXXFLAGS="$ac_save_CXXFLAGS"
36071
36072
36073
36074   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
36075 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
36076   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
36077     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
36078   echo $ECHO_N "(cached) $ECHO_C" >&6
36079 else
36080
36081
36082
36083       ac_ext=cc
36084 ac_cpp='$CXXCPP $CPPFLAGS'
36085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36088
36089       cat >conftest.$ac_ext <<_ACEOF
36090 /* confdefs.h.  */
36091 _ACEOF
36092 cat confdefs.h >>conftest.$ac_ext
36093 cat >>conftest.$ac_ext <<_ACEOF
36094 /* end confdefs.h.  */
36095 #include <math.h>
36096 int
36097 main ()
36098 {
36099  __builtin_abs(0);
36100   ;
36101   return 0;
36102 }
36103 _ACEOF
36104 rm -f conftest.$ac_objext
36105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36106   (eval $ac_compile) 2>conftest.er1
36107   ac_status=$?
36108   grep -v '^ *+' conftest.er1 >conftest.err
36109   rm -f conftest.er1
36110   cat conftest.err >&5
36111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36112   (exit $ac_status); } &&
36113          { ac_try='test -z "$ac_cxx_werror_flag"
36114                          || test ! -s conftest.err'
36115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36116   (eval $ac_try) 2>&5
36117   ac_status=$?
36118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36119   (exit $ac_status); }; } &&
36120          { ac_try='test -s conftest.$ac_objext'
36121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36122   (eval $ac_try) 2>&5
36123   ac_status=$?
36124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36125   (exit $ac_status); }; }; then
36126   glibcxx_cv_func___builtin_abs_use=yes
36127 else
36128   echo "$as_me: failed program was:" >&5
36129 sed 's/^/| /' conftest.$ac_ext >&5
36130
36131 glibcxx_cv_func___builtin_abs_use=no
36132 fi
36133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36134       ac_ext=c
36135 ac_cpp='$CPP $CPPFLAGS'
36136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36139
36140
36141 fi
36142
36143   fi
36144   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
36145 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
36146   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
36147     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
36148 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
36149     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
36150       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
36151   echo $ECHO_N "(cached) $ECHO_C" >&6
36152 else
36153
36154         if test x$gcc_no_link = xyes; then
36155   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36157    { (exit 1); exit 1; }; }
36158 fi
36159 cat >conftest.$ac_ext <<_ACEOF
36160 /* confdefs.h.  */
36161 _ACEOF
36162 cat confdefs.h >>conftest.$ac_ext
36163 cat >>conftest.$ac_ext <<_ACEOF
36164 /* end confdefs.h.  */
36165 #include <math.h>
36166 int
36167 main ()
36168 {
36169  __builtin_abs(0);
36170   ;
36171   return 0;
36172 }
36173 _ACEOF
36174 rm -f conftest.$ac_objext conftest$ac_exeext
36175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36176   (eval $ac_link) 2>conftest.er1
36177   ac_status=$?
36178   grep -v '^ *+' conftest.er1 >conftest.err
36179   rm -f conftest.er1
36180   cat conftest.err >&5
36181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36182   (exit $ac_status); } &&
36183          { ac_try='test -z "$ac_c_werror_flag"
36184                          || test ! -s conftest.err'
36185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36186   (eval $ac_try) 2>&5
36187   ac_status=$?
36188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36189   (exit $ac_status); }; } &&
36190          { ac_try='test -s conftest$ac_exeext'
36191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36192   (eval $ac_try) 2>&5
36193   ac_status=$?
36194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36195   (exit $ac_status); }; }; then
36196   glibcxx_cv_func___builtin_abs_link=yes
36197 else
36198   echo "$as_me: failed program was:" >&5
36199 sed 's/^/| /' conftest.$ac_ext >&5
36200
36201 glibcxx_cv_func___builtin_abs_link=no
36202 fi
36203 rm -f conftest.err conftest.$ac_objext \
36204       conftest$ac_exeext conftest.$ac_ext
36205
36206 fi
36207
36208     fi
36209     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
36210 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
36211
36212     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
36213
36214 cat >>confdefs.h <<\_ACEOF
36215 #define HAVE___BUILTIN_ABS 1
36216 _ACEOF
36217
36218     fi
36219
36220   fi
36221
36222
36223   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
36224 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
36225   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
36226     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
36227   echo $ECHO_N "(cached) $ECHO_C" >&6
36228 else
36229
36230
36231
36232       ac_ext=cc
36233 ac_cpp='$CXXCPP $CPPFLAGS'
36234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36237
36238       cat >conftest.$ac_ext <<_ACEOF
36239 /* confdefs.h.  */
36240 _ACEOF
36241 cat confdefs.h >>conftest.$ac_ext
36242 cat >>conftest.$ac_ext <<_ACEOF
36243 /* end confdefs.h.  */
36244 #include <math.h>
36245 int
36246 main ()
36247 {
36248  __builtin_fabsf(0);
36249   ;
36250   return 0;
36251 }
36252 _ACEOF
36253 rm -f conftest.$ac_objext
36254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36255   (eval $ac_compile) 2>conftest.er1
36256   ac_status=$?
36257   grep -v '^ *+' conftest.er1 >conftest.err
36258   rm -f conftest.er1
36259   cat conftest.err >&5
36260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36261   (exit $ac_status); } &&
36262          { ac_try='test -z "$ac_cxx_werror_flag"
36263                          || test ! -s conftest.err'
36264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36265   (eval $ac_try) 2>&5
36266   ac_status=$?
36267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36268   (exit $ac_status); }; } &&
36269          { ac_try='test -s conftest.$ac_objext'
36270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36271   (eval $ac_try) 2>&5
36272   ac_status=$?
36273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36274   (exit $ac_status); }; }; then
36275   glibcxx_cv_func___builtin_fabsf_use=yes
36276 else
36277   echo "$as_me: failed program was:" >&5
36278 sed 's/^/| /' conftest.$ac_ext >&5
36279
36280 glibcxx_cv_func___builtin_fabsf_use=no
36281 fi
36282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36283       ac_ext=c
36284 ac_cpp='$CPP $CPPFLAGS'
36285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36288
36289
36290 fi
36291
36292   fi
36293   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
36294 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
36295   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
36296     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
36297 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
36298     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
36299       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
36300   echo $ECHO_N "(cached) $ECHO_C" >&6
36301 else
36302
36303         if test x$gcc_no_link = xyes; then
36304   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36306    { (exit 1); exit 1; }; }
36307 fi
36308 cat >conftest.$ac_ext <<_ACEOF
36309 /* confdefs.h.  */
36310 _ACEOF
36311 cat confdefs.h >>conftest.$ac_ext
36312 cat >>conftest.$ac_ext <<_ACEOF
36313 /* end confdefs.h.  */
36314 #include <math.h>
36315 int
36316 main ()
36317 {
36318  __builtin_fabsf(0);
36319   ;
36320   return 0;
36321 }
36322 _ACEOF
36323 rm -f conftest.$ac_objext conftest$ac_exeext
36324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36325   (eval $ac_link) 2>conftest.er1
36326   ac_status=$?
36327   grep -v '^ *+' conftest.er1 >conftest.err
36328   rm -f conftest.er1
36329   cat conftest.err >&5
36330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36331   (exit $ac_status); } &&
36332          { ac_try='test -z "$ac_c_werror_flag"
36333                          || test ! -s conftest.err'
36334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36335   (eval $ac_try) 2>&5
36336   ac_status=$?
36337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36338   (exit $ac_status); }; } &&
36339          { ac_try='test -s conftest$ac_exeext'
36340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36341   (eval $ac_try) 2>&5
36342   ac_status=$?
36343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36344   (exit $ac_status); }; }; then
36345   glibcxx_cv_func___builtin_fabsf_link=yes
36346 else
36347   echo "$as_me: failed program was:" >&5
36348 sed 's/^/| /' conftest.$ac_ext >&5
36349
36350 glibcxx_cv_func___builtin_fabsf_link=no
36351 fi
36352 rm -f conftest.err conftest.$ac_objext \
36353       conftest$ac_exeext conftest.$ac_ext
36354
36355 fi
36356
36357     fi
36358     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
36359 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
36360
36361     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
36362
36363 cat >>confdefs.h <<\_ACEOF
36364 #define HAVE___BUILTIN_FABSF 1
36365 _ACEOF
36366
36367     fi
36368
36369   fi
36370
36371
36372   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
36373 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
36374   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
36375     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
36376   echo $ECHO_N "(cached) $ECHO_C" >&6
36377 else
36378
36379
36380
36381       ac_ext=cc
36382 ac_cpp='$CXXCPP $CPPFLAGS'
36383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36386
36387       cat >conftest.$ac_ext <<_ACEOF
36388 /* confdefs.h.  */
36389 _ACEOF
36390 cat confdefs.h >>conftest.$ac_ext
36391 cat >>conftest.$ac_ext <<_ACEOF
36392 /* end confdefs.h.  */
36393 #include <math.h>
36394 int
36395 main ()
36396 {
36397  __builtin_fabs(0);
36398   ;
36399   return 0;
36400 }
36401 _ACEOF
36402 rm -f conftest.$ac_objext
36403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36404   (eval $ac_compile) 2>conftest.er1
36405   ac_status=$?
36406   grep -v '^ *+' conftest.er1 >conftest.err
36407   rm -f conftest.er1
36408   cat conftest.err >&5
36409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36410   (exit $ac_status); } &&
36411          { ac_try='test -z "$ac_cxx_werror_flag"
36412                          || test ! -s conftest.err'
36413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36414   (eval $ac_try) 2>&5
36415   ac_status=$?
36416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36417   (exit $ac_status); }; } &&
36418          { ac_try='test -s conftest.$ac_objext'
36419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36420   (eval $ac_try) 2>&5
36421   ac_status=$?
36422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36423   (exit $ac_status); }; }; then
36424   glibcxx_cv_func___builtin_fabs_use=yes
36425 else
36426   echo "$as_me: failed program was:" >&5
36427 sed 's/^/| /' conftest.$ac_ext >&5
36428
36429 glibcxx_cv_func___builtin_fabs_use=no
36430 fi
36431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36432       ac_ext=c
36433 ac_cpp='$CPP $CPPFLAGS'
36434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36437
36438
36439 fi
36440
36441   fi
36442   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
36443 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
36444   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
36445     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
36446 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
36447     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
36448       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
36449   echo $ECHO_N "(cached) $ECHO_C" >&6
36450 else
36451
36452         if test x$gcc_no_link = xyes; then
36453   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36455    { (exit 1); exit 1; }; }
36456 fi
36457 cat >conftest.$ac_ext <<_ACEOF
36458 /* confdefs.h.  */
36459 _ACEOF
36460 cat confdefs.h >>conftest.$ac_ext
36461 cat >>conftest.$ac_ext <<_ACEOF
36462 /* end confdefs.h.  */
36463 #include <math.h>
36464 int
36465 main ()
36466 {
36467  __builtin_fabs(0);
36468   ;
36469   return 0;
36470 }
36471 _ACEOF
36472 rm -f conftest.$ac_objext conftest$ac_exeext
36473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36474   (eval $ac_link) 2>conftest.er1
36475   ac_status=$?
36476   grep -v '^ *+' conftest.er1 >conftest.err
36477   rm -f conftest.er1
36478   cat conftest.err >&5
36479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36480   (exit $ac_status); } &&
36481          { ac_try='test -z "$ac_c_werror_flag"
36482                          || test ! -s conftest.err'
36483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36484   (eval $ac_try) 2>&5
36485   ac_status=$?
36486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36487   (exit $ac_status); }; } &&
36488          { ac_try='test -s conftest$ac_exeext'
36489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36490   (eval $ac_try) 2>&5
36491   ac_status=$?
36492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36493   (exit $ac_status); }; }; then
36494   glibcxx_cv_func___builtin_fabs_link=yes
36495 else
36496   echo "$as_me: failed program was:" >&5
36497 sed 's/^/| /' conftest.$ac_ext >&5
36498
36499 glibcxx_cv_func___builtin_fabs_link=no
36500 fi
36501 rm -f conftest.err conftest.$ac_objext \
36502       conftest$ac_exeext conftest.$ac_ext
36503
36504 fi
36505
36506     fi
36507     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
36508 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
36509
36510     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
36511
36512 cat >>confdefs.h <<\_ACEOF
36513 #define HAVE___BUILTIN_FABS 1
36514 _ACEOF
36515
36516     fi
36517
36518   fi
36519
36520
36521   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
36522 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
36523   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
36524     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
36525   echo $ECHO_N "(cached) $ECHO_C" >&6
36526 else
36527
36528
36529
36530       ac_ext=cc
36531 ac_cpp='$CXXCPP $CPPFLAGS'
36532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36535
36536       cat >conftest.$ac_ext <<_ACEOF
36537 /* confdefs.h.  */
36538 _ACEOF
36539 cat confdefs.h >>conftest.$ac_ext
36540 cat >>conftest.$ac_ext <<_ACEOF
36541 /* end confdefs.h.  */
36542 #include <math.h>
36543 int
36544 main ()
36545 {
36546  __builtin_fabsl(0);
36547   ;
36548   return 0;
36549 }
36550 _ACEOF
36551 rm -f conftest.$ac_objext
36552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36553   (eval $ac_compile) 2>conftest.er1
36554   ac_status=$?
36555   grep -v '^ *+' conftest.er1 >conftest.err
36556   rm -f conftest.er1
36557   cat conftest.err >&5
36558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36559   (exit $ac_status); } &&
36560          { ac_try='test -z "$ac_cxx_werror_flag"
36561                          || test ! -s conftest.err'
36562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36563   (eval $ac_try) 2>&5
36564   ac_status=$?
36565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36566   (exit $ac_status); }; } &&
36567          { ac_try='test -s conftest.$ac_objext'
36568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36569   (eval $ac_try) 2>&5
36570   ac_status=$?
36571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36572   (exit $ac_status); }; }; then
36573   glibcxx_cv_func___builtin_fabsl_use=yes
36574 else
36575   echo "$as_me: failed program was:" >&5
36576 sed 's/^/| /' conftest.$ac_ext >&5
36577
36578 glibcxx_cv_func___builtin_fabsl_use=no
36579 fi
36580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36581       ac_ext=c
36582 ac_cpp='$CPP $CPPFLAGS'
36583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36586
36587
36588 fi
36589
36590   fi
36591   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
36592 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
36593   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
36594     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
36595 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
36596     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
36597       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
36598   echo $ECHO_N "(cached) $ECHO_C" >&6
36599 else
36600
36601         if test x$gcc_no_link = xyes; then
36602   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36604    { (exit 1); exit 1; }; }
36605 fi
36606 cat >conftest.$ac_ext <<_ACEOF
36607 /* confdefs.h.  */
36608 _ACEOF
36609 cat confdefs.h >>conftest.$ac_ext
36610 cat >>conftest.$ac_ext <<_ACEOF
36611 /* end confdefs.h.  */
36612 #include <math.h>
36613 int
36614 main ()
36615 {
36616  __builtin_fabsl(0);
36617   ;
36618   return 0;
36619 }
36620 _ACEOF
36621 rm -f conftest.$ac_objext conftest$ac_exeext
36622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36623   (eval $ac_link) 2>conftest.er1
36624   ac_status=$?
36625   grep -v '^ *+' conftest.er1 >conftest.err
36626   rm -f conftest.er1
36627   cat conftest.err >&5
36628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36629   (exit $ac_status); } &&
36630          { ac_try='test -z "$ac_c_werror_flag"
36631                          || test ! -s conftest.err'
36632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36633   (eval $ac_try) 2>&5
36634   ac_status=$?
36635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36636   (exit $ac_status); }; } &&
36637          { ac_try='test -s conftest$ac_exeext'
36638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36639   (eval $ac_try) 2>&5
36640   ac_status=$?
36641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36642   (exit $ac_status); }; }; then
36643   glibcxx_cv_func___builtin_fabsl_link=yes
36644 else
36645   echo "$as_me: failed program was:" >&5
36646 sed 's/^/| /' conftest.$ac_ext >&5
36647
36648 glibcxx_cv_func___builtin_fabsl_link=no
36649 fi
36650 rm -f conftest.err conftest.$ac_objext \
36651       conftest$ac_exeext conftest.$ac_ext
36652
36653 fi
36654
36655     fi
36656     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
36657 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
36658
36659     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
36660
36661 cat >>confdefs.h <<\_ACEOF
36662 #define HAVE___BUILTIN_FABSL 1
36663 _ACEOF
36664
36665     fi
36666
36667   fi
36668
36669
36670   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
36671 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
36672   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
36673     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
36674   echo $ECHO_N "(cached) $ECHO_C" >&6
36675 else
36676
36677
36678
36679       ac_ext=cc
36680 ac_cpp='$CXXCPP $CPPFLAGS'
36681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36684
36685       cat >conftest.$ac_ext <<_ACEOF
36686 /* confdefs.h.  */
36687 _ACEOF
36688 cat confdefs.h >>conftest.$ac_ext
36689 cat >>conftest.$ac_ext <<_ACEOF
36690 /* end confdefs.h.  */
36691 #include <math.h>
36692 int
36693 main ()
36694 {
36695  __builtin_labs(0);
36696   ;
36697   return 0;
36698 }
36699 _ACEOF
36700 rm -f conftest.$ac_objext
36701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36702   (eval $ac_compile) 2>conftest.er1
36703   ac_status=$?
36704   grep -v '^ *+' conftest.er1 >conftest.err
36705   rm -f conftest.er1
36706   cat conftest.err >&5
36707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36708   (exit $ac_status); } &&
36709          { ac_try='test -z "$ac_cxx_werror_flag"
36710                          || test ! -s conftest.err'
36711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36712   (eval $ac_try) 2>&5
36713   ac_status=$?
36714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36715   (exit $ac_status); }; } &&
36716          { ac_try='test -s conftest.$ac_objext'
36717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36718   (eval $ac_try) 2>&5
36719   ac_status=$?
36720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36721   (exit $ac_status); }; }; then
36722   glibcxx_cv_func___builtin_labs_use=yes
36723 else
36724   echo "$as_me: failed program was:" >&5
36725 sed 's/^/| /' conftest.$ac_ext >&5
36726
36727 glibcxx_cv_func___builtin_labs_use=no
36728 fi
36729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36730       ac_ext=c
36731 ac_cpp='$CPP $CPPFLAGS'
36732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36735
36736
36737 fi
36738
36739   fi
36740   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
36741 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
36742   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
36743     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
36744 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
36745     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
36746       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
36747   echo $ECHO_N "(cached) $ECHO_C" >&6
36748 else
36749
36750         if test x$gcc_no_link = xyes; then
36751   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36753    { (exit 1); exit 1; }; }
36754 fi
36755 cat >conftest.$ac_ext <<_ACEOF
36756 /* confdefs.h.  */
36757 _ACEOF
36758 cat confdefs.h >>conftest.$ac_ext
36759 cat >>conftest.$ac_ext <<_ACEOF
36760 /* end confdefs.h.  */
36761 #include <math.h>
36762 int
36763 main ()
36764 {
36765  __builtin_labs(0);
36766   ;
36767   return 0;
36768 }
36769 _ACEOF
36770 rm -f conftest.$ac_objext conftest$ac_exeext
36771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36772   (eval $ac_link) 2>conftest.er1
36773   ac_status=$?
36774   grep -v '^ *+' conftest.er1 >conftest.err
36775   rm -f conftest.er1
36776   cat conftest.err >&5
36777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36778   (exit $ac_status); } &&
36779          { ac_try='test -z "$ac_c_werror_flag"
36780                          || test ! -s conftest.err'
36781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36782   (eval $ac_try) 2>&5
36783   ac_status=$?
36784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36785   (exit $ac_status); }; } &&
36786          { ac_try='test -s conftest$ac_exeext'
36787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36788   (eval $ac_try) 2>&5
36789   ac_status=$?
36790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36791   (exit $ac_status); }; }; then
36792   glibcxx_cv_func___builtin_labs_link=yes
36793 else
36794   echo "$as_me: failed program was:" >&5
36795 sed 's/^/| /' conftest.$ac_ext >&5
36796
36797 glibcxx_cv_func___builtin_labs_link=no
36798 fi
36799 rm -f conftest.err conftest.$ac_objext \
36800       conftest$ac_exeext conftest.$ac_ext
36801
36802 fi
36803
36804     fi
36805     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
36806 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
36807
36808     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
36809
36810 cat >>confdefs.h <<\_ACEOF
36811 #define HAVE___BUILTIN_LABS 1
36812 _ACEOF
36813
36814     fi
36815
36816   fi
36817
36818
36819
36820   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
36821 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
36822   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
36823     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
36824   echo $ECHO_N "(cached) $ECHO_C" >&6
36825 else
36826
36827
36828
36829       ac_ext=cc
36830 ac_cpp='$CXXCPP $CPPFLAGS'
36831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36834
36835       cat >conftest.$ac_ext <<_ACEOF
36836 /* confdefs.h.  */
36837 _ACEOF
36838 cat confdefs.h >>conftest.$ac_ext
36839 cat >>conftest.$ac_ext <<_ACEOF
36840 /* end confdefs.h.  */
36841 #include <math.h>
36842 int
36843 main ()
36844 {
36845  __builtin_sqrtf(0);
36846   ;
36847   return 0;
36848 }
36849 _ACEOF
36850 rm -f conftest.$ac_objext
36851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36852   (eval $ac_compile) 2>conftest.er1
36853   ac_status=$?
36854   grep -v '^ *+' conftest.er1 >conftest.err
36855   rm -f conftest.er1
36856   cat conftest.err >&5
36857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36858   (exit $ac_status); } &&
36859          { ac_try='test -z "$ac_cxx_werror_flag"
36860                          || test ! -s conftest.err'
36861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36862   (eval $ac_try) 2>&5
36863   ac_status=$?
36864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36865   (exit $ac_status); }; } &&
36866          { ac_try='test -s conftest.$ac_objext'
36867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36868   (eval $ac_try) 2>&5
36869   ac_status=$?
36870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36871   (exit $ac_status); }; }; then
36872   glibcxx_cv_func___builtin_sqrtf_use=yes
36873 else
36874   echo "$as_me: failed program was:" >&5
36875 sed 's/^/| /' conftest.$ac_ext >&5
36876
36877 glibcxx_cv_func___builtin_sqrtf_use=no
36878 fi
36879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36880       ac_ext=c
36881 ac_cpp='$CPP $CPPFLAGS'
36882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36885
36886
36887 fi
36888
36889   fi
36890   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
36891 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
36892   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
36893     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
36894 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
36895     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
36896       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
36897   echo $ECHO_N "(cached) $ECHO_C" >&6
36898 else
36899
36900         if test x$gcc_no_link = xyes; then
36901   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36903    { (exit 1); exit 1; }; }
36904 fi
36905 cat >conftest.$ac_ext <<_ACEOF
36906 /* confdefs.h.  */
36907 _ACEOF
36908 cat confdefs.h >>conftest.$ac_ext
36909 cat >>conftest.$ac_ext <<_ACEOF
36910 /* end confdefs.h.  */
36911 #include <math.h>
36912 int
36913 main ()
36914 {
36915  __builtin_sqrtf(0);
36916   ;
36917   return 0;
36918 }
36919 _ACEOF
36920 rm -f conftest.$ac_objext conftest$ac_exeext
36921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36922   (eval $ac_link) 2>conftest.er1
36923   ac_status=$?
36924   grep -v '^ *+' conftest.er1 >conftest.err
36925   rm -f conftest.er1
36926   cat conftest.err >&5
36927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36928   (exit $ac_status); } &&
36929          { ac_try='test -z "$ac_c_werror_flag"
36930                          || test ! -s conftest.err'
36931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36932   (eval $ac_try) 2>&5
36933   ac_status=$?
36934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36935   (exit $ac_status); }; } &&
36936          { ac_try='test -s conftest$ac_exeext'
36937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36938   (eval $ac_try) 2>&5
36939   ac_status=$?
36940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36941   (exit $ac_status); }; }; then
36942   glibcxx_cv_func___builtin_sqrtf_link=yes
36943 else
36944   echo "$as_me: failed program was:" >&5
36945 sed 's/^/| /' conftest.$ac_ext >&5
36946
36947 glibcxx_cv_func___builtin_sqrtf_link=no
36948 fi
36949 rm -f conftest.err conftest.$ac_objext \
36950       conftest$ac_exeext conftest.$ac_ext
36951
36952 fi
36953
36954     fi
36955     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
36956 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
36957
36958     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
36959
36960 cat >>confdefs.h <<\_ACEOF
36961 #define HAVE___BUILTIN_SQRTF 1
36962 _ACEOF
36963
36964     fi
36965
36966   fi
36967
36968
36969   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
36970 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
36971   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
36972     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
36973   echo $ECHO_N "(cached) $ECHO_C" >&6
36974 else
36975
36976
36977
36978       ac_ext=cc
36979 ac_cpp='$CXXCPP $CPPFLAGS'
36980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36983
36984       cat >conftest.$ac_ext <<_ACEOF
36985 /* confdefs.h.  */
36986 _ACEOF
36987 cat confdefs.h >>conftest.$ac_ext
36988 cat >>conftest.$ac_ext <<_ACEOF
36989 /* end confdefs.h.  */
36990 #include <math.h>
36991 int
36992 main ()
36993 {
36994  __builtin_sqrt(0);
36995   ;
36996   return 0;
36997 }
36998 _ACEOF
36999 rm -f conftest.$ac_objext
37000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37001   (eval $ac_compile) 2>conftest.er1
37002   ac_status=$?
37003   grep -v '^ *+' conftest.er1 >conftest.err
37004   rm -f conftest.er1
37005   cat conftest.err >&5
37006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37007   (exit $ac_status); } &&
37008          { ac_try='test -z "$ac_cxx_werror_flag"
37009                          || test ! -s conftest.err'
37010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37011   (eval $ac_try) 2>&5
37012   ac_status=$?
37013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37014   (exit $ac_status); }; } &&
37015          { ac_try='test -s conftest.$ac_objext'
37016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37017   (eval $ac_try) 2>&5
37018   ac_status=$?
37019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37020   (exit $ac_status); }; }; then
37021   glibcxx_cv_func___builtin_sqrt_use=yes
37022 else
37023   echo "$as_me: failed program was:" >&5
37024 sed 's/^/| /' conftest.$ac_ext >&5
37025
37026 glibcxx_cv_func___builtin_sqrt_use=no
37027 fi
37028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37029       ac_ext=c
37030 ac_cpp='$CPP $CPPFLAGS'
37031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37034
37035
37036 fi
37037
37038   fi
37039   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
37040 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
37041   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
37042     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
37043 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
37044     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
37045       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
37046   echo $ECHO_N "(cached) $ECHO_C" >&6
37047 else
37048
37049         if test x$gcc_no_link = xyes; then
37050   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37052    { (exit 1); exit 1; }; }
37053 fi
37054 cat >conftest.$ac_ext <<_ACEOF
37055 /* confdefs.h.  */
37056 _ACEOF
37057 cat confdefs.h >>conftest.$ac_ext
37058 cat >>conftest.$ac_ext <<_ACEOF
37059 /* end confdefs.h.  */
37060 #include <math.h>
37061 int
37062 main ()
37063 {
37064  __builtin_sqrt(0);
37065   ;
37066   return 0;
37067 }
37068 _ACEOF
37069 rm -f conftest.$ac_objext conftest$ac_exeext
37070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37071   (eval $ac_link) 2>conftest.er1
37072   ac_status=$?
37073   grep -v '^ *+' conftest.er1 >conftest.err
37074   rm -f conftest.er1
37075   cat conftest.err >&5
37076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37077   (exit $ac_status); } &&
37078          { ac_try='test -z "$ac_c_werror_flag"
37079                          || test ! -s conftest.err'
37080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37081   (eval $ac_try) 2>&5
37082   ac_status=$?
37083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37084   (exit $ac_status); }; } &&
37085          { ac_try='test -s conftest$ac_exeext'
37086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37087   (eval $ac_try) 2>&5
37088   ac_status=$?
37089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37090   (exit $ac_status); }; }; then
37091   glibcxx_cv_func___builtin_sqrt_link=yes
37092 else
37093   echo "$as_me: failed program was:" >&5
37094 sed 's/^/| /' conftest.$ac_ext >&5
37095
37096 glibcxx_cv_func___builtin_sqrt_link=no
37097 fi
37098 rm -f conftest.err conftest.$ac_objext \
37099       conftest$ac_exeext conftest.$ac_ext
37100
37101 fi
37102
37103     fi
37104     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
37105 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
37106
37107     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
37108
37109 cat >>confdefs.h <<\_ACEOF
37110 #define HAVE___BUILTIN_SQRT 1
37111 _ACEOF
37112
37113     fi
37114
37115   fi
37116
37117
37118   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
37119 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
37120   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
37121     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
37122   echo $ECHO_N "(cached) $ECHO_C" >&6
37123 else
37124
37125
37126
37127       ac_ext=cc
37128 ac_cpp='$CXXCPP $CPPFLAGS'
37129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37132
37133       cat >conftest.$ac_ext <<_ACEOF
37134 /* confdefs.h.  */
37135 _ACEOF
37136 cat confdefs.h >>conftest.$ac_ext
37137 cat >>conftest.$ac_ext <<_ACEOF
37138 /* end confdefs.h.  */
37139 #include <math.h>
37140 int
37141 main ()
37142 {
37143  __builtin_sqrtl(0);
37144   ;
37145   return 0;
37146 }
37147 _ACEOF
37148 rm -f conftest.$ac_objext
37149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37150   (eval $ac_compile) 2>conftest.er1
37151   ac_status=$?
37152   grep -v '^ *+' conftest.er1 >conftest.err
37153   rm -f conftest.er1
37154   cat conftest.err >&5
37155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37156   (exit $ac_status); } &&
37157          { ac_try='test -z "$ac_cxx_werror_flag"
37158                          || test ! -s conftest.err'
37159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37160   (eval $ac_try) 2>&5
37161   ac_status=$?
37162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37163   (exit $ac_status); }; } &&
37164          { ac_try='test -s conftest.$ac_objext'
37165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37166   (eval $ac_try) 2>&5
37167   ac_status=$?
37168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37169   (exit $ac_status); }; }; then
37170   glibcxx_cv_func___builtin_sqrtl_use=yes
37171 else
37172   echo "$as_me: failed program was:" >&5
37173 sed 's/^/| /' conftest.$ac_ext >&5
37174
37175 glibcxx_cv_func___builtin_sqrtl_use=no
37176 fi
37177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37178       ac_ext=c
37179 ac_cpp='$CPP $CPPFLAGS'
37180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37183
37184
37185 fi
37186
37187   fi
37188   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
37189 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
37190   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
37191     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
37192 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
37193     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
37194       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
37195   echo $ECHO_N "(cached) $ECHO_C" >&6
37196 else
37197
37198         if test x$gcc_no_link = xyes; then
37199   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37201    { (exit 1); exit 1; }; }
37202 fi
37203 cat >conftest.$ac_ext <<_ACEOF
37204 /* confdefs.h.  */
37205 _ACEOF
37206 cat confdefs.h >>conftest.$ac_ext
37207 cat >>conftest.$ac_ext <<_ACEOF
37208 /* end confdefs.h.  */
37209 #include <math.h>
37210 int
37211 main ()
37212 {
37213  __builtin_sqrtl(0);
37214   ;
37215   return 0;
37216 }
37217 _ACEOF
37218 rm -f conftest.$ac_objext conftest$ac_exeext
37219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37220   (eval $ac_link) 2>conftest.er1
37221   ac_status=$?
37222   grep -v '^ *+' conftest.er1 >conftest.err
37223   rm -f conftest.er1
37224   cat conftest.err >&5
37225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37226   (exit $ac_status); } &&
37227          { ac_try='test -z "$ac_c_werror_flag"
37228                          || test ! -s conftest.err'
37229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37230   (eval $ac_try) 2>&5
37231   ac_status=$?
37232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37233   (exit $ac_status); }; } &&
37234          { ac_try='test -s conftest$ac_exeext'
37235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37236   (eval $ac_try) 2>&5
37237   ac_status=$?
37238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37239   (exit $ac_status); }; }; then
37240   glibcxx_cv_func___builtin_sqrtl_link=yes
37241 else
37242   echo "$as_me: failed program was:" >&5
37243 sed 's/^/| /' conftest.$ac_ext >&5
37244
37245 glibcxx_cv_func___builtin_sqrtl_link=no
37246 fi
37247 rm -f conftest.err conftest.$ac_objext \
37248       conftest$ac_exeext conftest.$ac_ext
37249
37250 fi
37251
37252     fi
37253     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
37254 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
37255
37256     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
37257
37258 cat >>confdefs.h <<\_ACEOF
37259 #define HAVE___BUILTIN_SQRTL 1
37260 _ACEOF
37261
37262     fi
37263
37264   fi
37265
37266
37267
37268   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
37269 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
37270   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
37271     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
37272   echo $ECHO_N "(cached) $ECHO_C" >&6
37273 else
37274
37275
37276
37277       ac_ext=cc
37278 ac_cpp='$CXXCPP $CPPFLAGS'
37279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37282
37283       cat >conftest.$ac_ext <<_ACEOF
37284 /* confdefs.h.  */
37285 _ACEOF
37286 cat confdefs.h >>conftest.$ac_ext
37287 cat >>conftest.$ac_ext <<_ACEOF
37288 /* end confdefs.h.  */
37289 #include <math.h>
37290 int
37291 main ()
37292 {
37293  __builtin_sinf(0);
37294   ;
37295   return 0;
37296 }
37297 _ACEOF
37298 rm -f conftest.$ac_objext
37299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37300   (eval $ac_compile) 2>conftest.er1
37301   ac_status=$?
37302   grep -v '^ *+' conftest.er1 >conftest.err
37303   rm -f conftest.er1
37304   cat conftest.err >&5
37305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37306   (exit $ac_status); } &&
37307          { ac_try='test -z "$ac_cxx_werror_flag"
37308                          || test ! -s conftest.err'
37309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37310   (eval $ac_try) 2>&5
37311   ac_status=$?
37312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37313   (exit $ac_status); }; } &&
37314          { ac_try='test -s conftest.$ac_objext'
37315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37316   (eval $ac_try) 2>&5
37317   ac_status=$?
37318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37319   (exit $ac_status); }; }; then
37320   glibcxx_cv_func___builtin_sinf_use=yes
37321 else
37322   echo "$as_me: failed program was:" >&5
37323 sed 's/^/| /' conftest.$ac_ext >&5
37324
37325 glibcxx_cv_func___builtin_sinf_use=no
37326 fi
37327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37328       ac_ext=c
37329 ac_cpp='$CPP $CPPFLAGS'
37330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37333
37334
37335 fi
37336
37337   fi
37338   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
37339 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
37340   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
37341     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
37342 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
37343     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
37344       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
37345   echo $ECHO_N "(cached) $ECHO_C" >&6
37346 else
37347
37348         if test x$gcc_no_link = xyes; then
37349   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37351    { (exit 1); exit 1; }; }
37352 fi
37353 cat >conftest.$ac_ext <<_ACEOF
37354 /* confdefs.h.  */
37355 _ACEOF
37356 cat confdefs.h >>conftest.$ac_ext
37357 cat >>conftest.$ac_ext <<_ACEOF
37358 /* end confdefs.h.  */
37359 #include <math.h>
37360 int
37361 main ()
37362 {
37363  __builtin_sinf(0);
37364   ;
37365   return 0;
37366 }
37367 _ACEOF
37368 rm -f conftest.$ac_objext conftest$ac_exeext
37369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37370   (eval $ac_link) 2>conftest.er1
37371   ac_status=$?
37372   grep -v '^ *+' conftest.er1 >conftest.err
37373   rm -f conftest.er1
37374   cat conftest.err >&5
37375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37376   (exit $ac_status); } &&
37377          { ac_try='test -z "$ac_c_werror_flag"
37378                          || test ! -s conftest.err'
37379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37380   (eval $ac_try) 2>&5
37381   ac_status=$?
37382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37383   (exit $ac_status); }; } &&
37384          { ac_try='test -s conftest$ac_exeext'
37385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37386   (eval $ac_try) 2>&5
37387   ac_status=$?
37388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37389   (exit $ac_status); }; }; then
37390   glibcxx_cv_func___builtin_sinf_link=yes
37391 else
37392   echo "$as_me: failed program was:" >&5
37393 sed 's/^/| /' conftest.$ac_ext >&5
37394
37395 glibcxx_cv_func___builtin_sinf_link=no
37396 fi
37397 rm -f conftest.err conftest.$ac_objext \
37398       conftest$ac_exeext conftest.$ac_ext
37399
37400 fi
37401
37402     fi
37403     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
37404 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
37405
37406     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
37407
37408 cat >>confdefs.h <<\_ACEOF
37409 #define HAVE___BUILTIN_SINF 1
37410 _ACEOF
37411
37412     fi
37413
37414   fi
37415
37416
37417   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
37418 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
37419   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
37420     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
37421   echo $ECHO_N "(cached) $ECHO_C" >&6
37422 else
37423
37424
37425
37426       ac_ext=cc
37427 ac_cpp='$CXXCPP $CPPFLAGS'
37428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37431
37432       cat >conftest.$ac_ext <<_ACEOF
37433 /* confdefs.h.  */
37434 _ACEOF
37435 cat confdefs.h >>conftest.$ac_ext
37436 cat >>conftest.$ac_ext <<_ACEOF
37437 /* end confdefs.h.  */
37438 #include <math.h>
37439 int
37440 main ()
37441 {
37442  __builtin_sin(0);
37443   ;
37444   return 0;
37445 }
37446 _ACEOF
37447 rm -f conftest.$ac_objext
37448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37449   (eval $ac_compile) 2>conftest.er1
37450   ac_status=$?
37451   grep -v '^ *+' conftest.er1 >conftest.err
37452   rm -f conftest.er1
37453   cat conftest.err >&5
37454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37455   (exit $ac_status); } &&
37456          { ac_try='test -z "$ac_cxx_werror_flag"
37457                          || test ! -s conftest.err'
37458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37459   (eval $ac_try) 2>&5
37460   ac_status=$?
37461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37462   (exit $ac_status); }; } &&
37463          { ac_try='test -s conftest.$ac_objext'
37464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37465   (eval $ac_try) 2>&5
37466   ac_status=$?
37467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37468   (exit $ac_status); }; }; then
37469   glibcxx_cv_func___builtin_sin_use=yes
37470 else
37471   echo "$as_me: failed program was:" >&5
37472 sed 's/^/| /' conftest.$ac_ext >&5
37473
37474 glibcxx_cv_func___builtin_sin_use=no
37475 fi
37476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37477       ac_ext=c
37478 ac_cpp='$CPP $CPPFLAGS'
37479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37482
37483
37484 fi
37485
37486   fi
37487   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
37488 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
37489   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
37490     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
37491 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
37492     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
37493       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
37494   echo $ECHO_N "(cached) $ECHO_C" >&6
37495 else
37496
37497         if test x$gcc_no_link = xyes; then
37498   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37500    { (exit 1); exit 1; }; }
37501 fi
37502 cat >conftest.$ac_ext <<_ACEOF
37503 /* confdefs.h.  */
37504 _ACEOF
37505 cat confdefs.h >>conftest.$ac_ext
37506 cat >>conftest.$ac_ext <<_ACEOF
37507 /* end confdefs.h.  */
37508 #include <math.h>
37509 int
37510 main ()
37511 {
37512  __builtin_sin(0);
37513   ;
37514   return 0;
37515 }
37516 _ACEOF
37517 rm -f conftest.$ac_objext conftest$ac_exeext
37518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37519   (eval $ac_link) 2>conftest.er1
37520   ac_status=$?
37521   grep -v '^ *+' conftest.er1 >conftest.err
37522   rm -f conftest.er1
37523   cat conftest.err >&5
37524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37525   (exit $ac_status); } &&
37526          { ac_try='test -z "$ac_c_werror_flag"
37527                          || test ! -s conftest.err'
37528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37529   (eval $ac_try) 2>&5
37530   ac_status=$?
37531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37532   (exit $ac_status); }; } &&
37533          { ac_try='test -s conftest$ac_exeext'
37534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37535   (eval $ac_try) 2>&5
37536   ac_status=$?
37537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37538   (exit $ac_status); }; }; then
37539   glibcxx_cv_func___builtin_sin_link=yes
37540 else
37541   echo "$as_me: failed program was:" >&5
37542 sed 's/^/| /' conftest.$ac_ext >&5
37543
37544 glibcxx_cv_func___builtin_sin_link=no
37545 fi
37546 rm -f conftest.err conftest.$ac_objext \
37547       conftest$ac_exeext conftest.$ac_ext
37548
37549 fi
37550
37551     fi
37552     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
37553 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
37554
37555     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
37556
37557 cat >>confdefs.h <<\_ACEOF
37558 #define HAVE___BUILTIN_SIN 1
37559 _ACEOF
37560
37561     fi
37562
37563   fi
37564
37565
37566   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
37567 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
37568   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
37569     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
37570   echo $ECHO_N "(cached) $ECHO_C" >&6
37571 else
37572
37573
37574
37575       ac_ext=cc
37576 ac_cpp='$CXXCPP $CPPFLAGS'
37577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37580
37581       cat >conftest.$ac_ext <<_ACEOF
37582 /* confdefs.h.  */
37583 _ACEOF
37584 cat confdefs.h >>conftest.$ac_ext
37585 cat >>conftest.$ac_ext <<_ACEOF
37586 /* end confdefs.h.  */
37587 #include <math.h>
37588 int
37589 main ()
37590 {
37591  __builtin_sinl(0);
37592   ;
37593   return 0;
37594 }
37595 _ACEOF
37596 rm -f conftest.$ac_objext
37597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37598   (eval $ac_compile) 2>conftest.er1
37599   ac_status=$?
37600   grep -v '^ *+' conftest.er1 >conftest.err
37601   rm -f conftest.er1
37602   cat conftest.err >&5
37603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37604   (exit $ac_status); } &&
37605          { ac_try='test -z "$ac_cxx_werror_flag"
37606                          || test ! -s conftest.err'
37607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37608   (eval $ac_try) 2>&5
37609   ac_status=$?
37610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37611   (exit $ac_status); }; } &&
37612          { ac_try='test -s conftest.$ac_objext'
37613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37614   (eval $ac_try) 2>&5
37615   ac_status=$?
37616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37617   (exit $ac_status); }; }; then
37618   glibcxx_cv_func___builtin_sinl_use=yes
37619 else
37620   echo "$as_me: failed program was:" >&5
37621 sed 's/^/| /' conftest.$ac_ext >&5
37622
37623 glibcxx_cv_func___builtin_sinl_use=no
37624 fi
37625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37626       ac_ext=c
37627 ac_cpp='$CPP $CPPFLAGS'
37628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37631
37632
37633 fi
37634
37635   fi
37636   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
37637 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
37638   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
37639     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
37640 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
37641     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
37642       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
37643   echo $ECHO_N "(cached) $ECHO_C" >&6
37644 else
37645
37646         if test x$gcc_no_link = xyes; then
37647   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37649    { (exit 1); exit 1; }; }
37650 fi
37651 cat >conftest.$ac_ext <<_ACEOF
37652 /* confdefs.h.  */
37653 _ACEOF
37654 cat confdefs.h >>conftest.$ac_ext
37655 cat >>conftest.$ac_ext <<_ACEOF
37656 /* end confdefs.h.  */
37657 #include <math.h>
37658 int
37659 main ()
37660 {
37661  __builtin_sinl(0);
37662   ;
37663   return 0;
37664 }
37665 _ACEOF
37666 rm -f conftest.$ac_objext conftest$ac_exeext
37667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37668   (eval $ac_link) 2>conftest.er1
37669   ac_status=$?
37670   grep -v '^ *+' conftest.er1 >conftest.err
37671   rm -f conftest.er1
37672   cat conftest.err >&5
37673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37674   (exit $ac_status); } &&
37675          { ac_try='test -z "$ac_c_werror_flag"
37676                          || test ! -s conftest.err'
37677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37678   (eval $ac_try) 2>&5
37679   ac_status=$?
37680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37681   (exit $ac_status); }; } &&
37682          { ac_try='test -s conftest$ac_exeext'
37683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37684   (eval $ac_try) 2>&5
37685   ac_status=$?
37686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37687   (exit $ac_status); }; }; then
37688   glibcxx_cv_func___builtin_sinl_link=yes
37689 else
37690   echo "$as_me: failed program was:" >&5
37691 sed 's/^/| /' conftest.$ac_ext >&5
37692
37693 glibcxx_cv_func___builtin_sinl_link=no
37694 fi
37695 rm -f conftest.err conftest.$ac_objext \
37696       conftest$ac_exeext conftest.$ac_ext
37697
37698 fi
37699
37700     fi
37701     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
37702 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
37703
37704     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
37705
37706 cat >>confdefs.h <<\_ACEOF
37707 #define HAVE___BUILTIN_SINL 1
37708 _ACEOF
37709
37710     fi
37711
37712   fi
37713
37714
37715
37716   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
37717 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
37718   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
37719     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
37720   echo $ECHO_N "(cached) $ECHO_C" >&6
37721 else
37722
37723
37724
37725       ac_ext=cc
37726 ac_cpp='$CXXCPP $CPPFLAGS'
37727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37730
37731       cat >conftest.$ac_ext <<_ACEOF
37732 /* confdefs.h.  */
37733 _ACEOF
37734 cat confdefs.h >>conftest.$ac_ext
37735 cat >>conftest.$ac_ext <<_ACEOF
37736 /* end confdefs.h.  */
37737 #include <math.h>
37738 int
37739 main ()
37740 {
37741  __builtin_cosf(0);
37742   ;
37743   return 0;
37744 }
37745 _ACEOF
37746 rm -f conftest.$ac_objext
37747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37748   (eval $ac_compile) 2>conftest.er1
37749   ac_status=$?
37750   grep -v '^ *+' conftest.er1 >conftest.err
37751   rm -f conftest.er1
37752   cat conftest.err >&5
37753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37754   (exit $ac_status); } &&
37755          { ac_try='test -z "$ac_cxx_werror_flag"
37756                          || test ! -s conftest.err'
37757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37758   (eval $ac_try) 2>&5
37759   ac_status=$?
37760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37761   (exit $ac_status); }; } &&
37762          { ac_try='test -s conftest.$ac_objext'
37763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37764   (eval $ac_try) 2>&5
37765   ac_status=$?
37766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37767   (exit $ac_status); }; }; then
37768   glibcxx_cv_func___builtin_cosf_use=yes
37769 else
37770   echo "$as_me: failed program was:" >&5
37771 sed 's/^/| /' conftest.$ac_ext >&5
37772
37773 glibcxx_cv_func___builtin_cosf_use=no
37774 fi
37775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37776       ac_ext=c
37777 ac_cpp='$CPP $CPPFLAGS'
37778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37781
37782
37783 fi
37784
37785   fi
37786   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
37787 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
37788   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
37789     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
37790 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
37791     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
37792       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
37793   echo $ECHO_N "(cached) $ECHO_C" >&6
37794 else
37795
37796         if test x$gcc_no_link = xyes; then
37797   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37799    { (exit 1); exit 1; }; }
37800 fi
37801 cat >conftest.$ac_ext <<_ACEOF
37802 /* confdefs.h.  */
37803 _ACEOF
37804 cat confdefs.h >>conftest.$ac_ext
37805 cat >>conftest.$ac_ext <<_ACEOF
37806 /* end confdefs.h.  */
37807 #include <math.h>
37808 int
37809 main ()
37810 {
37811  __builtin_cosf(0);
37812   ;
37813   return 0;
37814 }
37815 _ACEOF
37816 rm -f conftest.$ac_objext conftest$ac_exeext
37817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37818   (eval $ac_link) 2>conftest.er1
37819   ac_status=$?
37820   grep -v '^ *+' conftest.er1 >conftest.err
37821   rm -f conftest.er1
37822   cat conftest.err >&5
37823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37824   (exit $ac_status); } &&
37825          { ac_try='test -z "$ac_c_werror_flag"
37826                          || test ! -s conftest.err'
37827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37828   (eval $ac_try) 2>&5
37829   ac_status=$?
37830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37831   (exit $ac_status); }; } &&
37832          { ac_try='test -s conftest$ac_exeext'
37833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37834   (eval $ac_try) 2>&5
37835   ac_status=$?
37836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37837   (exit $ac_status); }; }; then
37838   glibcxx_cv_func___builtin_cosf_link=yes
37839 else
37840   echo "$as_me: failed program was:" >&5
37841 sed 's/^/| /' conftest.$ac_ext >&5
37842
37843 glibcxx_cv_func___builtin_cosf_link=no
37844 fi
37845 rm -f conftest.err conftest.$ac_objext \
37846       conftest$ac_exeext conftest.$ac_ext
37847
37848 fi
37849
37850     fi
37851     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
37852 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
37853
37854     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
37855
37856 cat >>confdefs.h <<\_ACEOF
37857 #define HAVE___BUILTIN_COSF 1
37858 _ACEOF
37859
37860     fi
37861
37862   fi
37863
37864
37865   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
37866 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
37867   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
37868     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
37869   echo $ECHO_N "(cached) $ECHO_C" >&6
37870 else
37871
37872
37873
37874       ac_ext=cc
37875 ac_cpp='$CXXCPP $CPPFLAGS'
37876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37879
37880       cat >conftest.$ac_ext <<_ACEOF
37881 /* confdefs.h.  */
37882 _ACEOF
37883 cat confdefs.h >>conftest.$ac_ext
37884 cat >>conftest.$ac_ext <<_ACEOF
37885 /* end confdefs.h.  */
37886 #include <math.h>
37887 int
37888 main ()
37889 {
37890  __builtin_cos(0);
37891   ;
37892   return 0;
37893 }
37894 _ACEOF
37895 rm -f conftest.$ac_objext
37896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37897   (eval $ac_compile) 2>conftest.er1
37898   ac_status=$?
37899   grep -v '^ *+' conftest.er1 >conftest.err
37900   rm -f conftest.er1
37901   cat conftest.err >&5
37902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37903   (exit $ac_status); } &&
37904          { ac_try='test -z "$ac_cxx_werror_flag"
37905                          || test ! -s conftest.err'
37906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37907   (eval $ac_try) 2>&5
37908   ac_status=$?
37909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37910   (exit $ac_status); }; } &&
37911          { ac_try='test -s conftest.$ac_objext'
37912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37913   (eval $ac_try) 2>&5
37914   ac_status=$?
37915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37916   (exit $ac_status); }; }; then
37917   glibcxx_cv_func___builtin_cos_use=yes
37918 else
37919   echo "$as_me: failed program was:" >&5
37920 sed 's/^/| /' conftest.$ac_ext >&5
37921
37922 glibcxx_cv_func___builtin_cos_use=no
37923 fi
37924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37925       ac_ext=c
37926 ac_cpp='$CPP $CPPFLAGS'
37927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37930
37931
37932 fi
37933
37934   fi
37935   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
37936 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
37937   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
37938     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
37939 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
37940     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
37941       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
37942   echo $ECHO_N "(cached) $ECHO_C" >&6
37943 else
37944
37945         if test x$gcc_no_link = xyes; then
37946   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37948    { (exit 1); exit 1; }; }
37949 fi
37950 cat >conftest.$ac_ext <<_ACEOF
37951 /* confdefs.h.  */
37952 _ACEOF
37953 cat confdefs.h >>conftest.$ac_ext
37954 cat >>conftest.$ac_ext <<_ACEOF
37955 /* end confdefs.h.  */
37956 #include <math.h>
37957 int
37958 main ()
37959 {
37960  __builtin_cos(0);
37961   ;
37962   return 0;
37963 }
37964 _ACEOF
37965 rm -f conftest.$ac_objext conftest$ac_exeext
37966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37967   (eval $ac_link) 2>conftest.er1
37968   ac_status=$?
37969   grep -v '^ *+' conftest.er1 >conftest.err
37970   rm -f conftest.er1
37971   cat conftest.err >&5
37972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37973   (exit $ac_status); } &&
37974          { ac_try='test -z "$ac_c_werror_flag"
37975                          || test ! -s conftest.err'
37976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37977   (eval $ac_try) 2>&5
37978   ac_status=$?
37979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37980   (exit $ac_status); }; } &&
37981          { ac_try='test -s conftest$ac_exeext'
37982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37983   (eval $ac_try) 2>&5
37984   ac_status=$?
37985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37986   (exit $ac_status); }; }; then
37987   glibcxx_cv_func___builtin_cos_link=yes
37988 else
37989   echo "$as_me: failed program was:" >&5
37990 sed 's/^/| /' conftest.$ac_ext >&5
37991
37992 glibcxx_cv_func___builtin_cos_link=no
37993 fi
37994 rm -f conftest.err conftest.$ac_objext \
37995       conftest$ac_exeext conftest.$ac_ext
37996
37997 fi
37998
37999     fi
38000     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
38001 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
38002
38003     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
38004
38005 cat >>confdefs.h <<\_ACEOF
38006 #define HAVE___BUILTIN_COS 1
38007 _ACEOF
38008
38009     fi
38010
38011   fi
38012
38013
38014   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
38015 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
38016   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
38017     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
38018   echo $ECHO_N "(cached) $ECHO_C" >&6
38019 else
38020
38021
38022
38023       ac_ext=cc
38024 ac_cpp='$CXXCPP $CPPFLAGS'
38025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38028
38029       cat >conftest.$ac_ext <<_ACEOF
38030 /* confdefs.h.  */
38031 _ACEOF
38032 cat confdefs.h >>conftest.$ac_ext
38033 cat >>conftest.$ac_ext <<_ACEOF
38034 /* end confdefs.h.  */
38035 #include <math.h>
38036 int
38037 main ()
38038 {
38039  __builtin_cosl(0);
38040   ;
38041   return 0;
38042 }
38043 _ACEOF
38044 rm -f conftest.$ac_objext
38045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38046   (eval $ac_compile) 2>conftest.er1
38047   ac_status=$?
38048   grep -v '^ *+' conftest.er1 >conftest.err
38049   rm -f conftest.er1
38050   cat conftest.err >&5
38051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38052   (exit $ac_status); } &&
38053          { ac_try='test -z "$ac_cxx_werror_flag"
38054                          || test ! -s conftest.err'
38055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38056   (eval $ac_try) 2>&5
38057   ac_status=$?
38058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38059   (exit $ac_status); }; } &&
38060          { ac_try='test -s conftest.$ac_objext'
38061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38062   (eval $ac_try) 2>&5
38063   ac_status=$?
38064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38065   (exit $ac_status); }; }; then
38066   glibcxx_cv_func___builtin_cosl_use=yes
38067 else
38068   echo "$as_me: failed program was:" >&5
38069 sed 's/^/| /' conftest.$ac_ext >&5
38070
38071 glibcxx_cv_func___builtin_cosl_use=no
38072 fi
38073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38074       ac_ext=c
38075 ac_cpp='$CPP $CPPFLAGS'
38076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38079
38080
38081 fi
38082
38083   fi
38084   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
38085 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
38086   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
38087     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
38088 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
38089     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
38090       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
38091   echo $ECHO_N "(cached) $ECHO_C" >&6
38092 else
38093
38094         if test x$gcc_no_link = xyes; then
38095   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38097    { (exit 1); exit 1; }; }
38098 fi
38099 cat >conftest.$ac_ext <<_ACEOF
38100 /* confdefs.h.  */
38101 _ACEOF
38102 cat confdefs.h >>conftest.$ac_ext
38103 cat >>conftest.$ac_ext <<_ACEOF
38104 /* end confdefs.h.  */
38105 #include <math.h>
38106 int
38107 main ()
38108 {
38109  __builtin_cosl(0);
38110   ;
38111   return 0;
38112 }
38113 _ACEOF
38114 rm -f conftest.$ac_objext conftest$ac_exeext
38115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38116   (eval $ac_link) 2>conftest.er1
38117   ac_status=$?
38118   grep -v '^ *+' conftest.er1 >conftest.err
38119   rm -f conftest.er1
38120   cat conftest.err >&5
38121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38122   (exit $ac_status); } &&
38123          { ac_try='test -z "$ac_c_werror_flag"
38124                          || test ! -s conftest.err'
38125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38126   (eval $ac_try) 2>&5
38127   ac_status=$?
38128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38129   (exit $ac_status); }; } &&
38130          { ac_try='test -s conftest$ac_exeext'
38131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38132   (eval $ac_try) 2>&5
38133   ac_status=$?
38134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38135   (exit $ac_status); }; }; then
38136   glibcxx_cv_func___builtin_cosl_link=yes
38137 else
38138   echo "$as_me: failed program was:" >&5
38139 sed 's/^/| /' conftest.$ac_ext >&5
38140
38141 glibcxx_cv_func___builtin_cosl_link=no
38142 fi
38143 rm -f conftest.err conftest.$ac_objext \
38144       conftest$ac_exeext conftest.$ac_ext
38145
38146 fi
38147
38148     fi
38149     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
38150 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
38151
38152     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
38153
38154 cat >>confdefs.h <<\_ACEOF
38155 #define HAVE___BUILTIN_COSL 1
38156 _ACEOF
38157
38158     fi
38159
38160   fi
38161
38162
38163
38164
38165 echo "$as_me:$LINENO: checking for main in -lm" >&5
38166 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
38167 if test "${ac_cv_lib_m_main+set}" = set; then
38168   echo $ECHO_N "(cached) $ECHO_C" >&6
38169 else
38170   ac_check_lib_save_LIBS=$LIBS
38171 LIBS="-lm  $LIBS"
38172 if test x$gcc_no_link = xyes; then
38173   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38175    { (exit 1); exit 1; }; }
38176 fi
38177 cat >conftest.$ac_ext <<_ACEOF
38178 /* confdefs.h.  */
38179 _ACEOF
38180 cat confdefs.h >>conftest.$ac_ext
38181 cat >>conftest.$ac_ext <<_ACEOF
38182 /* end confdefs.h.  */
38183
38184
38185 int
38186 main ()
38187 {
38188 main ();
38189   ;
38190   return 0;
38191 }
38192 _ACEOF
38193 rm -f conftest.$ac_objext conftest$ac_exeext
38194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38195   (eval $ac_link) 2>conftest.er1
38196   ac_status=$?
38197   grep -v '^ *+' conftest.er1 >conftest.err
38198   rm -f conftest.er1
38199   cat conftest.err >&5
38200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38201   (exit $ac_status); } &&
38202          { ac_try='test -z "$ac_c_werror_flag"
38203                          || test ! -s conftest.err'
38204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38205   (eval $ac_try) 2>&5
38206   ac_status=$?
38207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38208   (exit $ac_status); }; } &&
38209          { ac_try='test -s conftest$ac_exeext'
38210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38211   (eval $ac_try) 2>&5
38212   ac_status=$?
38213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38214   (exit $ac_status); }; }; then
38215   ac_cv_lib_m_main=yes
38216 else
38217   echo "$as_me: failed program was:" >&5
38218 sed 's/^/| /' conftest.$ac_ext >&5
38219
38220 ac_cv_lib_m_main=no
38221 fi
38222 rm -f conftest.err conftest.$ac_objext \
38223       conftest$ac_exeext conftest.$ac_ext
38224 LIBS=$ac_check_lib_save_LIBS
38225 fi
38226 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
38227 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
38228 if test $ac_cv_lib_m_main = yes; then
38229   cat >>confdefs.h <<_ACEOF
38230 #define HAVE_LIBM 1
38231 _ACEOF
38232
38233   LIBS="-lm $LIBS"
38234
38235 fi
38236
38237
38238 for ac_func in copysignf
38239 do
38240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38241 echo "$as_me:$LINENO: checking for $ac_func" >&5
38242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38243 if eval "test \"\${$as_ac_var+set}\" = set"; then
38244   echo $ECHO_N "(cached) $ECHO_C" >&6
38245 else
38246   if test x$gcc_no_link = xyes; then
38247   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38249    { (exit 1); exit 1; }; }
38250 fi
38251 cat >conftest.$ac_ext <<_ACEOF
38252 /* confdefs.h.  */
38253 _ACEOF
38254 cat confdefs.h >>conftest.$ac_ext
38255 cat >>conftest.$ac_ext <<_ACEOF
38256 /* end confdefs.h.  */
38257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38258    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38259 #define $ac_func innocuous_$ac_func
38260
38261 /* System header to define __stub macros and hopefully few prototypes,
38262     which can conflict with char $ac_func (); below.
38263     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38264     <limits.h> exists even on freestanding compilers.  */
38265
38266 #ifdef __STDC__
38267 # include <limits.h>
38268 #else
38269 # include <assert.h>
38270 #endif
38271
38272 #undef $ac_func
38273
38274 /* Override any gcc2 internal prototype to avoid an error.  */
38275 #ifdef __cplusplus
38276 extern "C"
38277 {
38278 #endif
38279 /* We use char because int might match the return type of a gcc2
38280    builtin and then its argument prototype would still apply.  */
38281 char $ac_func ();
38282 /* The GNU C library defines this for functions which it implements
38283     to always fail with ENOSYS.  Some functions are actually named
38284     something starting with __ and the normal name is an alias.  */
38285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38286 choke me
38287 #else
38288 char (*f) () = $ac_func;
38289 #endif
38290 #ifdef __cplusplus
38291 }
38292 #endif
38293
38294 int
38295 main ()
38296 {
38297 return f != $ac_func;
38298   ;
38299   return 0;
38300 }
38301 _ACEOF
38302 rm -f conftest.$ac_objext conftest$ac_exeext
38303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38304   (eval $ac_link) 2>conftest.er1
38305   ac_status=$?
38306   grep -v '^ *+' conftest.er1 >conftest.err
38307   rm -f conftest.er1
38308   cat conftest.err >&5
38309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38310   (exit $ac_status); } &&
38311          { ac_try='test -z "$ac_c_werror_flag"
38312                          || test ! -s conftest.err'
38313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38314   (eval $ac_try) 2>&5
38315   ac_status=$?
38316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38317   (exit $ac_status); }; } &&
38318          { ac_try='test -s conftest$ac_exeext'
38319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38320   (eval $ac_try) 2>&5
38321   ac_status=$?
38322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38323   (exit $ac_status); }; }; then
38324   eval "$as_ac_var=yes"
38325 else
38326   echo "$as_me: failed program was:" >&5
38327 sed 's/^/| /' conftest.$ac_ext >&5
38328
38329 eval "$as_ac_var=no"
38330 fi
38331 rm -f conftest.err conftest.$ac_objext \
38332       conftest$ac_exeext conftest.$ac_ext
38333 fi
38334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38336 if test `eval echo '${'$as_ac_var'}'` = yes; then
38337   cat >>confdefs.h <<_ACEOF
38338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38339 _ACEOF
38340
38341 else
38342   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
38343 fi
38344 done
38345
38346
38347
38348 for ac_func in __signbit
38349 do
38350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38351 echo "$as_me:$LINENO: checking for $ac_func" >&5
38352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38353 if eval "test \"\${$as_ac_var+set}\" = set"; then
38354   echo $ECHO_N "(cached) $ECHO_C" >&6
38355 else
38356   if test x$gcc_no_link = xyes; then
38357   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38359    { (exit 1); exit 1; }; }
38360 fi
38361 cat >conftest.$ac_ext <<_ACEOF
38362 /* confdefs.h.  */
38363 _ACEOF
38364 cat confdefs.h >>conftest.$ac_ext
38365 cat >>conftest.$ac_ext <<_ACEOF
38366 /* end confdefs.h.  */
38367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38368    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38369 #define $ac_func innocuous_$ac_func
38370
38371 /* System header to define __stub macros and hopefully few prototypes,
38372     which can conflict with char $ac_func (); below.
38373     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38374     <limits.h> exists even on freestanding compilers.  */
38375
38376 #ifdef __STDC__
38377 # include <limits.h>
38378 #else
38379 # include <assert.h>
38380 #endif
38381
38382 #undef $ac_func
38383
38384 /* Override any gcc2 internal prototype to avoid an error.  */
38385 #ifdef __cplusplus
38386 extern "C"
38387 {
38388 #endif
38389 /* We use char because int might match the return type of a gcc2
38390    builtin and then its argument prototype would still apply.  */
38391 char $ac_func ();
38392 /* The GNU C library defines this for functions which it implements
38393     to always fail with ENOSYS.  Some functions are actually named
38394     something starting with __ and the normal name is an alias.  */
38395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38396 choke me
38397 #else
38398 char (*f) () = $ac_func;
38399 #endif
38400 #ifdef __cplusplus
38401 }
38402 #endif
38403
38404 int
38405 main ()
38406 {
38407 return f != $ac_func;
38408   ;
38409   return 0;
38410 }
38411 _ACEOF
38412 rm -f conftest.$ac_objext conftest$ac_exeext
38413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38414   (eval $ac_link) 2>conftest.er1
38415   ac_status=$?
38416   grep -v '^ *+' conftest.er1 >conftest.err
38417   rm -f conftest.er1
38418   cat conftest.err >&5
38419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38420   (exit $ac_status); } &&
38421          { ac_try='test -z "$ac_c_werror_flag"
38422                          || test ! -s conftest.err'
38423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38424   (eval $ac_try) 2>&5
38425   ac_status=$?
38426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38427   (exit $ac_status); }; } &&
38428          { ac_try='test -s conftest$ac_exeext'
38429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38430   (eval $ac_try) 2>&5
38431   ac_status=$?
38432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38433   (exit $ac_status); }; }; then
38434   eval "$as_ac_var=yes"
38435 else
38436   echo "$as_me: failed program was:" >&5
38437 sed 's/^/| /' conftest.$ac_ext >&5
38438
38439 eval "$as_ac_var=no"
38440 fi
38441 rm -f conftest.err conftest.$ac_objext \
38442       conftest$ac_exeext conftest.$ac_ext
38443 fi
38444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38446 if test `eval echo '${'$as_ac_var'}'` = yes; then
38447   cat >>confdefs.h <<_ACEOF
38448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38449 _ACEOF
38450
38451 else
38452   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
38453 fi
38454 done
38455
38456
38457
38458 for ac_func in __signbitf
38459 do
38460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38461 echo "$as_me:$LINENO: checking for $ac_func" >&5
38462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38463 if eval "test \"\${$as_ac_var+set}\" = set"; then
38464   echo $ECHO_N "(cached) $ECHO_C" >&6
38465 else
38466   if test x$gcc_no_link = xyes; then
38467   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38469    { (exit 1); exit 1; }; }
38470 fi
38471 cat >conftest.$ac_ext <<_ACEOF
38472 /* confdefs.h.  */
38473 _ACEOF
38474 cat confdefs.h >>conftest.$ac_ext
38475 cat >>conftest.$ac_ext <<_ACEOF
38476 /* end confdefs.h.  */
38477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38478    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38479 #define $ac_func innocuous_$ac_func
38480
38481 /* System header to define __stub macros and hopefully few prototypes,
38482     which can conflict with char $ac_func (); below.
38483     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38484     <limits.h> exists even on freestanding compilers.  */
38485
38486 #ifdef __STDC__
38487 # include <limits.h>
38488 #else
38489 # include <assert.h>
38490 #endif
38491
38492 #undef $ac_func
38493
38494 /* Override any gcc2 internal prototype to avoid an error.  */
38495 #ifdef __cplusplus
38496 extern "C"
38497 {
38498 #endif
38499 /* We use char because int might match the return type of a gcc2
38500    builtin and then its argument prototype would still apply.  */
38501 char $ac_func ();
38502 /* The GNU C library defines this for functions which it implements
38503     to always fail with ENOSYS.  Some functions are actually named
38504     something starting with __ and the normal name is an alias.  */
38505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38506 choke me
38507 #else
38508 char (*f) () = $ac_func;
38509 #endif
38510 #ifdef __cplusplus
38511 }
38512 #endif
38513
38514 int
38515 main ()
38516 {
38517 return f != $ac_func;
38518   ;
38519   return 0;
38520 }
38521 _ACEOF
38522 rm -f conftest.$ac_objext conftest$ac_exeext
38523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38524   (eval $ac_link) 2>conftest.er1
38525   ac_status=$?
38526   grep -v '^ *+' conftest.er1 >conftest.err
38527   rm -f conftest.er1
38528   cat conftest.err >&5
38529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38530   (exit $ac_status); } &&
38531          { ac_try='test -z "$ac_c_werror_flag"
38532                          || test ! -s conftest.err'
38533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38534   (eval $ac_try) 2>&5
38535   ac_status=$?
38536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38537   (exit $ac_status); }; } &&
38538          { ac_try='test -s conftest$ac_exeext'
38539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38540   (eval $ac_try) 2>&5
38541   ac_status=$?
38542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38543   (exit $ac_status); }; }; then
38544   eval "$as_ac_var=yes"
38545 else
38546   echo "$as_me: failed program was:" >&5
38547 sed 's/^/| /' conftest.$ac_ext >&5
38548
38549 eval "$as_ac_var=no"
38550 fi
38551 rm -f conftest.err conftest.$ac_objext \
38552       conftest$ac_exeext conftest.$ac_ext
38553 fi
38554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38556 if test `eval echo '${'$as_ac_var'}'` = yes; then
38557   cat >>confdefs.h <<_ACEOF
38558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38559 _ACEOF
38560
38561 else
38562   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
38563 fi
38564 done
38565
38566
38567           if test x$ac_cv_func_copysignl = x"yes"; then
38568
38569 for ac_func in __signbitl
38570 do
38571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38572 echo "$as_me:$LINENO: checking for $ac_func" >&5
38573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38574 if eval "test \"\${$as_ac_var+set}\" = set"; then
38575   echo $ECHO_N "(cached) $ECHO_C" >&6
38576 else
38577   if test x$gcc_no_link = xyes; then
38578   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38580    { (exit 1); exit 1; }; }
38581 fi
38582 cat >conftest.$ac_ext <<_ACEOF
38583 /* confdefs.h.  */
38584 _ACEOF
38585 cat confdefs.h >>conftest.$ac_ext
38586 cat >>conftest.$ac_ext <<_ACEOF
38587 /* end confdefs.h.  */
38588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38589    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38590 #define $ac_func innocuous_$ac_func
38591
38592 /* System header to define __stub macros and hopefully few prototypes,
38593     which can conflict with char $ac_func (); below.
38594     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38595     <limits.h> exists even on freestanding compilers.  */
38596
38597 #ifdef __STDC__
38598 # include <limits.h>
38599 #else
38600 # include <assert.h>
38601 #endif
38602
38603 #undef $ac_func
38604
38605 /* Override any gcc2 internal prototype to avoid an error.  */
38606 #ifdef __cplusplus
38607 extern "C"
38608 {
38609 #endif
38610 /* We use char because int might match the return type of a gcc2
38611    builtin and then its argument prototype would still apply.  */
38612 char $ac_func ();
38613 /* The GNU C library defines this for functions which it implements
38614     to always fail with ENOSYS.  Some functions are actually named
38615     something starting with __ and the normal name is an alias.  */
38616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38617 choke me
38618 #else
38619 char (*f) () = $ac_func;
38620 #endif
38621 #ifdef __cplusplus
38622 }
38623 #endif
38624
38625 int
38626 main ()
38627 {
38628 return f != $ac_func;
38629   ;
38630   return 0;
38631 }
38632 _ACEOF
38633 rm -f conftest.$ac_objext conftest$ac_exeext
38634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38635   (eval $ac_link) 2>conftest.er1
38636   ac_status=$?
38637   grep -v '^ *+' conftest.er1 >conftest.err
38638   rm -f conftest.er1
38639   cat conftest.err >&5
38640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38641   (exit $ac_status); } &&
38642          { ac_try='test -z "$ac_c_werror_flag"
38643                          || test ! -s conftest.err'
38644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38645   (eval $ac_try) 2>&5
38646   ac_status=$?
38647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38648   (exit $ac_status); }; } &&
38649          { ac_try='test -s conftest$ac_exeext'
38650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38651   (eval $ac_try) 2>&5
38652   ac_status=$?
38653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38654   (exit $ac_status); }; }; then
38655   eval "$as_ac_var=yes"
38656 else
38657   echo "$as_me: failed program was:" >&5
38658 sed 's/^/| /' conftest.$ac_ext >&5
38659
38660 eval "$as_ac_var=no"
38661 fi
38662 rm -f conftest.err conftest.$ac_objext \
38663       conftest$ac_exeext conftest.$ac_ext
38664 fi
38665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38667 if test `eval echo '${'$as_ac_var'}'` = yes; then
38668   cat >>confdefs.h <<_ACEOF
38669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38670 _ACEOF
38671
38672 else
38673   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
38674 fi
38675 done
38676
38677   fi
38678
38679   # Used in libmath/Makefile.am.
38680   if test -n "$LIBMATHOBJS"; then
38681     need_libmath=yes
38682   fi
38683
38684
38685
38686   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38687   ac_save_CXXFLAGS="$CXXFLAGS"
38688   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38689
38690
38691   echo "$as_me:$LINENO: checking for strtold declaration" >&5
38692 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
38693   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38694     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
38695   echo $ECHO_N "(cached) $ECHO_C" >&6
38696 else
38697
38698
38699
38700       ac_ext=cc
38701 ac_cpp='$CXXCPP $CPPFLAGS'
38702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38705
38706       cat >conftest.$ac_ext <<_ACEOF
38707 /* confdefs.h.  */
38708 _ACEOF
38709 cat confdefs.h >>conftest.$ac_ext
38710 cat >>conftest.$ac_ext <<_ACEOF
38711 /* end confdefs.h.  */
38712 #include <stdlib.h>
38713 int
38714 main ()
38715 {
38716  strtold(0, 0);
38717   ;
38718   return 0;
38719 }
38720 _ACEOF
38721 rm -f conftest.$ac_objext
38722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38723   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func_strtold_use=yes
38744 else
38745   echo "$as_me: failed program was:" >&5
38746 sed 's/^/| /' conftest.$ac_ext >&5
38747
38748 glibcxx_cv_func_strtold_use=no
38749 fi
38750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38751       ac_ext=c
38752 ac_cpp='$CPP $CPPFLAGS'
38753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38756
38757
38758 fi
38759
38760   fi
38761   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
38762 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
38763   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38764
38765 for ac_func in strtold
38766 do
38767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38768 echo "$as_me:$LINENO: checking for $ac_func" >&5
38769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38770 if eval "test \"\${$as_ac_var+set}\" = set"; then
38771   echo $ECHO_N "(cached) $ECHO_C" >&6
38772 else
38773   if test x$gcc_no_link = xyes; then
38774   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38776    { (exit 1); exit 1; }; }
38777 fi
38778 cat >conftest.$ac_ext <<_ACEOF
38779 /* confdefs.h.  */
38780 _ACEOF
38781 cat confdefs.h >>conftest.$ac_ext
38782 cat >>conftest.$ac_ext <<_ACEOF
38783 /* end confdefs.h.  */
38784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38785    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38786 #define $ac_func innocuous_$ac_func
38787
38788 /* System header to define __stub macros and hopefully few prototypes,
38789     which can conflict with char $ac_func (); below.
38790     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38791     <limits.h> exists even on freestanding compilers.  */
38792
38793 #ifdef __STDC__
38794 # include <limits.h>
38795 #else
38796 # include <assert.h>
38797 #endif
38798
38799 #undef $ac_func
38800
38801 /* Override any gcc2 internal prototype to avoid an error.  */
38802 #ifdef __cplusplus
38803 extern "C"
38804 {
38805 #endif
38806 /* We use char because int might match the return type of a gcc2
38807    builtin and then its argument prototype would still apply.  */
38808 char $ac_func ();
38809 /* The GNU C library defines this for functions which it implements
38810     to always fail with ENOSYS.  Some functions are actually named
38811     something starting with __ and the normal name is an alias.  */
38812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38813 choke me
38814 #else
38815 char (*f) () = $ac_func;
38816 #endif
38817 #ifdef __cplusplus
38818 }
38819 #endif
38820
38821 int
38822 main ()
38823 {
38824 return f != $ac_func;
38825   ;
38826   return 0;
38827 }
38828 _ACEOF
38829 rm -f conftest.$ac_objext conftest$ac_exeext
38830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38831   (eval $ac_link) 2>conftest.er1
38832   ac_status=$?
38833   grep -v '^ *+' conftest.er1 >conftest.err
38834   rm -f conftest.er1
38835   cat conftest.err >&5
38836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38837   (exit $ac_status); } &&
38838          { ac_try='test -z "$ac_c_werror_flag"
38839                          || test ! -s conftest.err'
38840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38841   (eval $ac_try) 2>&5
38842   ac_status=$?
38843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38844   (exit $ac_status); }; } &&
38845          { ac_try='test -s conftest$ac_exeext'
38846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38847   (eval $ac_try) 2>&5
38848   ac_status=$?
38849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38850   (exit $ac_status); }; }; then
38851   eval "$as_ac_var=yes"
38852 else
38853   echo "$as_me: failed program was:" >&5
38854 sed 's/^/| /' conftest.$ac_ext >&5
38855
38856 eval "$as_ac_var=no"
38857 fi
38858 rm -f conftest.err conftest.$ac_objext \
38859       conftest$ac_exeext conftest.$ac_ext
38860 fi
38861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38863 if test `eval echo '${'$as_ac_var'}'` = yes; then
38864   cat >>confdefs.h <<_ACEOF
38865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38866 _ACEOF
38867
38868 fi
38869 done
38870
38871   fi
38872
38873
38874
38875
38876
38877   echo "$as_me:$LINENO: checking for strtof declaration" >&5
38878 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
38879   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38880     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
38881   echo $ECHO_N "(cached) $ECHO_C" >&6
38882 else
38883
38884
38885
38886       ac_ext=cc
38887 ac_cpp='$CXXCPP $CPPFLAGS'
38888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38891
38892       cat >conftest.$ac_ext <<_ACEOF
38893 /* confdefs.h.  */
38894 _ACEOF
38895 cat confdefs.h >>conftest.$ac_ext
38896 cat >>conftest.$ac_ext <<_ACEOF
38897 /* end confdefs.h.  */
38898 #include <stdlib.h>
38899 int
38900 main ()
38901 {
38902  strtof(0, 0);
38903   ;
38904   return 0;
38905 }
38906 _ACEOF
38907 rm -f conftest.$ac_objext
38908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38909   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func_strtof_use=yes
38930 else
38931   echo "$as_me: failed program was:" >&5
38932 sed 's/^/| /' conftest.$ac_ext >&5
38933
38934 glibcxx_cv_func_strtof_use=no
38935 fi
38936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38937       ac_ext=c
38938 ac_cpp='$CPP $CPPFLAGS'
38939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38942
38943
38944 fi
38945
38946   fi
38947   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
38948 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
38949   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38950
38951 for ac_func in strtof
38952 do
38953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38954 echo "$as_me:$LINENO: checking for $ac_func" >&5
38955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38956 if eval "test \"\${$as_ac_var+set}\" = set"; then
38957   echo $ECHO_N "(cached) $ECHO_C" >&6
38958 else
38959   if test x$gcc_no_link = xyes; then
38960   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38962    { (exit 1); exit 1; }; }
38963 fi
38964 cat >conftest.$ac_ext <<_ACEOF
38965 /* confdefs.h.  */
38966 _ACEOF
38967 cat confdefs.h >>conftest.$ac_ext
38968 cat >>conftest.$ac_ext <<_ACEOF
38969 /* end confdefs.h.  */
38970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38971    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38972 #define $ac_func innocuous_$ac_func
38973
38974 /* System header to define __stub macros and hopefully few prototypes,
38975     which can conflict with char $ac_func (); below.
38976     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38977     <limits.h> exists even on freestanding compilers.  */
38978
38979 #ifdef __STDC__
38980 # include <limits.h>
38981 #else
38982 # include <assert.h>
38983 #endif
38984
38985 #undef $ac_func
38986
38987 /* Override any gcc2 internal prototype to avoid an error.  */
38988 #ifdef __cplusplus
38989 extern "C"
38990 {
38991 #endif
38992 /* We use char because int might match the return type of a gcc2
38993    builtin and then its argument prototype would still apply.  */
38994 char $ac_func ();
38995 /* The GNU C library defines this for functions which it implements
38996     to always fail with ENOSYS.  Some functions are actually named
38997     something starting with __ and the normal name is an alias.  */
38998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38999 choke me
39000 #else
39001 char (*f) () = $ac_func;
39002 #endif
39003 #ifdef __cplusplus
39004 }
39005 #endif
39006
39007 int
39008 main ()
39009 {
39010 return f != $ac_func;
39011   ;
39012   return 0;
39013 }
39014 _ACEOF
39015 rm -f conftest.$ac_objext conftest$ac_exeext
39016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39017   (eval $ac_link) 2>conftest.er1
39018   ac_status=$?
39019   grep -v '^ *+' conftest.er1 >conftest.err
39020   rm -f conftest.er1
39021   cat conftest.err >&5
39022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39023   (exit $ac_status); } &&
39024          { ac_try='test -z "$ac_c_werror_flag"
39025                          || test ! -s conftest.err'
39026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39027   (eval $ac_try) 2>&5
39028   ac_status=$?
39029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39030   (exit $ac_status); }; } &&
39031          { ac_try='test -s conftest$ac_exeext'
39032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39033   (eval $ac_try) 2>&5
39034   ac_status=$?
39035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39036   (exit $ac_status); }; }; then
39037   eval "$as_ac_var=yes"
39038 else
39039   echo "$as_me: failed program was:" >&5
39040 sed 's/^/| /' conftest.$ac_ext >&5
39041
39042 eval "$as_ac_var=no"
39043 fi
39044 rm -f conftest.err conftest.$ac_objext \
39045       conftest$ac_exeext conftest.$ac_ext
39046 fi
39047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39049 if test `eval echo '${'$as_ac_var'}'` = yes; then
39050   cat >>confdefs.h <<_ACEOF
39051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39052 _ACEOF
39053
39054 fi
39055 done
39056
39057   fi
39058
39059
39060
39061
39062
39063   CXXFLAGS="$ac_save_CXXFLAGS"
39064
39065
39066   # For showmanyc_helper().
39067
39068
39069 for ac_header in sys/ioctl.h sys/filio.h
39070 do
39071 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39073   echo "$as_me:$LINENO: checking for $ac_header" >&5
39074 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39076   echo $ECHO_N "(cached) $ECHO_C" >&6
39077 fi
39078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39080 else
39081   # Is the header compilable?
39082 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39083 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39084 cat >conftest.$ac_ext <<_ACEOF
39085 /* confdefs.h.  */
39086 _ACEOF
39087 cat confdefs.h >>conftest.$ac_ext
39088 cat >>conftest.$ac_ext <<_ACEOF
39089 /* end confdefs.h.  */
39090 $ac_includes_default
39091 #include <$ac_header>
39092 _ACEOF
39093 rm -f conftest.$ac_objext
39094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39095   (eval $ac_compile) 2>conftest.er1
39096   ac_status=$?
39097   grep -v '^ *+' conftest.er1 >conftest.err
39098   rm -f conftest.er1
39099   cat conftest.err >&5
39100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39101   (exit $ac_status); } &&
39102          { ac_try='test -z "$ac_c_werror_flag"
39103                          || test ! -s conftest.err'
39104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39105   (eval $ac_try) 2>&5
39106   ac_status=$?
39107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39108   (exit $ac_status); }; } &&
39109          { ac_try='test -s conftest.$ac_objext'
39110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39111   (eval $ac_try) 2>&5
39112   ac_status=$?
39113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39114   (exit $ac_status); }; }; then
39115   ac_header_compiler=yes
39116 else
39117   echo "$as_me: failed program was:" >&5
39118 sed 's/^/| /' conftest.$ac_ext >&5
39119
39120 ac_header_compiler=no
39121 fi
39122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39123 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39124 echo "${ECHO_T}$ac_header_compiler" >&6
39125
39126 # Is the header present?
39127 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39128 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39129 cat >conftest.$ac_ext <<_ACEOF
39130 /* confdefs.h.  */
39131 _ACEOF
39132 cat confdefs.h >>conftest.$ac_ext
39133 cat >>conftest.$ac_ext <<_ACEOF
39134 /* end confdefs.h.  */
39135 #include <$ac_header>
39136 _ACEOF
39137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39138   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39139   ac_status=$?
39140   grep -v '^ *+' conftest.er1 >conftest.err
39141   rm -f conftest.er1
39142   cat conftest.err >&5
39143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39144   (exit $ac_status); } >/dev/null; then
39145   if test -s conftest.err; then
39146     ac_cpp_err=$ac_c_preproc_warn_flag
39147     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39148   else
39149     ac_cpp_err=
39150   fi
39151 else
39152   ac_cpp_err=yes
39153 fi
39154 if test -z "$ac_cpp_err"; then
39155   ac_header_preproc=yes
39156 else
39157   echo "$as_me: failed program was:" >&5
39158 sed 's/^/| /' conftest.$ac_ext >&5
39159
39160   ac_header_preproc=no
39161 fi
39162 rm -f conftest.err conftest.$ac_ext
39163 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39164 echo "${ECHO_T}$ac_header_preproc" >&6
39165
39166 # So?  What about this header?
39167 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39168   yes:no: )
39169     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39170 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39171     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39172 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39173     ac_header_preproc=yes
39174     ;;
39175   no:yes:* )
39176     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39177 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39178     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
39179 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
39180     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39181 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39182     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
39183 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
39184     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39185 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39186     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39187 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39188     (
39189       cat <<\_ASBOX
39190 ## ----------------------------------------- ##
39191 ## Report this to the package-unused lists.  ##
39192 ## ----------------------------------------- ##
39193 _ASBOX
39194     ) |
39195       sed "s/^/$as_me: WARNING:     /" >&2
39196     ;;
39197 esac
39198 echo "$as_me:$LINENO: checking for $ac_header" >&5
39199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39201   echo $ECHO_N "(cached) $ECHO_C" >&6
39202 else
39203   eval "$as_ac_Header=\$ac_header_preproc"
39204 fi
39205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39207
39208 fi
39209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39210   cat >>confdefs.h <<_ACEOF
39211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39212 _ACEOF
39213
39214 fi
39215
39216 done
39217
39218
39219   echo "$as_me:$LINENO: checking for poll" >&5
39220 echo $ECHO_N "checking for poll... $ECHO_C" >&6
39221   if test "${glibcxx_cv_POLL+set}" = set; then
39222   echo $ECHO_N "(cached) $ECHO_C" >&6
39223 else
39224
39225     if test x$gcc_no_link = xyes; then
39226   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39228    { (exit 1); exit 1; }; }
39229 fi
39230 cat >conftest.$ac_ext <<_ACEOF
39231 /* confdefs.h.  */
39232 _ACEOF
39233 cat confdefs.h >>conftest.$ac_ext
39234 cat >>conftest.$ac_ext <<_ACEOF
39235 /* end confdefs.h.  */
39236 #include <poll.h>
39237 int
39238 main ()
39239 {
39240 struct pollfd pfd[1];
39241        pfd[0].events = POLLIN;
39242        poll(pfd, 1, 0);
39243   ;
39244   return 0;
39245 }
39246 _ACEOF
39247 rm -f conftest.$ac_objext conftest$ac_exeext
39248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39249   (eval $ac_link) 2>conftest.er1
39250   ac_status=$?
39251   grep -v '^ *+' conftest.er1 >conftest.err
39252   rm -f conftest.er1
39253   cat conftest.err >&5
39254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39255   (exit $ac_status); } &&
39256          { ac_try='test -z "$ac_c_werror_flag"
39257                          || test ! -s conftest.err'
39258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39259   (eval $ac_try) 2>&5
39260   ac_status=$?
39261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39262   (exit $ac_status); }; } &&
39263          { ac_try='test -s conftest$ac_exeext'
39264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39265   (eval $ac_try) 2>&5
39266   ac_status=$?
39267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39268   (exit $ac_status); }; }; then
39269   glibcxx_cv_POLL=yes
39270 else
39271   echo "$as_me: failed program was:" >&5
39272 sed 's/^/| /' conftest.$ac_ext >&5
39273
39274 glibcxx_cv_POLL=no
39275 fi
39276 rm -f conftest.err conftest.$ac_objext \
39277       conftest$ac_exeext conftest.$ac_ext
39278
39279 fi
39280
39281   if test $glibcxx_cv_POLL = yes; then
39282
39283 cat >>confdefs.h <<\_ACEOF
39284 #define HAVE_POLL 1
39285 _ACEOF
39286
39287   fi
39288   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
39289 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
39290
39291
39292   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
39293 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
39294   if test "${glibcxx_cv_S_ISREG+set}" = set; then
39295   echo $ECHO_N "(cached) $ECHO_C" >&6
39296 else
39297
39298     if test x$gcc_no_link = xyes; then
39299   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39301    { (exit 1); exit 1; }; }
39302 fi
39303 cat >conftest.$ac_ext <<_ACEOF
39304 /* confdefs.h.  */
39305 _ACEOF
39306 cat confdefs.h >>conftest.$ac_ext
39307 cat >>conftest.$ac_ext <<_ACEOF
39308 /* end confdefs.h.  */
39309 #include <sys/stat.h>
39310 int
39311 main ()
39312 {
39313 struct stat buffer;
39314        fstat(0, &buffer);
39315        S_ISREG(buffer.st_mode);
39316   ;
39317   return 0;
39318 }
39319 _ACEOF
39320 rm -f conftest.$ac_objext conftest$ac_exeext
39321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39322   (eval $ac_link) 2>conftest.er1
39323   ac_status=$?
39324   grep -v '^ *+' conftest.er1 >conftest.err
39325   rm -f conftest.er1
39326   cat conftest.err >&5
39327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39328   (exit $ac_status); } &&
39329          { ac_try='test -z "$ac_c_werror_flag"
39330                          || test ! -s conftest.err'
39331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39332   (eval $ac_try) 2>&5
39333   ac_status=$?
39334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39335   (exit $ac_status); }; } &&
39336          { ac_try='test -s conftest$ac_exeext'
39337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39338   (eval $ac_try) 2>&5
39339   ac_status=$?
39340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39341   (exit $ac_status); }; }; then
39342   glibcxx_cv_S_ISREG=yes
39343 else
39344   echo "$as_me: failed program was:" >&5
39345 sed 's/^/| /' conftest.$ac_ext >&5
39346
39347 glibcxx_cv_S_ISREG=no
39348 fi
39349 rm -f conftest.err conftest.$ac_objext \
39350       conftest$ac_exeext conftest.$ac_ext
39351
39352 fi
39353
39354   if test "${glibcxx_cv_S_IFREG+set}" = set; then
39355   echo $ECHO_N "(cached) $ECHO_C" >&6
39356 else
39357
39358     if test x$gcc_no_link = xyes; then
39359   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39361    { (exit 1); exit 1; }; }
39362 fi
39363 cat >conftest.$ac_ext <<_ACEOF
39364 /* confdefs.h.  */
39365 _ACEOF
39366 cat confdefs.h >>conftest.$ac_ext
39367 cat >>conftest.$ac_ext <<_ACEOF
39368 /* end confdefs.h.  */
39369 #include <sys/stat.h>
39370 int
39371 main ()
39372 {
39373 struct stat buffer;
39374        fstat(0, &buffer);
39375        S_IFREG & buffer.st_mode;
39376   ;
39377   return 0;
39378 }
39379 _ACEOF
39380 rm -f conftest.$ac_objext conftest$ac_exeext
39381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39382   (eval $ac_link) 2>conftest.er1
39383   ac_status=$?
39384   grep -v '^ *+' conftest.er1 >conftest.err
39385   rm -f conftest.er1
39386   cat conftest.err >&5
39387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39388   (exit $ac_status); } &&
39389          { ac_try='test -z "$ac_c_werror_flag"
39390                          || test ! -s conftest.err'
39391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39392   (eval $ac_try) 2>&5
39393   ac_status=$?
39394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39395   (exit $ac_status); }; } &&
39396          { ac_try='test -s conftest$ac_exeext'
39397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39398   (eval $ac_try) 2>&5
39399   ac_status=$?
39400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39401   (exit $ac_status); }; }; then
39402   glibcxx_cv_S_IFREG=yes
39403 else
39404   echo "$as_me: failed program was:" >&5
39405 sed 's/^/| /' conftest.$ac_ext >&5
39406
39407 glibcxx_cv_S_IFREG=no
39408 fi
39409 rm -f conftest.err conftest.$ac_objext \
39410       conftest$ac_exeext conftest.$ac_ext
39411
39412 fi
39413
39414   res=no
39415   if test $glibcxx_cv_S_ISREG = yes; then
39416
39417 cat >>confdefs.h <<\_ACEOF
39418 #define HAVE_S_ISREG 1
39419 _ACEOF
39420
39421     res=S_ISREG
39422   elif test $glibcxx_cv_S_IFREG = yes; then
39423
39424 cat >>confdefs.h <<\_ACEOF
39425 #define HAVE_S_IFREG 1
39426 _ACEOF
39427
39428     res=S_IFREG
39429   fi
39430   echo "$as_me:$LINENO: result: $res" >&5
39431 echo "${ECHO_T}$res" >&6
39432
39433
39434   # For xsputn_2().
39435
39436 for ac_header in sys/uio.h
39437 do
39438 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39440   echo "$as_me:$LINENO: checking for $ac_header" >&5
39441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39443   echo $ECHO_N "(cached) $ECHO_C" >&6
39444 fi
39445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39446 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39447 else
39448   # Is the header compilable?
39449 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39450 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39451 cat >conftest.$ac_ext <<_ACEOF
39452 /* confdefs.h.  */
39453 _ACEOF
39454 cat confdefs.h >>conftest.$ac_ext
39455 cat >>conftest.$ac_ext <<_ACEOF
39456 /* end confdefs.h.  */
39457 $ac_includes_default
39458 #include <$ac_header>
39459 _ACEOF
39460 rm -f conftest.$ac_objext
39461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39462   (eval $ac_compile) 2>conftest.er1
39463   ac_status=$?
39464   grep -v '^ *+' conftest.er1 >conftest.err
39465   rm -f conftest.er1
39466   cat conftest.err >&5
39467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39468   (exit $ac_status); } &&
39469          { ac_try='test -z "$ac_c_werror_flag"
39470                          || test ! -s conftest.err'
39471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39472   (eval $ac_try) 2>&5
39473   ac_status=$?
39474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39475   (exit $ac_status); }; } &&
39476          { ac_try='test -s conftest.$ac_objext'
39477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39478   (eval $ac_try) 2>&5
39479   ac_status=$?
39480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39481   (exit $ac_status); }; }; then
39482   ac_header_compiler=yes
39483 else
39484   echo "$as_me: failed program was:" >&5
39485 sed 's/^/| /' conftest.$ac_ext >&5
39486
39487 ac_header_compiler=no
39488 fi
39489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39490 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39491 echo "${ECHO_T}$ac_header_compiler" >&6
39492
39493 # Is the header present?
39494 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39495 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39496 cat >conftest.$ac_ext <<_ACEOF
39497 /* confdefs.h.  */
39498 _ACEOF
39499 cat confdefs.h >>conftest.$ac_ext
39500 cat >>conftest.$ac_ext <<_ACEOF
39501 /* end confdefs.h.  */
39502 #include <$ac_header>
39503 _ACEOF
39504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39505   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39506   ac_status=$?
39507   grep -v '^ *+' conftest.er1 >conftest.err
39508   rm -f conftest.er1
39509   cat conftest.err >&5
39510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39511   (exit $ac_status); } >/dev/null; then
39512   if test -s conftest.err; then
39513     ac_cpp_err=$ac_c_preproc_warn_flag
39514     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39515   else
39516     ac_cpp_err=
39517   fi
39518 else
39519   ac_cpp_err=yes
39520 fi
39521 if test -z "$ac_cpp_err"; then
39522   ac_header_preproc=yes
39523 else
39524   echo "$as_me: failed program was:" >&5
39525 sed 's/^/| /' conftest.$ac_ext >&5
39526
39527   ac_header_preproc=no
39528 fi
39529 rm -f conftest.err conftest.$ac_ext
39530 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39531 echo "${ECHO_T}$ac_header_preproc" >&6
39532
39533 # So?  What about this header?
39534 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39535   yes:no: )
39536     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39537 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39538     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39539 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39540     ac_header_preproc=yes
39541     ;;
39542   no:yes:* )
39543     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39544 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39545     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
39546 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
39547     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39548 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39549     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
39550 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
39551     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39552 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39553     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39554 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39555     (
39556       cat <<\_ASBOX
39557 ## ----------------------------------------- ##
39558 ## Report this to the package-unused lists.  ##
39559 ## ----------------------------------------- ##
39560 _ASBOX
39561     ) |
39562       sed "s/^/$as_me: WARNING:     /" >&2
39563     ;;
39564 esac
39565 echo "$as_me:$LINENO: checking for $ac_header" >&5
39566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39568   echo $ECHO_N "(cached) $ECHO_C" >&6
39569 else
39570   eval "$as_ac_Header=\$ac_header_preproc"
39571 fi
39572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39574
39575 fi
39576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39577   cat >>confdefs.h <<_ACEOF
39578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39579 _ACEOF
39580
39581 fi
39582
39583 done
39584
39585
39586   echo "$as_me:$LINENO: checking for writev" >&5
39587 echo $ECHO_N "checking for writev... $ECHO_C" >&6
39588   if test "${glibcxx_cv_WRITEV+set}" = set; then
39589   echo $ECHO_N "(cached) $ECHO_C" >&6
39590 else
39591
39592     if test x$gcc_no_link = xyes; then
39593   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39595    { (exit 1); exit 1; }; }
39596 fi
39597 cat >conftest.$ac_ext <<_ACEOF
39598 /* confdefs.h.  */
39599 _ACEOF
39600 cat confdefs.h >>conftest.$ac_ext
39601 cat >>conftest.$ac_ext <<_ACEOF
39602 /* end confdefs.h.  */
39603 #include <sys/uio.h>
39604 int
39605 main ()
39606 {
39607 struct iovec iov[2];
39608        writev(0, iov, 0);
39609   ;
39610   return 0;
39611 }
39612 _ACEOF
39613 rm -f conftest.$ac_objext conftest$ac_exeext
39614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39615   (eval $ac_link) 2>conftest.er1
39616   ac_status=$?
39617   grep -v '^ *+' conftest.er1 >conftest.err
39618   rm -f conftest.er1
39619   cat conftest.err >&5
39620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39621   (exit $ac_status); } &&
39622          { ac_try='test -z "$ac_c_werror_flag"
39623                          || test ! -s conftest.err'
39624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39625   (eval $ac_try) 2>&5
39626   ac_status=$?
39627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39628   (exit $ac_status); }; } &&
39629          { ac_try='test -s conftest$ac_exeext'
39630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39631   (eval $ac_try) 2>&5
39632   ac_status=$?
39633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39634   (exit $ac_status); }; }; then
39635   glibcxx_cv_WRITEV=yes
39636 else
39637   echo "$as_me: failed program was:" >&5
39638 sed 's/^/| /' conftest.$ac_ext >&5
39639
39640 glibcxx_cv_WRITEV=no
39641 fi
39642 rm -f conftest.err conftest.$ac_objext \
39643       conftest$ac_exeext conftest.$ac_ext
39644
39645 fi
39646
39647   if test $glibcxx_cv_WRITEV = yes; then
39648
39649 cat >>confdefs.h <<\_ACEOF
39650 #define HAVE_WRITEV 1
39651 _ACEOF
39652
39653   fi
39654   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
39655 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
39656
39657
39658   # For the __streamoff_base_type typedef.
39659
39660   echo "$as_me:$LINENO: checking for int64_t" >&5
39661 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
39662   if test "${glibcxx_cv_INT64_T+set}" = set; then
39663   echo $ECHO_N "(cached) $ECHO_C" >&6
39664 else
39665
39666     cat >conftest.$ac_ext <<_ACEOF
39667 /* confdefs.h.  */
39668 _ACEOF
39669 cat confdefs.h >>conftest.$ac_ext
39670 cat >>conftest.$ac_ext <<_ACEOF
39671 /* end confdefs.h.  */
39672 #include <stdint.h>
39673 int
39674 main ()
39675 {
39676 int64_t var;
39677   ;
39678   return 0;
39679 }
39680 _ACEOF
39681 rm -f conftest.$ac_objext
39682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39683   (eval $ac_compile) 2>conftest.er1
39684   ac_status=$?
39685   grep -v '^ *+' conftest.er1 >conftest.err
39686   rm -f conftest.er1
39687   cat conftest.err >&5
39688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39689   (exit $ac_status); } &&
39690          { ac_try='test -z "$ac_c_werror_flag"
39691                          || test ! -s conftest.err'
39692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39693   (eval $ac_try) 2>&5
39694   ac_status=$?
39695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39696   (exit $ac_status); }; } &&
39697          { ac_try='test -s conftest.$ac_objext'
39698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39699   (eval $ac_try) 2>&5
39700   ac_status=$?
39701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39702   (exit $ac_status); }; }; then
39703   glibcxx_cv_INT64_T=yes
39704 else
39705   echo "$as_me: failed program was:" >&5
39706 sed 's/^/| /' conftest.$ac_ext >&5
39707
39708 glibcxx_cv_INT64_T=no
39709 fi
39710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39711
39712 fi
39713
39714   if test $glibcxx_cv_INT64_T = yes; then
39715
39716 cat >>confdefs.h <<\_ACEOF
39717 #define HAVE_INT64_T 1
39718 _ACEOF
39719
39720   fi
39721   echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
39722 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
39723
39724
39725   # For LFS support.
39726
39727
39728
39729   ac_ext=cc
39730 ac_cpp='$CXXCPP $CPPFLAGS'
39731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39734
39735   ac_save_CXXFLAGS="$CXXFLAGS"
39736   CXXFLAGS="$CXXFLAGS -fno-exceptions"
39737   echo "$as_me:$LINENO: checking for LFS support" >&5
39738 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
39739   if test "${glibcxx_cv_LFS+set}" = set; then
39740   echo $ECHO_N "(cached) $ECHO_C" >&6
39741 else
39742
39743     if test x$gcc_no_link = xyes; then
39744   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39746    { (exit 1); exit 1; }; }
39747 fi
39748 cat >conftest.$ac_ext <<_ACEOF
39749 /* confdefs.h.  */
39750 _ACEOF
39751 cat confdefs.h >>conftest.$ac_ext
39752 cat >>conftest.$ac_ext <<_ACEOF
39753 /* end confdefs.h.  */
39754 #include <unistd.h>
39755        #include <stdio.h>
39756        #include <sys/stat.h>
39757
39758 int
39759 main ()
39760 {
39761 FILE* fp;
39762        fopen64("t", "w");
39763        fseeko64(fp, 0, SEEK_CUR);
39764        ftello64(fp);
39765        lseek64(1, 0, SEEK_CUR);
39766        struct stat64 buf;
39767        fstat64(1, &buf);
39768   ;
39769   return 0;
39770 }
39771 _ACEOF
39772 rm -f conftest.$ac_objext conftest$ac_exeext
39773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39774   (eval $ac_link) 2>conftest.er1
39775   ac_status=$?
39776   grep -v '^ *+' conftest.er1 >conftest.err
39777   rm -f conftest.er1
39778   cat conftest.err >&5
39779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39780   (exit $ac_status); } &&
39781          { ac_try='test -z "$ac_cxx_werror_flag"
39782                          || test ! -s conftest.err'
39783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39784   (eval $ac_try) 2>&5
39785   ac_status=$?
39786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39787   (exit $ac_status); }; } &&
39788          { ac_try='test -s conftest$ac_exeext'
39789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39790   (eval $ac_try) 2>&5
39791   ac_status=$?
39792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39793   (exit $ac_status); }; }; then
39794   glibcxx_cv_LFS=yes
39795 else
39796   echo "$as_me: failed program was:" >&5
39797 sed 's/^/| /' conftest.$ac_ext >&5
39798
39799 glibcxx_cv_LFS=no
39800 fi
39801 rm -f conftest.err conftest.$ac_objext \
39802       conftest$ac_exeext conftest.$ac_ext
39803
39804 fi
39805
39806   if test $glibcxx_cv_LFS = yes; then
39807
39808 cat >>confdefs.h <<\_ACEOF
39809 #define _GLIBCXX_USE_LFS 1
39810 _ACEOF
39811
39812   fi
39813   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
39814 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
39815   CXXFLAGS="$ac_save_CXXFLAGS"
39816   ac_ext=c
39817 ac_cpp='$CPP $CPPFLAGS'
39818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39821
39822
39823
39824   # For C99 support to TR1.
39825
39826
39827
39828
39829   ac_ext=cc
39830 ac_cpp='$CXXCPP $CPPFLAGS'
39831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39834
39835
39836   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
39837   # undefined and fake C99 facilities may be spuriously enabled.
39838   ac_save_CXXFLAGS="$CXXFLAGS"
39839   CXXFLAGS="$CXXFLAGS -std=c++98"
39840
39841   # Check for the existence of <complex.h> complex math functions used
39842   # by tr1/complex.
39843
39844 for ac_header in complex.h
39845 do
39846 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39848   echo "$as_me:$LINENO: checking for $ac_header" >&5
39849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39851   echo $ECHO_N "(cached) $ECHO_C" >&6
39852 fi
39853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39854 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39855 else
39856   # Is the header compilable?
39857 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39858 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39859 cat >conftest.$ac_ext <<_ACEOF
39860 /* confdefs.h.  */
39861 _ACEOF
39862 cat confdefs.h >>conftest.$ac_ext
39863 cat >>conftest.$ac_ext <<_ACEOF
39864 /* end confdefs.h.  */
39865 $ac_includes_default
39866 #include <$ac_header>
39867 _ACEOF
39868 rm -f conftest.$ac_objext
39869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39870   (eval $ac_compile) 2>conftest.er1
39871   ac_status=$?
39872   grep -v '^ *+' conftest.er1 >conftest.err
39873   rm -f conftest.er1
39874   cat conftest.err >&5
39875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39876   (exit $ac_status); } &&
39877          { ac_try='test -z "$ac_cxx_werror_flag"
39878                          || test ! -s conftest.err'
39879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39880   (eval $ac_try) 2>&5
39881   ac_status=$?
39882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39883   (exit $ac_status); }; } &&
39884          { ac_try='test -s conftest.$ac_objext'
39885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39886   (eval $ac_try) 2>&5
39887   ac_status=$?
39888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39889   (exit $ac_status); }; }; then
39890   ac_header_compiler=yes
39891 else
39892   echo "$as_me: failed program was:" >&5
39893 sed 's/^/| /' conftest.$ac_ext >&5
39894
39895 ac_header_compiler=no
39896 fi
39897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39898 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39899 echo "${ECHO_T}$ac_header_compiler" >&6
39900
39901 # Is the header present?
39902 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39903 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39904 cat >conftest.$ac_ext <<_ACEOF
39905 /* confdefs.h.  */
39906 _ACEOF
39907 cat confdefs.h >>conftest.$ac_ext
39908 cat >>conftest.$ac_ext <<_ACEOF
39909 /* end confdefs.h.  */
39910 #include <$ac_header>
39911 _ACEOF
39912 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39913   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39914   ac_status=$?
39915   grep -v '^ *+' conftest.er1 >conftest.err
39916   rm -f conftest.er1
39917   cat conftest.err >&5
39918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39919   (exit $ac_status); } >/dev/null; then
39920   if test -s conftest.err; then
39921     ac_cpp_err=$ac_cxx_preproc_warn_flag
39922     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39923   else
39924     ac_cpp_err=
39925   fi
39926 else
39927   ac_cpp_err=yes
39928 fi
39929 if test -z "$ac_cpp_err"; then
39930   ac_header_preproc=yes
39931 else
39932   echo "$as_me: failed program was:" >&5
39933 sed 's/^/| /' conftest.$ac_ext >&5
39934
39935   ac_header_preproc=no
39936 fi
39937 rm -f conftest.err conftest.$ac_ext
39938 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39939 echo "${ECHO_T}$ac_header_preproc" >&6
39940
39941 # So?  What about this header?
39942 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39943   yes:no: )
39944     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39945 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39946     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39947 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39948     ac_header_preproc=yes
39949     ;;
39950   no:yes:* )
39951     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39952 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39953     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
39954 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
39955     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39956 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39957     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
39958 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
39959     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39960 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39961     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39962 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39963     (
39964       cat <<\_ASBOX
39965 ## ----------------------------------------- ##
39966 ## Report this to the package-unused lists.  ##
39967 ## ----------------------------------------- ##
39968 _ASBOX
39969     ) |
39970       sed "s/^/$as_me: WARNING:     /" >&2
39971     ;;
39972 esac
39973 echo "$as_me:$LINENO: checking for $ac_header" >&5
39974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39976   echo $ECHO_N "(cached) $ECHO_C" >&6
39977 else
39978   eval "$as_ac_Header=\$ac_header_preproc"
39979 fi
39980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39982
39983 fi
39984 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39985   cat >>confdefs.h <<_ACEOF
39986 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39987 _ACEOF
39988  ac_has_complex_h=yes
39989 else
39990   ac_has_complex_h=no
39991 fi
39992
39993 done
39994
39995   ac_c99_complex_tr1=no;
39996   if test x"$ac_has_complex_h" = x"yes"; then
39997     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
39998 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
39999     cat >conftest.$ac_ext <<_ACEOF
40000 /* confdefs.h.  */
40001 _ACEOF
40002 cat confdefs.h >>conftest.$ac_ext
40003 cat >>conftest.$ac_ext <<_ACEOF
40004 /* end confdefs.h.  */
40005 #include <complex.h>
40006 int
40007 main ()
40008 {
40009 typedef __complex__ float float_type; float_type tmpf;
40010                     cacosf(tmpf);
40011                     casinf(tmpf);
40012                     catanf(tmpf);
40013                     cacoshf(tmpf);
40014                     casinhf(tmpf);
40015                     catanhf(tmpf);
40016                     typedef __complex__ double double_type; double_type tmpd;
40017                     cacos(tmpd);
40018                     casin(tmpd);
40019                     catan(tmpd);
40020                     cacosh(tmpd);
40021                     casinh(tmpd);
40022                     catanh(tmpd);
40023                     typedef __complex__ long double ld_type; ld_type tmpld;
40024                     cacosl(tmpld);
40025                     casinl(tmpld);
40026                     catanl(tmpld);
40027                     cacoshl(tmpld);
40028                     casinhl(tmpld);
40029                     catanhl(tmpld);
40030
40031   ;
40032   return 0;
40033 }
40034 _ACEOF
40035 rm -f conftest.$ac_objext
40036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40037   (eval $ac_compile) 2>conftest.er1
40038   ac_status=$?
40039   grep -v '^ *+' conftest.er1 >conftest.err
40040   rm -f conftest.er1
40041   cat conftest.err >&5
40042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40043   (exit $ac_status); } &&
40044          { ac_try='test -z "$ac_cxx_werror_flag"
40045                          || test ! -s conftest.err'
40046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40047   (eval $ac_try) 2>&5
40048   ac_status=$?
40049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40050   (exit $ac_status); }; } &&
40051          { ac_try='test -s conftest.$ac_objext'
40052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40053   (eval $ac_try) 2>&5
40054   ac_status=$?
40055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056   (exit $ac_status); }; }; then
40057   ac_c99_complex_tr1=yes
40058 else
40059   echo "$as_me: failed program was:" >&5
40060 sed 's/^/| /' conftest.$ac_ext >&5
40061
40062 ac_c99_complex_tr1=no
40063 fi
40064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40065   fi
40066   echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
40067 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
40068   if test x"$ac_c99_complex_tr1" = x"yes"; then
40069
40070 cat >>confdefs.h <<\_ACEOF
40071 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
40072 _ACEOF
40073
40074   fi
40075
40076   # Check for the existence of <ctype.h> functions.
40077   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
40078 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
40079   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
40080   echo $ECHO_N "(cached) $ECHO_C" >&6
40081 else
40082
40083   cat >conftest.$ac_ext <<_ACEOF
40084 /* confdefs.h.  */
40085 _ACEOF
40086 cat confdefs.h >>conftest.$ac_ext
40087 cat >>conftest.$ac_ext <<_ACEOF
40088 /* end confdefs.h.  */
40089 #include <ctype.h>
40090 int
40091 main ()
40092 {
40093 int ch;
40094                   int ret;
40095                   ret = isblank(ch);
40096
40097   ;
40098   return 0;
40099 }
40100 _ACEOF
40101 rm -f conftest.$ac_objext
40102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40103   (eval $ac_compile) 2>conftest.er1
40104   ac_status=$?
40105   grep -v '^ *+' conftest.er1 >conftest.err
40106   rm -f conftest.er1
40107   cat conftest.err >&5
40108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40109   (exit $ac_status); } &&
40110          { ac_try='test -z "$ac_cxx_werror_flag"
40111                          || test ! -s conftest.err'
40112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40113   (eval $ac_try) 2>&5
40114   ac_status=$?
40115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40116   (exit $ac_status); }; } &&
40117          { ac_try='test -s conftest.$ac_objext'
40118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40119   (eval $ac_try) 2>&5
40120   ac_status=$?
40121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40122   (exit $ac_status); }; }; then
40123   glibcxx_cv_c99_ctype_tr1=yes
40124 else
40125   echo "$as_me: failed program was:" >&5
40126 sed 's/^/| /' conftest.$ac_ext >&5
40127
40128 glibcxx_cv_c99_ctype_tr1=no
40129 fi
40130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40131
40132 fi
40133
40134   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
40135 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
40136   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
40137
40138 cat >>confdefs.h <<\_ACEOF
40139 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
40140 _ACEOF
40141
40142   fi
40143
40144   # Check for the existence of <fenv.h> functions.
40145
40146 for ac_header in fenv.h
40147 do
40148 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40150   echo "$as_me:$LINENO: checking for $ac_header" >&5
40151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40153   echo $ECHO_N "(cached) $ECHO_C" >&6
40154 fi
40155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40156 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40157 else
40158   # Is the header compilable?
40159 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40160 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40161 cat >conftest.$ac_ext <<_ACEOF
40162 /* confdefs.h.  */
40163 _ACEOF
40164 cat confdefs.h >>conftest.$ac_ext
40165 cat >>conftest.$ac_ext <<_ACEOF
40166 /* end confdefs.h.  */
40167 $ac_includes_default
40168 #include <$ac_header>
40169 _ACEOF
40170 rm -f conftest.$ac_objext
40171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40172   (eval $ac_compile) 2>conftest.er1
40173   ac_status=$?
40174   grep -v '^ *+' conftest.er1 >conftest.err
40175   rm -f conftest.er1
40176   cat conftest.err >&5
40177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40178   (exit $ac_status); } &&
40179          { ac_try='test -z "$ac_cxx_werror_flag"
40180                          || test ! -s conftest.err'
40181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40182   (eval $ac_try) 2>&5
40183   ac_status=$?
40184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40185   (exit $ac_status); }; } &&
40186          { ac_try='test -s conftest.$ac_objext'
40187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40188   (eval $ac_try) 2>&5
40189   ac_status=$?
40190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40191   (exit $ac_status); }; }; then
40192   ac_header_compiler=yes
40193 else
40194   echo "$as_me: failed program was:" >&5
40195 sed 's/^/| /' conftest.$ac_ext >&5
40196
40197 ac_header_compiler=no
40198 fi
40199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40200 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40201 echo "${ECHO_T}$ac_header_compiler" >&6
40202
40203 # Is the header present?
40204 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40205 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40206 cat >conftest.$ac_ext <<_ACEOF
40207 /* confdefs.h.  */
40208 _ACEOF
40209 cat confdefs.h >>conftest.$ac_ext
40210 cat >>conftest.$ac_ext <<_ACEOF
40211 /* end confdefs.h.  */
40212 #include <$ac_header>
40213 _ACEOF
40214 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40215   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40216   ac_status=$?
40217   grep -v '^ *+' conftest.er1 >conftest.err
40218   rm -f conftest.er1
40219   cat conftest.err >&5
40220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40221   (exit $ac_status); } >/dev/null; then
40222   if test -s conftest.err; then
40223     ac_cpp_err=$ac_cxx_preproc_warn_flag
40224     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40225   else
40226     ac_cpp_err=
40227   fi
40228 else
40229   ac_cpp_err=yes
40230 fi
40231 if test -z "$ac_cpp_err"; then
40232   ac_header_preproc=yes
40233 else
40234   echo "$as_me: failed program was:" >&5
40235 sed 's/^/| /' conftest.$ac_ext >&5
40236
40237   ac_header_preproc=no
40238 fi
40239 rm -f conftest.err conftest.$ac_ext
40240 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40241 echo "${ECHO_T}$ac_header_preproc" >&6
40242
40243 # So?  What about this header?
40244 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40245   yes:no: )
40246     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40247 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40248     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40249 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40250     ac_header_preproc=yes
40251     ;;
40252   no:yes:* )
40253     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40254 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40255     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
40256 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
40257     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40258 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40259     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
40260 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
40261     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40262 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40263     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40264 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40265     (
40266       cat <<\_ASBOX
40267 ## ----------------------------------------- ##
40268 ## Report this to the package-unused lists.  ##
40269 ## ----------------------------------------- ##
40270 _ASBOX
40271     ) |
40272       sed "s/^/$as_me: WARNING:     /" >&2
40273     ;;
40274 esac
40275 echo "$as_me:$LINENO: checking for $ac_header" >&5
40276 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40277 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40278   echo $ECHO_N "(cached) $ECHO_C" >&6
40279 else
40280   eval "$as_ac_Header=\$ac_header_preproc"
40281 fi
40282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40283 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40284
40285 fi
40286 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40287   cat >>confdefs.h <<_ACEOF
40288 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40289 _ACEOF
40290  ac_has_fenv_h=yes
40291 else
40292   ac_has_fenv_h=no
40293 fi
40294
40295 done
40296
40297   ac_c99_fenv_tr1=no;
40298   if test x"$ac_has_fenv_h" = x"yes"; then
40299     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
40300 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
40301     cat >conftest.$ac_ext <<_ACEOF
40302 /* confdefs.h.  */
40303 _ACEOF
40304 cat confdefs.h >>conftest.$ac_ext
40305 cat >>conftest.$ac_ext <<_ACEOF
40306 /* end confdefs.h.  */
40307 #include <fenv.h>
40308 int
40309 main ()
40310 {
40311 int except, mode;
40312                     fexcept_t* pflag;
40313                     fenv_t* penv;
40314                     int ret;
40315                     ret = feclearexcept(except);
40316                     ret = fegetexceptflag(pflag, except);
40317                     ret = feraiseexcept(except);
40318                     ret = fesetexceptflag(pflag, except);
40319                     ret = fetestexcept(except);
40320                     ret = fegetround();
40321                     ret = fesetround(mode);
40322                     ret = fegetenv(penv);
40323                     ret = feholdexcept(penv);
40324                     ret = fesetenv(penv);
40325                     ret = feupdateenv(penv);
40326
40327   ;
40328   return 0;
40329 }
40330 _ACEOF
40331 rm -f conftest.$ac_objext
40332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40333   (eval $ac_compile) 2>conftest.er1
40334   ac_status=$?
40335   grep -v '^ *+' conftest.er1 >conftest.err
40336   rm -f conftest.er1
40337   cat conftest.err >&5
40338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40339   (exit $ac_status); } &&
40340          { ac_try='test -z "$ac_cxx_werror_flag"
40341                          || test ! -s conftest.err'
40342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40343   (eval $ac_try) 2>&5
40344   ac_status=$?
40345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40346   (exit $ac_status); }; } &&
40347          { ac_try='test -s conftest.$ac_objext'
40348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40349   (eval $ac_try) 2>&5
40350   ac_status=$?
40351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40352   (exit $ac_status); }; }; then
40353   ac_c99_fenv_tr1=yes
40354 else
40355   echo "$as_me: failed program was:" >&5
40356 sed 's/^/| /' conftest.$ac_ext >&5
40357
40358 ac_c99_fenv_tr1=no
40359 fi
40360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40361   fi
40362   echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
40363 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
40364   if test x"$ac_c99_fenv_tr1" = x"yes"; then
40365
40366 cat >>confdefs.h <<\_ACEOF
40367 #define _GLIBCXX_USE_C99_FENV_TR1 1
40368 _ACEOF
40369
40370   fi
40371
40372   # Check for the existence of <stdint.h> types.
40373   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
40374 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
40375   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
40376   echo $ECHO_N "(cached) $ECHO_C" >&6
40377 else
40378
40379   cat >conftest.$ac_ext <<_ACEOF
40380 /* confdefs.h.  */
40381 _ACEOF
40382 cat confdefs.h >>conftest.$ac_ext
40383 cat >>conftest.$ac_ext <<_ACEOF
40384 /* end confdefs.h.  */
40385 #include <stdint.h>
40386 int
40387 main ()
40388 {
40389 typedef int8_t          my_int8_t;
40390                   typedef int16_t         my_int16_t;
40391                   typedef int32_t         my_int32_t;
40392                   typedef int64_t         my_int64_t;
40393                   typedef int_fast8_t     my_int_fast8_t;
40394                   typedef int_fast16_t    my_int_fast16_t;
40395                   typedef int_fast32_t    my_int_fast32_t;
40396                   typedef int_fast64_t    my_int_fast64_t;
40397                   typedef int_least8_t    my_int_least8_t;
40398                   typedef int_least16_t   my_int_least16_t;
40399                   typedef int_least32_t   my_int_least32_t;
40400                   typedef int_least64_t   my_int_least64_t;
40401                   typedef intmax_t        my_intmax_t;
40402                   typedef intptr_t        my_intptr_t;
40403                   typedef uint8_t         my_uint8_t;
40404                   typedef uint16_t        my_uint16_t;
40405                   typedef uint32_t        my_uint32_t;
40406                   typedef uint64_t        my_uint64_t;
40407                   typedef uint_fast8_t    my_uint_fast8_t;
40408                   typedef uint_fast16_t   my_uint_fast16_t;
40409                   typedef uint_fast32_t   my_uint_fast32_t;
40410                   typedef uint_fast64_t   my_uint_fast64_t;
40411                   typedef uint_least8_t   my_uint_least8_t;
40412                   typedef uint_least16_t  my_uint_least16_t;
40413                   typedef uint_least32_t  my_uint_least32_t;
40414                   typedef uint_least64_t  my_uint_least64_t;
40415                   typedef uintmax_t       my_uintmax_t;
40416                   typedef uintptr_t       my_uintptr_t;
40417
40418   ;
40419   return 0;
40420 }
40421 _ACEOF
40422 rm -f conftest.$ac_objext
40423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40424   (eval $ac_compile) 2>conftest.er1
40425   ac_status=$?
40426   grep -v '^ *+' conftest.er1 >conftest.err
40427   rm -f conftest.er1
40428   cat conftest.err >&5
40429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40430   (exit $ac_status); } &&
40431          { ac_try='test -z "$ac_cxx_werror_flag"
40432                          || test ! -s conftest.err'
40433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40434   (eval $ac_try) 2>&5
40435   ac_status=$?
40436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40437   (exit $ac_status); }; } &&
40438          { ac_try='test -s conftest.$ac_objext'
40439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40440   (eval $ac_try) 2>&5
40441   ac_status=$?
40442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40443   (exit $ac_status); }; }; then
40444   glibcxx_cv_c99_stdint_tr1=yes
40445 else
40446   echo "$as_me: failed program was:" >&5
40447 sed 's/^/| /' conftest.$ac_ext >&5
40448
40449 glibcxx_cv_c99_stdint_tr1=no
40450 fi
40451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40452
40453 fi
40454
40455   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
40456 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
40457   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
40458
40459 cat >>confdefs.h <<\_ACEOF
40460 #define _GLIBCXX_USE_C99_STDINT_TR1 1
40461 _ACEOF
40462
40463   fi
40464
40465   # Check for the existence of <math.h> functions.
40466   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
40467 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
40468   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
40469   echo $ECHO_N "(cached) $ECHO_C" >&6
40470 else
40471
40472   cat >conftest.$ac_ext <<_ACEOF
40473 /* confdefs.h.  */
40474 _ACEOF
40475 cat confdefs.h >>conftest.$ac_ext
40476 cat >>conftest.$ac_ext <<_ACEOF
40477 /* end confdefs.h.  */
40478 #include <math.h>
40479 int
40480 main ()
40481 {
40482 typedef double_t  my_double_t;
40483                   typedef float_t   my_float_t;
40484                   acosh(0.0);
40485                   acoshf(0.0f);
40486                   acoshl(0.0l);
40487                   asinh(0.0);
40488                   asinhf(0.0f);
40489                   asinhl(0.0l);
40490                   atanh(0.0);
40491                   atanhf(0.0f);
40492                   atanhl(0.0l);
40493                   cbrt(0.0);
40494                   cbrtf(0.0f);
40495                   cbrtl(0.0l);
40496                   copysign(0.0, 0.0);
40497                   copysignf(0.0f, 0.0f);
40498                   copysignl(0.0l, 0.0l);
40499                   erf(0.0);
40500                   erff(0.0f);
40501                   erfl(0.0l);
40502                   erfc(0.0);
40503                   erfcf(0.0f);
40504                   erfcl(0.0l);
40505                   exp2(0.0);
40506                   exp2f(0.0f);
40507                   exp2l(0.0l);
40508                   expm1(0.0);
40509                   expm1f(0.0f);
40510                   expm1l(0.0l);
40511                   fdim(0.0, 0.0);
40512                   fdimf(0.0f, 0.0f);
40513                   fdiml(0.0l, 0.0l);
40514                   fma(0.0, 0.0, 0.0);
40515                   fmaf(0.0f, 0.0f, 0.0f);
40516                   fmal(0.0l, 0.0l, 0.0l);
40517                   fmax(0.0, 0.0);
40518                   fmaxf(0.0f, 0.0f);
40519                   fmaxl(0.0l, 0.0l);
40520                   fmin(0.0, 0.0);
40521                   fminf(0.0f, 0.0f);
40522                   fminl(0.0l, 0.0l);
40523                   hypot(0.0, 0.0);
40524                   hypotf(0.0f, 0.0f);
40525                   hypotl(0.0l, 0.0l);
40526                   ilogb(0.0);
40527                   ilogbf(0.0f);
40528                   ilogbl(0.0l);
40529                   lgamma(0.0);
40530                   lgammaf(0.0f);
40531                   lgammal(0.0l);
40532                   llrint(0.0);
40533                   llrintf(0.0f);
40534                   llrintl(0.0l);
40535                   llround(0.0);
40536                   llroundf(0.0f);
40537                   llroundl(0.0l);
40538                   log1p(0.0);
40539                   log1pf(0.0f);
40540                   log1pl(0.0l);
40541                   log2(0.0);
40542                   log2f(0.0f);
40543                   log2l(0.0l);
40544                   logb(0.0);
40545                   logbf(0.0f);
40546                   logbl(0.0l);
40547                   lrint(0.0);
40548                   lrintf(0.0f);
40549                   lrintl(0.0l);
40550                   lround(0.0);
40551                   lroundf(0.0f);
40552                   lroundl(0.0l);
40553                   nan(0);
40554                   nanf(0);
40555                   nanl(0);
40556                   nearbyint(0.0);
40557                   nearbyintf(0.0f);
40558                   nearbyintl(0.0l);
40559                   nextafter(0.0, 0.0);
40560                   nextafterf(0.0f, 0.0f);
40561                   nextafterl(0.0l, 0.0l);
40562                   nexttoward(0.0, 0.0);
40563                   nexttowardf(0.0f, 0.0f);
40564                   nexttowardl(0.0l, 0.0l);
40565                   remainder(0.0, 0.0);
40566                   remainderf(0.0f, 0.0f);
40567                   remainderl(0.0l, 0.0l);
40568                   remquo(0.0, 0.0, 0);
40569                   remquo(0.0f, 0.0f, 0);
40570                   remquo(0.0l, 0.0l, 0);
40571                   rint(0.0);
40572                   rintf(0.0f);
40573                   rintl(0.0l);
40574                   round(0.0);
40575                   roundf(0.0f);
40576                   roundl(0.0l);
40577                   scalbln(0.0, 0l);
40578                   scalblnf(0.0f, 0l);
40579                   scalblnl(0.0l, 0l);
40580                   scalbn(0.0, 0);
40581                   scalbnf(0.0f, 0);
40582                   scalbnl(0.0l, 0);
40583                   tgamma(0.0);
40584                   tgammaf(0.0f);
40585                   tgammal(0.0l);
40586                   trunc(0.0);
40587                   truncf(0.0f);
40588                   truncl(0.0l);
40589
40590   ;
40591   return 0;
40592 }
40593 _ACEOF
40594 rm -f conftest.$ac_objext
40595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40596   (eval $ac_compile) 2>conftest.er1
40597   ac_status=$?
40598   grep -v '^ *+' conftest.er1 >conftest.err
40599   rm -f conftest.er1
40600   cat conftest.err >&5
40601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40602   (exit $ac_status); } &&
40603          { ac_try='test -z "$ac_cxx_werror_flag"
40604                          || test ! -s conftest.err'
40605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40606   (eval $ac_try) 2>&5
40607   ac_status=$?
40608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40609   (exit $ac_status); }; } &&
40610          { ac_try='test -s conftest.$ac_objext'
40611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40612   (eval $ac_try) 2>&5
40613   ac_status=$?
40614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40615   (exit $ac_status); }; }; then
40616   glibcxx_cv_c99_math_tr1=yes
40617 else
40618   echo "$as_me: failed program was:" >&5
40619 sed 's/^/| /' conftest.$ac_ext >&5
40620
40621 glibcxx_cv_c99_math_tr1=no
40622 fi
40623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40624
40625 fi
40626
40627   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
40628 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
40629   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
40630
40631 cat >>confdefs.h <<\_ACEOF
40632 #define _GLIBCXX_USE_C99_MATH_TR1 1
40633 _ACEOF
40634
40635   fi
40636
40637   # Check for the existence of <inttypes.h> functions (NB: doesn't make
40638   # sense if the previous check fails, per C99, 7.8/1).
40639   ac_c99_inttypes_tr1=no;
40640   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
40641     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
40642 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
40643     cat >conftest.$ac_ext <<_ACEOF
40644 /* confdefs.h.  */
40645 _ACEOF
40646 cat confdefs.h >>conftest.$ac_ext
40647 cat >>conftest.$ac_ext <<_ACEOF
40648 /* end confdefs.h.  */
40649 #include <inttypes.h>
40650 int
40651 main ()
40652 {
40653 intmax_t i, numer, denom, base;
40654                     const char* s;
40655                     char** endptr;
40656                     intmax_t ret = imaxabs(i);
40657                     imaxdiv_t dret = imaxdiv(numer, denom);
40658                     ret = strtoimax(s, endptr, base);
40659                     uintmax_t uret = strtoumax(s, endptr, base);
40660
40661   ;
40662   return 0;
40663 }
40664 _ACEOF
40665 rm -f conftest.$ac_objext
40666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40667   (eval $ac_compile) 2>conftest.er1
40668   ac_status=$?
40669   grep -v '^ *+' conftest.er1 >conftest.err
40670   rm -f conftest.er1
40671   cat conftest.err >&5
40672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40673   (exit $ac_status); } &&
40674          { ac_try='test -z "$ac_cxx_werror_flag"
40675                          || test ! -s conftest.err'
40676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40677   (eval $ac_try) 2>&5
40678   ac_status=$?
40679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40680   (exit $ac_status); }; } &&
40681          { ac_try='test -s conftest.$ac_objext'
40682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40683   (eval $ac_try) 2>&5
40684   ac_status=$?
40685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40686   (exit $ac_status); }; }; then
40687   ac_c99_inttypes_tr1=yes
40688 else
40689   echo "$as_me: failed program was:" >&5
40690 sed 's/^/| /' conftest.$ac_ext >&5
40691
40692 ac_c99_inttypes_tr1=no
40693 fi
40694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40695   fi
40696   echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
40697 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
40698   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
40699
40700 cat >>confdefs.h <<\_ACEOF
40701 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
40702 _ACEOF
40703
40704   fi
40705
40706   # Check for the existence of the <stdbool.h> header.
40707
40708 for ac_header in stdbool.h
40709 do
40710 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40712   echo "$as_me:$LINENO: checking for $ac_header" >&5
40713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40715   echo $ECHO_N "(cached) $ECHO_C" >&6
40716 fi
40717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40718 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40719 else
40720   # Is the header compilable?
40721 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40722 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40723 cat >conftest.$ac_ext <<_ACEOF
40724 /* confdefs.h.  */
40725 _ACEOF
40726 cat confdefs.h >>conftest.$ac_ext
40727 cat >>conftest.$ac_ext <<_ACEOF
40728 /* end confdefs.h.  */
40729 $ac_includes_default
40730 #include <$ac_header>
40731 _ACEOF
40732 rm -f conftest.$ac_objext
40733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40734   (eval $ac_compile) 2>conftest.er1
40735   ac_status=$?
40736   grep -v '^ *+' conftest.er1 >conftest.err
40737   rm -f conftest.er1
40738   cat conftest.err >&5
40739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40740   (exit $ac_status); } &&
40741          { ac_try='test -z "$ac_cxx_werror_flag"
40742                          || test ! -s conftest.err'
40743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40744   (eval $ac_try) 2>&5
40745   ac_status=$?
40746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40747   (exit $ac_status); }; } &&
40748          { ac_try='test -s conftest.$ac_objext'
40749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40750   (eval $ac_try) 2>&5
40751   ac_status=$?
40752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40753   (exit $ac_status); }; }; then
40754   ac_header_compiler=yes
40755 else
40756   echo "$as_me: failed program was:" >&5
40757 sed 's/^/| /' conftest.$ac_ext >&5
40758
40759 ac_header_compiler=no
40760 fi
40761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40762 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40763 echo "${ECHO_T}$ac_header_compiler" >&6
40764
40765 # Is the header present?
40766 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40767 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40768 cat >conftest.$ac_ext <<_ACEOF
40769 /* confdefs.h.  */
40770 _ACEOF
40771 cat confdefs.h >>conftest.$ac_ext
40772 cat >>conftest.$ac_ext <<_ACEOF
40773 /* end confdefs.h.  */
40774 #include <$ac_header>
40775 _ACEOF
40776 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40777   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40778   ac_status=$?
40779   grep -v '^ *+' conftest.er1 >conftest.err
40780   rm -f conftest.er1
40781   cat conftest.err >&5
40782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40783   (exit $ac_status); } >/dev/null; then
40784   if test -s conftest.err; then
40785     ac_cpp_err=$ac_cxx_preproc_warn_flag
40786     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40787   else
40788     ac_cpp_err=
40789   fi
40790 else
40791   ac_cpp_err=yes
40792 fi
40793 if test -z "$ac_cpp_err"; then
40794   ac_header_preproc=yes
40795 else
40796   echo "$as_me: failed program was:" >&5
40797 sed 's/^/| /' conftest.$ac_ext >&5
40798
40799   ac_header_preproc=no
40800 fi
40801 rm -f conftest.err conftest.$ac_ext
40802 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40803 echo "${ECHO_T}$ac_header_preproc" >&6
40804
40805 # So?  What about this header?
40806 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40807   yes:no: )
40808     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40809 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40810     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40811 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40812     ac_header_preproc=yes
40813     ;;
40814   no:yes:* )
40815     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40816 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40817     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
40818 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
40819     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40820 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40821     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
40822 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
40823     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40824 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40825     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40826 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40827     (
40828       cat <<\_ASBOX
40829 ## ----------------------------------------- ##
40830 ## Report this to the package-unused lists.  ##
40831 ## ----------------------------------------- ##
40832 _ASBOX
40833     ) |
40834       sed "s/^/$as_me: WARNING:     /" >&2
40835     ;;
40836 esac
40837 echo "$as_me:$LINENO: checking for $ac_header" >&5
40838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40840   echo $ECHO_N "(cached) $ECHO_C" >&6
40841 else
40842   eval "$as_ac_Header=\$ac_header_preproc"
40843 fi
40844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40845 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40846
40847 fi
40848 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40849   cat >>confdefs.h <<_ACEOF
40850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40851 _ACEOF
40852
40853 fi
40854
40855 done
40856
40857
40858   CXXFLAGS="$ac_save_CXXFLAGS"
40859   ac_ext=c
40860 ac_cpp='$CPP $CPPFLAGS'
40861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40864
40865
40866
40867   # For dev/random and dev/urandom for TR1.
40868
40869
40870   echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
40871 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
40872   if test "${glibcxx_cv_random_tr1+set}" = set; then
40873   echo $ECHO_N "(cached) $ECHO_C" >&6
40874 else
40875
40876   if test "$cross_compiling" = yes; then
40877   glibcxx_cv_random_tr1=no
40878 else
40879   cat >conftest.$ac_ext <<_ACEOF
40880 /* confdefs.h.  */
40881 _ACEOF
40882 cat confdefs.h >>conftest.$ac_ext
40883 cat >>conftest.$ac_ext <<_ACEOF
40884 /* end confdefs.h.  */
40885 #include <stdio.h>
40886               int main()
40887               {
40888                 return !(fopen("/dev/random", "r")
40889                          && fopen("/dev/urandom", "r"));
40890               }
40891
40892 _ACEOF
40893 rm -f conftest$ac_exeext
40894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40895   (eval $ac_link) 2>&5
40896   ac_status=$?
40897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40898   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40900   (eval $ac_try) 2>&5
40901   ac_status=$?
40902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40903   (exit $ac_status); }; }; then
40904   glibcxx_cv_random_tr1=yes
40905 else
40906   echo "$as_me: program exited with status $ac_status" >&5
40907 echo "$as_me: failed program was:" >&5
40908 sed 's/^/| /' conftest.$ac_ext >&5
40909
40910 ( exit $ac_status )
40911 glibcxx_cv_random_tr1=no
40912 fi
40913 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40914 fi
40915
40916 fi
40917
40918   echo "$as_me:$LINENO: result: $glibcxx_cv_random_tr1" >&5
40919 echo "${ECHO_T}$glibcxx_cv_random_tr1" >&6
40920   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
40921
40922 cat >>confdefs.h <<\_ACEOF
40923 #define _GLIBCXX_USE_RANDOM_TR1 1
40924 _ACEOF
40925
40926   fi
40927
40928
40929
40930   # For TLS support.
40931
40932    # Check whether --enable-tls or --disable-tls was given.
40933 if test "${enable_tls+set}" = set; then
40934   enableval="$enable_tls"
40935
40936       case "$enableval" in
40937        yes|no) ;;
40938        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
40939 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
40940    { (exit 1); exit 1; }; } ;;
40941       esac
40942
40943 else
40944   enable_tls=yes
40945 fi;
40946
40947   echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
40948 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
40949 if test "${gcc_cv_have_tls+set}" = set; then
40950   echo $ECHO_N "(cached) $ECHO_C" >&6
40951 else
40952
40953     if test "$cross_compiling" = yes; then
40954                 if test x$gcc_no_link = xyes; then
40955   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40957    { (exit 1); exit 1; }; }
40958 fi
40959 cat >conftest.$ac_ext <<_ACEOF
40960 __thread int a; int b; int main() { return a = b; }
40961 _ACEOF
40962 rm -f conftest.$ac_objext conftest$ac_exeext
40963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40964   (eval $ac_link) 2>conftest.er1
40965   ac_status=$?
40966   grep -v '^ *+' conftest.er1 >conftest.err
40967   rm -f conftest.er1
40968   cat conftest.err >&5
40969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40970   (exit $ac_status); } &&
40971          { ac_try='test -z "$ac_c_werror_flag"
40972                          || test ! -s conftest.err'
40973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40974   (eval $ac_try) 2>&5
40975   ac_status=$?
40976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40977   (exit $ac_status); }; } &&
40978          { ac_try='test -s conftest$ac_exeext'
40979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40980   (eval $ac_try) 2>&5
40981   ac_status=$?
40982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40983   (exit $ac_status); }; }; then
40984   gcc_cv_have_tls=yes
40985 else
40986   echo "$as_me: failed program was:" >&5
40987 sed 's/^/| /' conftest.$ac_ext >&5
40988
40989 gcc_cv_have_tls=no
40990 fi
40991 rm -f conftest.err conftest.$ac_objext \
40992       conftest$ac_exeext conftest.$ac_ext
40993
40994
40995 else
40996   cat >conftest.$ac_ext <<_ACEOF
40997 __thread int a; int b; int main() { return a = b; }
40998 _ACEOF
40999 rm -f conftest$ac_exeext
41000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41001   (eval $ac_link) 2>&5
41002   ac_status=$?
41003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41004   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41006   (eval $ac_try) 2>&5
41007   ac_status=$?
41008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41009   (exit $ac_status); }; }; then
41010                       chktls_save_LDFLAGS="$LDFLAGS"
41011       LDFLAGS="-static $LDFLAGS"
41012       if test x$gcc_no_link = xyes; then
41013   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41015    { (exit 1); exit 1; }; }
41016 fi
41017 cat >conftest.$ac_ext <<_ACEOF
41018 int main() { return 0; }
41019 _ACEOF
41020 rm -f conftest.$ac_objext conftest$ac_exeext
41021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41022   (eval $ac_link) 2>conftest.er1
41023   ac_status=$?
41024   grep -v '^ *+' conftest.er1 >conftest.err
41025   rm -f conftest.er1
41026   cat conftest.err >&5
41027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41028   (exit $ac_status); } &&
41029          { ac_try='test -z "$ac_c_werror_flag"
41030                          || test ! -s conftest.err'
41031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41032   (eval $ac_try) 2>&5
41033   ac_status=$?
41034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41035   (exit $ac_status); }; } &&
41036          { ac_try='test -s conftest$ac_exeext'
41037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41038   (eval $ac_try) 2>&5
41039   ac_status=$?
41040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41041   (exit $ac_status); }; }; then
41042   if test "$cross_compiling" = yes; then
41043   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41044 See \`config.log' for more details." >&5
41045 echo "$as_me: error: cannot run test program while cross compiling
41046 See \`config.log' for more details." >&2;}
41047    { (exit 1); exit 1; }; }
41048 else
41049   cat >conftest.$ac_ext <<_ACEOF
41050 __thread int a; int b; int main() { return a = b; }
41051 _ACEOF
41052 rm -f conftest$ac_exeext
41053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41054   (eval $ac_link) 2>&5
41055   ac_status=$?
41056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41057   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41059   (eval $ac_try) 2>&5
41060   ac_status=$?
41061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41062   (exit $ac_status); }; }; then
41063   gcc_cv_have_tls=yes
41064 else
41065   echo "$as_me: program exited with status $ac_status" >&5
41066 echo "$as_me: failed program was:" >&5
41067 sed 's/^/| /' conftest.$ac_ext >&5
41068
41069 ( exit $ac_status )
41070 gcc_cv_have_tls=no
41071 fi
41072 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41073 fi
41074 else
41075   echo "$as_me: failed program was:" >&5
41076 sed 's/^/| /' conftest.$ac_ext >&5
41077
41078 gcc_cv_have_tls=yes
41079 fi
41080 rm -f conftest.err conftest.$ac_objext \
41081       conftest$ac_exeext conftest.$ac_ext
41082       LDFLAGS="$chktls_save_LDFLAGS"
41083       if test $gcc_cv_have_tls = yes; then
41084                                                 chktls_save_CFLAGS="$CFLAGS"
41085         thread_CFLAGS=failed
41086         for flag in '' '-pthread' '-lpthread'; do
41087           CFLAGS="$flag $chktls_save_CFLAGS"
41088           if test x$gcc_no_link = xyes; then
41089   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41091    { (exit 1); exit 1; }; }
41092 fi
41093 cat >conftest.$ac_ext <<_ACEOF
41094 /* confdefs.h.  */
41095 _ACEOF
41096 cat confdefs.h >>conftest.$ac_ext
41097 cat >>conftest.$ac_ext <<_ACEOF
41098 /* end confdefs.h.  */
41099 #include <pthread.h>
41100                 void *g(void *d) { return NULL; }
41101 int
41102 main ()
41103 {
41104 pthread_t t; pthread_create(&t,NULL,g,NULL);
41105   ;
41106   return 0;
41107 }
41108 _ACEOF
41109 rm -f conftest.$ac_objext conftest$ac_exeext
41110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41111   (eval $ac_link) 2>conftest.er1
41112   ac_status=$?
41113   grep -v '^ *+' conftest.er1 >conftest.err
41114   rm -f conftest.er1
41115   cat conftest.err >&5
41116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41117   (exit $ac_status); } &&
41118          { ac_try='test -z "$ac_c_werror_flag"
41119                          || test ! -s conftest.err'
41120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41121   (eval $ac_try) 2>&5
41122   ac_status=$?
41123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41124   (exit $ac_status); }; } &&
41125          { ac_try='test -s conftest$ac_exeext'
41126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41127   (eval $ac_try) 2>&5
41128   ac_status=$?
41129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41130   (exit $ac_status); }; }; then
41131   thread_CFLAGS="$flag"
41132 else
41133   echo "$as_me: failed program was:" >&5
41134 sed 's/^/| /' conftest.$ac_ext >&5
41135
41136 fi
41137 rm -f conftest.err conftest.$ac_objext \
41138       conftest$ac_exeext conftest.$ac_ext
41139           if test "X$thread_CFLAGS" != Xfailed; then
41140             break
41141           fi
41142         done
41143         CFLAGS="$chktls_save_CFLAGS"
41144         if test "X$thread_CFLAGS" != Xfailed; then
41145           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
41146           if test "$cross_compiling" = yes; then
41147   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41148 See \`config.log' for more details." >&5
41149 echo "$as_me: error: cannot run test program while cross compiling
41150 See \`config.log' for more details." >&2;}
41151    { (exit 1); exit 1; }; }
41152 else
41153   cat >conftest.$ac_ext <<_ACEOF
41154 /* confdefs.h.  */
41155 _ACEOF
41156 cat confdefs.h >>conftest.$ac_ext
41157 cat >>conftest.$ac_ext <<_ACEOF
41158 /* end confdefs.h.  */
41159 #include <pthread.h>
41160                 __thread int a;
41161                 static int *a_in_other_thread;
41162                 static void *
41163                 thread_func (void *arg)
41164                 {
41165                   a_in_other_thread = &a;
41166                   return (void *)0;
41167                 }
41168 int
41169 main ()
41170 {
41171 pthread_t thread;
41172                 void *thread_retval;
41173                 int *a_in_main_thread;
41174                 if (pthread_create (&thread, (pthread_attr_t *)0,
41175                                     thread_func, (void *)0))
41176                   return 0;
41177                 a_in_main_thread = &a;
41178                 if (pthread_join (thread, &thread_retval))
41179                   return 0;
41180                 return (a_in_other_thread == a_in_main_thread);
41181   ;
41182   return 0;
41183 }
41184 _ACEOF
41185 rm -f conftest$ac_exeext
41186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41187   (eval $ac_link) 2>&5
41188   ac_status=$?
41189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41190   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41192   (eval $ac_try) 2>&5
41193   ac_status=$?
41194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41195   (exit $ac_status); }; }; then
41196   gcc_cv_have_tls=yes
41197 else
41198   echo "$as_me: program exited with status $ac_status" >&5
41199 echo "$as_me: failed program was:" >&5
41200 sed 's/^/| /' conftest.$ac_ext >&5
41201
41202 ( exit $ac_status )
41203 gcc_cv_have_tls=no
41204 fi
41205 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41206 fi
41207           CFLAGS="$chktls_save_CFLAGS"
41208         fi
41209       fi
41210 else
41211   echo "$as_me: program exited with status $ac_status" >&5
41212 echo "$as_me: failed program was:" >&5
41213 sed 's/^/| /' conftest.$ac_ext >&5
41214
41215 ( exit $ac_status )
41216 gcc_cv_have_tls=no
41217 fi
41218 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41219 fi
41220 fi
41221 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
41222 echo "${ECHO_T}$gcc_cv_have_tls" >&6
41223   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
41224
41225 cat >>confdefs.h <<\_ACEOF
41226 #define HAVE_TLS 1
41227 _ACEOF
41228
41229   fi
41230
41231   # For _Unwind_GetIPInfo.
41232
41233
41234
41235   ac_ext=cc
41236 ac_cpp='$CXXCPP $CPPFLAGS'
41237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41240
41241   ac_save_CXXFLAGS="$CXXFLAGS"
41242   CXXFLAGS="$CXXFLAGS -fno-exceptions"
41243   echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
41244 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
41245   if test "${gcc_cv_getipinfo+set}" = set; then
41246   echo $ECHO_N "(cached) $ECHO_C" >&6
41247 else
41248
41249   if test x$gcc_no_link = xyes; then
41250   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41252    { (exit 1); exit 1; }; }
41253 fi
41254 cat >conftest.$ac_ext <<_ACEOF
41255 /* confdefs.h.  */
41256 _ACEOF
41257 cat confdefs.h >>conftest.$ac_ext
41258 cat >>conftest.$ac_ext <<_ACEOF
41259 /* end confdefs.h.  */
41260 extern "C" { extern void _Unwind_GetIPInfo(); }
41261 int
41262 main ()
41263 {
41264 _Unwind_GetIPInfo();
41265   ;
41266   return 0;
41267 }
41268 _ACEOF
41269 rm -f conftest.$ac_objext conftest$ac_exeext
41270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41271   (eval $ac_link) 2>conftest.er1
41272   ac_status=$?
41273   grep -v '^ *+' conftest.er1 >conftest.err
41274   rm -f conftest.er1
41275   cat conftest.err >&5
41276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41277   (exit $ac_status); } &&
41278          { ac_try='test -z "$ac_cxx_werror_flag"
41279                          || test ! -s conftest.err'
41280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41281   (eval $ac_try) 2>&5
41282   ac_status=$?
41283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41284   (exit $ac_status); }; } &&
41285          { ac_try='test -s conftest$ac_exeext'
41286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41287   (eval $ac_try) 2>&5
41288   ac_status=$?
41289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41290   (exit $ac_status); }; }; then
41291   gcc_cv_getipinfo=yes
41292 else
41293   echo "$as_me: failed program was:" >&5
41294 sed 's/^/| /' conftest.$ac_ext >&5
41295
41296 gcc_cv_getipinfo=no
41297 fi
41298 rm -f conftest.err conftest.$ac_objext \
41299       conftest$ac_exeext conftest.$ac_ext
41300
41301 fi
41302
41303   if test $gcc_cv_getipinfo = yes; then
41304
41305 cat >>confdefs.h <<\_ACEOF
41306 #define HAVE_GETIPINFO 1
41307 _ACEOF
41308
41309   fi
41310   echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
41311 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
41312   CXXFLAGS="$ac_save_CXXFLAGS"
41313   ac_ext=c
41314 ac_cpp='$CPP $CPPFLAGS'
41315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41318
41319
41320
41321
41322   if test "${ac_cv_header_locale_h+set}" = set; then
41323   echo "$as_me:$LINENO: checking for locale.h" >&5
41324 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41325 if test "${ac_cv_header_locale_h+set}" = set; then
41326   echo $ECHO_N "(cached) $ECHO_C" >&6
41327 fi
41328 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41329 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41330 else
41331   # Is the header compilable?
41332 echo "$as_me:$LINENO: checking locale.h usability" >&5
41333 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
41334 cat >conftest.$ac_ext <<_ACEOF
41335 /* confdefs.h.  */
41336 _ACEOF
41337 cat confdefs.h >>conftest.$ac_ext
41338 cat >>conftest.$ac_ext <<_ACEOF
41339 /* end confdefs.h.  */
41340 $ac_includes_default
41341 #include <locale.h>
41342 _ACEOF
41343 rm -f conftest.$ac_objext
41344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41345   (eval $ac_compile) 2>conftest.er1
41346   ac_status=$?
41347   grep -v '^ *+' conftest.er1 >conftest.err
41348   rm -f conftest.er1
41349   cat conftest.err >&5
41350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41351   (exit $ac_status); } &&
41352          { ac_try='test -z "$ac_c_werror_flag"
41353                          || test ! -s conftest.err'
41354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41355   (eval $ac_try) 2>&5
41356   ac_status=$?
41357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41358   (exit $ac_status); }; } &&
41359          { ac_try='test -s conftest.$ac_objext'
41360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41361   (eval $ac_try) 2>&5
41362   ac_status=$?
41363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41364   (exit $ac_status); }; }; then
41365   ac_header_compiler=yes
41366 else
41367   echo "$as_me: failed program was:" >&5
41368 sed 's/^/| /' conftest.$ac_ext >&5
41369
41370 ac_header_compiler=no
41371 fi
41372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41373 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41374 echo "${ECHO_T}$ac_header_compiler" >&6
41375
41376 # Is the header present?
41377 echo "$as_me:$LINENO: checking locale.h presence" >&5
41378 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
41379 cat >conftest.$ac_ext <<_ACEOF
41380 /* confdefs.h.  */
41381 _ACEOF
41382 cat confdefs.h >>conftest.$ac_ext
41383 cat >>conftest.$ac_ext <<_ACEOF
41384 /* end confdefs.h.  */
41385 #include <locale.h>
41386 _ACEOF
41387 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41388   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41389   ac_status=$?
41390   grep -v '^ *+' conftest.er1 >conftest.err
41391   rm -f conftest.er1
41392   cat conftest.err >&5
41393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41394   (exit $ac_status); } >/dev/null; then
41395   if test -s conftest.err; then
41396     ac_cpp_err=$ac_c_preproc_warn_flag
41397     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41398   else
41399     ac_cpp_err=
41400   fi
41401 else
41402   ac_cpp_err=yes
41403 fi
41404 if test -z "$ac_cpp_err"; then
41405   ac_header_preproc=yes
41406 else
41407   echo "$as_me: failed program was:" >&5
41408 sed 's/^/| /' conftest.$ac_ext >&5
41409
41410   ac_header_preproc=no
41411 fi
41412 rm -f conftest.err conftest.$ac_ext
41413 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41414 echo "${ECHO_T}$ac_header_preproc" >&6
41415
41416 # So?  What about this header?
41417 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41418   yes:no: )
41419     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
41420 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
41421     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
41422 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
41423     ac_header_preproc=yes
41424     ;;
41425   no:yes:* )
41426     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
41427 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
41428     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
41429 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
41430     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
41431 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
41432     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
41433 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
41434     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
41435 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
41436     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
41437 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
41438     (
41439       cat <<\_ASBOX
41440 ## ----------------------------------------- ##
41441 ## Report this to the package-unused lists.  ##
41442 ## ----------------------------------------- ##
41443 _ASBOX
41444     ) |
41445       sed "s/^/$as_me: WARNING:     /" >&2
41446     ;;
41447 esac
41448 echo "$as_me:$LINENO: checking for locale.h" >&5
41449 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41450 if test "${ac_cv_header_locale_h+set}" = set; then
41451   echo $ECHO_N "(cached) $ECHO_C" >&6
41452 else
41453   ac_cv_header_locale_h=$ac_header_preproc
41454 fi
41455 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41456 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41457
41458 fi
41459 if test $ac_cv_header_locale_h = yes; then
41460
41461     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
41462 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
41463 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
41464   echo $ECHO_N "(cached) $ECHO_C" >&6
41465 else
41466   if test x$gcc_no_link = xyes; then
41467   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41469    { (exit 1); exit 1; }; }
41470 fi
41471 cat >conftest.$ac_ext <<_ACEOF
41472 /* confdefs.h.  */
41473 _ACEOF
41474 cat confdefs.h >>conftest.$ac_ext
41475 cat >>conftest.$ac_ext <<_ACEOF
41476 /* end confdefs.h.  */
41477 #include <locale.h>
41478 int
41479 main ()
41480 {
41481 return LC_MESSAGES
41482   ;
41483   return 0;
41484 }
41485 _ACEOF
41486 rm -f conftest.$ac_objext conftest$ac_exeext
41487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41488   (eval $ac_link) 2>conftest.er1
41489   ac_status=$?
41490   grep -v '^ *+' conftest.er1 >conftest.err
41491   rm -f conftest.er1
41492   cat conftest.err >&5
41493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41494   (exit $ac_status); } &&
41495          { ac_try='test -z "$ac_c_werror_flag"
41496                          || test ! -s conftest.err'
41497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41498   (eval $ac_try) 2>&5
41499   ac_status=$?
41500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41501   (exit $ac_status); }; } &&
41502          { ac_try='test -s conftest$ac_exeext'
41503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41504   (eval $ac_try) 2>&5
41505   ac_status=$?
41506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41507   (exit $ac_status); }; }; then
41508   ac_cv_val_LC_MESSAGES=yes
41509 else
41510   echo "$as_me: failed program was:" >&5
41511 sed 's/^/| /' conftest.$ac_ext >&5
41512
41513 ac_cv_val_LC_MESSAGES=no
41514 fi
41515 rm -f conftest.err conftest.$ac_objext \
41516       conftest$ac_exeext conftest.$ac_ext
41517 fi
41518 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
41519 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
41520     if test $ac_cv_val_LC_MESSAGES = yes; then
41521
41522 cat >>confdefs.h <<\_ACEOF
41523 #define HAVE_LC_MESSAGES 1
41524 _ACEOF
41525
41526     fi
41527
41528 fi
41529
41530
41531
41532
41533   cat >conftest.$ac_ext <<_ACEOF
41534 /* confdefs.h.  */
41535 _ACEOF
41536 cat confdefs.h >>conftest.$ac_ext
41537 cat >>conftest.$ac_ext <<_ACEOF
41538 /* end confdefs.h.  */
41539 #include <setjmp.h>
41540 int
41541 main ()
41542 {
41543 sigjmp_buf env;
41544      while (! sigsetjmp (env, 1))
41545        siglongjmp (env, 1);
41546
41547   ;
41548   return 0;
41549 }
41550 _ACEOF
41551 rm -f conftest.$ac_objext
41552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41553   (eval $ac_compile) 2>conftest.er1
41554   ac_status=$?
41555   grep -v '^ *+' conftest.er1 >conftest.err
41556   rm -f conftest.er1
41557   cat conftest.err >&5
41558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41559   (exit $ac_status); } &&
41560          { ac_try='test -z "$ac_c_werror_flag"
41561                          || test ! -s conftest.err'
41562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41563   (eval $ac_try) 2>&5
41564   ac_status=$?
41565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41566   (exit $ac_status); }; } &&
41567          { ac_try='test -s conftest.$ac_objext'
41568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41569   (eval $ac_try) 2>&5
41570   ac_status=$?
41571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41572   (exit $ac_status); }; }; then
41573
41574 cat >>confdefs.h <<\_ACEOF
41575 #define HAVE_SIGSETJMP 1
41576 _ACEOF
41577
41578 else
41579   echo "$as_me: failed program was:" >&5
41580 sed 's/^/| /' conftest.$ac_ext >&5
41581
41582 fi
41583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41584
41585   if test x$gcc_no_link = xyes; then
41586   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
41587     ac_cv_func_mmap_fixed_mapped=no
41588   fi
41589 fi
41590 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
41591
41592
41593 for ac_header in stdlib.h unistd.h
41594 do
41595 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41597   echo "$as_me:$LINENO: checking for $ac_header" >&5
41598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41600   echo $ECHO_N "(cached) $ECHO_C" >&6
41601 fi
41602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41603 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41604 else
41605   # Is the header compilable?
41606 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41607 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41608 cat >conftest.$ac_ext <<_ACEOF
41609 /* confdefs.h.  */
41610 _ACEOF
41611 cat confdefs.h >>conftest.$ac_ext
41612 cat >>conftest.$ac_ext <<_ACEOF
41613 /* end confdefs.h.  */
41614 $ac_includes_default
41615 #include <$ac_header>
41616 _ACEOF
41617 rm -f conftest.$ac_objext
41618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41619   (eval $ac_compile) 2>conftest.er1
41620   ac_status=$?
41621   grep -v '^ *+' conftest.er1 >conftest.err
41622   rm -f conftest.er1
41623   cat conftest.err >&5
41624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41625   (exit $ac_status); } &&
41626          { ac_try='test -z "$ac_c_werror_flag"
41627                          || test ! -s conftest.err'
41628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41629   (eval $ac_try) 2>&5
41630   ac_status=$?
41631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41632   (exit $ac_status); }; } &&
41633          { ac_try='test -s conftest.$ac_objext'
41634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41635   (eval $ac_try) 2>&5
41636   ac_status=$?
41637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41638   (exit $ac_status); }; }; then
41639   ac_header_compiler=yes
41640 else
41641   echo "$as_me: failed program was:" >&5
41642 sed 's/^/| /' conftest.$ac_ext >&5
41643
41644 ac_header_compiler=no
41645 fi
41646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41647 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41648 echo "${ECHO_T}$ac_header_compiler" >&6
41649
41650 # Is the header present?
41651 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41652 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41653 cat >conftest.$ac_ext <<_ACEOF
41654 /* confdefs.h.  */
41655 _ACEOF
41656 cat confdefs.h >>conftest.$ac_ext
41657 cat >>conftest.$ac_ext <<_ACEOF
41658 /* end confdefs.h.  */
41659 #include <$ac_header>
41660 _ACEOF
41661 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41662   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41663   ac_status=$?
41664   grep -v '^ *+' conftest.er1 >conftest.err
41665   rm -f conftest.er1
41666   cat conftest.err >&5
41667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41668   (exit $ac_status); } >/dev/null; then
41669   if test -s conftest.err; then
41670     ac_cpp_err=$ac_c_preproc_warn_flag
41671     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41672   else
41673     ac_cpp_err=
41674   fi
41675 else
41676   ac_cpp_err=yes
41677 fi
41678 if test -z "$ac_cpp_err"; then
41679   ac_header_preproc=yes
41680 else
41681   echo "$as_me: failed program was:" >&5
41682 sed 's/^/| /' conftest.$ac_ext >&5
41683
41684   ac_header_preproc=no
41685 fi
41686 rm -f conftest.err conftest.$ac_ext
41687 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41688 echo "${ECHO_T}$ac_header_preproc" >&6
41689
41690 # So?  What about this header?
41691 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41692   yes:no: )
41693     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41694 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41695     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41696 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41697     ac_header_preproc=yes
41698     ;;
41699   no:yes:* )
41700     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41701 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41702     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
41703 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
41704     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41705 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41706     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
41707 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
41708     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41709 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41710     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41711 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41712     (
41713       cat <<\_ASBOX
41714 ## ----------------------------------------- ##
41715 ## Report this to the package-unused lists.  ##
41716 ## ----------------------------------------- ##
41717 _ASBOX
41718     ) |
41719       sed "s/^/$as_me: WARNING:     /" >&2
41720     ;;
41721 esac
41722 echo "$as_me:$LINENO: checking for $ac_header" >&5
41723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41725   echo $ECHO_N "(cached) $ECHO_C" >&6
41726 else
41727   eval "$as_ac_Header=\$ac_header_preproc"
41728 fi
41729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41730 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41731
41732 fi
41733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41734   cat >>confdefs.h <<_ACEOF
41735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41736 _ACEOF
41737
41738 fi
41739
41740 done
41741
41742
41743 for ac_func in getpagesize
41744 do
41745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41746 echo "$as_me:$LINENO: checking for $ac_func" >&5
41747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41748 if eval "test \"\${$as_ac_var+set}\" = set"; then
41749   echo $ECHO_N "(cached) $ECHO_C" >&6
41750 else
41751   if test x$gcc_no_link = xyes; then
41752   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41754    { (exit 1); exit 1; }; }
41755 fi
41756 cat >conftest.$ac_ext <<_ACEOF
41757 /* confdefs.h.  */
41758 _ACEOF
41759 cat confdefs.h >>conftest.$ac_ext
41760 cat >>conftest.$ac_ext <<_ACEOF
41761 /* end confdefs.h.  */
41762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41763    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41764 #define $ac_func innocuous_$ac_func
41765
41766 /* System header to define __stub macros and hopefully few prototypes,
41767     which can conflict with char $ac_func (); below.
41768     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41769     <limits.h> exists even on freestanding compilers.  */
41770
41771 #ifdef __STDC__
41772 # include <limits.h>
41773 #else
41774 # include <assert.h>
41775 #endif
41776
41777 #undef $ac_func
41778
41779 /* Override any gcc2 internal prototype to avoid an error.  */
41780 #ifdef __cplusplus
41781 extern "C"
41782 {
41783 #endif
41784 /* We use char because int might match the return type of a gcc2
41785    builtin and then its argument prototype would still apply.  */
41786 char $ac_func ();
41787 /* The GNU C library defines this for functions which it implements
41788     to always fail with ENOSYS.  Some functions are actually named
41789     something starting with __ and the normal name is an alias.  */
41790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41791 choke me
41792 #else
41793 char (*f) () = $ac_func;
41794 #endif
41795 #ifdef __cplusplus
41796 }
41797 #endif
41798
41799 int
41800 main ()
41801 {
41802 return f != $ac_func;
41803   ;
41804   return 0;
41805 }
41806 _ACEOF
41807 rm -f conftest.$ac_objext conftest$ac_exeext
41808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41809   (eval $ac_link) 2>conftest.er1
41810   ac_status=$?
41811   grep -v '^ *+' conftest.er1 >conftest.err
41812   rm -f conftest.er1
41813   cat conftest.err >&5
41814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41815   (exit $ac_status); } &&
41816          { ac_try='test -z "$ac_c_werror_flag"
41817                          || test ! -s conftest.err'
41818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41819   (eval $ac_try) 2>&5
41820   ac_status=$?
41821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41822   (exit $ac_status); }; } &&
41823          { ac_try='test -s conftest$ac_exeext'
41824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41825   (eval $ac_try) 2>&5
41826   ac_status=$?
41827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41828   (exit $ac_status); }; }; then
41829   eval "$as_ac_var=yes"
41830 else
41831   echo "$as_me: failed program was:" >&5
41832 sed 's/^/| /' conftest.$ac_ext >&5
41833
41834 eval "$as_ac_var=no"
41835 fi
41836 rm -f conftest.err conftest.$ac_objext \
41837       conftest$ac_exeext conftest.$ac_ext
41838 fi
41839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41841 if test `eval echo '${'$as_ac_var'}'` = yes; then
41842   cat >>confdefs.h <<_ACEOF
41843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41844 _ACEOF
41845
41846 fi
41847 done
41848
41849 echo "$as_me:$LINENO: checking for working mmap" >&5
41850 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
41851 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
41852   echo $ECHO_N "(cached) $ECHO_C" >&6
41853 else
41854   if test "$cross_compiling" = yes; then
41855   ac_cv_func_mmap_fixed_mapped=no
41856 else
41857   cat >conftest.$ac_ext <<_ACEOF
41858 /* confdefs.h.  */
41859 _ACEOF
41860 cat confdefs.h >>conftest.$ac_ext
41861 cat >>conftest.$ac_ext <<_ACEOF
41862 /* end confdefs.h.  */
41863 $ac_includes_default
41864 /* malloc might have been renamed as rpl_malloc. */
41865 #undef malloc
41866
41867 /* Thanks to Mike Haertel and Jim Avera for this test.
41868    Here is a matrix of mmap possibilities:
41869         mmap private not fixed
41870         mmap private fixed at somewhere currently unmapped
41871         mmap private fixed at somewhere already mapped
41872         mmap shared not fixed
41873         mmap shared fixed at somewhere currently unmapped
41874         mmap shared fixed at somewhere already mapped
41875    For private mappings, we should verify that changes cannot be read()
41876    back from the file, nor mmap's back from the file at a different
41877    address.  (There have been systems where private was not correctly
41878    implemented like the infamous i386 svr4.0, and systems where the
41879    VM page cache was not coherent with the file system buffer cache
41880    like early versions of FreeBSD and possibly contemporary NetBSD.)
41881    For shared mappings, we should conversely verify that changes get
41882    propagated back to all the places they're supposed to be.
41883
41884    Grep wants private fixed already mapped.
41885    The main things grep needs to know about mmap are:
41886    * does it exist and is it safe to write into the mmap'd area
41887    * how to use it (BSD variants)  */
41888
41889 #include <fcntl.h>
41890 #include <sys/mman.h>
41891
41892 #if !STDC_HEADERS && !HAVE_STDLIB_H
41893 char *malloc ();
41894 #endif
41895
41896 /* This mess was copied from the GNU getpagesize.h.  */
41897 #if !HAVE_GETPAGESIZE
41898 /* Assume that all systems that can run configure have sys/param.h.  */
41899 # if !HAVE_SYS_PARAM_H
41900 #  define HAVE_SYS_PARAM_H 1
41901 # endif
41902
41903 # ifdef _SC_PAGESIZE
41904 #  define getpagesize() sysconf(_SC_PAGESIZE)
41905 # else /* no _SC_PAGESIZE */
41906 #  if HAVE_SYS_PARAM_H
41907 #   include <sys/param.h>
41908 #   ifdef EXEC_PAGESIZE
41909 #    define getpagesize() EXEC_PAGESIZE
41910 #   else /* no EXEC_PAGESIZE */
41911 #    ifdef NBPG
41912 #     define getpagesize() NBPG * CLSIZE
41913 #     ifndef CLSIZE
41914 #      define CLSIZE 1
41915 #     endif /* no CLSIZE */
41916 #    else /* no NBPG */
41917 #     ifdef NBPC
41918 #      define getpagesize() NBPC
41919 #     else /* no NBPC */
41920 #      ifdef PAGESIZE
41921 #       define getpagesize() PAGESIZE
41922 #      endif /* PAGESIZE */
41923 #     endif /* no NBPC */
41924 #    endif /* no NBPG */
41925 #   endif /* no EXEC_PAGESIZE */
41926 #  else /* no HAVE_SYS_PARAM_H */
41927 #   define getpagesize() 8192   /* punt totally */
41928 #  endif /* no HAVE_SYS_PARAM_H */
41929 # endif /* no _SC_PAGESIZE */
41930
41931 #endif /* no HAVE_GETPAGESIZE */
41932
41933 int
41934 main ()
41935 {
41936   char *data, *data2, *data3;
41937   int i, pagesize;
41938   int fd;
41939
41940   pagesize = getpagesize ();
41941
41942   /* First, make a file with some known garbage in it. */
41943   data = (char *) malloc (pagesize);
41944   if (!data)
41945     exit (1);
41946   for (i = 0; i < pagesize; ++i)
41947     *(data + i) = rand ();
41948   umask (0);
41949   fd = creat ("conftest.mmap", 0600);
41950   if (fd < 0)
41951     exit (1);
41952   if (write (fd, data, pagesize) != pagesize)
41953     exit (1);
41954   close (fd);
41955
41956   /* Next, try to mmap the file at a fixed address which already has
41957      something else allocated at it.  If we can, also make sure that
41958      we see the same garbage.  */
41959   fd = open ("conftest.mmap", O_RDWR);
41960   if (fd < 0)
41961     exit (1);
41962   data2 = (char *) malloc (2 * pagesize);
41963   if (!data2)
41964     exit (1);
41965   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
41966   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
41967                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
41968     exit (1);
41969   for (i = 0; i < pagesize; ++i)
41970     if (*(data + i) != *(data2 + i))
41971       exit (1);
41972
41973   /* Finally, make sure that changes to the mapped area do not
41974      percolate back to the file as seen by read().  (This is a bug on
41975      some variants of i386 svr4.0.)  */
41976   for (i = 0; i < pagesize; ++i)
41977     *(data2 + i) = *(data2 + i) + 1;
41978   data3 = (char *) malloc (pagesize);
41979   if (!data3)
41980     exit (1);
41981   if (read (fd, data3, pagesize) != pagesize)
41982     exit (1);
41983   for (i = 0; i < pagesize; ++i)
41984     if (*(data + i) != *(data3 + i))
41985       exit (1);
41986   close (fd);
41987   exit (0);
41988 }
41989 _ACEOF
41990 rm -f conftest$ac_exeext
41991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41992   (eval $ac_link) 2>&5
41993   ac_status=$?
41994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41995   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41997   (eval $ac_try) 2>&5
41998   ac_status=$?
41999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42000   (exit $ac_status); }; }; then
42001   ac_cv_func_mmap_fixed_mapped=yes
42002 else
42003   echo "$as_me: program exited with status $ac_status" >&5
42004 echo "$as_me: failed program was:" >&5
42005 sed 's/^/| /' conftest.$ac_ext >&5
42006
42007 ( exit $ac_status )
42008 ac_cv_func_mmap_fixed_mapped=no
42009 fi
42010 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42011 fi
42012 fi
42013 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
42014 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
42015 if test $ac_cv_func_mmap_fixed_mapped = yes; then
42016
42017 cat >>confdefs.h <<\_ACEOF
42018 #define HAVE_MMAP 1
42019 _ACEOF
42020
42021 fi
42022 rm -f conftest.mmap
42023
42024 fi
42025
42026   # For iconv support.
42027
42028       if test "X$prefix" = "XNONE"; then
42029     acl_final_prefix="$ac_default_prefix"
42030   else
42031     acl_final_prefix="$prefix"
42032   fi
42033   if test "X$exec_prefix" = "XNONE"; then
42034     acl_final_exec_prefix='${prefix}'
42035   else
42036     acl_final_exec_prefix="$exec_prefix"
42037   fi
42038   acl_save_prefix="$prefix"
42039   prefix="$acl_final_prefix"
42040   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
42041   prefix="$acl_save_prefix"
42042
42043
42044 # Check whether --with-gnu-ld or --without-gnu-ld was given.
42045 if test "${with_gnu_ld+set}" = set; then
42046   withval="$with_gnu_ld"
42047   test "$withval" = no || with_gnu_ld=yes
42048 else
42049   with_gnu_ld=no
42050 fi;
42051 # Prepare PATH_SEPARATOR.
42052 # The user is always right.
42053 if test "${PATH_SEPARATOR+set}" != set; then
42054   echo "#! /bin/sh" >conf$$.sh
42055   echo  "exit 0"   >>conf$$.sh
42056   chmod +x conf$$.sh
42057   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42058     PATH_SEPARATOR=';'
42059   else
42060     PATH_SEPARATOR=:
42061   fi
42062   rm -f conf$$.sh
42063 fi
42064 ac_prog=ld
42065 if test "$GCC" = yes; then
42066   # Check if gcc -print-prog-name=ld gives a path.
42067   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
42068 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
42069   case $host in
42070   *-*-mingw*)
42071     # gcc leaves a trailing carriage return which upsets mingw
42072     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
42073   *)
42074     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
42075   esac
42076   case $ac_prog in
42077     # Accept absolute paths.
42078     [\\/]* | [A-Za-z]:[\\/]*)
42079       re_direlt='/[^/][^/]*/\.\./'
42080       # Canonicalize the path of ld
42081       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
42082       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
42083         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
42084       done
42085       test -z "$LD" && LD="$ac_prog"
42086       ;;
42087   "")
42088     # If it fails, then pretend we aren't using GCC.
42089     ac_prog=ld
42090     ;;
42091   *)
42092     # If it is relative, then search for the first ld in PATH.
42093     with_gnu_ld=unknown
42094     ;;
42095   esac
42096 elif test "$with_gnu_ld" = yes; then
42097   echo "$as_me:$LINENO: checking for GNU ld" >&5
42098 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
42099 else
42100   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
42101 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
42102 fi
42103 if test "${acl_cv_path_LD+set}" = set; then
42104   echo $ECHO_N "(cached) $ECHO_C" >&6
42105 else
42106   if test -z "$LD"; then
42107   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
42108   for ac_dir in $PATH; do
42109     test -z "$ac_dir" && ac_dir=.
42110     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
42111       acl_cv_path_LD="$ac_dir/$ac_prog"
42112       # Check to see if the program is GNU ld.  I'd rather use --version,
42113       # but apparently some GNU ld's only accept -v.
42114       # Break only if it was the GNU/non-GNU ld that we prefer.
42115       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
42116         test "$with_gnu_ld" != no && break
42117       else
42118         test "$with_gnu_ld" != yes && break
42119       fi
42120     fi
42121   done
42122   IFS="$ac_save_ifs"
42123 else
42124   acl_cv_path_LD="$LD" # Let the user override the test with a path.
42125 fi
42126 fi
42127
42128 LD="$acl_cv_path_LD"
42129 if test -n "$LD"; then
42130   echo "$as_me:$LINENO: result: $LD" >&5
42131 echo "${ECHO_T}$LD" >&6
42132 else
42133   echo "$as_me:$LINENO: result: no" >&5
42134 echo "${ECHO_T}no" >&6
42135 fi
42136 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
42137 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
42138    { (exit 1); exit 1; }; }
42139 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
42140 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
42141 if test "${acl_cv_prog_gnu_ld+set}" = set; then
42142   echo $ECHO_N "(cached) $ECHO_C" >&6
42143 else
42144   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
42145 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
42146   acl_cv_prog_gnu_ld=yes
42147 else
42148   acl_cv_prog_gnu_ld=no
42149 fi
42150 fi
42151 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
42152 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
42153 with_gnu_ld=$acl_cv_prog_gnu_ld
42154
42155
42156
42157                                                 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
42158 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
42159 if test "${acl_cv_rpath+set}" = set; then
42160   echo $ECHO_N "(cached) $ECHO_C" >&6
42161 else
42162
42163     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
42164     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
42165     . ./conftest.sh
42166     rm -f ./conftest.sh
42167     acl_cv_rpath=done
42168
42169 fi
42170 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
42171 echo "${ECHO_T}$acl_cv_rpath" >&6
42172   wl="$acl_cv_wl"
42173   libext="$acl_cv_libext"
42174   shlibext="$acl_cv_shlibext"
42175   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
42176   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
42177   hardcode_direct="$acl_cv_hardcode_direct"
42178   hardcode_minus_L="$acl_cv_hardcode_minus_L"
42179     # Check whether --enable-rpath or --disable-rpath was given.
42180 if test "${enable_rpath+set}" = set; then
42181   enableval="$enable_rpath"
42182   :
42183 else
42184   enable_rpath=yes
42185 fi;
42186
42187
42188
42189
42190
42191
42192
42193     use_additional=yes
42194
42195   acl_save_prefix="$prefix"
42196   prefix="$acl_final_prefix"
42197   acl_save_exec_prefix="$exec_prefix"
42198   exec_prefix="$acl_final_exec_prefix"
42199
42200     eval additional_includedir=\"$includedir\"
42201     eval additional_libdir=\"$libdir\"
42202
42203   exec_prefix="$acl_save_exec_prefix"
42204   prefix="$acl_save_prefix"
42205
42206
42207 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
42208 if test "${with_libiconv_prefix+set}" = set; then
42209   withval="$with_libiconv_prefix"
42210
42211     if test "X$withval" = "Xno"; then
42212       use_additional=no
42213     else
42214       if test "X$withval" = "X"; then
42215
42216   acl_save_prefix="$prefix"
42217   prefix="$acl_final_prefix"
42218   acl_save_exec_prefix="$exec_prefix"
42219   exec_prefix="$acl_final_exec_prefix"
42220
42221           eval additional_includedir=\"$includedir\"
42222           eval additional_libdir=\"$libdir\"
42223
42224   exec_prefix="$acl_save_exec_prefix"
42225   prefix="$acl_save_prefix"
42226
42227       else
42228         additional_includedir="$withval/include"
42229         additional_libdir="$withval/lib"
42230       fi
42231     fi
42232
42233 fi;
42234       LIBICONV=
42235   LTLIBICONV=
42236   INCICONV=
42237   rpathdirs=
42238   ltrpathdirs=
42239   names_already_handled=
42240   names_next_round='iconv '
42241   while test -n "$names_next_round"; do
42242     names_this_round="$names_next_round"
42243     names_next_round=
42244     for name in $names_this_round; do
42245       already_handled=
42246       for n in $names_already_handled; do
42247         if test "$n" = "$name"; then
42248           already_handled=yes
42249           break
42250         fi
42251       done
42252       if test -z "$already_handled"; then
42253         names_already_handled="$names_already_handled $name"
42254                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
42255         eval value=\"\$HAVE_LIB$uppername\"
42256         if test -n "$value"; then
42257           if test "$value" = yes; then
42258             eval value=\"\$LIB$uppername\"
42259             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
42260             eval value=\"\$LTLIB$uppername\"
42261             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
42262           else
42263                                     :
42264           fi
42265         else
42266                               found_dir=
42267           found_la=
42268           found_so=
42269           found_a=
42270           if test $use_additional = yes; then
42271             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
42272               found_dir="$additional_libdir"
42273               found_so="$additional_libdir/lib$name.$shlibext"
42274               if test -f "$additional_libdir/lib$name.la"; then
42275                 found_la="$additional_libdir/lib$name.la"
42276               fi
42277             else
42278               if test -f "$additional_libdir/lib$name.$libext"; then
42279                 found_dir="$additional_libdir"
42280                 found_a="$additional_libdir/lib$name.$libext"
42281                 if test -f "$additional_libdir/lib$name.la"; then
42282                   found_la="$additional_libdir/lib$name.la"
42283                 fi
42284               fi
42285             fi
42286           fi
42287           if test "X$found_dir" = "X"; then
42288             for x in $LDFLAGS $LTLIBICONV; do
42289
42290   acl_save_prefix="$prefix"
42291   prefix="$acl_final_prefix"
42292   acl_save_exec_prefix="$exec_prefix"
42293   exec_prefix="$acl_final_exec_prefix"
42294   eval x=\"$x\"
42295   exec_prefix="$acl_save_exec_prefix"
42296   prefix="$acl_save_prefix"
42297
42298               case "$x" in
42299                 -L*)
42300                   dir=`echo "X$x" | sed -e 's/^X-L//'`
42301                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
42302                     found_dir="$dir"
42303                     found_so="$dir/lib$name.$shlibext"
42304                     if test -f "$dir/lib$name.la"; then
42305                       found_la="$dir/lib$name.la"
42306                     fi
42307                   else
42308                     if test -f "$dir/lib$name.$libext"; then
42309                       found_dir="$dir"
42310                       found_a="$dir/lib$name.$libext"
42311                       if test -f "$dir/lib$name.la"; then
42312                         found_la="$dir/lib$name.la"
42313                       fi
42314                     fi
42315                   fi
42316                   ;;
42317               esac
42318               if test "X$found_dir" != "X"; then
42319                 break
42320               fi
42321             done
42322           fi
42323           if test "X$found_dir" != "X"; then
42324                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
42325             if test "X$found_so" != "X"; then
42326                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
42327                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42328               else
42329                                                                                 haveit=
42330                 for x in $ltrpathdirs; do
42331                   if test "X$x" = "X$found_dir"; then
42332                     haveit=yes
42333                     break
42334                   fi
42335                 done
42336                 if test -z "$haveit"; then
42337                   ltrpathdirs="$ltrpathdirs $found_dir"
42338                 fi
42339                                 if test "$hardcode_direct" = yes; then
42340                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42341                 else
42342                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
42343                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42344                                                             haveit=
42345                     for x in $rpathdirs; do
42346                       if test "X$x" = "X$found_dir"; then
42347                         haveit=yes
42348                         break
42349                       fi
42350                     done
42351                     if test -z "$haveit"; then
42352                       rpathdirs="$rpathdirs $found_dir"
42353                     fi
42354                   else
42355                                                                                 haveit=
42356                     for x in $LDFLAGS $LIBICONV; do
42357
42358   acl_save_prefix="$prefix"
42359   prefix="$acl_final_prefix"
42360   acl_save_exec_prefix="$exec_prefix"
42361   exec_prefix="$acl_final_exec_prefix"
42362   eval x=\"$x\"
42363   exec_prefix="$acl_save_exec_prefix"
42364   prefix="$acl_save_prefix"
42365
42366                       if test "X$x" = "X-L$found_dir"; then
42367                         haveit=yes
42368                         break
42369                       fi
42370                     done
42371                     if test -z "$haveit"; then
42372                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
42373                     fi
42374                     if test "$hardcode_minus_L" != no; then
42375                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42376                     else
42377                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42378                     fi
42379                   fi
42380                 fi
42381               fi
42382             else
42383               if test "X$found_a" != "X"; then
42384                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
42385               else
42386                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
42387               fi
42388             fi
42389                         additional_includedir=
42390             case "$found_dir" in
42391               */lib | */lib/)
42392                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
42393                 additional_includedir="$basedir/include"
42394                 ;;
42395             esac
42396             if test "X$additional_includedir" != "X"; then
42397                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
42398                 haveit=
42399                 if test "X$additional_includedir" = "X/usr/local/include"; then
42400                   if test -n "$GCC"; then
42401                     case $host_os in
42402                       linux*) haveit=yes;;
42403                     esac
42404                   fi
42405                 fi
42406                 if test -z "$haveit"; then
42407                   for x in $CPPFLAGS $INCICONV; do
42408
42409   acl_save_prefix="$prefix"
42410   prefix="$acl_final_prefix"
42411   acl_save_exec_prefix="$exec_prefix"
42412   exec_prefix="$acl_final_exec_prefix"
42413   eval x=\"$x\"
42414   exec_prefix="$acl_save_exec_prefix"
42415   prefix="$acl_save_prefix"
42416
42417                     if test "X$x" = "X-I$additional_includedir"; then
42418                       haveit=yes
42419                       break
42420                     fi
42421                   done
42422                   if test -z "$haveit"; then
42423                     if test -d "$additional_includedir"; then
42424                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
42425                     fi
42426                   fi
42427                 fi
42428               fi
42429             fi
42430                         if test -n "$found_la"; then
42431                                                         save_libdir="$libdir"
42432               case "$found_la" in
42433                 */* | *\\*) . "$found_la" ;;
42434                 *) . "./$found_la" ;;
42435               esac
42436               libdir="$save_libdir"
42437                             for dep in $dependency_libs; do
42438                 case "$dep" in
42439                   -L*)
42440                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
42441                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
42442                       haveit=
42443                       if test "X$additional_libdir" = "X/usr/local/lib"; then
42444                         if test -n "$GCC"; then
42445                           case $host_os in
42446                             linux*) haveit=yes;;
42447                           esac
42448                         fi
42449                       fi
42450                       if test -z "$haveit"; then
42451                         haveit=
42452                         for x in $LDFLAGS $LIBICONV; do
42453
42454   acl_save_prefix="$prefix"
42455   prefix="$acl_final_prefix"
42456   acl_save_exec_prefix="$exec_prefix"
42457   exec_prefix="$acl_final_exec_prefix"
42458   eval x=\"$x\"
42459   exec_prefix="$acl_save_exec_prefix"
42460   prefix="$acl_save_prefix"
42461
42462                           if test "X$x" = "X-L$additional_libdir"; then
42463                             haveit=yes
42464                             break
42465                           fi
42466                         done
42467                         if test -z "$haveit"; then
42468                           if test -d "$additional_libdir"; then
42469                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
42470                           fi
42471                         fi
42472                         haveit=
42473                         for x in $LDFLAGS $LTLIBICONV; do
42474
42475   acl_save_prefix="$prefix"
42476   prefix="$acl_final_prefix"
42477   acl_save_exec_prefix="$exec_prefix"
42478   exec_prefix="$acl_final_exec_prefix"
42479   eval x=\"$x\"
42480   exec_prefix="$acl_save_exec_prefix"
42481   prefix="$acl_save_prefix"
42482
42483                           if test "X$x" = "X-L$additional_libdir"; then
42484                             haveit=yes
42485                             break
42486                           fi
42487                         done
42488                         if test -z "$haveit"; then
42489                           if test -d "$additional_libdir"; then
42490                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
42491                           fi
42492                         fi
42493                       fi
42494                     fi
42495                     ;;
42496                   -R*)
42497                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
42498                     if test "$enable_rpath" != no; then
42499                                                                   haveit=
42500                       for x in $rpathdirs; do
42501                         if test "X$x" = "X$dir"; then
42502                           haveit=yes
42503                           break
42504                         fi
42505                       done
42506                       if test -z "$haveit"; then
42507                         rpathdirs="$rpathdirs $dir"
42508                       fi
42509                                                                   haveit=
42510                       for x in $ltrpathdirs; do
42511                         if test "X$x" = "X$dir"; then
42512                           haveit=yes
42513                           break
42514                         fi
42515                       done
42516                       if test -z "$haveit"; then
42517                         ltrpathdirs="$ltrpathdirs $dir"
42518                       fi
42519                     fi
42520                     ;;
42521                   -l*)
42522                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
42523                     ;;
42524                   *.la)
42525                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
42526                     ;;
42527                   *)
42528                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
42529                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
42530                     ;;
42531                 esac
42532               done
42533             fi
42534           else
42535                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42536             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
42537           fi
42538         fi
42539       fi
42540     done
42541   done
42542   if test "X$rpathdirs" != "X"; then
42543     if test -n "$hardcode_libdir_separator"; then
42544                         alldirs=
42545       for found_dir in $rpathdirs; do
42546         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
42547       done
42548             acl_save_libdir="$libdir"
42549       libdir="$alldirs"
42550       eval flag=\"$hardcode_libdir_flag_spec\"
42551       libdir="$acl_save_libdir"
42552       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42553     else
42554             for found_dir in $rpathdirs; do
42555         acl_save_libdir="$libdir"
42556         libdir="$found_dir"
42557         eval flag=\"$hardcode_libdir_flag_spec\"
42558         libdir="$acl_save_libdir"
42559         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42560       done
42561     fi
42562   fi
42563   if test "X$ltrpathdirs" != "X"; then
42564             for found_dir in $ltrpathdirs; do
42565       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
42566     done
42567   fi
42568
42569
42570
42571
42572
42573
42574
42575           am_save_CPPFLAGS="$CPPFLAGS"
42576
42577   for element in $INCICONV; do
42578     haveit=
42579     for x in $CPPFLAGS; do
42580
42581   acl_save_prefix="$prefix"
42582   prefix="$acl_final_prefix"
42583   acl_save_exec_prefix="$exec_prefix"
42584   exec_prefix="$acl_final_exec_prefix"
42585   eval x=\"$x\"
42586   exec_prefix="$acl_save_exec_prefix"
42587   prefix="$acl_save_prefix"
42588
42589       if test "X$x" = "X$element"; then
42590         haveit=yes
42591         break
42592       fi
42593     done
42594     if test -z "$haveit"; then
42595       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
42596     fi
42597   done
42598
42599
42600   echo "$as_me:$LINENO: checking for iconv" >&5
42601 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
42602 if test "${am_cv_func_iconv+set}" = set; then
42603   echo $ECHO_N "(cached) $ECHO_C" >&6
42604 else
42605
42606     am_cv_func_iconv="no, consider installing GNU libiconv"
42607     am_cv_lib_iconv=no
42608     if test x$gcc_no_link = xyes; then
42609   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42611    { (exit 1); exit 1; }; }
42612 fi
42613 cat >conftest.$ac_ext <<_ACEOF
42614 /* confdefs.h.  */
42615 _ACEOF
42616 cat confdefs.h >>conftest.$ac_ext
42617 cat >>conftest.$ac_ext <<_ACEOF
42618 /* end confdefs.h.  */
42619 #include <stdlib.h>
42620 #include <iconv.h>
42621 int
42622 main ()
42623 {
42624 iconv_t cd = iconv_open("","");
42625        iconv(cd,NULL,NULL,NULL,NULL);
42626        iconv_close(cd);
42627   ;
42628   return 0;
42629 }
42630 _ACEOF
42631 rm -f conftest.$ac_objext conftest$ac_exeext
42632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42633   (eval $ac_link) 2>conftest.er1
42634   ac_status=$?
42635   grep -v '^ *+' conftest.er1 >conftest.err
42636   rm -f conftest.er1
42637   cat conftest.err >&5
42638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42639   (exit $ac_status); } &&
42640          { ac_try='test -z "$ac_c_werror_flag"
42641                          || test ! -s conftest.err'
42642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42643   (eval $ac_try) 2>&5
42644   ac_status=$?
42645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42646   (exit $ac_status); }; } &&
42647          { ac_try='test -s conftest$ac_exeext'
42648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42649   (eval $ac_try) 2>&5
42650   ac_status=$?
42651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42652   (exit $ac_status); }; }; then
42653   am_cv_func_iconv=yes
42654 else
42655   echo "$as_me: failed program was:" >&5
42656 sed 's/^/| /' conftest.$ac_ext >&5
42657
42658 fi
42659 rm -f conftest.err conftest.$ac_objext \
42660       conftest$ac_exeext conftest.$ac_ext
42661     if test "$am_cv_func_iconv" != yes; then
42662       am_save_LIBS="$LIBS"
42663       LIBS="$LIBS $LIBICONV"
42664       if test x$gcc_no_link = xyes; then
42665   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42667    { (exit 1); exit 1; }; }
42668 fi
42669 cat >conftest.$ac_ext <<_ACEOF
42670 /* confdefs.h.  */
42671 _ACEOF
42672 cat confdefs.h >>conftest.$ac_ext
42673 cat >>conftest.$ac_ext <<_ACEOF
42674 /* end confdefs.h.  */
42675 #include <stdlib.h>
42676 #include <iconv.h>
42677 int
42678 main ()
42679 {
42680 iconv_t cd = iconv_open("","");
42681          iconv(cd,NULL,NULL,NULL,NULL);
42682          iconv_close(cd);
42683   ;
42684   return 0;
42685 }
42686 _ACEOF
42687 rm -f conftest.$ac_objext conftest$ac_exeext
42688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42689   (eval $ac_link) 2>conftest.er1
42690   ac_status=$?
42691   grep -v '^ *+' conftest.er1 >conftest.err
42692   rm -f conftest.er1
42693   cat conftest.err >&5
42694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42695   (exit $ac_status); } &&
42696          { ac_try='test -z "$ac_c_werror_flag"
42697                          || test ! -s conftest.err'
42698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42699   (eval $ac_try) 2>&5
42700   ac_status=$?
42701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42702   (exit $ac_status); }; } &&
42703          { ac_try='test -s conftest$ac_exeext'
42704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42705   (eval $ac_try) 2>&5
42706   ac_status=$?
42707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42708   (exit $ac_status); }; }; then
42709   am_cv_lib_iconv=yes
42710         am_cv_func_iconv=yes
42711 else
42712   echo "$as_me: failed program was:" >&5
42713 sed 's/^/| /' conftest.$ac_ext >&5
42714
42715 fi
42716 rm -f conftest.err conftest.$ac_objext \
42717       conftest$ac_exeext conftest.$ac_ext
42718       LIBS="$am_save_LIBS"
42719     fi
42720
42721 fi
42722 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
42723 echo "${ECHO_T}$am_cv_func_iconv" >&6
42724   if test "$am_cv_func_iconv" = yes; then
42725
42726 cat >>confdefs.h <<\_ACEOF
42727 #define HAVE_ICONV 1
42728 _ACEOF
42729
42730   fi
42731   if test "$am_cv_lib_iconv" = yes; then
42732     echo "$as_me:$LINENO: checking how to link with libiconv" >&5
42733 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
42734     echo "$as_me:$LINENO: result: $LIBICONV" >&5
42735 echo "${ECHO_T}$LIBICONV" >&6
42736   else
42737             CPPFLAGS="$am_save_CPPFLAGS"
42738     LIBICONV=
42739     LTLIBICONV=
42740   fi
42741
42742
42743
42744   if test "$am_cv_func_iconv" = yes; then
42745     echo "$as_me:$LINENO: checking for iconv declaration" >&5
42746 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
42747     if test "${am_cv_proto_iconv+set}" = set; then
42748   echo $ECHO_N "(cached) $ECHO_C" >&6
42749 else
42750
42751       cat >conftest.$ac_ext <<_ACEOF
42752 /* confdefs.h.  */
42753 _ACEOF
42754 cat confdefs.h >>conftest.$ac_ext
42755 cat >>conftest.$ac_ext <<_ACEOF
42756 /* end confdefs.h.  */
42757
42758 #include <stdlib.h>
42759 #include <iconv.h>
42760 extern
42761 #ifdef __cplusplus
42762 "C"
42763 #endif
42764 #if defined(__STDC__) || defined(__cplusplus)
42765 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
42766 #else
42767 size_t iconv();
42768 #endif
42769
42770 int
42771 main ()
42772 {
42773
42774   ;
42775   return 0;
42776 }
42777 _ACEOF
42778 rm -f conftest.$ac_objext
42779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42780   (eval $ac_compile) 2>conftest.er1
42781   ac_status=$?
42782   grep -v '^ *+' conftest.er1 >conftest.err
42783   rm -f conftest.er1
42784   cat conftest.err >&5
42785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42786   (exit $ac_status); } &&
42787          { ac_try='test -z "$ac_c_werror_flag"
42788                          || test ! -s conftest.err'
42789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42790   (eval $ac_try) 2>&5
42791   ac_status=$?
42792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42793   (exit $ac_status); }; } &&
42794          { ac_try='test -s conftest.$ac_objext'
42795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42796   (eval $ac_try) 2>&5
42797   ac_status=$?
42798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42799   (exit $ac_status); }; }; then
42800   am_cv_proto_iconv_arg1=""
42801 else
42802   echo "$as_me: failed program was:" >&5
42803 sed 's/^/| /' conftest.$ac_ext >&5
42804
42805 am_cv_proto_iconv_arg1="const"
42806 fi
42807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42808       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);"
42809 fi
42810
42811     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
42812     echo "$as_me:$LINENO: result: ${ac_t:-
42813          }$am_cv_proto_iconv" >&5
42814 echo "${ECHO_T}${ac_t:-
42815          }$am_cv_proto_iconv" >&6
42816
42817 cat >>confdefs.h <<_ACEOF
42818 #define ICONV_CONST $am_cv_proto_iconv_arg1
42819 _ACEOF
42820
42821   fi
42822
42823
42824 else
42825
42826   # This lets us hard-code the functionality we know we'll have in the cross
42827   # target environment.  "Let" is a sugar-coated word placed on an especially
42828   # dull and tedious hack, actually.
42829   #
42830   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
42831   # that involve linking, can't be used:
42832   #    "cannot open sim-crt0.o"
42833   #    "cannot open crt0.o"
42834   # etc.  All this is because there currently exists no unified, consistent
42835   # way for top level CC information to be passed down to target directories:
42836   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
42837   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
42838   # crosses can be removed.
42839
42840   # If Canadian cross, then don't pick up tools from the build directory.
42841   # Used only in GLIBCXX_EXPORT_INCLUDES.
42842   if test -n "$with_cross_host" &&
42843      test x"$build_alias" != x"$with_cross_host" &&
42844      test x"$build" != x"$target";
42845   then
42846     CANADIAN=yes
42847   else
42848     CANADIAN=no
42849   fi
42850
42851   # Construct crosses by hand, eliminating bits that need ld...
42852   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
42853   # GLIBCXX_CHECK_MATH_SUPPORT
42854
42855   # First, test for "known" system libraries.  We may be using newlib even
42856   # on a hosted environment.
42857   if test "x${with_newlib}" = "xyes"; then
42858     os_include_dir="os/newlib"
42859     cat >>confdefs.h <<\_ACEOF
42860 #define HAVE_HYPOT 1
42861 _ACEOF
42862
42863
42864     # GLIBCXX_CHECK_STDLIB_SUPPORT
42865     cat >>confdefs.h <<\_ACEOF
42866 #define HAVE_STRTOF 1
42867 _ACEOF
42868
42869     # AC_FUNC_MMAP
42870     cat >>confdefs.h <<\_ACEOF
42871 #define HAVE_MMAP 1
42872 _ACEOF
42873
42874
42875     cat >>confdefs.h <<\_ACEOF
42876 #define HAVE_ACOSF 1
42877 _ACEOF
42878
42879     cat >>confdefs.h <<\_ACEOF
42880 #define HAVE_ASINF 1
42881 _ACEOF
42882
42883     cat >>confdefs.h <<\_ACEOF
42884 #define HAVE_ATAN2F 1
42885 _ACEOF
42886
42887     cat >>confdefs.h <<\_ACEOF
42888 #define HAVE_ATANF 1
42889 _ACEOF
42890
42891     cat >>confdefs.h <<\_ACEOF
42892 #define HAVE_CEILF 1
42893 _ACEOF
42894
42895     cat >>confdefs.h <<\_ACEOF
42896 #define HAVE_COPYSIGN 1
42897 _ACEOF
42898
42899     cat >>confdefs.h <<\_ACEOF
42900 #define HAVE_COPYSIGNF 1
42901 _ACEOF
42902
42903     cat >>confdefs.h <<\_ACEOF
42904 #define HAVE_COSF 1
42905 _ACEOF
42906
42907     cat >>confdefs.h <<\_ACEOF
42908 #define HAVE_COSHF 1
42909 _ACEOF
42910
42911     cat >>confdefs.h <<\_ACEOF
42912 #define HAVE_EXPF 1
42913 _ACEOF
42914
42915     cat >>confdefs.h <<\_ACEOF
42916 #define HAVE_FABSF 1
42917 _ACEOF
42918
42919     cat >>confdefs.h <<\_ACEOF
42920 #define HAVE_FLOORF 1
42921 _ACEOF
42922
42923     cat >>confdefs.h <<\_ACEOF
42924 #define HAVE_FMODF 1
42925 _ACEOF
42926
42927     cat >>confdefs.h <<\_ACEOF
42928 #define HAVE_FREXPF 1
42929 _ACEOF
42930
42931     cat >>confdefs.h <<\_ACEOF
42932 #define HAVE_LDEXPF 1
42933 _ACEOF
42934
42935     cat >>confdefs.h <<\_ACEOF
42936 #define HAVE_LOG10F 1
42937 _ACEOF
42938
42939     cat >>confdefs.h <<\_ACEOF
42940 #define HAVE_LOGF 1
42941 _ACEOF
42942
42943     cat >>confdefs.h <<\_ACEOF
42944 #define HAVE_MODFF 1
42945 _ACEOF
42946
42947     cat >>confdefs.h <<\_ACEOF
42948 #define HAVE_POWF 1
42949 _ACEOF
42950
42951     cat >>confdefs.h <<\_ACEOF
42952 #define HAVE_SINF 1
42953 _ACEOF
42954
42955     cat >>confdefs.h <<\_ACEOF
42956 #define HAVE_SINHF 1
42957 _ACEOF
42958
42959     cat >>confdefs.h <<\_ACEOF
42960 #define HAVE_SQRTF 1
42961 _ACEOF
42962
42963     cat >>confdefs.h <<\_ACEOF
42964 #define HAVE_TANF 1
42965 _ACEOF
42966
42967     cat >>confdefs.h <<\_ACEOF
42968 #define HAVE_TANHF 1
42969 _ACEOF
42970
42971
42972     cat >>confdefs.h <<\_ACEOF
42973 #define HAVE_S_ISREG 1
42974 _ACEOF
42975
42976     cat >>confdefs.h <<\_ACEOF
42977 #define HAVE_S_IFREG 1
42978 _ACEOF
42979
42980
42981     cat >>confdefs.h <<\_ACEOF
42982 #define HAVE_ICONV 1
42983 _ACEOF
42984
42985   else
42986
42987 # Base decisions on target environment.
42988 case "${host}" in
42989   arm*-*-symbianelf*)
42990     # This is a freestanding configuration; there is nothing to do here.
42991     ;;
42992
42993   mips*-sde-elf*)
42994     # These definitions are for the SDE C library rather than newlib.
42995
42996
42997
42998
42999
43000
43001
43002
43003
43004
43005
43006
43007
43008
43009
43010 for ac_header in float.h inttypes.h locale.h \
43011       stdint.h stdlib.h string.h unistd.h wchar.h \
43012       machine/endian.h sys/ioctl.h sys/resource.h \
43013       sys/stat.h sys/time.h sys/types.h sys/uio.h
43014 do
43015 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43016 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43017   echo "$as_me:$LINENO: checking for $ac_header" >&5
43018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43020   echo $ECHO_N "(cached) $ECHO_C" >&6
43021 fi
43022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43023 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43024 else
43025   # Is the header compilable?
43026 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43027 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43028 cat >conftest.$ac_ext <<_ACEOF
43029 /* confdefs.h.  */
43030 _ACEOF
43031 cat confdefs.h >>conftest.$ac_ext
43032 cat >>conftest.$ac_ext <<_ACEOF
43033 /* end confdefs.h.  */
43034 $ac_includes_default
43035 #include <$ac_header>
43036 _ACEOF
43037 rm -f conftest.$ac_objext
43038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43039   (eval $ac_compile) 2>conftest.er1
43040   ac_status=$?
43041   grep -v '^ *+' conftest.er1 >conftest.err
43042   rm -f conftest.er1
43043   cat conftest.err >&5
43044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43045   (exit $ac_status); } &&
43046          { ac_try='test -z "$ac_c_werror_flag"
43047                          || test ! -s conftest.err'
43048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43049   (eval $ac_try) 2>&5
43050   ac_status=$?
43051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43052   (exit $ac_status); }; } &&
43053          { ac_try='test -s conftest.$ac_objext'
43054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43055   (eval $ac_try) 2>&5
43056   ac_status=$?
43057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43058   (exit $ac_status); }; }; then
43059   ac_header_compiler=yes
43060 else
43061   echo "$as_me: failed program was:" >&5
43062 sed 's/^/| /' conftest.$ac_ext >&5
43063
43064 ac_header_compiler=no
43065 fi
43066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43067 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43068 echo "${ECHO_T}$ac_header_compiler" >&6
43069
43070 # Is the header present?
43071 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43072 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43073 cat >conftest.$ac_ext <<_ACEOF
43074 /* confdefs.h.  */
43075 _ACEOF
43076 cat confdefs.h >>conftest.$ac_ext
43077 cat >>conftest.$ac_ext <<_ACEOF
43078 /* end confdefs.h.  */
43079 #include <$ac_header>
43080 _ACEOF
43081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43082   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43083   ac_status=$?
43084   grep -v '^ *+' conftest.er1 >conftest.err
43085   rm -f conftest.er1
43086   cat conftest.err >&5
43087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43088   (exit $ac_status); } >/dev/null; then
43089   if test -s conftest.err; then
43090     ac_cpp_err=$ac_c_preproc_warn_flag
43091     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
43092   else
43093     ac_cpp_err=
43094   fi
43095 else
43096   ac_cpp_err=yes
43097 fi
43098 if test -z "$ac_cpp_err"; then
43099   ac_header_preproc=yes
43100 else
43101   echo "$as_me: failed program was:" >&5
43102 sed 's/^/| /' conftest.$ac_ext >&5
43103
43104   ac_header_preproc=no
43105 fi
43106 rm -f conftest.err conftest.$ac_ext
43107 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43108 echo "${ECHO_T}$ac_header_preproc" >&6
43109
43110 # So?  What about this header?
43111 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43112   yes:no: )
43113     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43114 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43115     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43116 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43117     ac_header_preproc=yes
43118     ;;
43119   no:yes:* )
43120     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43121 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43122     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
43123 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
43124     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43125 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43126     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
43127 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
43128     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43129 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43130     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43131 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43132     (
43133       cat <<\_ASBOX
43134 ## ----------------------------------------- ##
43135 ## Report this to the package-unused lists.  ##
43136 ## ----------------------------------------- ##
43137 _ASBOX
43138     ) |
43139       sed "s/^/$as_me: WARNING:     /" >&2
43140     ;;
43141 esac
43142 echo "$as_me:$LINENO: checking for $ac_header" >&5
43143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43145   echo $ECHO_N "(cached) $ECHO_C" >&6
43146 else
43147   eval "$as_ac_Header=\$ac_header_preproc"
43148 fi
43149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43150 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43151
43152 fi
43153 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43154   cat >>confdefs.h <<_ACEOF
43155 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43156 _ACEOF
43157
43158 fi
43159
43160 done
43161
43162     SECTION_FLAGS='-ffunction-sections -fdata-sections'
43163
43164
43165   # All these tests are for C++; save the language and the compiler flags.
43166   # The CXXFLAGS thing is suspicious, but based on similar bits previously
43167   # found in GLIBCXX_CONFIGURE.
43168
43169
43170   ac_ext=cc
43171 ac_cpp='$CXXCPP $CPPFLAGS'
43172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43175
43176   ac_test_CXXFLAGS="${CXXFLAGS+set}"
43177   ac_save_CXXFLAGS="$CXXFLAGS"
43178
43179   # Check for maintainer-mode bits.
43180   if test x"$USE_MAINTAINER_MODE" = xno; then
43181     WERROR=''
43182   else
43183     WERROR='-Werror'
43184   fi
43185
43186   # Check for -ffunction-sections -fdata-sections
43187   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
43188 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
43189   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
43190   cat >conftest.$ac_ext <<_ACEOF
43191 /* confdefs.h.  */
43192 _ACEOF
43193 cat confdefs.h >>conftest.$ac_ext
43194 cat >>conftest.$ac_ext <<_ACEOF
43195 /* end confdefs.h.  */
43196 int foo; void bar() { };
43197 int
43198 main ()
43199 {
43200
43201   ;
43202   return 0;
43203 }
43204 _ACEOF
43205 rm -f conftest.$ac_objext
43206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43207   (eval $ac_compile) 2>conftest.er1
43208   ac_status=$?
43209   grep -v '^ *+' conftest.er1 >conftest.err
43210   rm -f conftest.er1
43211   cat conftest.err >&5
43212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43213   (exit $ac_status); } &&
43214          { ac_try='test -z "$ac_cxx_werror_flag"
43215                          || test ! -s conftest.err'
43216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43217   (eval $ac_try) 2>&5
43218   ac_status=$?
43219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43220   (exit $ac_status); }; } &&
43221          { ac_try='test -s conftest.$ac_objext'
43222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43223   (eval $ac_try) 2>&5
43224   ac_status=$?
43225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43226   (exit $ac_status); }; }; then
43227   ac_fdsections=yes
43228 else
43229   echo "$as_me: failed program was:" >&5
43230 sed 's/^/| /' conftest.$ac_ext >&5
43231
43232 ac_fdsections=no
43233 fi
43234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43235   if test "$ac_test_CXXFLAGS" = set; then
43236     CXXFLAGS="$ac_save_CXXFLAGS"
43237   else
43238     # this is the suspicious part
43239     CXXFLAGS=''
43240   fi
43241   if test x"$ac_fdsections" = x"yes"; then
43242     SECTION_FLAGS='-ffunction-sections -fdata-sections'
43243   fi
43244   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
43245 echo "${ECHO_T}$ac_fdsections" >&6
43246
43247   ac_ext=c
43248 ac_cpp='$CPP $CPPFLAGS'
43249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43252
43253
43254
43255
43256
43257   # If we're not using GNU ld, then there's no point in even trying these
43258   # tests.  Check for that first.  We should have already tested for gld
43259   # by now (in libtool), but require it now just to be safe...
43260   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43261   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43262
43263
43264
43265   # The name set by libtool depends on the version of libtool.  Shame on us
43266   # for depending on an impl detail, but c'est la vie.  Older versions used
43267   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43268   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43269   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
43270   # set (hence we're using an older libtool), then set it.
43271   if test x${with_gnu_ld+set} != xset; then
43272     if test x${ac_cv_prog_gnu_ld+set} != xset; then
43273       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
43274       with_gnu_ld=no
43275     else
43276       with_gnu_ld=$ac_cv_prog_gnu_ld
43277     fi
43278   fi
43279
43280   # Start by getting the version number.  I think the libtool test already
43281   # does some of this, but throws away the result.
43282   glibcxx_ld_is_gold=no
43283   if test x"$with_gnu_ld" = x"yes"; then
43284     echo "$as_me:$LINENO: checking for ld version" >&5
43285 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
43286
43287     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43288       glibcxx_ld_is_gold=yes
43289     fi
43290     ldver=`$LD --version 2>/dev/null | head -1 | \
43291            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
43292
43293     glibcxx_gnu_ld_version=`echo $ldver | \
43294            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43295     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
43296 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
43297   fi
43298
43299   # Set --gc-sections.
43300   glibcxx_have_gc_sections=no
43301   if test "$glibcxx_ld_is_gold" = "yes"; then
43302     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43303       glibcxx_have_gc_sections=yes
43304     fi
43305   else
43306     glibcxx_gcsections_min_ld=21602
43307     if test x"$with_gnu_ld" = x"yes" &&
43308         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43309       glibcxx_have_gc_sections=yes
43310     fi
43311   fi
43312   if test "$glibcxx_have_gc_sections" = "yes"; then
43313     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
43314     # NB: This flag only works reliably after 2.16.1. Configure tests
43315     # for this are difficult, so hard wire a value that should work.
43316
43317     ac_test_CFLAGS="${CFLAGS+set}"
43318     ac_save_CFLAGS="$CFLAGS"
43319     CFLAGS='-Wl,--gc-sections'
43320
43321     # Check for -Wl,--gc-sections
43322     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
43323 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
43324     if test x$gcc_no_link = xyes; then
43325   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43327    { (exit 1); exit 1; }; }
43328 fi
43329 cat >conftest.$ac_ext <<_ACEOF
43330 /* confdefs.h.  */
43331 _ACEOF
43332 cat confdefs.h >>conftest.$ac_ext
43333 cat >>conftest.$ac_ext <<_ACEOF
43334 /* end confdefs.h.  */
43335  int one(void) { return 1; }
43336      int two(void) { return 2; }
43337
43338 int
43339 main ()
43340 {
43341  two();
43342   ;
43343   return 0;
43344 }
43345 _ACEOF
43346 rm -f conftest.$ac_objext conftest$ac_exeext
43347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43348   (eval $ac_link) 2>conftest.er1
43349   ac_status=$?
43350   grep -v '^ *+' conftest.er1 >conftest.err
43351   rm -f conftest.er1
43352   cat conftest.err >&5
43353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43354   (exit $ac_status); } &&
43355          { ac_try='test -z "$ac_c_werror_flag"
43356                          || test ! -s conftest.err'
43357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43358   (eval $ac_try) 2>&5
43359   ac_status=$?
43360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43361   (exit $ac_status); }; } &&
43362          { ac_try='test -s conftest$ac_exeext'
43363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43364   (eval $ac_try) 2>&5
43365   ac_status=$?
43366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43367   (exit $ac_status); }; }; then
43368   ac_gcsections=yes
43369 else
43370   echo "$as_me: failed program was:" >&5
43371 sed 's/^/| /' conftest.$ac_ext >&5
43372
43373 ac_gcsections=no
43374 fi
43375 rm -f conftest.err conftest.$ac_objext \
43376       conftest$ac_exeext conftest.$ac_ext
43377     if test "$ac_gcsections" = "yes"; then
43378       rm -f conftest.c
43379       touch conftest.c
43380       if $CC -c conftest.c; then
43381         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43382            grep "Warning: gc-sections option ignored" > /dev/null; then
43383           ac_gcsections=no
43384         fi
43385       fi
43386       rm -f conftest.c conftest.o conftest
43387     fi
43388     if test "$ac_gcsections" = "yes"; then
43389       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43390     fi
43391     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
43392 echo "${ECHO_T}$ac_gcsections" >&6
43393
43394     if test "$ac_test_CFLAGS" = set; then
43395       CFLAGS="$ac_save_CFLAGS"
43396     else
43397       # this is the suspicious part
43398       CFLAGS=''
43399     fi
43400   fi
43401
43402   # Set -z,relro.
43403   # Note this is only for shared objects.
43404   ac_ld_relro=no
43405   if test x"$with_gnu_ld" = x"yes"; then
43406     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
43407 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
43408     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43409     if test -n "$cxx_z_relo"; then
43410       OPT_LDFLAGS="-Wl,-z,relro"
43411       ac_ld_relro=yes
43412     fi
43413     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
43414 echo "${ECHO_T}$ac_ld_relro" >&6
43415   fi
43416
43417   # Set linker optimization flags.
43418   if test x"$with_gnu_ld" = x"yes"; then
43419     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
43420   fi
43421
43422
43423
43424
43425
43426   ac_test_CXXFLAGS="${CXXFLAGS+set}"
43427   ac_save_CXXFLAGS="$CXXFLAGS"
43428   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43429
43430     echo "$as_me:$LINENO: checking for sin in -lm" >&5
43431 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
43432 if test "${ac_cv_lib_m_sin+set}" = set; then
43433   echo $ECHO_N "(cached) $ECHO_C" >&6
43434 else
43435   ac_check_lib_save_LIBS=$LIBS
43436 LIBS="-lm  $LIBS"
43437 if test x$gcc_no_link = xyes; then
43438   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43440    { (exit 1); exit 1; }; }
43441 fi
43442 cat >conftest.$ac_ext <<_ACEOF
43443 /* confdefs.h.  */
43444 _ACEOF
43445 cat confdefs.h >>conftest.$ac_ext
43446 cat >>conftest.$ac_ext <<_ACEOF
43447 /* end confdefs.h.  */
43448
43449 /* Override any gcc2 internal prototype to avoid an error.  */
43450 #ifdef __cplusplus
43451 extern "C"
43452 #endif
43453 /* We use char because int might match the return type of a gcc2
43454    builtin and then its argument prototype would still apply.  */
43455 char sin ();
43456 int
43457 main ()
43458 {
43459 sin ();
43460   ;
43461   return 0;
43462 }
43463 _ACEOF
43464 rm -f conftest.$ac_objext conftest$ac_exeext
43465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43466   (eval $ac_link) 2>conftest.er1
43467   ac_status=$?
43468   grep -v '^ *+' conftest.er1 >conftest.err
43469   rm -f conftest.er1
43470   cat conftest.err >&5
43471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43472   (exit $ac_status); } &&
43473          { ac_try='test -z "$ac_c_werror_flag"
43474                          || test ! -s conftest.err'
43475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43476   (eval $ac_try) 2>&5
43477   ac_status=$?
43478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43479   (exit $ac_status); }; } &&
43480          { ac_try='test -s conftest$ac_exeext'
43481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43482   (eval $ac_try) 2>&5
43483   ac_status=$?
43484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43485   (exit $ac_status); }; }; then
43486   ac_cv_lib_m_sin=yes
43487 else
43488   echo "$as_me: failed program was:" >&5
43489 sed 's/^/| /' conftest.$ac_ext >&5
43490
43491 ac_cv_lib_m_sin=no
43492 fi
43493 rm -f conftest.err conftest.$ac_objext \
43494       conftest$ac_exeext conftest.$ac_ext
43495 LIBS=$ac_check_lib_save_LIBS
43496 fi
43497 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
43498 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
43499 if test $ac_cv_lib_m_sin = yes; then
43500   libm="-lm"
43501 fi
43502
43503   ac_save_LIBS="$LIBS"
43504   LIBS="$LIBS $libm"
43505
43506
43507
43508   echo "$as_me:$LINENO: checking for isinf declaration" >&5
43509 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
43510   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
43511     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
43512   echo $ECHO_N "(cached) $ECHO_C" >&6
43513 else
43514
43515
43516
43517       ac_ext=cc
43518 ac_cpp='$CXXCPP $CPPFLAGS'
43519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43522
43523       cat >conftest.$ac_ext <<_ACEOF
43524 /* confdefs.h.  */
43525 _ACEOF
43526 cat confdefs.h >>conftest.$ac_ext
43527 cat >>conftest.$ac_ext <<_ACEOF
43528 /* end confdefs.h.  */
43529 #include <math.h>
43530                       #ifdef HAVE_IEEEFP_H
43531                       #include <ieeefp.h>
43532                       #endif
43533
43534 int
43535 main ()
43536 {
43537  isinf(0);
43538   ;
43539   return 0;
43540 }
43541 _ACEOF
43542 rm -f conftest.$ac_objext
43543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43544   (eval $ac_compile) 2>conftest.er1
43545   ac_status=$?
43546   grep -v '^ *+' conftest.er1 >conftest.err
43547   rm -f conftest.er1
43548   cat conftest.err >&5
43549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43550   (exit $ac_status); } &&
43551          { ac_try='test -z "$ac_cxx_werror_flag"
43552                          || test ! -s conftest.err'
43553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43554   (eval $ac_try) 2>&5
43555   ac_status=$?
43556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43557   (exit $ac_status); }; } &&
43558          { ac_try='test -s conftest.$ac_objext'
43559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43560   (eval $ac_try) 2>&5
43561   ac_status=$?
43562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43563   (exit $ac_status); }; }; then
43564   glibcxx_cv_func_isinf_use=yes
43565 else
43566   echo "$as_me: failed program was:" >&5
43567 sed 's/^/| /' conftest.$ac_ext >&5
43568
43569 glibcxx_cv_func_isinf_use=no
43570 fi
43571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43572       ac_ext=c
43573 ac_cpp='$CPP $CPPFLAGS'
43574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43577
43578
43579 fi
43580
43581   fi
43582   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
43583 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
43584
43585   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
43586
43587 for ac_func in isinf
43588 do
43589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43590 echo "$as_me:$LINENO: checking for $ac_func" >&5
43591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43592 if eval "test \"\${$as_ac_var+set}\" = set"; then
43593   echo $ECHO_N "(cached) $ECHO_C" >&6
43594 else
43595   if test x$gcc_no_link = xyes; then
43596   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43598    { (exit 1); exit 1; }; }
43599 fi
43600 cat >conftest.$ac_ext <<_ACEOF
43601 /* confdefs.h.  */
43602 _ACEOF
43603 cat confdefs.h >>conftest.$ac_ext
43604 cat >>conftest.$ac_ext <<_ACEOF
43605 /* end confdefs.h.  */
43606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43607    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43608 #define $ac_func innocuous_$ac_func
43609
43610 /* System header to define __stub macros and hopefully few prototypes,
43611     which can conflict with char $ac_func (); below.
43612     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43613     <limits.h> exists even on freestanding compilers.  */
43614
43615 #ifdef __STDC__
43616 # include <limits.h>
43617 #else
43618 # include <assert.h>
43619 #endif
43620
43621 #undef $ac_func
43622
43623 /* Override any gcc2 internal prototype to avoid an error.  */
43624 #ifdef __cplusplus
43625 extern "C"
43626 {
43627 #endif
43628 /* We use char because int might match the return type of a gcc2
43629    builtin and then its argument prototype would still apply.  */
43630 char $ac_func ();
43631 /* The GNU C library defines this for functions which it implements
43632     to always fail with ENOSYS.  Some functions are actually named
43633     something starting with __ and the normal name is an alias.  */
43634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43635 choke me
43636 #else
43637 char (*f) () = $ac_func;
43638 #endif
43639 #ifdef __cplusplus
43640 }
43641 #endif
43642
43643 int
43644 main ()
43645 {
43646 return f != $ac_func;
43647   ;
43648   return 0;
43649 }
43650 _ACEOF
43651 rm -f conftest.$ac_objext conftest$ac_exeext
43652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43653   (eval $ac_link) 2>conftest.er1
43654   ac_status=$?
43655   grep -v '^ *+' conftest.er1 >conftest.err
43656   rm -f conftest.er1
43657   cat conftest.err >&5
43658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43659   (exit $ac_status); } &&
43660          { ac_try='test -z "$ac_c_werror_flag"
43661                          || test ! -s conftest.err'
43662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43663   (eval $ac_try) 2>&5
43664   ac_status=$?
43665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43666   (exit $ac_status); }; } &&
43667          { ac_try='test -s conftest$ac_exeext'
43668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43669   (eval $ac_try) 2>&5
43670   ac_status=$?
43671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43672   (exit $ac_status); }; }; then
43673   eval "$as_ac_var=yes"
43674 else
43675   echo "$as_me: failed program was:" >&5
43676 sed 's/^/| /' conftest.$ac_ext >&5
43677
43678 eval "$as_ac_var=no"
43679 fi
43680 rm -f conftest.err conftest.$ac_objext \
43681       conftest$ac_exeext conftest.$ac_ext
43682 fi
43683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43685 if test `eval echo '${'$as_ac_var'}'` = yes; then
43686   cat >>confdefs.h <<_ACEOF
43687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43688 _ACEOF
43689
43690 fi
43691 done
43692
43693   else
43694
43695   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
43696 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
43697   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
43698     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
43699   echo $ECHO_N "(cached) $ECHO_C" >&6
43700 else
43701
43702
43703
43704       ac_ext=cc
43705 ac_cpp='$CXXCPP $CPPFLAGS'
43706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43709
43710       cat >conftest.$ac_ext <<_ACEOF
43711 /* confdefs.h.  */
43712 _ACEOF
43713 cat confdefs.h >>conftest.$ac_ext
43714 cat >>conftest.$ac_ext <<_ACEOF
43715 /* end confdefs.h.  */
43716 #include <math.h>
43717                       #ifdef HAVE_IEEEFP_H
43718                       #include <ieeefp.h>
43719                       #endif
43720
43721 int
43722 main ()
43723 {
43724  _isinf(0);
43725   ;
43726   return 0;
43727 }
43728 _ACEOF
43729 rm -f conftest.$ac_objext
43730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43731   (eval $ac_compile) 2>conftest.er1
43732   ac_status=$?
43733   grep -v '^ *+' conftest.er1 >conftest.err
43734   rm -f conftest.er1
43735   cat conftest.err >&5
43736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43737   (exit $ac_status); } &&
43738          { ac_try='test -z "$ac_cxx_werror_flag"
43739                          || test ! -s conftest.err'
43740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43741   (eval $ac_try) 2>&5
43742   ac_status=$?
43743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43744   (exit $ac_status); }; } &&
43745          { ac_try='test -s conftest.$ac_objext'
43746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43747   (eval $ac_try) 2>&5
43748   ac_status=$?
43749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43750   (exit $ac_status); }; }; then
43751   glibcxx_cv_func__isinf_use=yes
43752 else
43753   echo "$as_me: failed program was:" >&5
43754 sed 's/^/| /' conftest.$ac_ext >&5
43755
43756 glibcxx_cv_func__isinf_use=no
43757 fi
43758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43759       ac_ext=c
43760 ac_cpp='$CPP $CPPFLAGS'
43761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43764
43765
43766 fi
43767
43768   fi
43769   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
43770 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
43771
43772     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
43773
43774 for ac_func in _isinf
43775 do
43776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43777 echo "$as_me:$LINENO: checking for $ac_func" >&5
43778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43779 if eval "test \"\${$as_ac_var+set}\" = set"; then
43780   echo $ECHO_N "(cached) $ECHO_C" >&6
43781 else
43782   if test x$gcc_no_link = xyes; then
43783   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43785    { (exit 1); exit 1; }; }
43786 fi
43787 cat >conftest.$ac_ext <<_ACEOF
43788 /* confdefs.h.  */
43789 _ACEOF
43790 cat confdefs.h >>conftest.$ac_ext
43791 cat >>conftest.$ac_ext <<_ACEOF
43792 /* end confdefs.h.  */
43793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43794    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43795 #define $ac_func innocuous_$ac_func
43796
43797 /* System header to define __stub macros and hopefully few prototypes,
43798     which can conflict with char $ac_func (); below.
43799     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43800     <limits.h> exists even on freestanding compilers.  */
43801
43802 #ifdef __STDC__
43803 # include <limits.h>
43804 #else
43805 # include <assert.h>
43806 #endif
43807
43808 #undef $ac_func
43809
43810 /* Override any gcc2 internal prototype to avoid an error.  */
43811 #ifdef __cplusplus
43812 extern "C"
43813 {
43814 #endif
43815 /* We use char because int might match the return type of a gcc2
43816    builtin and then its argument prototype would still apply.  */
43817 char $ac_func ();
43818 /* The GNU C library defines this for functions which it implements
43819     to always fail with ENOSYS.  Some functions are actually named
43820     something starting with __ and the normal name is an alias.  */
43821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43822 choke me
43823 #else
43824 char (*f) () = $ac_func;
43825 #endif
43826 #ifdef __cplusplus
43827 }
43828 #endif
43829
43830 int
43831 main ()
43832 {
43833 return f != $ac_func;
43834   ;
43835   return 0;
43836 }
43837 _ACEOF
43838 rm -f conftest.$ac_objext conftest$ac_exeext
43839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43840   (eval $ac_link) 2>conftest.er1
43841   ac_status=$?
43842   grep -v '^ *+' conftest.er1 >conftest.err
43843   rm -f conftest.er1
43844   cat conftest.err >&5
43845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43846   (exit $ac_status); } &&
43847          { ac_try='test -z "$ac_c_werror_flag"
43848                          || test ! -s conftest.err'
43849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43850   (eval $ac_try) 2>&5
43851   ac_status=$?
43852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43853   (exit $ac_status); }; } &&
43854          { ac_try='test -s conftest$ac_exeext'
43855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43856   (eval $ac_try) 2>&5
43857   ac_status=$?
43858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43859   (exit $ac_status); }; }; then
43860   eval "$as_ac_var=yes"
43861 else
43862   echo "$as_me: failed program was:" >&5
43863 sed 's/^/| /' conftest.$ac_ext >&5
43864
43865 eval "$as_ac_var=no"
43866 fi
43867 rm -f conftest.err conftest.$ac_objext \
43868       conftest$ac_exeext conftest.$ac_ext
43869 fi
43870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43872 if test `eval echo '${'$as_ac_var'}'` = yes; then
43873   cat >>confdefs.h <<_ACEOF
43874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43875 _ACEOF
43876
43877 fi
43878 done
43879
43880     fi
43881   fi
43882
43883
43884
43885
43886
43887
43888   echo "$as_me:$LINENO: checking for isnan declaration" >&5
43889 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
43890   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
43891     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
43892   echo $ECHO_N "(cached) $ECHO_C" >&6
43893 else
43894
43895
43896
43897       ac_ext=cc
43898 ac_cpp='$CXXCPP $CPPFLAGS'
43899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43902
43903       cat >conftest.$ac_ext <<_ACEOF
43904 /* confdefs.h.  */
43905 _ACEOF
43906 cat confdefs.h >>conftest.$ac_ext
43907 cat >>conftest.$ac_ext <<_ACEOF
43908 /* end confdefs.h.  */
43909 #include <math.h>
43910                       #ifdef HAVE_IEEEFP_H
43911                       #include <ieeefp.h>
43912                       #endif
43913
43914 int
43915 main ()
43916 {
43917  isnan(0);
43918   ;
43919   return 0;
43920 }
43921 _ACEOF
43922 rm -f conftest.$ac_objext
43923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43924   (eval $ac_compile) 2>conftest.er1
43925   ac_status=$?
43926   grep -v '^ *+' conftest.er1 >conftest.err
43927   rm -f conftest.er1
43928   cat conftest.err >&5
43929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43930   (exit $ac_status); } &&
43931          { ac_try='test -z "$ac_cxx_werror_flag"
43932                          || test ! -s conftest.err'
43933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43934   (eval $ac_try) 2>&5
43935   ac_status=$?
43936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43937   (exit $ac_status); }; } &&
43938          { ac_try='test -s conftest.$ac_objext'
43939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43940   (eval $ac_try) 2>&5
43941   ac_status=$?
43942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43943   (exit $ac_status); }; }; then
43944   glibcxx_cv_func_isnan_use=yes
43945 else
43946   echo "$as_me: failed program was:" >&5
43947 sed 's/^/| /' conftest.$ac_ext >&5
43948
43949 glibcxx_cv_func_isnan_use=no
43950 fi
43951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43952       ac_ext=c
43953 ac_cpp='$CPP $CPPFLAGS'
43954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43957
43958
43959 fi
43960
43961   fi
43962   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
43963 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
43964
43965   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
43966
43967 for ac_func in isnan
43968 do
43969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43970 echo "$as_me:$LINENO: checking for $ac_func" >&5
43971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43972 if eval "test \"\${$as_ac_var+set}\" = set"; then
43973   echo $ECHO_N "(cached) $ECHO_C" >&6
43974 else
43975   if test x$gcc_no_link = xyes; then
43976   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43978    { (exit 1); exit 1; }; }
43979 fi
43980 cat >conftest.$ac_ext <<_ACEOF
43981 /* confdefs.h.  */
43982 _ACEOF
43983 cat confdefs.h >>conftest.$ac_ext
43984 cat >>conftest.$ac_ext <<_ACEOF
43985 /* end confdefs.h.  */
43986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43987    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43988 #define $ac_func innocuous_$ac_func
43989
43990 /* System header to define __stub macros and hopefully few prototypes,
43991     which can conflict with char $ac_func (); below.
43992     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43993     <limits.h> exists even on freestanding compilers.  */
43994
43995 #ifdef __STDC__
43996 # include <limits.h>
43997 #else
43998 # include <assert.h>
43999 #endif
44000
44001 #undef $ac_func
44002
44003 /* Override any gcc2 internal prototype to avoid an error.  */
44004 #ifdef __cplusplus
44005 extern "C"
44006 {
44007 #endif
44008 /* We use char because int might match the return type of a gcc2
44009    builtin and then its argument prototype would still apply.  */
44010 char $ac_func ();
44011 /* The GNU C library defines this for functions which it implements
44012     to always fail with ENOSYS.  Some functions are actually named
44013     something starting with __ and the normal name is an alias.  */
44014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44015 choke me
44016 #else
44017 char (*f) () = $ac_func;
44018 #endif
44019 #ifdef __cplusplus
44020 }
44021 #endif
44022
44023 int
44024 main ()
44025 {
44026 return f != $ac_func;
44027   ;
44028   return 0;
44029 }
44030 _ACEOF
44031 rm -f conftest.$ac_objext conftest$ac_exeext
44032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44033   (eval $ac_link) 2>conftest.er1
44034   ac_status=$?
44035   grep -v '^ *+' conftest.er1 >conftest.err
44036   rm -f conftest.er1
44037   cat conftest.err >&5
44038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44039   (exit $ac_status); } &&
44040          { ac_try='test -z "$ac_c_werror_flag"
44041                          || test ! -s conftest.err'
44042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44043   (eval $ac_try) 2>&5
44044   ac_status=$?
44045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44046   (exit $ac_status); }; } &&
44047          { ac_try='test -s conftest$ac_exeext'
44048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44049   (eval $ac_try) 2>&5
44050   ac_status=$?
44051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44052   (exit $ac_status); }; }; then
44053   eval "$as_ac_var=yes"
44054 else
44055   echo "$as_me: failed program was:" >&5
44056 sed 's/^/| /' conftest.$ac_ext >&5
44057
44058 eval "$as_ac_var=no"
44059 fi
44060 rm -f conftest.err conftest.$ac_objext \
44061       conftest$ac_exeext conftest.$ac_ext
44062 fi
44063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44065 if test `eval echo '${'$as_ac_var'}'` = yes; then
44066   cat >>confdefs.h <<_ACEOF
44067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44068 _ACEOF
44069
44070 fi
44071 done
44072
44073   else
44074
44075   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
44076 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
44077   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
44078     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
44079   echo $ECHO_N "(cached) $ECHO_C" >&6
44080 else
44081
44082
44083
44084       ac_ext=cc
44085 ac_cpp='$CXXCPP $CPPFLAGS'
44086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44089
44090       cat >conftest.$ac_ext <<_ACEOF
44091 /* confdefs.h.  */
44092 _ACEOF
44093 cat confdefs.h >>conftest.$ac_ext
44094 cat >>conftest.$ac_ext <<_ACEOF
44095 /* end confdefs.h.  */
44096 #include <math.h>
44097                       #ifdef HAVE_IEEEFP_H
44098                       #include <ieeefp.h>
44099                       #endif
44100
44101 int
44102 main ()
44103 {
44104  _isnan(0);
44105   ;
44106   return 0;
44107 }
44108 _ACEOF
44109 rm -f conftest.$ac_objext
44110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44111   (eval $ac_compile) 2>conftest.er1
44112   ac_status=$?
44113   grep -v '^ *+' conftest.er1 >conftest.err
44114   rm -f conftest.er1
44115   cat conftest.err >&5
44116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44117   (exit $ac_status); } &&
44118          { ac_try='test -z "$ac_cxx_werror_flag"
44119                          || test ! -s conftest.err'
44120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44121   (eval $ac_try) 2>&5
44122   ac_status=$?
44123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44124   (exit $ac_status); }; } &&
44125          { ac_try='test -s conftest.$ac_objext'
44126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44127   (eval $ac_try) 2>&5
44128   ac_status=$?
44129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44130   (exit $ac_status); }; }; then
44131   glibcxx_cv_func__isnan_use=yes
44132 else
44133   echo "$as_me: failed program was:" >&5
44134 sed 's/^/| /' conftest.$ac_ext >&5
44135
44136 glibcxx_cv_func__isnan_use=no
44137 fi
44138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44139       ac_ext=c
44140 ac_cpp='$CPP $CPPFLAGS'
44141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44144
44145
44146 fi
44147
44148   fi
44149   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
44150 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
44151
44152     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
44153
44154 for ac_func in _isnan
44155 do
44156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44157 echo "$as_me:$LINENO: checking for $ac_func" >&5
44158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44159 if eval "test \"\${$as_ac_var+set}\" = set"; then
44160   echo $ECHO_N "(cached) $ECHO_C" >&6
44161 else
44162   if test x$gcc_no_link = xyes; then
44163   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44165    { (exit 1); exit 1; }; }
44166 fi
44167 cat >conftest.$ac_ext <<_ACEOF
44168 /* confdefs.h.  */
44169 _ACEOF
44170 cat confdefs.h >>conftest.$ac_ext
44171 cat >>conftest.$ac_ext <<_ACEOF
44172 /* end confdefs.h.  */
44173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44174    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44175 #define $ac_func innocuous_$ac_func
44176
44177 /* System header to define __stub macros and hopefully few prototypes,
44178     which can conflict with char $ac_func (); below.
44179     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44180     <limits.h> exists even on freestanding compilers.  */
44181
44182 #ifdef __STDC__
44183 # include <limits.h>
44184 #else
44185 # include <assert.h>
44186 #endif
44187
44188 #undef $ac_func
44189
44190 /* Override any gcc2 internal prototype to avoid an error.  */
44191 #ifdef __cplusplus
44192 extern "C"
44193 {
44194 #endif
44195 /* We use char because int might match the return type of a gcc2
44196    builtin and then its argument prototype would still apply.  */
44197 char $ac_func ();
44198 /* The GNU C library defines this for functions which it implements
44199     to always fail with ENOSYS.  Some functions are actually named
44200     something starting with __ and the normal name is an alias.  */
44201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44202 choke me
44203 #else
44204 char (*f) () = $ac_func;
44205 #endif
44206 #ifdef __cplusplus
44207 }
44208 #endif
44209
44210 int
44211 main ()
44212 {
44213 return f != $ac_func;
44214   ;
44215   return 0;
44216 }
44217 _ACEOF
44218 rm -f conftest.$ac_objext conftest$ac_exeext
44219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44220   (eval $ac_link) 2>conftest.er1
44221   ac_status=$?
44222   grep -v '^ *+' conftest.er1 >conftest.err
44223   rm -f conftest.er1
44224   cat conftest.err >&5
44225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44226   (exit $ac_status); } &&
44227          { ac_try='test -z "$ac_c_werror_flag"
44228                          || test ! -s conftest.err'
44229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44230   (eval $ac_try) 2>&5
44231   ac_status=$?
44232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44233   (exit $ac_status); }; } &&
44234          { ac_try='test -s conftest$ac_exeext'
44235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44236   (eval $ac_try) 2>&5
44237   ac_status=$?
44238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44239   (exit $ac_status); }; }; then
44240   eval "$as_ac_var=yes"
44241 else
44242   echo "$as_me: failed program was:" >&5
44243 sed 's/^/| /' conftest.$ac_ext >&5
44244
44245 eval "$as_ac_var=no"
44246 fi
44247 rm -f conftest.err conftest.$ac_objext \
44248       conftest$ac_exeext conftest.$ac_ext
44249 fi
44250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44252 if test `eval echo '${'$as_ac_var'}'` = yes; then
44253   cat >>confdefs.h <<_ACEOF
44254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44255 _ACEOF
44256
44257 fi
44258 done
44259
44260     fi
44261   fi
44262
44263
44264
44265
44266
44267
44268   echo "$as_me:$LINENO: checking for finite declaration" >&5
44269 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
44270   if test x${glibcxx_cv_func_finite_use+set} != xset; then
44271     if test "${glibcxx_cv_func_finite_use+set}" = set; then
44272   echo $ECHO_N "(cached) $ECHO_C" >&6
44273 else
44274
44275
44276
44277       ac_ext=cc
44278 ac_cpp='$CXXCPP $CPPFLAGS'
44279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44282
44283       cat >conftest.$ac_ext <<_ACEOF
44284 /* confdefs.h.  */
44285 _ACEOF
44286 cat confdefs.h >>conftest.$ac_ext
44287 cat >>conftest.$ac_ext <<_ACEOF
44288 /* end confdefs.h.  */
44289 #include <math.h>
44290                       #ifdef HAVE_IEEEFP_H
44291                       #include <ieeefp.h>
44292                       #endif
44293
44294 int
44295 main ()
44296 {
44297  finite(0);
44298   ;
44299   return 0;
44300 }
44301 _ACEOF
44302 rm -f conftest.$ac_objext
44303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44304   (eval $ac_compile) 2>conftest.er1
44305   ac_status=$?
44306   grep -v '^ *+' conftest.er1 >conftest.err
44307   rm -f conftest.er1
44308   cat conftest.err >&5
44309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44310   (exit $ac_status); } &&
44311          { ac_try='test -z "$ac_cxx_werror_flag"
44312                          || test ! -s conftest.err'
44313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44314   (eval $ac_try) 2>&5
44315   ac_status=$?
44316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44317   (exit $ac_status); }; } &&
44318          { ac_try='test -s conftest.$ac_objext'
44319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44320   (eval $ac_try) 2>&5
44321   ac_status=$?
44322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44323   (exit $ac_status); }; }; then
44324   glibcxx_cv_func_finite_use=yes
44325 else
44326   echo "$as_me: failed program was:" >&5
44327 sed 's/^/| /' conftest.$ac_ext >&5
44328
44329 glibcxx_cv_func_finite_use=no
44330 fi
44331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44332       ac_ext=c
44333 ac_cpp='$CPP $CPPFLAGS'
44334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44337
44338
44339 fi
44340
44341   fi
44342   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
44343 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
44344
44345   if test x$glibcxx_cv_func_finite_use = x"yes"; then
44346
44347 for ac_func in finite
44348 do
44349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44350 echo "$as_me:$LINENO: checking for $ac_func" >&5
44351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44352 if eval "test \"\${$as_ac_var+set}\" = set"; then
44353   echo $ECHO_N "(cached) $ECHO_C" >&6
44354 else
44355   if test x$gcc_no_link = xyes; then
44356   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44358    { (exit 1); exit 1; }; }
44359 fi
44360 cat >conftest.$ac_ext <<_ACEOF
44361 /* confdefs.h.  */
44362 _ACEOF
44363 cat confdefs.h >>conftest.$ac_ext
44364 cat >>conftest.$ac_ext <<_ACEOF
44365 /* end confdefs.h.  */
44366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44367    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44368 #define $ac_func innocuous_$ac_func
44369
44370 /* System header to define __stub macros and hopefully few prototypes,
44371     which can conflict with char $ac_func (); below.
44372     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44373     <limits.h> exists even on freestanding compilers.  */
44374
44375 #ifdef __STDC__
44376 # include <limits.h>
44377 #else
44378 # include <assert.h>
44379 #endif
44380
44381 #undef $ac_func
44382
44383 /* Override any gcc2 internal prototype to avoid an error.  */
44384 #ifdef __cplusplus
44385 extern "C"
44386 {
44387 #endif
44388 /* We use char because int might match the return type of a gcc2
44389    builtin and then its argument prototype would still apply.  */
44390 char $ac_func ();
44391 /* The GNU C library defines this for functions which it implements
44392     to always fail with ENOSYS.  Some functions are actually named
44393     something starting with __ and the normal name is an alias.  */
44394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44395 choke me
44396 #else
44397 char (*f) () = $ac_func;
44398 #endif
44399 #ifdef __cplusplus
44400 }
44401 #endif
44402
44403 int
44404 main ()
44405 {
44406 return f != $ac_func;
44407   ;
44408   return 0;
44409 }
44410 _ACEOF
44411 rm -f conftest.$ac_objext conftest$ac_exeext
44412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44413   (eval $ac_link) 2>conftest.er1
44414   ac_status=$?
44415   grep -v '^ *+' conftest.er1 >conftest.err
44416   rm -f conftest.er1
44417   cat conftest.err >&5
44418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44419   (exit $ac_status); } &&
44420          { ac_try='test -z "$ac_c_werror_flag"
44421                          || test ! -s conftest.err'
44422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44423   (eval $ac_try) 2>&5
44424   ac_status=$?
44425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44426   (exit $ac_status); }; } &&
44427          { ac_try='test -s conftest$ac_exeext'
44428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44429   (eval $ac_try) 2>&5
44430   ac_status=$?
44431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44432   (exit $ac_status); }; }; then
44433   eval "$as_ac_var=yes"
44434 else
44435   echo "$as_me: failed program was:" >&5
44436 sed 's/^/| /' conftest.$ac_ext >&5
44437
44438 eval "$as_ac_var=no"
44439 fi
44440 rm -f conftest.err conftest.$ac_objext \
44441       conftest$ac_exeext conftest.$ac_ext
44442 fi
44443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44445 if test `eval echo '${'$as_ac_var'}'` = yes; then
44446   cat >>confdefs.h <<_ACEOF
44447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44448 _ACEOF
44449
44450 fi
44451 done
44452
44453   else
44454
44455   echo "$as_me:$LINENO: checking for _finite declaration" >&5
44456 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
44457   if test x${glibcxx_cv_func__finite_use+set} != xset; then
44458     if test "${glibcxx_cv_func__finite_use+set}" = set; then
44459   echo $ECHO_N "(cached) $ECHO_C" >&6
44460 else
44461
44462
44463
44464       ac_ext=cc
44465 ac_cpp='$CXXCPP $CPPFLAGS'
44466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44469
44470       cat >conftest.$ac_ext <<_ACEOF
44471 /* confdefs.h.  */
44472 _ACEOF
44473 cat confdefs.h >>conftest.$ac_ext
44474 cat >>conftest.$ac_ext <<_ACEOF
44475 /* end confdefs.h.  */
44476 #include <math.h>
44477                       #ifdef HAVE_IEEEFP_H
44478                       #include <ieeefp.h>
44479                       #endif
44480
44481 int
44482 main ()
44483 {
44484  _finite(0);
44485   ;
44486   return 0;
44487 }
44488 _ACEOF
44489 rm -f conftest.$ac_objext
44490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44491   (eval $ac_compile) 2>conftest.er1
44492   ac_status=$?
44493   grep -v '^ *+' conftest.er1 >conftest.err
44494   rm -f conftest.er1
44495   cat conftest.err >&5
44496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44497   (exit $ac_status); } &&
44498          { ac_try='test -z "$ac_cxx_werror_flag"
44499                          || test ! -s conftest.err'
44500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44501   (eval $ac_try) 2>&5
44502   ac_status=$?
44503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44504   (exit $ac_status); }; } &&
44505          { ac_try='test -s conftest.$ac_objext'
44506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44507   (eval $ac_try) 2>&5
44508   ac_status=$?
44509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44510   (exit $ac_status); }; }; then
44511   glibcxx_cv_func__finite_use=yes
44512 else
44513   echo "$as_me: failed program was:" >&5
44514 sed 's/^/| /' conftest.$ac_ext >&5
44515
44516 glibcxx_cv_func__finite_use=no
44517 fi
44518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44519       ac_ext=c
44520 ac_cpp='$CPP $CPPFLAGS'
44521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44524
44525
44526 fi
44527
44528   fi
44529   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
44530 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
44531
44532     if test x$glibcxx_cv_func__finite_use = x"yes"; then
44533
44534 for ac_func in _finite
44535 do
44536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44537 echo "$as_me:$LINENO: checking for $ac_func" >&5
44538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44539 if eval "test \"\${$as_ac_var+set}\" = set"; then
44540   echo $ECHO_N "(cached) $ECHO_C" >&6
44541 else
44542   if test x$gcc_no_link = xyes; then
44543   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44545    { (exit 1); exit 1; }; }
44546 fi
44547 cat >conftest.$ac_ext <<_ACEOF
44548 /* confdefs.h.  */
44549 _ACEOF
44550 cat confdefs.h >>conftest.$ac_ext
44551 cat >>conftest.$ac_ext <<_ACEOF
44552 /* end confdefs.h.  */
44553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44554    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44555 #define $ac_func innocuous_$ac_func
44556
44557 /* System header to define __stub macros and hopefully few prototypes,
44558     which can conflict with char $ac_func (); below.
44559     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44560     <limits.h> exists even on freestanding compilers.  */
44561
44562 #ifdef __STDC__
44563 # include <limits.h>
44564 #else
44565 # include <assert.h>
44566 #endif
44567
44568 #undef $ac_func
44569
44570 /* Override any gcc2 internal prototype to avoid an error.  */
44571 #ifdef __cplusplus
44572 extern "C"
44573 {
44574 #endif
44575 /* We use char because int might match the return type of a gcc2
44576    builtin and then its argument prototype would still apply.  */
44577 char $ac_func ();
44578 /* The GNU C library defines this for functions which it implements
44579     to always fail with ENOSYS.  Some functions are actually named
44580     something starting with __ and the normal name is an alias.  */
44581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44582 choke me
44583 #else
44584 char (*f) () = $ac_func;
44585 #endif
44586 #ifdef __cplusplus
44587 }
44588 #endif
44589
44590 int
44591 main ()
44592 {
44593 return f != $ac_func;
44594   ;
44595   return 0;
44596 }
44597 _ACEOF
44598 rm -f conftest.$ac_objext conftest$ac_exeext
44599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44600   (eval $ac_link) 2>conftest.er1
44601   ac_status=$?
44602   grep -v '^ *+' conftest.er1 >conftest.err
44603   rm -f conftest.er1
44604   cat conftest.err >&5
44605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44606   (exit $ac_status); } &&
44607          { ac_try='test -z "$ac_c_werror_flag"
44608                          || test ! -s conftest.err'
44609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44610   (eval $ac_try) 2>&5
44611   ac_status=$?
44612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44613   (exit $ac_status); }; } &&
44614          { ac_try='test -s conftest$ac_exeext'
44615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44616   (eval $ac_try) 2>&5
44617   ac_status=$?
44618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44619   (exit $ac_status); }; }; then
44620   eval "$as_ac_var=yes"
44621 else
44622   echo "$as_me: failed program was:" >&5
44623 sed 's/^/| /' conftest.$ac_ext >&5
44624
44625 eval "$as_ac_var=no"
44626 fi
44627 rm -f conftest.err conftest.$ac_objext \
44628       conftest$ac_exeext conftest.$ac_ext
44629 fi
44630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44632 if test `eval echo '${'$as_ac_var'}'` = yes; then
44633   cat >>confdefs.h <<_ACEOF
44634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44635 _ACEOF
44636
44637 fi
44638 done
44639
44640     fi
44641   fi
44642
44643
44644
44645
44646
44647
44648   echo "$as_me:$LINENO: checking for copysign declaration" >&5
44649 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
44650   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
44651     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
44652   echo $ECHO_N "(cached) $ECHO_C" >&6
44653 else
44654
44655
44656
44657       ac_ext=cc
44658 ac_cpp='$CXXCPP $CPPFLAGS'
44659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44662
44663       cat >conftest.$ac_ext <<_ACEOF
44664 /* confdefs.h.  */
44665 _ACEOF
44666 cat confdefs.h >>conftest.$ac_ext
44667 cat >>conftest.$ac_ext <<_ACEOF
44668 /* end confdefs.h.  */
44669 #include <math.h>
44670 int
44671 main ()
44672 {
44673  copysign(0, 0);
44674   ;
44675   return 0;
44676 }
44677 _ACEOF
44678 rm -f conftest.$ac_objext
44679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44680   (eval $ac_compile) 2>conftest.er1
44681   ac_status=$?
44682   grep -v '^ *+' conftest.er1 >conftest.err
44683   rm -f conftest.er1
44684   cat conftest.err >&5
44685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44686   (exit $ac_status); } &&
44687          { ac_try='test -z "$ac_cxx_werror_flag"
44688                          || test ! -s conftest.err'
44689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44690   (eval $ac_try) 2>&5
44691   ac_status=$?
44692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44693   (exit $ac_status); }; } &&
44694          { ac_try='test -s conftest.$ac_objext'
44695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44696   (eval $ac_try) 2>&5
44697   ac_status=$?
44698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44699   (exit $ac_status); }; }; then
44700   glibcxx_cv_func_copysign_use=yes
44701 else
44702   echo "$as_me: failed program was:" >&5
44703 sed 's/^/| /' conftest.$ac_ext >&5
44704
44705 glibcxx_cv_func_copysign_use=no
44706 fi
44707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44708       ac_ext=c
44709 ac_cpp='$CPP $CPPFLAGS'
44710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44713
44714
44715 fi
44716
44717   fi
44718   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
44719 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
44720
44721   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
44722
44723 for ac_func in copysign
44724 do
44725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44726 echo "$as_me:$LINENO: checking for $ac_func" >&5
44727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44728 if eval "test \"\${$as_ac_var+set}\" = set"; then
44729   echo $ECHO_N "(cached) $ECHO_C" >&6
44730 else
44731   if test x$gcc_no_link = xyes; then
44732   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44734    { (exit 1); exit 1; }; }
44735 fi
44736 cat >conftest.$ac_ext <<_ACEOF
44737 /* confdefs.h.  */
44738 _ACEOF
44739 cat confdefs.h >>conftest.$ac_ext
44740 cat >>conftest.$ac_ext <<_ACEOF
44741 /* end confdefs.h.  */
44742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44743    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44744 #define $ac_func innocuous_$ac_func
44745
44746 /* System header to define __stub macros and hopefully few prototypes,
44747     which can conflict with char $ac_func (); below.
44748     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44749     <limits.h> exists even on freestanding compilers.  */
44750
44751 #ifdef __STDC__
44752 # include <limits.h>
44753 #else
44754 # include <assert.h>
44755 #endif
44756
44757 #undef $ac_func
44758
44759 /* Override any gcc2 internal prototype to avoid an error.  */
44760 #ifdef __cplusplus
44761 extern "C"
44762 {
44763 #endif
44764 /* We use char because int might match the return type of a gcc2
44765    builtin and then its argument prototype would still apply.  */
44766 char $ac_func ();
44767 /* The GNU C library defines this for functions which it implements
44768     to always fail with ENOSYS.  Some functions are actually named
44769     something starting with __ and the normal name is an alias.  */
44770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44771 choke me
44772 #else
44773 char (*f) () = $ac_func;
44774 #endif
44775 #ifdef __cplusplus
44776 }
44777 #endif
44778
44779 int
44780 main ()
44781 {
44782 return f != $ac_func;
44783   ;
44784   return 0;
44785 }
44786 _ACEOF
44787 rm -f conftest.$ac_objext conftest$ac_exeext
44788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44789   (eval $ac_link) 2>conftest.er1
44790   ac_status=$?
44791   grep -v '^ *+' conftest.er1 >conftest.err
44792   rm -f conftest.er1
44793   cat conftest.err >&5
44794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44795   (exit $ac_status); } &&
44796          { ac_try='test -z "$ac_c_werror_flag"
44797                          || test ! -s conftest.err'
44798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44799   (eval $ac_try) 2>&5
44800   ac_status=$?
44801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44802   (exit $ac_status); }; } &&
44803          { ac_try='test -s conftest$ac_exeext'
44804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44805   (eval $ac_try) 2>&5
44806   ac_status=$?
44807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44808   (exit $ac_status); }; }; then
44809   eval "$as_ac_var=yes"
44810 else
44811   echo "$as_me: failed program was:" >&5
44812 sed 's/^/| /' conftest.$ac_ext >&5
44813
44814 eval "$as_ac_var=no"
44815 fi
44816 rm -f conftest.err conftest.$ac_objext \
44817       conftest$ac_exeext conftest.$ac_ext
44818 fi
44819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44821 if test `eval echo '${'$as_ac_var'}'` = yes; then
44822   cat >>confdefs.h <<_ACEOF
44823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44824 _ACEOF
44825
44826 fi
44827 done
44828
44829   else
44830
44831   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
44832 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
44833   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
44834     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
44835   echo $ECHO_N "(cached) $ECHO_C" >&6
44836 else
44837
44838
44839
44840       ac_ext=cc
44841 ac_cpp='$CXXCPP $CPPFLAGS'
44842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44845
44846       cat >conftest.$ac_ext <<_ACEOF
44847 /* confdefs.h.  */
44848 _ACEOF
44849 cat confdefs.h >>conftest.$ac_ext
44850 cat >>conftest.$ac_ext <<_ACEOF
44851 /* end confdefs.h.  */
44852 #include <math.h>
44853 int
44854 main ()
44855 {
44856  _copysign(0, 0);
44857   ;
44858   return 0;
44859 }
44860 _ACEOF
44861 rm -f conftest.$ac_objext
44862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44863   (eval $ac_compile) 2>conftest.er1
44864   ac_status=$?
44865   grep -v '^ *+' conftest.er1 >conftest.err
44866   rm -f conftest.er1
44867   cat conftest.err >&5
44868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44869   (exit $ac_status); } &&
44870          { ac_try='test -z "$ac_cxx_werror_flag"
44871                          || test ! -s conftest.err'
44872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44873   (eval $ac_try) 2>&5
44874   ac_status=$?
44875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44876   (exit $ac_status); }; } &&
44877          { ac_try='test -s conftest.$ac_objext'
44878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44879   (eval $ac_try) 2>&5
44880   ac_status=$?
44881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44882   (exit $ac_status); }; }; then
44883   glibcxx_cv_func__copysign_use=yes
44884 else
44885   echo "$as_me: failed program was:" >&5
44886 sed 's/^/| /' conftest.$ac_ext >&5
44887
44888 glibcxx_cv_func__copysign_use=no
44889 fi
44890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44891       ac_ext=c
44892 ac_cpp='$CPP $CPPFLAGS'
44893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44896
44897
44898 fi
44899
44900   fi
44901   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
44902 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
44903
44904     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
44905
44906 for ac_func in _copysign
44907 do
44908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44909 echo "$as_me:$LINENO: checking for $ac_func" >&5
44910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44911 if eval "test \"\${$as_ac_var+set}\" = set"; then
44912   echo $ECHO_N "(cached) $ECHO_C" >&6
44913 else
44914   if test x$gcc_no_link = xyes; then
44915   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44917    { (exit 1); exit 1; }; }
44918 fi
44919 cat >conftest.$ac_ext <<_ACEOF
44920 /* confdefs.h.  */
44921 _ACEOF
44922 cat confdefs.h >>conftest.$ac_ext
44923 cat >>conftest.$ac_ext <<_ACEOF
44924 /* end confdefs.h.  */
44925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44926    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44927 #define $ac_func innocuous_$ac_func
44928
44929 /* System header to define __stub macros and hopefully few prototypes,
44930     which can conflict with char $ac_func (); below.
44931     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44932     <limits.h> exists even on freestanding compilers.  */
44933
44934 #ifdef __STDC__
44935 # include <limits.h>
44936 #else
44937 # include <assert.h>
44938 #endif
44939
44940 #undef $ac_func
44941
44942 /* Override any gcc2 internal prototype to avoid an error.  */
44943 #ifdef __cplusplus
44944 extern "C"
44945 {
44946 #endif
44947 /* We use char because int might match the return type of a gcc2
44948    builtin and then its argument prototype would still apply.  */
44949 char $ac_func ();
44950 /* The GNU C library defines this for functions which it implements
44951     to always fail with ENOSYS.  Some functions are actually named
44952     something starting with __ and the normal name is an alias.  */
44953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44954 choke me
44955 #else
44956 char (*f) () = $ac_func;
44957 #endif
44958 #ifdef __cplusplus
44959 }
44960 #endif
44961
44962 int
44963 main ()
44964 {
44965 return f != $ac_func;
44966   ;
44967   return 0;
44968 }
44969 _ACEOF
44970 rm -f conftest.$ac_objext conftest$ac_exeext
44971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44972   (eval $ac_link) 2>conftest.er1
44973   ac_status=$?
44974   grep -v '^ *+' conftest.er1 >conftest.err
44975   rm -f conftest.er1
44976   cat conftest.err >&5
44977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44978   (exit $ac_status); } &&
44979          { ac_try='test -z "$ac_c_werror_flag"
44980                          || test ! -s conftest.err'
44981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44982   (eval $ac_try) 2>&5
44983   ac_status=$?
44984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44985   (exit $ac_status); }; } &&
44986          { ac_try='test -s conftest$ac_exeext'
44987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44988   (eval $ac_try) 2>&5
44989   ac_status=$?
44990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44991   (exit $ac_status); }; }; then
44992   eval "$as_ac_var=yes"
44993 else
44994   echo "$as_me: failed program was:" >&5
44995 sed 's/^/| /' conftest.$ac_ext >&5
44996
44997 eval "$as_ac_var=no"
44998 fi
44999 rm -f conftest.err conftest.$ac_objext \
45000       conftest$ac_exeext conftest.$ac_ext
45001 fi
45002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45004 if test `eval echo '${'$as_ac_var'}'` = yes; then
45005   cat >>confdefs.h <<_ACEOF
45006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45007 _ACEOF
45008
45009 fi
45010 done
45011
45012     fi
45013   fi
45014
45015
45016
45017
45018
45019
45020   echo "$as_me:$LINENO: checking for sincos declaration" >&5
45021 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
45022   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45023     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
45024   echo $ECHO_N "(cached) $ECHO_C" >&6
45025 else
45026
45027
45028
45029       ac_ext=cc
45030 ac_cpp='$CXXCPP $CPPFLAGS'
45031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45034
45035       cat >conftest.$ac_ext <<_ACEOF
45036 /* confdefs.h.  */
45037 _ACEOF
45038 cat confdefs.h >>conftest.$ac_ext
45039 cat >>conftest.$ac_ext <<_ACEOF
45040 /* end confdefs.h.  */
45041 #include <math.h>
45042 int
45043 main ()
45044 {
45045  sincos(0, 0, 0);
45046   ;
45047   return 0;
45048 }
45049 _ACEOF
45050 rm -f conftest.$ac_objext
45051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45052   (eval $ac_compile) 2>conftest.er1
45053   ac_status=$?
45054   grep -v '^ *+' conftest.er1 >conftest.err
45055   rm -f conftest.er1
45056   cat conftest.err >&5
45057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45058   (exit $ac_status); } &&
45059          { ac_try='test -z "$ac_cxx_werror_flag"
45060                          || test ! -s conftest.err'
45061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45062   (eval $ac_try) 2>&5
45063   ac_status=$?
45064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45065   (exit $ac_status); }; } &&
45066          { ac_try='test -s conftest.$ac_objext'
45067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45068   (eval $ac_try) 2>&5
45069   ac_status=$?
45070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45071   (exit $ac_status); }; }; then
45072   glibcxx_cv_func_sincos_use=yes
45073 else
45074   echo "$as_me: failed program was:" >&5
45075 sed 's/^/| /' conftest.$ac_ext >&5
45076
45077 glibcxx_cv_func_sincos_use=no
45078 fi
45079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45080       ac_ext=c
45081 ac_cpp='$CPP $CPPFLAGS'
45082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45085
45086
45087 fi
45088
45089   fi
45090   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
45091 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
45092
45093   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45094
45095 for ac_func in sincos
45096 do
45097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45098 echo "$as_me:$LINENO: checking for $ac_func" >&5
45099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45100 if eval "test \"\${$as_ac_var+set}\" = set"; then
45101   echo $ECHO_N "(cached) $ECHO_C" >&6
45102 else
45103   if test x$gcc_no_link = xyes; then
45104   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45106    { (exit 1); exit 1; }; }
45107 fi
45108 cat >conftest.$ac_ext <<_ACEOF
45109 /* confdefs.h.  */
45110 _ACEOF
45111 cat confdefs.h >>conftest.$ac_ext
45112 cat >>conftest.$ac_ext <<_ACEOF
45113 /* end confdefs.h.  */
45114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45115    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45116 #define $ac_func innocuous_$ac_func
45117
45118 /* System header to define __stub macros and hopefully few prototypes,
45119     which can conflict with char $ac_func (); below.
45120     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45121     <limits.h> exists even on freestanding compilers.  */
45122
45123 #ifdef __STDC__
45124 # include <limits.h>
45125 #else
45126 # include <assert.h>
45127 #endif
45128
45129 #undef $ac_func
45130
45131 /* Override any gcc2 internal prototype to avoid an error.  */
45132 #ifdef __cplusplus
45133 extern "C"
45134 {
45135 #endif
45136 /* We use char because int might match the return type of a gcc2
45137    builtin and then its argument prototype would still apply.  */
45138 char $ac_func ();
45139 /* The GNU C library defines this for functions which it implements
45140     to always fail with ENOSYS.  Some functions are actually named
45141     something starting with __ and the normal name is an alias.  */
45142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45143 choke me
45144 #else
45145 char (*f) () = $ac_func;
45146 #endif
45147 #ifdef __cplusplus
45148 }
45149 #endif
45150
45151 int
45152 main ()
45153 {
45154 return f != $ac_func;
45155   ;
45156   return 0;
45157 }
45158 _ACEOF
45159 rm -f conftest.$ac_objext conftest$ac_exeext
45160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45161   (eval $ac_link) 2>conftest.er1
45162   ac_status=$?
45163   grep -v '^ *+' conftest.er1 >conftest.err
45164   rm -f conftest.er1
45165   cat conftest.err >&5
45166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45167   (exit $ac_status); } &&
45168          { ac_try='test -z "$ac_c_werror_flag"
45169                          || test ! -s conftest.err'
45170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45171   (eval $ac_try) 2>&5
45172   ac_status=$?
45173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45174   (exit $ac_status); }; } &&
45175          { ac_try='test -s conftest$ac_exeext'
45176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45177   (eval $ac_try) 2>&5
45178   ac_status=$?
45179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45180   (exit $ac_status); }; }; then
45181   eval "$as_ac_var=yes"
45182 else
45183   echo "$as_me: failed program was:" >&5
45184 sed 's/^/| /' conftest.$ac_ext >&5
45185
45186 eval "$as_ac_var=no"
45187 fi
45188 rm -f conftest.err conftest.$ac_objext \
45189       conftest$ac_exeext conftest.$ac_ext
45190 fi
45191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45193 if test `eval echo '${'$as_ac_var'}'` = yes; then
45194   cat >>confdefs.h <<_ACEOF
45195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45196 _ACEOF
45197
45198 fi
45199 done
45200
45201   else
45202
45203   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
45204 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
45205   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45206     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
45207   echo $ECHO_N "(cached) $ECHO_C" >&6
45208 else
45209
45210
45211
45212       ac_ext=cc
45213 ac_cpp='$CXXCPP $CPPFLAGS'
45214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45217
45218       cat >conftest.$ac_ext <<_ACEOF
45219 /* confdefs.h.  */
45220 _ACEOF
45221 cat confdefs.h >>conftest.$ac_ext
45222 cat >>conftest.$ac_ext <<_ACEOF
45223 /* end confdefs.h.  */
45224 #include <math.h>
45225 int
45226 main ()
45227 {
45228  _sincos(0, 0, 0);
45229   ;
45230   return 0;
45231 }
45232 _ACEOF
45233 rm -f conftest.$ac_objext
45234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45235   (eval $ac_compile) 2>conftest.er1
45236   ac_status=$?
45237   grep -v '^ *+' conftest.er1 >conftest.err
45238   rm -f conftest.er1
45239   cat conftest.err >&5
45240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45241   (exit $ac_status); } &&
45242          { ac_try='test -z "$ac_cxx_werror_flag"
45243                          || test ! -s conftest.err'
45244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45245   (eval $ac_try) 2>&5
45246   ac_status=$?
45247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45248   (exit $ac_status); }; } &&
45249          { ac_try='test -s conftest.$ac_objext'
45250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45251   (eval $ac_try) 2>&5
45252   ac_status=$?
45253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45254   (exit $ac_status); }; }; then
45255   glibcxx_cv_func__sincos_use=yes
45256 else
45257   echo "$as_me: failed program was:" >&5
45258 sed 's/^/| /' conftest.$ac_ext >&5
45259
45260 glibcxx_cv_func__sincos_use=no
45261 fi
45262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45263       ac_ext=c
45264 ac_cpp='$CPP $CPPFLAGS'
45265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45268
45269
45270 fi
45271
45272   fi
45273   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
45274 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
45275
45276     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45277
45278 for ac_func in _sincos
45279 do
45280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45281 echo "$as_me:$LINENO: checking for $ac_func" >&5
45282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45283 if eval "test \"\${$as_ac_var+set}\" = set"; then
45284   echo $ECHO_N "(cached) $ECHO_C" >&6
45285 else
45286   if test x$gcc_no_link = xyes; then
45287   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45289    { (exit 1); exit 1; }; }
45290 fi
45291 cat >conftest.$ac_ext <<_ACEOF
45292 /* confdefs.h.  */
45293 _ACEOF
45294 cat confdefs.h >>conftest.$ac_ext
45295 cat >>conftest.$ac_ext <<_ACEOF
45296 /* end confdefs.h.  */
45297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45298    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45299 #define $ac_func innocuous_$ac_func
45300
45301 /* System header to define __stub macros and hopefully few prototypes,
45302     which can conflict with char $ac_func (); below.
45303     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45304     <limits.h> exists even on freestanding compilers.  */
45305
45306 #ifdef __STDC__
45307 # include <limits.h>
45308 #else
45309 # include <assert.h>
45310 #endif
45311
45312 #undef $ac_func
45313
45314 /* Override any gcc2 internal prototype to avoid an error.  */
45315 #ifdef __cplusplus
45316 extern "C"
45317 {
45318 #endif
45319 /* We use char because int might match the return type of a gcc2
45320    builtin and then its argument prototype would still apply.  */
45321 char $ac_func ();
45322 /* The GNU C library defines this for functions which it implements
45323     to always fail with ENOSYS.  Some functions are actually named
45324     something starting with __ and the normal name is an alias.  */
45325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45326 choke me
45327 #else
45328 char (*f) () = $ac_func;
45329 #endif
45330 #ifdef __cplusplus
45331 }
45332 #endif
45333
45334 int
45335 main ()
45336 {
45337 return f != $ac_func;
45338   ;
45339   return 0;
45340 }
45341 _ACEOF
45342 rm -f conftest.$ac_objext conftest$ac_exeext
45343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45344   (eval $ac_link) 2>conftest.er1
45345   ac_status=$?
45346   grep -v '^ *+' conftest.er1 >conftest.err
45347   rm -f conftest.er1
45348   cat conftest.err >&5
45349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45350   (exit $ac_status); } &&
45351          { ac_try='test -z "$ac_c_werror_flag"
45352                          || test ! -s conftest.err'
45353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45354   (eval $ac_try) 2>&5
45355   ac_status=$?
45356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45357   (exit $ac_status); }; } &&
45358          { ac_try='test -s conftest$ac_exeext'
45359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45360   (eval $ac_try) 2>&5
45361   ac_status=$?
45362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45363   (exit $ac_status); }; }; then
45364   eval "$as_ac_var=yes"
45365 else
45366   echo "$as_me: failed program was:" >&5
45367 sed 's/^/| /' conftest.$ac_ext >&5
45368
45369 eval "$as_ac_var=no"
45370 fi
45371 rm -f conftest.err conftest.$ac_objext \
45372       conftest$ac_exeext conftest.$ac_ext
45373 fi
45374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45376 if test `eval echo '${'$as_ac_var'}'` = yes; then
45377   cat >>confdefs.h <<_ACEOF
45378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45379 _ACEOF
45380
45381 fi
45382 done
45383
45384     fi
45385   fi
45386
45387
45388
45389
45390
45391
45392   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
45393 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
45394   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45395     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
45396   echo $ECHO_N "(cached) $ECHO_C" >&6
45397 else
45398
45399
45400
45401       ac_ext=cc
45402 ac_cpp='$CXXCPP $CPPFLAGS'
45403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45406
45407       cat >conftest.$ac_ext <<_ACEOF
45408 /* confdefs.h.  */
45409 _ACEOF
45410 cat confdefs.h >>conftest.$ac_ext
45411 cat >>conftest.$ac_ext <<_ACEOF
45412 /* end confdefs.h.  */
45413 #include <math.h>
45414                       #ifdef HAVE_IEEEFP_H
45415                       #include <ieeefp.h>
45416                       #endif
45417
45418 int
45419 main ()
45420 {
45421  fpclass(0);
45422   ;
45423   return 0;
45424 }
45425 _ACEOF
45426 rm -f conftest.$ac_objext
45427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45428   (eval $ac_compile) 2>conftest.er1
45429   ac_status=$?
45430   grep -v '^ *+' conftest.er1 >conftest.err
45431   rm -f conftest.er1
45432   cat conftest.err >&5
45433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45434   (exit $ac_status); } &&
45435          { ac_try='test -z "$ac_cxx_werror_flag"
45436                          || test ! -s conftest.err'
45437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45438   (eval $ac_try) 2>&5
45439   ac_status=$?
45440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45441   (exit $ac_status); }; } &&
45442          { ac_try='test -s conftest.$ac_objext'
45443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45444   (eval $ac_try) 2>&5
45445   ac_status=$?
45446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45447   (exit $ac_status); }; }; then
45448   glibcxx_cv_func_fpclass_use=yes
45449 else
45450   echo "$as_me: failed program was:" >&5
45451 sed 's/^/| /' conftest.$ac_ext >&5
45452
45453 glibcxx_cv_func_fpclass_use=no
45454 fi
45455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45456       ac_ext=c
45457 ac_cpp='$CPP $CPPFLAGS'
45458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45461
45462
45463 fi
45464
45465   fi
45466   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
45467 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
45468
45469   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45470
45471 for ac_func in fpclass
45472 do
45473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45474 echo "$as_me:$LINENO: checking for $ac_func" >&5
45475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45476 if eval "test \"\${$as_ac_var+set}\" = set"; then
45477   echo $ECHO_N "(cached) $ECHO_C" >&6
45478 else
45479   if test x$gcc_no_link = xyes; then
45480   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45482    { (exit 1); exit 1; }; }
45483 fi
45484 cat >conftest.$ac_ext <<_ACEOF
45485 /* confdefs.h.  */
45486 _ACEOF
45487 cat confdefs.h >>conftest.$ac_ext
45488 cat >>conftest.$ac_ext <<_ACEOF
45489 /* end confdefs.h.  */
45490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45491    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45492 #define $ac_func innocuous_$ac_func
45493
45494 /* System header to define __stub macros and hopefully few prototypes,
45495     which can conflict with char $ac_func (); below.
45496     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45497     <limits.h> exists even on freestanding compilers.  */
45498
45499 #ifdef __STDC__
45500 # include <limits.h>
45501 #else
45502 # include <assert.h>
45503 #endif
45504
45505 #undef $ac_func
45506
45507 /* Override any gcc2 internal prototype to avoid an error.  */
45508 #ifdef __cplusplus
45509 extern "C"
45510 {
45511 #endif
45512 /* We use char because int might match the return type of a gcc2
45513    builtin and then its argument prototype would still apply.  */
45514 char $ac_func ();
45515 /* The GNU C library defines this for functions which it implements
45516     to always fail with ENOSYS.  Some functions are actually named
45517     something starting with __ and the normal name is an alias.  */
45518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45519 choke me
45520 #else
45521 char (*f) () = $ac_func;
45522 #endif
45523 #ifdef __cplusplus
45524 }
45525 #endif
45526
45527 int
45528 main ()
45529 {
45530 return f != $ac_func;
45531   ;
45532   return 0;
45533 }
45534 _ACEOF
45535 rm -f conftest.$ac_objext conftest$ac_exeext
45536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45537   (eval $ac_link) 2>conftest.er1
45538   ac_status=$?
45539   grep -v '^ *+' conftest.er1 >conftest.err
45540   rm -f conftest.er1
45541   cat conftest.err >&5
45542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45543   (exit $ac_status); } &&
45544          { ac_try='test -z "$ac_c_werror_flag"
45545                          || test ! -s conftest.err'
45546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45547   (eval $ac_try) 2>&5
45548   ac_status=$?
45549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45550   (exit $ac_status); }; } &&
45551          { ac_try='test -s conftest$ac_exeext'
45552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45553   (eval $ac_try) 2>&5
45554   ac_status=$?
45555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45556   (exit $ac_status); }; }; then
45557   eval "$as_ac_var=yes"
45558 else
45559   echo "$as_me: failed program was:" >&5
45560 sed 's/^/| /' conftest.$ac_ext >&5
45561
45562 eval "$as_ac_var=no"
45563 fi
45564 rm -f conftest.err conftest.$ac_objext \
45565       conftest$ac_exeext conftest.$ac_ext
45566 fi
45567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45569 if test `eval echo '${'$as_ac_var'}'` = yes; then
45570   cat >>confdefs.h <<_ACEOF
45571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45572 _ACEOF
45573
45574 fi
45575 done
45576
45577   else
45578
45579   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
45580 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
45581   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45582     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
45583   echo $ECHO_N "(cached) $ECHO_C" >&6
45584 else
45585
45586
45587
45588       ac_ext=cc
45589 ac_cpp='$CXXCPP $CPPFLAGS'
45590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45593
45594       cat >conftest.$ac_ext <<_ACEOF
45595 /* confdefs.h.  */
45596 _ACEOF
45597 cat confdefs.h >>conftest.$ac_ext
45598 cat >>conftest.$ac_ext <<_ACEOF
45599 /* end confdefs.h.  */
45600 #include <math.h>
45601                       #ifdef HAVE_IEEEFP_H
45602                       #include <ieeefp.h>
45603                       #endif
45604
45605 int
45606 main ()
45607 {
45608  _fpclass(0);
45609   ;
45610   return 0;
45611 }
45612 _ACEOF
45613 rm -f conftest.$ac_objext
45614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45615   (eval $ac_compile) 2>conftest.er1
45616   ac_status=$?
45617   grep -v '^ *+' conftest.er1 >conftest.err
45618   rm -f conftest.er1
45619   cat conftest.err >&5
45620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45621   (exit $ac_status); } &&
45622          { ac_try='test -z "$ac_cxx_werror_flag"
45623                          || test ! -s conftest.err'
45624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45625   (eval $ac_try) 2>&5
45626   ac_status=$?
45627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45628   (exit $ac_status); }; } &&
45629          { ac_try='test -s conftest.$ac_objext'
45630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45631   (eval $ac_try) 2>&5
45632   ac_status=$?
45633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45634   (exit $ac_status); }; }; then
45635   glibcxx_cv_func__fpclass_use=yes
45636 else
45637   echo "$as_me: failed program was:" >&5
45638 sed 's/^/| /' conftest.$ac_ext >&5
45639
45640 glibcxx_cv_func__fpclass_use=no
45641 fi
45642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45643       ac_ext=c
45644 ac_cpp='$CPP $CPPFLAGS'
45645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45648
45649
45650 fi
45651
45652   fi
45653   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
45654 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
45655
45656     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45657
45658 for ac_func in _fpclass
45659 do
45660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45661 echo "$as_me:$LINENO: checking for $ac_func" >&5
45662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45663 if eval "test \"\${$as_ac_var+set}\" = set"; then
45664   echo $ECHO_N "(cached) $ECHO_C" >&6
45665 else
45666   if test x$gcc_no_link = xyes; then
45667   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45669    { (exit 1); exit 1; }; }
45670 fi
45671 cat >conftest.$ac_ext <<_ACEOF
45672 /* confdefs.h.  */
45673 _ACEOF
45674 cat confdefs.h >>conftest.$ac_ext
45675 cat >>conftest.$ac_ext <<_ACEOF
45676 /* end confdefs.h.  */
45677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45678    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45679 #define $ac_func innocuous_$ac_func
45680
45681 /* System header to define __stub macros and hopefully few prototypes,
45682     which can conflict with char $ac_func (); below.
45683     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45684     <limits.h> exists even on freestanding compilers.  */
45685
45686 #ifdef __STDC__
45687 # include <limits.h>
45688 #else
45689 # include <assert.h>
45690 #endif
45691
45692 #undef $ac_func
45693
45694 /* Override any gcc2 internal prototype to avoid an error.  */
45695 #ifdef __cplusplus
45696 extern "C"
45697 {
45698 #endif
45699 /* We use char because int might match the return type of a gcc2
45700    builtin and then its argument prototype would still apply.  */
45701 char $ac_func ();
45702 /* The GNU C library defines this for functions which it implements
45703     to always fail with ENOSYS.  Some functions are actually named
45704     something starting with __ and the normal name is an alias.  */
45705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45706 choke me
45707 #else
45708 char (*f) () = $ac_func;
45709 #endif
45710 #ifdef __cplusplus
45711 }
45712 #endif
45713
45714 int
45715 main ()
45716 {
45717 return f != $ac_func;
45718   ;
45719   return 0;
45720 }
45721 _ACEOF
45722 rm -f conftest.$ac_objext conftest$ac_exeext
45723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45724   (eval $ac_link) 2>conftest.er1
45725   ac_status=$?
45726   grep -v '^ *+' conftest.er1 >conftest.err
45727   rm -f conftest.er1
45728   cat conftest.err >&5
45729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45730   (exit $ac_status); } &&
45731          { ac_try='test -z "$ac_c_werror_flag"
45732                          || test ! -s conftest.err'
45733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45734   (eval $ac_try) 2>&5
45735   ac_status=$?
45736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45737   (exit $ac_status); }; } &&
45738          { ac_try='test -s conftest$ac_exeext'
45739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45740   (eval $ac_try) 2>&5
45741   ac_status=$?
45742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45743   (exit $ac_status); }; }; then
45744   eval "$as_ac_var=yes"
45745 else
45746   echo "$as_me: failed program was:" >&5
45747 sed 's/^/| /' conftest.$ac_ext >&5
45748
45749 eval "$as_ac_var=no"
45750 fi
45751 rm -f conftest.err conftest.$ac_objext \
45752       conftest$ac_exeext conftest.$ac_ext
45753 fi
45754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45756 if test `eval echo '${'$as_ac_var'}'` = yes; then
45757   cat >>confdefs.h <<_ACEOF
45758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45759 _ACEOF
45760
45761 fi
45762 done
45763
45764     fi
45765   fi
45766
45767
45768
45769
45770
45771
45772   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
45773 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
45774   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45775     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
45776   echo $ECHO_N "(cached) $ECHO_C" >&6
45777 else
45778
45779
45780
45781       ac_ext=cc
45782 ac_cpp='$CXXCPP $CPPFLAGS'
45783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45786
45787       cat >conftest.$ac_ext <<_ACEOF
45788 /* confdefs.h.  */
45789 _ACEOF
45790 cat confdefs.h >>conftest.$ac_ext
45791 cat >>conftest.$ac_ext <<_ACEOF
45792 /* end confdefs.h.  */
45793 #include <math.h>
45794                       #ifdef HAVE_IEEEFP_H
45795                       #include <ieeefp.h>
45796                       #endif
45797
45798 int
45799 main ()
45800 {
45801  qfpclass(0);
45802   ;
45803   return 0;
45804 }
45805 _ACEOF
45806 rm -f conftest.$ac_objext
45807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45808   (eval $ac_compile) 2>conftest.er1
45809   ac_status=$?
45810   grep -v '^ *+' conftest.er1 >conftest.err
45811   rm -f conftest.er1
45812   cat conftest.err >&5
45813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45814   (exit $ac_status); } &&
45815          { ac_try='test -z "$ac_cxx_werror_flag"
45816                          || test ! -s conftest.err'
45817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45818   (eval $ac_try) 2>&5
45819   ac_status=$?
45820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45821   (exit $ac_status); }; } &&
45822          { ac_try='test -s conftest.$ac_objext'
45823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45824   (eval $ac_try) 2>&5
45825   ac_status=$?
45826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45827   (exit $ac_status); }; }; then
45828   glibcxx_cv_func_qfpclass_use=yes
45829 else
45830   echo "$as_me: failed program was:" >&5
45831 sed 's/^/| /' conftest.$ac_ext >&5
45832
45833 glibcxx_cv_func_qfpclass_use=no
45834 fi
45835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45836       ac_ext=c
45837 ac_cpp='$CPP $CPPFLAGS'
45838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45841
45842
45843 fi
45844
45845   fi
45846   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
45847 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
45848
45849   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45850
45851 for ac_func in qfpclass
45852 do
45853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45854 echo "$as_me:$LINENO: checking for $ac_func" >&5
45855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45856 if eval "test \"\${$as_ac_var+set}\" = set"; then
45857   echo $ECHO_N "(cached) $ECHO_C" >&6
45858 else
45859   if test x$gcc_no_link = xyes; then
45860   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45862    { (exit 1); exit 1; }; }
45863 fi
45864 cat >conftest.$ac_ext <<_ACEOF
45865 /* confdefs.h.  */
45866 _ACEOF
45867 cat confdefs.h >>conftest.$ac_ext
45868 cat >>conftest.$ac_ext <<_ACEOF
45869 /* end confdefs.h.  */
45870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45871    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45872 #define $ac_func innocuous_$ac_func
45873
45874 /* System header to define __stub macros and hopefully few prototypes,
45875     which can conflict with char $ac_func (); below.
45876     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45877     <limits.h> exists even on freestanding compilers.  */
45878
45879 #ifdef __STDC__
45880 # include <limits.h>
45881 #else
45882 # include <assert.h>
45883 #endif
45884
45885 #undef $ac_func
45886
45887 /* Override any gcc2 internal prototype to avoid an error.  */
45888 #ifdef __cplusplus
45889 extern "C"
45890 {
45891 #endif
45892 /* We use char because int might match the return type of a gcc2
45893    builtin and then its argument prototype would still apply.  */
45894 char $ac_func ();
45895 /* The GNU C library defines this for functions which it implements
45896     to always fail with ENOSYS.  Some functions are actually named
45897     something starting with __ and the normal name is an alias.  */
45898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45899 choke me
45900 #else
45901 char (*f) () = $ac_func;
45902 #endif
45903 #ifdef __cplusplus
45904 }
45905 #endif
45906
45907 int
45908 main ()
45909 {
45910 return f != $ac_func;
45911   ;
45912   return 0;
45913 }
45914 _ACEOF
45915 rm -f conftest.$ac_objext conftest$ac_exeext
45916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45917   (eval $ac_link) 2>conftest.er1
45918   ac_status=$?
45919   grep -v '^ *+' conftest.er1 >conftest.err
45920   rm -f conftest.er1
45921   cat conftest.err >&5
45922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45923   (exit $ac_status); } &&
45924          { ac_try='test -z "$ac_c_werror_flag"
45925                          || test ! -s conftest.err'
45926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45927   (eval $ac_try) 2>&5
45928   ac_status=$?
45929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45930   (exit $ac_status); }; } &&
45931          { ac_try='test -s conftest$ac_exeext'
45932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45933   (eval $ac_try) 2>&5
45934   ac_status=$?
45935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45936   (exit $ac_status); }; }; then
45937   eval "$as_ac_var=yes"
45938 else
45939   echo "$as_me: failed program was:" >&5
45940 sed 's/^/| /' conftest.$ac_ext >&5
45941
45942 eval "$as_ac_var=no"
45943 fi
45944 rm -f conftest.err conftest.$ac_objext \
45945       conftest$ac_exeext conftest.$ac_ext
45946 fi
45947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45949 if test `eval echo '${'$as_ac_var'}'` = yes; then
45950   cat >>confdefs.h <<_ACEOF
45951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45952 _ACEOF
45953
45954 fi
45955 done
45956
45957   else
45958
45959   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
45960 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
45961   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45962     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
45963   echo $ECHO_N "(cached) $ECHO_C" >&6
45964 else
45965
45966
45967
45968       ac_ext=cc
45969 ac_cpp='$CXXCPP $CPPFLAGS'
45970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45973
45974       cat >conftest.$ac_ext <<_ACEOF
45975 /* confdefs.h.  */
45976 _ACEOF
45977 cat confdefs.h >>conftest.$ac_ext
45978 cat >>conftest.$ac_ext <<_ACEOF
45979 /* end confdefs.h.  */
45980 #include <math.h>
45981                       #ifdef HAVE_IEEEFP_H
45982                       #include <ieeefp.h>
45983                       #endif
45984
45985 int
45986 main ()
45987 {
45988  _qfpclass(0);
45989   ;
45990   return 0;
45991 }
45992 _ACEOF
45993 rm -f conftest.$ac_objext
45994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45995   (eval $ac_compile) 2>conftest.er1
45996   ac_status=$?
45997   grep -v '^ *+' conftest.er1 >conftest.err
45998   rm -f conftest.er1
45999   cat conftest.err >&5
46000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46001   (exit $ac_status); } &&
46002          { ac_try='test -z "$ac_cxx_werror_flag"
46003                          || test ! -s conftest.err'
46004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46005   (eval $ac_try) 2>&5
46006   ac_status=$?
46007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46008   (exit $ac_status); }; } &&
46009          { ac_try='test -s conftest.$ac_objext'
46010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46011   (eval $ac_try) 2>&5
46012   ac_status=$?
46013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46014   (exit $ac_status); }; }; then
46015   glibcxx_cv_func__qfpclass_use=yes
46016 else
46017   echo "$as_me: failed program was:" >&5
46018 sed 's/^/| /' conftest.$ac_ext >&5
46019
46020 glibcxx_cv_func__qfpclass_use=no
46021 fi
46022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46023       ac_ext=c
46024 ac_cpp='$CPP $CPPFLAGS'
46025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46028
46029
46030 fi
46031
46032   fi
46033   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
46034 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
46035
46036     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46037
46038 for ac_func in _qfpclass
46039 do
46040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46041 echo "$as_me:$LINENO: checking for $ac_func" >&5
46042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46043 if eval "test \"\${$as_ac_var+set}\" = set"; then
46044   echo $ECHO_N "(cached) $ECHO_C" >&6
46045 else
46046   if test x$gcc_no_link = xyes; then
46047   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46049    { (exit 1); exit 1; }; }
46050 fi
46051 cat >conftest.$ac_ext <<_ACEOF
46052 /* confdefs.h.  */
46053 _ACEOF
46054 cat confdefs.h >>conftest.$ac_ext
46055 cat >>conftest.$ac_ext <<_ACEOF
46056 /* end confdefs.h.  */
46057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46058    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46059 #define $ac_func innocuous_$ac_func
46060
46061 /* System header to define __stub macros and hopefully few prototypes,
46062     which can conflict with char $ac_func (); below.
46063     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46064     <limits.h> exists even on freestanding compilers.  */
46065
46066 #ifdef __STDC__
46067 # include <limits.h>
46068 #else
46069 # include <assert.h>
46070 #endif
46071
46072 #undef $ac_func
46073
46074 /* Override any gcc2 internal prototype to avoid an error.  */
46075 #ifdef __cplusplus
46076 extern "C"
46077 {
46078 #endif
46079 /* We use char because int might match the return type of a gcc2
46080    builtin and then its argument prototype would still apply.  */
46081 char $ac_func ();
46082 /* The GNU C library defines this for functions which it implements
46083     to always fail with ENOSYS.  Some functions are actually named
46084     something starting with __ and the normal name is an alias.  */
46085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46086 choke me
46087 #else
46088 char (*f) () = $ac_func;
46089 #endif
46090 #ifdef __cplusplus
46091 }
46092 #endif
46093
46094 int
46095 main ()
46096 {
46097 return f != $ac_func;
46098   ;
46099   return 0;
46100 }
46101 _ACEOF
46102 rm -f conftest.$ac_objext conftest$ac_exeext
46103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46104   (eval $ac_link) 2>conftest.er1
46105   ac_status=$?
46106   grep -v '^ *+' conftest.er1 >conftest.err
46107   rm -f conftest.er1
46108   cat conftest.err >&5
46109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46110   (exit $ac_status); } &&
46111          { ac_try='test -z "$ac_c_werror_flag"
46112                          || test ! -s conftest.err'
46113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46114   (eval $ac_try) 2>&5
46115   ac_status=$?
46116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46117   (exit $ac_status); }; } &&
46118          { ac_try='test -s conftest$ac_exeext'
46119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46120   (eval $ac_try) 2>&5
46121   ac_status=$?
46122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46123   (exit $ac_status); }; }; then
46124   eval "$as_ac_var=yes"
46125 else
46126   echo "$as_me: failed program was:" >&5
46127 sed 's/^/| /' conftest.$ac_ext >&5
46128
46129 eval "$as_ac_var=no"
46130 fi
46131 rm -f conftest.err conftest.$ac_objext \
46132       conftest$ac_exeext conftest.$ac_ext
46133 fi
46134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46136 if test `eval echo '${'$as_ac_var'}'` = yes; then
46137   cat >>confdefs.h <<_ACEOF
46138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46139 _ACEOF
46140
46141 fi
46142 done
46143
46144     fi
46145   fi
46146
46147
46148
46149
46150
46151
46152   echo "$as_me:$LINENO: checking for hypot declaration" >&5
46153 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
46154   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46155     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
46156   echo $ECHO_N "(cached) $ECHO_C" >&6
46157 else
46158
46159
46160
46161       ac_ext=cc
46162 ac_cpp='$CXXCPP $CPPFLAGS'
46163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46166
46167       cat >conftest.$ac_ext <<_ACEOF
46168 /* confdefs.h.  */
46169 _ACEOF
46170 cat confdefs.h >>conftest.$ac_ext
46171 cat >>conftest.$ac_ext <<_ACEOF
46172 /* end confdefs.h.  */
46173 #include <math.h>
46174 int
46175 main ()
46176 {
46177  hypot(0, 0);
46178   ;
46179   return 0;
46180 }
46181 _ACEOF
46182 rm -f conftest.$ac_objext
46183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46184   (eval $ac_compile) 2>conftest.er1
46185   ac_status=$?
46186   grep -v '^ *+' conftest.er1 >conftest.err
46187   rm -f conftest.er1
46188   cat conftest.err >&5
46189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46190   (exit $ac_status); } &&
46191          { ac_try='test -z "$ac_cxx_werror_flag"
46192                          || test ! -s conftest.err'
46193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46194   (eval $ac_try) 2>&5
46195   ac_status=$?
46196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46197   (exit $ac_status); }; } &&
46198          { ac_try='test -s conftest.$ac_objext'
46199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46200   (eval $ac_try) 2>&5
46201   ac_status=$?
46202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46203   (exit $ac_status); }; }; then
46204   glibcxx_cv_func_hypot_use=yes
46205 else
46206   echo "$as_me: failed program was:" >&5
46207 sed 's/^/| /' conftest.$ac_ext >&5
46208
46209 glibcxx_cv_func_hypot_use=no
46210 fi
46211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46212       ac_ext=c
46213 ac_cpp='$CPP $CPPFLAGS'
46214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46217
46218
46219 fi
46220
46221   fi
46222   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
46223 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
46224
46225   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46226
46227 for ac_func in hypot
46228 do
46229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46230 echo "$as_me:$LINENO: checking for $ac_func" >&5
46231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46232 if eval "test \"\${$as_ac_var+set}\" = set"; then
46233   echo $ECHO_N "(cached) $ECHO_C" >&6
46234 else
46235   if test x$gcc_no_link = xyes; then
46236   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46238    { (exit 1); exit 1; }; }
46239 fi
46240 cat >conftest.$ac_ext <<_ACEOF
46241 /* confdefs.h.  */
46242 _ACEOF
46243 cat confdefs.h >>conftest.$ac_ext
46244 cat >>conftest.$ac_ext <<_ACEOF
46245 /* end confdefs.h.  */
46246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46247    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46248 #define $ac_func innocuous_$ac_func
46249
46250 /* System header to define __stub macros and hopefully few prototypes,
46251     which can conflict with char $ac_func (); below.
46252     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46253     <limits.h> exists even on freestanding compilers.  */
46254
46255 #ifdef __STDC__
46256 # include <limits.h>
46257 #else
46258 # include <assert.h>
46259 #endif
46260
46261 #undef $ac_func
46262
46263 /* Override any gcc2 internal prototype to avoid an error.  */
46264 #ifdef __cplusplus
46265 extern "C"
46266 {
46267 #endif
46268 /* We use char because int might match the return type of a gcc2
46269    builtin and then its argument prototype would still apply.  */
46270 char $ac_func ();
46271 /* The GNU C library defines this for functions which it implements
46272     to always fail with ENOSYS.  Some functions are actually named
46273     something starting with __ and the normal name is an alias.  */
46274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46275 choke me
46276 #else
46277 char (*f) () = $ac_func;
46278 #endif
46279 #ifdef __cplusplus
46280 }
46281 #endif
46282
46283 int
46284 main ()
46285 {
46286 return f != $ac_func;
46287   ;
46288   return 0;
46289 }
46290 _ACEOF
46291 rm -f conftest.$ac_objext conftest$ac_exeext
46292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46293   (eval $ac_link) 2>conftest.er1
46294   ac_status=$?
46295   grep -v '^ *+' conftest.er1 >conftest.err
46296   rm -f conftest.er1
46297   cat conftest.err >&5
46298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46299   (exit $ac_status); } &&
46300          { ac_try='test -z "$ac_c_werror_flag"
46301                          || test ! -s conftest.err'
46302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46303   (eval $ac_try) 2>&5
46304   ac_status=$?
46305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46306   (exit $ac_status); }; } &&
46307          { ac_try='test -s conftest$ac_exeext'
46308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46309   (eval $ac_try) 2>&5
46310   ac_status=$?
46311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46312   (exit $ac_status); }; }; then
46313   eval "$as_ac_var=yes"
46314 else
46315   echo "$as_me: failed program was:" >&5
46316 sed 's/^/| /' conftest.$ac_ext >&5
46317
46318 eval "$as_ac_var=no"
46319 fi
46320 rm -f conftest.err conftest.$ac_objext \
46321       conftest$ac_exeext conftest.$ac_ext
46322 fi
46323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46325 if test `eval echo '${'$as_ac_var'}'` = yes; then
46326   cat >>confdefs.h <<_ACEOF
46327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46328 _ACEOF
46329
46330 fi
46331 done
46332
46333   else
46334
46335   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
46336 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
46337   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46338     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
46339   echo $ECHO_N "(cached) $ECHO_C" >&6
46340 else
46341
46342
46343
46344       ac_ext=cc
46345 ac_cpp='$CXXCPP $CPPFLAGS'
46346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46349
46350       cat >conftest.$ac_ext <<_ACEOF
46351 /* confdefs.h.  */
46352 _ACEOF
46353 cat confdefs.h >>conftest.$ac_ext
46354 cat >>conftest.$ac_ext <<_ACEOF
46355 /* end confdefs.h.  */
46356 #include <math.h>
46357 int
46358 main ()
46359 {
46360  _hypot(0, 0);
46361   ;
46362   return 0;
46363 }
46364 _ACEOF
46365 rm -f conftest.$ac_objext
46366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46367   (eval $ac_compile) 2>conftest.er1
46368   ac_status=$?
46369   grep -v '^ *+' conftest.er1 >conftest.err
46370   rm -f conftest.er1
46371   cat conftest.err >&5
46372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46373   (exit $ac_status); } &&
46374          { ac_try='test -z "$ac_cxx_werror_flag"
46375                          || test ! -s conftest.err'
46376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46377   (eval $ac_try) 2>&5
46378   ac_status=$?
46379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46380   (exit $ac_status); }; } &&
46381          { ac_try='test -s conftest.$ac_objext'
46382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46383   (eval $ac_try) 2>&5
46384   ac_status=$?
46385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46386   (exit $ac_status); }; }; then
46387   glibcxx_cv_func__hypot_use=yes
46388 else
46389   echo "$as_me: failed program was:" >&5
46390 sed 's/^/| /' conftest.$ac_ext >&5
46391
46392 glibcxx_cv_func__hypot_use=no
46393 fi
46394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46395       ac_ext=c
46396 ac_cpp='$CPP $CPPFLAGS'
46397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46400
46401
46402 fi
46403
46404   fi
46405   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
46406 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
46407
46408     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46409
46410 for ac_func in _hypot
46411 do
46412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46413 echo "$as_me:$LINENO: checking for $ac_func" >&5
46414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46415 if eval "test \"\${$as_ac_var+set}\" = set"; then
46416   echo $ECHO_N "(cached) $ECHO_C" >&6
46417 else
46418   if test x$gcc_no_link = xyes; then
46419   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46421    { (exit 1); exit 1; }; }
46422 fi
46423 cat >conftest.$ac_ext <<_ACEOF
46424 /* confdefs.h.  */
46425 _ACEOF
46426 cat confdefs.h >>conftest.$ac_ext
46427 cat >>conftest.$ac_ext <<_ACEOF
46428 /* end confdefs.h.  */
46429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46430    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46431 #define $ac_func innocuous_$ac_func
46432
46433 /* System header to define __stub macros and hopefully few prototypes,
46434     which can conflict with char $ac_func (); below.
46435     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46436     <limits.h> exists even on freestanding compilers.  */
46437
46438 #ifdef __STDC__
46439 # include <limits.h>
46440 #else
46441 # include <assert.h>
46442 #endif
46443
46444 #undef $ac_func
46445
46446 /* Override any gcc2 internal prototype to avoid an error.  */
46447 #ifdef __cplusplus
46448 extern "C"
46449 {
46450 #endif
46451 /* We use char because int might match the return type of a gcc2
46452    builtin and then its argument prototype would still apply.  */
46453 char $ac_func ();
46454 /* The GNU C library defines this for functions which it implements
46455     to always fail with ENOSYS.  Some functions are actually named
46456     something starting with __ and the normal name is an alias.  */
46457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46458 choke me
46459 #else
46460 char (*f) () = $ac_func;
46461 #endif
46462 #ifdef __cplusplus
46463 }
46464 #endif
46465
46466 int
46467 main ()
46468 {
46469 return f != $ac_func;
46470   ;
46471   return 0;
46472 }
46473 _ACEOF
46474 rm -f conftest.$ac_objext conftest$ac_exeext
46475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46476   (eval $ac_link) 2>conftest.er1
46477   ac_status=$?
46478   grep -v '^ *+' conftest.er1 >conftest.err
46479   rm -f conftest.er1
46480   cat conftest.err >&5
46481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46482   (exit $ac_status); } &&
46483          { ac_try='test -z "$ac_c_werror_flag"
46484                          || test ! -s conftest.err'
46485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46486   (eval $ac_try) 2>&5
46487   ac_status=$?
46488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46489   (exit $ac_status); }; } &&
46490          { ac_try='test -s conftest$ac_exeext'
46491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46492   (eval $ac_try) 2>&5
46493   ac_status=$?
46494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46495   (exit $ac_status); }; }; then
46496   eval "$as_ac_var=yes"
46497 else
46498   echo "$as_me: failed program was:" >&5
46499 sed 's/^/| /' conftest.$ac_ext >&5
46500
46501 eval "$as_ac_var=no"
46502 fi
46503 rm -f conftest.err conftest.$ac_objext \
46504       conftest$ac_exeext conftest.$ac_ext
46505 fi
46506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46508 if test `eval echo '${'$as_ac_var'}'` = yes; then
46509   cat >>confdefs.h <<_ACEOF
46510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46511 _ACEOF
46512
46513 fi
46514 done
46515
46516     fi
46517   fi
46518
46519
46520
46521
46522
46523
46524     echo "$as_me:$LINENO: checking for float trig functions" >&5
46525 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
46526   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
46527   echo $ECHO_N "(cached) $ECHO_C" >&6
46528 else
46529
46530
46531
46532     ac_ext=cc
46533 ac_cpp='$CXXCPP $CPPFLAGS'
46534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46537
46538     cat >conftest.$ac_ext <<_ACEOF
46539 /* confdefs.h.  */
46540 _ACEOF
46541 cat confdefs.h >>conftest.$ac_ext
46542 cat >>conftest.$ac_ext <<_ACEOF
46543 /* end confdefs.h.  */
46544 #include <math.h>
46545 int
46546 main ()
46547 {
46548 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46549   ;
46550   return 0;
46551 }
46552 _ACEOF
46553 rm -f conftest.$ac_objext
46554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46555   (eval $ac_compile) 2>conftest.er1
46556   ac_status=$?
46557   grep -v '^ *+' conftest.er1 >conftest.err
46558   rm -f conftest.er1
46559   cat conftest.err >&5
46560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46561   (exit $ac_status); } &&
46562          { ac_try='test -z "$ac_cxx_werror_flag"
46563                          || test ! -s conftest.err'
46564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46565   (eval $ac_try) 2>&5
46566   ac_status=$?
46567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46568   (exit $ac_status); }; } &&
46569          { ac_try='test -s conftest.$ac_objext'
46570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46571   (eval $ac_try) 2>&5
46572   ac_status=$?
46573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46574   (exit $ac_status); }; }; then
46575   glibcxx_cv_func_float_trig_use=yes
46576 else
46577   echo "$as_me: failed program was:" >&5
46578 sed 's/^/| /' conftest.$ac_ext >&5
46579
46580 glibcxx_cv_func_float_trig_use=no
46581 fi
46582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46583     ac_ext=c
46584 ac_cpp='$CPP $CPPFLAGS'
46585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46588
46589 fi
46590
46591   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
46592 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
46593   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46594
46595
46596
46597
46598
46599
46600
46601
46602
46603 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46604 do
46605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46606 echo "$as_me:$LINENO: checking for $ac_func" >&5
46607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46608 if eval "test \"\${$as_ac_var+set}\" = set"; then
46609   echo $ECHO_N "(cached) $ECHO_C" >&6
46610 else
46611   if test x$gcc_no_link = xyes; then
46612   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46614    { (exit 1); exit 1; }; }
46615 fi
46616 cat >conftest.$ac_ext <<_ACEOF
46617 /* confdefs.h.  */
46618 _ACEOF
46619 cat confdefs.h >>conftest.$ac_ext
46620 cat >>conftest.$ac_ext <<_ACEOF
46621 /* end confdefs.h.  */
46622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46623    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46624 #define $ac_func innocuous_$ac_func
46625
46626 /* System header to define __stub macros and hopefully few prototypes,
46627     which can conflict with char $ac_func (); below.
46628     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46629     <limits.h> exists even on freestanding compilers.  */
46630
46631 #ifdef __STDC__
46632 # include <limits.h>
46633 #else
46634 # include <assert.h>
46635 #endif
46636
46637 #undef $ac_func
46638
46639 /* Override any gcc2 internal prototype to avoid an error.  */
46640 #ifdef __cplusplus
46641 extern "C"
46642 {
46643 #endif
46644 /* We use char because int might match the return type of a gcc2
46645    builtin and then its argument prototype would still apply.  */
46646 char $ac_func ();
46647 /* The GNU C library defines this for functions which it implements
46648     to always fail with ENOSYS.  Some functions are actually named
46649     something starting with __ and the normal name is an alias.  */
46650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46651 choke me
46652 #else
46653 char (*f) () = $ac_func;
46654 #endif
46655 #ifdef __cplusplus
46656 }
46657 #endif
46658
46659 int
46660 main ()
46661 {
46662 return f != $ac_func;
46663   ;
46664   return 0;
46665 }
46666 _ACEOF
46667 rm -f conftest.$ac_objext conftest$ac_exeext
46668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46669   (eval $ac_link) 2>conftest.er1
46670   ac_status=$?
46671   grep -v '^ *+' conftest.er1 >conftest.err
46672   rm -f conftest.er1
46673   cat conftest.err >&5
46674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46675   (exit $ac_status); } &&
46676          { ac_try='test -z "$ac_c_werror_flag"
46677                          || test ! -s conftest.err'
46678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46679   (eval $ac_try) 2>&5
46680   ac_status=$?
46681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46682   (exit $ac_status); }; } &&
46683          { ac_try='test -s conftest$ac_exeext'
46684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46685   (eval $ac_try) 2>&5
46686   ac_status=$?
46687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46688   (exit $ac_status); }; }; then
46689   eval "$as_ac_var=yes"
46690 else
46691   echo "$as_me: failed program was:" >&5
46692 sed 's/^/| /' conftest.$ac_ext >&5
46693
46694 eval "$as_ac_var=no"
46695 fi
46696 rm -f conftest.err conftest.$ac_objext \
46697       conftest$ac_exeext conftest.$ac_ext
46698 fi
46699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46701 if test `eval echo '${'$as_ac_var'}'` = yes; then
46702   cat >>confdefs.h <<_ACEOF
46703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46704 _ACEOF
46705
46706 fi
46707 done
46708
46709   else
46710     echo "$as_me:$LINENO: checking for _float trig functions" >&5
46711 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
46712     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
46713   echo $ECHO_N "(cached) $ECHO_C" >&6
46714 else
46715
46716
46717
46718       ac_ext=cc
46719 ac_cpp='$CXXCPP $CPPFLAGS'
46720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46723
46724       cat >conftest.$ac_ext <<_ACEOF
46725 /* confdefs.h.  */
46726 _ACEOF
46727 cat confdefs.h >>conftest.$ac_ext
46728 cat >>conftest.$ac_ext <<_ACEOF
46729 /* end confdefs.h.  */
46730 #include <math.h>
46731 int
46732 main ()
46733 {
46734 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46735   ;
46736   return 0;
46737 }
46738 _ACEOF
46739 rm -f conftest.$ac_objext
46740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46741   (eval $ac_compile) 2>conftest.er1
46742   ac_status=$?
46743   grep -v '^ *+' conftest.er1 >conftest.err
46744   rm -f conftest.er1
46745   cat conftest.err >&5
46746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46747   (exit $ac_status); } &&
46748          { ac_try='test -z "$ac_cxx_werror_flag"
46749                          || test ! -s conftest.err'
46750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46751   (eval $ac_try) 2>&5
46752   ac_status=$?
46753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46754   (exit $ac_status); }; } &&
46755          { ac_try='test -s conftest.$ac_objext'
46756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46757   (eval $ac_try) 2>&5
46758   ac_status=$?
46759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46760   (exit $ac_status); }; }; then
46761   glibcxx_cv_func__float_trig_use=yes
46762 else
46763   echo "$as_me: failed program was:" >&5
46764 sed 's/^/| /' conftest.$ac_ext >&5
46765
46766 glibcxx_cv_func__float_trig_use=no
46767 fi
46768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46769       ac_ext=c
46770 ac_cpp='$CPP $CPPFLAGS'
46771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46774
46775 fi
46776
46777     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
46778 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
46779     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46780
46781
46782
46783
46784
46785
46786
46787
46788
46789 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46790 do
46791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46792 echo "$as_me:$LINENO: checking for $ac_func" >&5
46793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46794 if eval "test \"\${$as_ac_var+set}\" = set"; then
46795   echo $ECHO_N "(cached) $ECHO_C" >&6
46796 else
46797   if test x$gcc_no_link = xyes; then
46798   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46800    { (exit 1); exit 1; }; }
46801 fi
46802 cat >conftest.$ac_ext <<_ACEOF
46803 /* confdefs.h.  */
46804 _ACEOF
46805 cat confdefs.h >>conftest.$ac_ext
46806 cat >>conftest.$ac_ext <<_ACEOF
46807 /* end confdefs.h.  */
46808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46809    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46810 #define $ac_func innocuous_$ac_func
46811
46812 /* System header to define __stub macros and hopefully few prototypes,
46813     which can conflict with char $ac_func (); below.
46814     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46815     <limits.h> exists even on freestanding compilers.  */
46816
46817 #ifdef __STDC__
46818 # include <limits.h>
46819 #else
46820 # include <assert.h>
46821 #endif
46822
46823 #undef $ac_func
46824
46825 /* Override any gcc2 internal prototype to avoid an error.  */
46826 #ifdef __cplusplus
46827 extern "C"
46828 {
46829 #endif
46830 /* We use char because int might match the return type of a gcc2
46831    builtin and then its argument prototype would still apply.  */
46832 char $ac_func ();
46833 /* The GNU C library defines this for functions which it implements
46834     to always fail with ENOSYS.  Some functions are actually named
46835     something starting with __ and the normal name is an alias.  */
46836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46837 choke me
46838 #else
46839 char (*f) () = $ac_func;
46840 #endif
46841 #ifdef __cplusplus
46842 }
46843 #endif
46844
46845 int
46846 main ()
46847 {
46848 return f != $ac_func;
46849   ;
46850   return 0;
46851 }
46852 _ACEOF
46853 rm -f conftest.$ac_objext conftest$ac_exeext
46854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46855   (eval $ac_link) 2>conftest.er1
46856   ac_status=$?
46857   grep -v '^ *+' conftest.er1 >conftest.err
46858   rm -f conftest.er1
46859   cat conftest.err >&5
46860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46861   (exit $ac_status); } &&
46862          { ac_try='test -z "$ac_c_werror_flag"
46863                          || test ! -s conftest.err'
46864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46865   (eval $ac_try) 2>&5
46866   ac_status=$?
46867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46868   (exit $ac_status); }; } &&
46869          { ac_try='test -s conftest$ac_exeext'
46870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46871   (eval $ac_try) 2>&5
46872   ac_status=$?
46873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46874   (exit $ac_status); }; }; then
46875   eval "$as_ac_var=yes"
46876 else
46877   echo "$as_me: failed program was:" >&5
46878 sed 's/^/| /' conftest.$ac_ext >&5
46879
46880 eval "$as_ac_var=no"
46881 fi
46882 rm -f conftest.err conftest.$ac_objext \
46883       conftest$ac_exeext conftest.$ac_ext
46884 fi
46885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46887 if test `eval echo '${'$as_ac_var'}'` = yes; then
46888   cat >>confdefs.h <<_ACEOF
46889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46890 _ACEOF
46891
46892 fi
46893 done
46894
46895     fi
46896   fi
46897
46898
46899
46900
46901
46902
46903
46904
46905
46906
46907
46908
46909
46910
46911     echo "$as_me:$LINENO: checking for float round functions" >&5
46912 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
46913   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
46914   echo $ECHO_N "(cached) $ECHO_C" >&6
46915 else
46916
46917
46918
46919     ac_ext=cc
46920 ac_cpp='$CXXCPP $CPPFLAGS'
46921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46924
46925     cat >conftest.$ac_ext <<_ACEOF
46926 /* confdefs.h.  */
46927 _ACEOF
46928 cat confdefs.h >>conftest.$ac_ext
46929 cat >>conftest.$ac_ext <<_ACEOF
46930 /* end confdefs.h.  */
46931 #include <math.h>
46932 int
46933 main ()
46934 {
46935 ceilf (0); floorf (0);
46936   ;
46937   return 0;
46938 }
46939 _ACEOF
46940 rm -f conftest.$ac_objext
46941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46942   (eval $ac_compile) 2>conftest.er1
46943   ac_status=$?
46944   grep -v '^ *+' conftest.er1 >conftest.err
46945   rm -f conftest.er1
46946   cat conftest.err >&5
46947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46948   (exit $ac_status); } &&
46949          { ac_try='test -z "$ac_cxx_werror_flag"
46950                          || test ! -s conftest.err'
46951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46952   (eval $ac_try) 2>&5
46953   ac_status=$?
46954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46955   (exit $ac_status); }; } &&
46956          { ac_try='test -s conftest.$ac_objext'
46957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46958   (eval $ac_try) 2>&5
46959   ac_status=$?
46960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46961   (exit $ac_status); }; }; then
46962   glibcxx_cv_func_float_round_use=yes
46963 else
46964   echo "$as_me: failed program was:" >&5
46965 sed 's/^/| /' conftest.$ac_ext >&5
46966
46967 glibcxx_cv_func_float_round_use=no
46968 fi
46969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46970     ac_ext=c
46971 ac_cpp='$CPP $CPPFLAGS'
46972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46975
46976 fi
46977
46978   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
46979 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
46980   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46981
46982
46983 for ac_func in ceilf floorf
46984 do
46985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46986 echo "$as_me:$LINENO: checking for $ac_func" >&5
46987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46988 if eval "test \"\${$as_ac_var+set}\" = set"; then
46989   echo $ECHO_N "(cached) $ECHO_C" >&6
46990 else
46991   if test x$gcc_no_link = xyes; then
46992   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46994    { (exit 1); exit 1; }; }
46995 fi
46996 cat >conftest.$ac_ext <<_ACEOF
46997 /* confdefs.h.  */
46998 _ACEOF
46999 cat confdefs.h >>conftest.$ac_ext
47000 cat >>conftest.$ac_ext <<_ACEOF
47001 /* end confdefs.h.  */
47002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47003    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47004 #define $ac_func innocuous_$ac_func
47005
47006 /* System header to define __stub macros and hopefully few prototypes,
47007     which can conflict with char $ac_func (); below.
47008     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47009     <limits.h> exists even on freestanding compilers.  */
47010
47011 #ifdef __STDC__
47012 # include <limits.h>
47013 #else
47014 # include <assert.h>
47015 #endif
47016
47017 #undef $ac_func
47018
47019 /* Override any gcc2 internal prototype to avoid an error.  */
47020 #ifdef __cplusplus
47021 extern "C"
47022 {
47023 #endif
47024 /* We use char because int might match the return type of a gcc2
47025    builtin and then its argument prototype would still apply.  */
47026 char $ac_func ();
47027 /* The GNU C library defines this for functions which it implements
47028     to always fail with ENOSYS.  Some functions are actually named
47029     something starting with __ and the normal name is an alias.  */
47030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47031 choke me
47032 #else
47033 char (*f) () = $ac_func;
47034 #endif
47035 #ifdef __cplusplus
47036 }
47037 #endif
47038
47039 int
47040 main ()
47041 {
47042 return f != $ac_func;
47043   ;
47044   return 0;
47045 }
47046 _ACEOF
47047 rm -f conftest.$ac_objext conftest$ac_exeext
47048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47049   (eval $ac_link) 2>conftest.er1
47050   ac_status=$?
47051   grep -v '^ *+' conftest.er1 >conftest.err
47052   rm -f conftest.er1
47053   cat conftest.err >&5
47054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47055   (exit $ac_status); } &&
47056          { ac_try='test -z "$ac_c_werror_flag"
47057                          || test ! -s conftest.err'
47058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47059   (eval $ac_try) 2>&5
47060   ac_status=$?
47061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47062   (exit $ac_status); }; } &&
47063          { ac_try='test -s conftest$ac_exeext'
47064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47065   (eval $ac_try) 2>&5
47066   ac_status=$?
47067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47068   (exit $ac_status); }; }; then
47069   eval "$as_ac_var=yes"
47070 else
47071   echo "$as_me: failed program was:" >&5
47072 sed 's/^/| /' conftest.$ac_ext >&5
47073
47074 eval "$as_ac_var=no"
47075 fi
47076 rm -f conftest.err conftest.$ac_objext \
47077       conftest$ac_exeext conftest.$ac_ext
47078 fi
47079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47081 if test `eval echo '${'$as_ac_var'}'` = yes; then
47082   cat >>confdefs.h <<_ACEOF
47083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47084 _ACEOF
47085
47086 fi
47087 done
47088
47089   else
47090     echo "$as_me:$LINENO: checking for _float round functions" >&5
47091 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47092     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47093   echo $ECHO_N "(cached) $ECHO_C" >&6
47094 else
47095
47096
47097
47098       ac_ext=cc
47099 ac_cpp='$CXXCPP $CPPFLAGS'
47100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47103
47104       cat >conftest.$ac_ext <<_ACEOF
47105 /* confdefs.h.  */
47106 _ACEOF
47107 cat confdefs.h >>conftest.$ac_ext
47108 cat >>conftest.$ac_ext <<_ACEOF
47109 /* end confdefs.h.  */
47110 #include <math.h>
47111 int
47112 main ()
47113 {
47114 _ceilf (0); _floorf (0);
47115   ;
47116   return 0;
47117 }
47118 _ACEOF
47119 rm -f conftest.$ac_objext
47120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47121   (eval $ac_compile) 2>conftest.er1
47122   ac_status=$?
47123   grep -v '^ *+' conftest.er1 >conftest.err
47124   rm -f conftest.er1
47125   cat conftest.err >&5
47126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47127   (exit $ac_status); } &&
47128          { ac_try='test -z "$ac_cxx_werror_flag"
47129                          || test ! -s conftest.err'
47130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47131   (eval $ac_try) 2>&5
47132   ac_status=$?
47133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47134   (exit $ac_status); }; } &&
47135          { ac_try='test -s conftest.$ac_objext'
47136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47137   (eval $ac_try) 2>&5
47138   ac_status=$?
47139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47140   (exit $ac_status); }; }; then
47141   glibcxx_cv_func__float_round_use=yes
47142 else
47143   echo "$as_me: failed program was:" >&5
47144 sed 's/^/| /' conftest.$ac_ext >&5
47145
47146 glibcxx_cv_func__float_round_use=no
47147 fi
47148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47149       ac_ext=c
47150 ac_cpp='$CPP $CPPFLAGS'
47151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47154
47155 fi
47156
47157     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47158 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47159     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47160
47161
47162 for ac_func in _ceilf _floorf
47163 do
47164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47165 echo "$as_me:$LINENO: checking for $ac_func" >&5
47166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47167 if eval "test \"\${$as_ac_var+set}\" = set"; then
47168   echo $ECHO_N "(cached) $ECHO_C" >&6
47169 else
47170   if test x$gcc_no_link = xyes; then
47171   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47173    { (exit 1); exit 1; }; }
47174 fi
47175 cat >conftest.$ac_ext <<_ACEOF
47176 /* confdefs.h.  */
47177 _ACEOF
47178 cat confdefs.h >>conftest.$ac_ext
47179 cat >>conftest.$ac_ext <<_ACEOF
47180 /* end confdefs.h.  */
47181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47182    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47183 #define $ac_func innocuous_$ac_func
47184
47185 /* System header to define __stub macros and hopefully few prototypes,
47186     which can conflict with char $ac_func (); below.
47187     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47188     <limits.h> exists even on freestanding compilers.  */
47189
47190 #ifdef __STDC__
47191 # include <limits.h>
47192 #else
47193 # include <assert.h>
47194 #endif
47195
47196 #undef $ac_func
47197
47198 /* Override any gcc2 internal prototype to avoid an error.  */
47199 #ifdef __cplusplus
47200 extern "C"
47201 {
47202 #endif
47203 /* We use char because int might match the return type of a gcc2
47204    builtin and then its argument prototype would still apply.  */
47205 char $ac_func ();
47206 /* The GNU C library defines this for functions which it implements
47207     to always fail with ENOSYS.  Some functions are actually named
47208     something starting with __ and the normal name is an alias.  */
47209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47210 choke me
47211 #else
47212 char (*f) () = $ac_func;
47213 #endif
47214 #ifdef __cplusplus
47215 }
47216 #endif
47217
47218 int
47219 main ()
47220 {
47221 return f != $ac_func;
47222   ;
47223   return 0;
47224 }
47225 _ACEOF
47226 rm -f conftest.$ac_objext conftest$ac_exeext
47227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47228   (eval $ac_link) 2>conftest.er1
47229   ac_status=$?
47230   grep -v '^ *+' conftest.er1 >conftest.err
47231   rm -f conftest.er1
47232   cat conftest.err >&5
47233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47234   (exit $ac_status); } &&
47235          { ac_try='test -z "$ac_c_werror_flag"
47236                          || test ! -s conftest.err'
47237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47238   (eval $ac_try) 2>&5
47239   ac_status=$?
47240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47241   (exit $ac_status); }; } &&
47242          { ac_try='test -s conftest$ac_exeext'
47243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47244   (eval $ac_try) 2>&5
47245   ac_status=$?
47246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47247   (exit $ac_status); }; }; then
47248   eval "$as_ac_var=yes"
47249 else
47250   echo "$as_me: failed program was:" >&5
47251 sed 's/^/| /' conftest.$ac_ext >&5
47252
47253 eval "$as_ac_var=no"
47254 fi
47255 rm -f conftest.err conftest.$ac_objext \
47256       conftest$ac_exeext conftest.$ac_ext
47257 fi
47258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47260 if test `eval echo '${'$as_ac_var'}'` = yes; then
47261   cat >>confdefs.h <<_ACEOF
47262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47263 _ACEOF
47264
47265 fi
47266 done
47267
47268     fi
47269   fi
47270
47271
47272
47273
47274
47275
47276
47277
47278   echo "$as_me:$LINENO: checking for expf declaration" >&5
47279 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
47280   if test x${glibcxx_cv_func_expf_use+set} != xset; then
47281     if test "${glibcxx_cv_func_expf_use+set}" = set; then
47282   echo $ECHO_N "(cached) $ECHO_C" >&6
47283 else
47284
47285
47286
47287       ac_ext=cc
47288 ac_cpp='$CXXCPP $CPPFLAGS'
47289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47292
47293       cat >conftest.$ac_ext <<_ACEOF
47294 /* confdefs.h.  */
47295 _ACEOF
47296 cat confdefs.h >>conftest.$ac_ext
47297 cat >>conftest.$ac_ext <<_ACEOF
47298 /* end confdefs.h.  */
47299 #include <math.h>
47300                       #ifdef HAVE_IEEEFP_H
47301                       #include <ieeefp.h>
47302                       #endif
47303
47304 int
47305 main ()
47306 {
47307  expf(0);
47308   ;
47309   return 0;
47310 }
47311 _ACEOF
47312 rm -f conftest.$ac_objext
47313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47314   (eval $ac_compile) 2>conftest.er1
47315   ac_status=$?
47316   grep -v '^ *+' conftest.er1 >conftest.err
47317   rm -f conftest.er1
47318   cat conftest.err >&5
47319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47320   (exit $ac_status); } &&
47321          { ac_try='test -z "$ac_cxx_werror_flag"
47322                          || test ! -s conftest.err'
47323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47324   (eval $ac_try) 2>&5
47325   ac_status=$?
47326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47327   (exit $ac_status); }; } &&
47328          { ac_try='test -s conftest.$ac_objext'
47329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47330   (eval $ac_try) 2>&5
47331   ac_status=$?
47332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47333   (exit $ac_status); }; }; then
47334   glibcxx_cv_func_expf_use=yes
47335 else
47336   echo "$as_me: failed program was:" >&5
47337 sed 's/^/| /' conftest.$ac_ext >&5
47338
47339 glibcxx_cv_func_expf_use=no
47340 fi
47341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47342       ac_ext=c
47343 ac_cpp='$CPP $CPPFLAGS'
47344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47347
47348
47349 fi
47350
47351   fi
47352   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
47353 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
47354
47355   if test x$glibcxx_cv_func_expf_use = x"yes"; then
47356
47357 for ac_func in expf
47358 do
47359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47360 echo "$as_me:$LINENO: checking for $ac_func" >&5
47361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47362 if eval "test \"\${$as_ac_var+set}\" = set"; then
47363   echo $ECHO_N "(cached) $ECHO_C" >&6
47364 else
47365   if test x$gcc_no_link = xyes; then
47366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47368    { (exit 1); exit 1; }; }
47369 fi
47370 cat >conftest.$ac_ext <<_ACEOF
47371 /* confdefs.h.  */
47372 _ACEOF
47373 cat confdefs.h >>conftest.$ac_ext
47374 cat >>conftest.$ac_ext <<_ACEOF
47375 /* end confdefs.h.  */
47376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47377    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47378 #define $ac_func innocuous_$ac_func
47379
47380 /* System header to define __stub macros and hopefully few prototypes,
47381     which can conflict with char $ac_func (); below.
47382     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47383     <limits.h> exists even on freestanding compilers.  */
47384
47385 #ifdef __STDC__
47386 # include <limits.h>
47387 #else
47388 # include <assert.h>
47389 #endif
47390
47391 #undef $ac_func
47392
47393 /* Override any gcc2 internal prototype to avoid an error.  */
47394 #ifdef __cplusplus
47395 extern "C"
47396 {
47397 #endif
47398 /* We use char because int might match the return type of a gcc2
47399    builtin and then its argument prototype would still apply.  */
47400 char $ac_func ();
47401 /* The GNU C library defines this for functions which it implements
47402     to always fail with ENOSYS.  Some functions are actually named
47403     something starting with __ and the normal name is an alias.  */
47404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47405 choke me
47406 #else
47407 char (*f) () = $ac_func;
47408 #endif
47409 #ifdef __cplusplus
47410 }
47411 #endif
47412
47413 int
47414 main ()
47415 {
47416 return f != $ac_func;
47417   ;
47418   return 0;
47419 }
47420 _ACEOF
47421 rm -f conftest.$ac_objext conftest$ac_exeext
47422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47423   (eval $ac_link) 2>conftest.er1
47424   ac_status=$?
47425   grep -v '^ *+' conftest.er1 >conftest.err
47426   rm -f conftest.er1
47427   cat conftest.err >&5
47428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47429   (exit $ac_status); } &&
47430          { ac_try='test -z "$ac_c_werror_flag"
47431                          || test ! -s conftest.err'
47432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47433   (eval $ac_try) 2>&5
47434   ac_status=$?
47435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47436   (exit $ac_status); }; } &&
47437          { ac_try='test -s conftest$ac_exeext'
47438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47439   (eval $ac_try) 2>&5
47440   ac_status=$?
47441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47442   (exit $ac_status); }; }; then
47443   eval "$as_ac_var=yes"
47444 else
47445   echo "$as_me: failed program was:" >&5
47446 sed 's/^/| /' conftest.$ac_ext >&5
47447
47448 eval "$as_ac_var=no"
47449 fi
47450 rm -f conftest.err conftest.$ac_objext \
47451       conftest$ac_exeext conftest.$ac_ext
47452 fi
47453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47455 if test `eval echo '${'$as_ac_var'}'` = yes; then
47456   cat >>confdefs.h <<_ACEOF
47457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47458 _ACEOF
47459
47460 fi
47461 done
47462
47463   else
47464
47465   echo "$as_me:$LINENO: checking for _expf declaration" >&5
47466 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
47467   if test x${glibcxx_cv_func__expf_use+set} != xset; then
47468     if test "${glibcxx_cv_func__expf_use+set}" = set; then
47469   echo $ECHO_N "(cached) $ECHO_C" >&6
47470 else
47471
47472
47473
47474       ac_ext=cc
47475 ac_cpp='$CXXCPP $CPPFLAGS'
47476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47479
47480       cat >conftest.$ac_ext <<_ACEOF
47481 /* confdefs.h.  */
47482 _ACEOF
47483 cat confdefs.h >>conftest.$ac_ext
47484 cat >>conftest.$ac_ext <<_ACEOF
47485 /* end confdefs.h.  */
47486 #include <math.h>
47487                       #ifdef HAVE_IEEEFP_H
47488                       #include <ieeefp.h>
47489                       #endif
47490
47491 int
47492 main ()
47493 {
47494  _expf(0);
47495   ;
47496   return 0;
47497 }
47498 _ACEOF
47499 rm -f conftest.$ac_objext
47500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47501   (eval $ac_compile) 2>conftest.er1
47502   ac_status=$?
47503   grep -v '^ *+' conftest.er1 >conftest.err
47504   rm -f conftest.er1
47505   cat conftest.err >&5
47506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47507   (exit $ac_status); } &&
47508          { ac_try='test -z "$ac_cxx_werror_flag"
47509                          || test ! -s conftest.err'
47510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47511   (eval $ac_try) 2>&5
47512   ac_status=$?
47513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47514   (exit $ac_status); }; } &&
47515          { ac_try='test -s conftest.$ac_objext'
47516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47517   (eval $ac_try) 2>&5
47518   ac_status=$?
47519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47520   (exit $ac_status); }; }; then
47521   glibcxx_cv_func__expf_use=yes
47522 else
47523   echo "$as_me: failed program was:" >&5
47524 sed 's/^/| /' conftest.$ac_ext >&5
47525
47526 glibcxx_cv_func__expf_use=no
47527 fi
47528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47529       ac_ext=c
47530 ac_cpp='$CPP $CPPFLAGS'
47531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47534
47535
47536 fi
47537
47538   fi
47539   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
47540 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
47541
47542     if test x$glibcxx_cv_func__expf_use = x"yes"; then
47543
47544 for ac_func in _expf
47545 do
47546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47547 echo "$as_me:$LINENO: checking for $ac_func" >&5
47548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47549 if eval "test \"\${$as_ac_var+set}\" = set"; then
47550   echo $ECHO_N "(cached) $ECHO_C" >&6
47551 else
47552   if test x$gcc_no_link = xyes; then
47553   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47555    { (exit 1); exit 1; }; }
47556 fi
47557 cat >conftest.$ac_ext <<_ACEOF
47558 /* confdefs.h.  */
47559 _ACEOF
47560 cat confdefs.h >>conftest.$ac_ext
47561 cat >>conftest.$ac_ext <<_ACEOF
47562 /* end confdefs.h.  */
47563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47564    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47565 #define $ac_func innocuous_$ac_func
47566
47567 /* System header to define __stub macros and hopefully few prototypes,
47568     which can conflict with char $ac_func (); below.
47569     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47570     <limits.h> exists even on freestanding compilers.  */
47571
47572 #ifdef __STDC__
47573 # include <limits.h>
47574 #else
47575 # include <assert.h>
47576 #endif
47577
47578 #undef $ac_func
47579
47580 /* Override any gcc2 internal prototype to avoid an error.  */
47581 #ifdef __cplusplus
47582 extern "C"
47583 {
47584 #endif
47585 /* We use char because int might match the return type of a gcc2
47586    builtin and then its argument prototype would still apply.  */
47587 char $ac_func ();
47588 /* The GNU C library defines this for functions which it implements
47589     to always fail with ENOSYS.  Some functions are actually named
47590     something starting with __ and the normal name is an alias.  */
47591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47592 choke me
47593 #else
47594 char (*f) () = $ac_func;
47595 #endif
47596 #ifdef __cplusplus
47597 }
47598 #endif
47599
47600 int
47601 main ()
47602 {
47603 return f != $ac_func;
47604   ;
47605   return 0;
47606 }
47607 _ACEOF
47608 rm -f conftest.$ac_objext conftest$ac_exeext
47609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47610   (eval $ac_link) 2>conftest.er1
47611   ac_status=$?
47612   grep -v '^ *+' conftest.er1 >conftest.err
47613   rm -f conftest.er1
47614   cat conftest.err >&5
47615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47616   (exit $ac_status); } &&
47617          { ac_try='test -z "$ac_c_werror_flag"
47618                          || test ! -s conftest.err'
47619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47620   (eval $ac_try) 2>&5
47621   ac_status=$?
47622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47623   (exit $ac_status); }; } &&
47624          { ac_try='test -s conftest$ac_exeext'
47625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47626   (eval $ac_try) 2>&5
47627   ac_status=$?
47628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47629   (exit $ac_status); }; }; then
47630   eval "$as_ac_var=yes"
47631 else
47632   echo "$as_me: failed program was:" >&5
47633 sed 's/^/| /' conftest.$ac_ext >&5
47634
47635 eval "$as_ac_var=no"
47636 fi
47637 rm -f conftest.err conftest.$ac_objext \
47638       conftest$ac_exeext conftest.$ac_ext
47639 fi
47640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47642 if test `eval echo '${'$as_ac_var'}'` = yes; then
47643   cat >>confdefs.h <<_ACEOF
47644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47645 _ACEOF
47646
47647 fi
47648 done
47649
47650     fi
47651   fi
47652
47653
47654
47655
47656
47657
47658   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
47659 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
47660   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47661     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
47662   echo $ECHO_N "(cached) $ECHO_C" >&6
47663 else
47664
47665
47666
47667       ac_ext=cc
47668 ac_cpp='$CXXCPP $CPPFLAGS'
47669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47672
47673       cat >conftest.$ac_ext <<_ACEOF
47674 /* confdefs.h.  */
47675 _ACEOF
47676 cat confdefs.h >>conftest.$ac_ext
47677 cat >>conftest.$ac_ext <<_ACEOF
47678 /* end confdefs.h.  */
47679 #include <math.h>
47680                       #ifdef HAVE_IEEEFP_H
47681                       #include <ieeefp.h>
47682                       #endif
47683
47684 int
47685 main ()
47686 {
47687  isnanf(0);
47688   ;
47689   return 0;
47690 }
47691 _ACEOF
47692 rm -f conftest.$ac_objext
47693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47694   (eval $ac_compile) 2>conftest.er1
47695   ac_status=$?
47696   grep -v '^ *+' conftest.er1 >conftest.err
47697   rm -f conftest.er1
47698   cat conftest.err >&5
47699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47700   (exit $ac_status); } &&
47701          { ac_try='test -z "$ac_cxx_werror_flag"
47702                          || test ! -s conftest.err'
47703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47704   (eval $ac_try) 2>&5
47705   ac_status=$?
47706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47707   (exit $ac_status); }; } &&
47708          { ac_try='test -s conftest.$ac_objext'
47709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47710   (eval $ac_try) 2>&5
47711   ac_status=$?
47712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47713   (exit $ac_status); }; }; then
47714   glibcxx_cv_func_isnanf_use=yes
47715 else
47716   echo "$as_me: failed program was:" >&5
47717 sed 's/^/| /' conftest.$ac_ext >&5
47718
47719 glibcxx_cv_func_isnanf_use=no
47720 fi
47721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47722       ac_ext=c
47723 ac_cpp='$CPP $CPPFLAGS'
47724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47727
47728
47729 fi
47730
47731   fi
47732   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
47733 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
47734
47735   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47736
47737 for ac_func in isnanf
47738 do
47739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47740 echo "$as_me:$LINENO: checking for $ac_func" >&5
47741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47742 if eval "test \"\${$as_ac_var+set}\" = set"; then
47743   echo $ECHO_N "(cached) $ECHO_C" >&6
47744 else
47745   if test x$gcc_no_link = xyes; then
47746   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47748    { (exit 1); exit 1; }; }
47749 fi
47750 cat >conftest.$ac_ext <<_ACEOF
47751 /* confdefs.h.  */
47752 _ACEOF
47753 cat confdefs.h >>conftest.$ac_ext
47754 cat >>conftest.$ac_ext <<_ACEOF
47755 /* end confdefs.h.  */
47756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47757    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47758 #define $ac_func innocuous_$ac_func
47759
47760 /* System header to define __stub macros and hopefully few prototypes,
47761     which can conflict with char $ac_func (); below.
47762     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47763     <limits.h> exists even on freestanding compilers.  */
47764
47765 #ifdef __STDC__
47766 # include <limits.h>
47767 #else
47768 # include <assert.h>
47769 #endif
47770
47771 #undef $ac_func
47772
47773 /* Override any gcc2 internal prototype to avoid an error.  */
47774 #ifdef __cplusplus
47775 extern "C"
47776 {
47777 #endif
47778 /* We use char because int might match the return type of a gcc2
47779    builtin and then its argument prototype would still apply.  */
47780 char $ac_func ();
47781 /* The GNU C library defines this for functions which it implements
47782     to always fail with ENOSYS.  Some functions are actually named
47783     something starting with __ and the normal name is an alias.  */
47784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47785 choke me
47786 #else
47787 char (*f) () = $ac_func;
47788 #endif
47789 #ifdef __cplusplus
47790 }
47791 #endif
47792
47793 int
47794 main ()
47795 {
47796 return f != $ac_func;
47797   ;
47798   return 0;
47799 }
47800 _ACEOF
47801 rm -f conftest.$ac_objext conftest$ac_exeext
47802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47803   (eval $ac_link) 2>conftest.er1
47804   ac_status=$?
47805   grep -v '^ *+' conftest.er1 >conftest.err
47806   rm -f conftest.er1
47807   cat conftest.err >&5
47808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47809   (exit $ac_status); } &&
47810          { ac_try='test -z "$ac_c_werror_flag"
47811                          || test ! -s conftest.err'
47812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47813   (eval $ac_try) 2>&5
47814   ac_status=$?
47815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47816   (exit $ac_status); }; } &&
47817          { ac_try='test -s conftest$ac_exeext'
47818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47819   (eval $ac_try) 2>&5
47820   ac_status=$?
47821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47822   (exit $ac_status); }; }; then
47823   eval "$as_ac_var=yes"
47824 else
47825   echo "$as_me: failed program was:" >&5
47826 sed 's/^/| /' conftest.$ac_ext >&5
47827
47828 eval "$as_ac_var=no"
47829 fi
47830 rm -f conftest.err conftest.$ac_objext \
47831       conftest$ac_exeext conftest.$ac_ext
47832 fi
47833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47835 if test `eval echo '${'$as_ac_var'}'` = yes; then
47836   cat >>confdefs.h <<_ACEOF
47837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47838 _ACEOF
47839
47840 fi
47841 done
47842
47843   else
47844
47845   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
47846 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
47847   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47848     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
47849   echo $ECHO_N "(cached) $ECHO_C" >&6
47850 else
47851
47852
47853
47854       ac_ext=cc
47855 ac_cpp='$CXXCPP $CPPFLAGS'
47856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47859
47860       cat >conftest.$ac_ext <<_ACEOF
47861 /* confdefs.h.  */
47862 _ACEOF
47863 cat confdefs.h >>conftest.$ac_ext
47864 cat >>conftest.$ac_ext <<_ACEOF
47865 /* end confdefs.h.  */
47866 #include <math.h>
47867                       #ifdef HAVE_IEEEFP_H
47868                       #include <ieeefp.h>
47869                       #endif
47870
47871 int
47872 main ()
47873 {
47874  _isnanf(0);
47875   ;
47876   return 0;
47877 }
47878 _ACEOF
47879 rm -f conftest.$ac_objext
47880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47881   (eval $ac_compile) 2>conftest.er1
47882   ac_status=$?
47883   grep -v '^ *+' conftest.er1 >conftest.err
47884   rm -f conftest.er1
47885   cat conftest.err >&5
47886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47887   (exit $ac_status); } &&
47888          { ac_try='test -z "$ac_cxx_werror_flag"
47889                          || test ! -s conftest.err'
47890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47891   (eval $ac_try) 2>&5
47892   ac_status=$?
47893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47894   (exit $ac_status); }; } &&
47895          { ac_try='test -s conftest.$ac_objext'
47896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47897   (eval $ac_try) 2>&5
47898   ac_status=$?
47899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47900   (exit $ac_status); }; }; then
47901   glibcxx_cv_func__isnanf_use=yes
47902 else
47903   echo "$as_me: failed program was:" >&5
47904 sed 's/^/| /' conftest.$ac_ext >&5
47905
47906 glibcxx_cv_func__isnanf_use=no
47907 fi
47908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47909       ac_ext=c
47910 ac_cpp='$CPP $CPPFLAGS'
47911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47914
47915
47916 fi
47917
47918   fi
47919   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
47920 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
47921
47922     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47923
47924 for ac_func in _isnanf
47925 do
47926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47927 echo "$as_me:$LINENO: checking for $ac_func" >&5
47928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47929 if eval "test \"\${$as_ac_var+set}\" = set"; then
47930   echo $ECHO_N "(cached) $ECHO_C" >&6
47931 else
47932   if test x$gcc_no_link = xyes; then
47933   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47935    { (exit 1); exit 1; }; }
47936 fi
47937 cat >conftest.$ac_ext <<_ACEOF
47938 /* confdefs.h.  */
47939 _ACEOF
47940 cat confdefs.h >>conftest.$ac_ext
47941 cat >>conftest.$ac_ext <<_ACEOF
47942 /* end confdefs.h.  */
47943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47944    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47945 #define $ac_func innocuous_$ac_func
47946
47947 /* System header to define __stub macros and hopefully few prototypes,
47948     which can conflict with char $ac_func (); below.
47949     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47950     <limits.h> exists even on freestanding compilers.  */
47951
47952 #ifdef __STDC__
47953 # include <limits.h>
47954 #else
47955 # include <assert.h>
47956 #endif
47957
47958 #undef $ac_func
47959
47960 /* Override any gcc2 internal prototype to avoid an error.  */
47961 #ifdef __cplusplus
47962 extern "C"
47963 {
47964 #endif
47965 /* We use char because int might match the return type of a gcc2
47966    builtin and then its argument prototype would still apply.  */
47967 char $ac_func ();
47968 /* The GNU C library defines this for functions which it implements
47969     to always fail with ENOSYS.  Some functions are actually named
47970     something starting with __ and the normal name is an alias.  */
47971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47972 choke me
47973 #else
47974 char (*f) () = $ac_func;
47975 #endif
47976 #ifdef __cplusplus
47977 }
47978 #endif
47979
47980 int
47981 main ()
47982 {
47983 return f != $ac_func;
47984   ;
47985   return 0;
47986 }
47987 _ACEOF
47988 rm -f conftest.$ac_objext conftest$ac_exeext
47989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47990   (eval $ac_link) 2>conftest.er1
47991   ac_status=$?
47992   grep -v '^ *+' conftest.er1 >conftest.err
47993   rm -f conftest.er1
47994   cat conftest.err >&5
47995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47996   (exit $ac_status); } &&
47997          { ac_try='test -z "$ac_c_werror_flag"
47998                          || test ! -s conftest.err'
47999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48000   (eval $ac_try) 2>&5
48001   ac_status=$?
48002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48003   (exit $ac_status); }; } &&
48004          { ac_try='test -s conftest$ac_exeext'
48005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48006   (eval $ac_try) 2>&5
48007   ac_status=$?
48008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48009   (exit $ac_status); }; }; then
48010   eval "$as_ac_var=yes"
48011 else
48012   echo "$as_me: failed program was:" >&5
48013 sed 's/^/| /' conftest.$ac_ext >&5
48014
48015 eval "$as_ac_var=no"
48016 fi
48017 rm -f conftest.err conftest.$ac_objext \
48018       conftest$ac_exeext conftest.$ac_ext
48019 fi
48020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48022 if test `eval echo '${'$as_ac_var'}'` = yes; then
48023   cat >>confdefs.h <<_ACEOF
48024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48025 _ACEOF
48026
48027 fi
48028 done
48029
48030     fi
48031   fi
48032
48033
48034
48035
48036
48037
48038   echo "$as_me:$LINENO: checking for isinff declaration" >&5
48039 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
48040   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48041     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
48042   echo $ECHO_N "(cached) $ECHO_C" >&6
48043 else
48044
48045
48046
48047       ac_ext=cc
48048 ac_cpp='$CXXCPP $CPPFLAGS'
48049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48052
48053       cat >conftest.$ac_ext <<_ACEOF
48054 /* confdefs.h.  */
48055 _ACEOF
48056 cat confdefs.h >>conftest.$ac_ext
48057 cat >>conftest.$ac_ext <<_ACEOF
48058 /* end confdefs.h.  */
48059 #include <math.h>
48060                       #ifdef HAVE_IEEEFP_H
48061                       #include <ieeefp.h>
48062                       #endif
48063
48064 int
48065 main ()
48066 {
48067  isinff(0);
48068   ;
48069   return 0;
48070 }
48071 _ACEOF
48072 rm -f conftest.$ac_objext
48073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48074   (eval $ac_compile) 2>conftest.er1
48075   ac_status=$?
48076   grep -v '^ *+' conftest.er1 >conftest.err
48077   rm -f conftest.er1
48078   cat conftest.err >&5
48079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48080   (exit $ac_status); } &&
48081          { ac_try='test -z "$ac_cxx_werror_flag"
48082                          || test ! -s conftest.err'
48083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48084   (eval $ac_try) 2>&5
48085   ac_status=$?
48086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48087   (exit $ac_status); }; } &&
48088          { ac_try='test -s conftest.$ac_objext'
48089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48090   (eval $ac_try) 2>&5
48091   ac_status=$?
48092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48093   (exit $ac_status); }; }; then
48094   glibcxx_cv_func_isinff_use=yes
48095 else
48096   echo "$as_me: failed program was:" >&5
48097 sed 's/^/| /' conftest.$ac_ext >&5
48098
48099 glibcxx_cv_func_isinff_use=no
48100 fi
48101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48102       ac_ext=c
48103 ac_cpp='$CPP $CPPFLAGS'
48104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48107
48108
48109 fi
48110
48111   fi
48112   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
48113 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
48114
48115   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48116
48117 for ac_func in isinff
48118 do
48119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48120 echo "$as_me:$LINENO: checking for $ac_func" >&5
48121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48122 if eval "test \"\${$as_ac_var+set}\" = set"; then
48123   echo $ECHO_N "(cached) $ECHO_C" >&6
48124 else
48125   if test x$gcc_no_link = xyes; then
48126   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48128    { (exit 1); exit 1; }; }
48129 fi
48130 cat >conftest.$ac_ext <<_ACEOF
48131 /* confdefs.h.  */
48132 _ACEOF
48133 cat confdefs.h >>conftest.$ac_ext
48134 cat >>conftest.$ac_ext <<_ACEOF
48135 /* end confdefs.h.  */
48136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48137    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48138 #define $ac_func innocuous_$ac_func
48139
48140 /* System header to define __stub macros and hopefully few prototypes,
48141     which can conflict with char $ac_func (); below.
48142     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48143     <limits.h> exists even on freestanding compilers.  */
48144
48145 #ifdef __STDC__
48146 # include <limits.h>
48147 #else
48148 # include <assert.h>
48149 #endif
48150
48151 #undef $ac_func
48152
48153 /* Override any gcc2 internal prototype to avoid an error.  */
48154 #ifdef __cplusplus
48155 extern "C"
48156 {
48157 #endif
48158 /* We use char because int might match the return type of a gcc2
48159    builtin and then its argument prototype would still apply.  */
48160 char $ac_func ();
48161 /* The GNU C library defines this for functions which it implements
48162     to always fail with ENOSYS.  Some functions are actually named
48163     something starting with __ and the normal name is an alias.  */
48164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48165 choke me
48166 #else
48167 char (*f) () = $ac_func;
48168 #endif
48169 #ifdef __cplusplus
48170 }
48171 #endif
48172
48173 int
48174 main ()
48175 {
48176 return f != $ac_func;
48177   ;
48178   return 0;
48179 }
48180 _ACEOF
48181 rm -f conftest.$ac_objext conftest$ac_exeext
48182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48183   (eval $ac_link) 2>conftest.er1
48184   ac_status=$?
48185   grep -v '^ *+' conftest.er1 >conftest.err
48186   rm -f conftest.er1
48187   cat conftest.err >&5
48188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48189   (exit $ac_status); } &&
48190          { ac_try='test -z "$ac_c_werror_flag"
48191                          || test ! -s conftest.err'
48192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48193   (eval $ac_try) 2>&5
48194   ac_status=$?
48195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48196   (exit $ac_status); }; } &&
48197          { ac_try='test -s conftest$ac_exeext'
48198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48199   (eval $ac_try) 2>&5
48200   ac_status=$?
48201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48202   (exit $ac_status); }; }; then
48203   eval "$as_ac_var=yes"
48204 else
48205   echo "$as_me: failed program was:" >&5
48206 sed 's/^/| /' conftest.$ac_ext >&5
48207
48208 eval "$as_ac_var=no"
48209 fi
48210 rm -f conftest.err conftest.$ac_objext \
48211       conftest$ac_exeext conftest.$ac_ext
48212 fi
48213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48215 if test `eval echo '${'$as_ac_var'}'` = yes; then
48216   cat >>confdefs.h <<_ACEOF
48217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48218 _ACEOF
48219
48220 fi
48221 done
48222
48223   else
48224
48225   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
48226 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
48227   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48228     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
48229   echo $ECHO_N "(cached) $ECHO_C" >&6
48230 else
48231
48232
48233
48234       ac_ext=cc
48235 ac_cpp='$CXXCPP $CPPFLAGS'
48236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48239
48240       cat >conftest.$ac_ext <<_ACEOF
48241 /* confdefs.h.  */
48242 _ACEOF
48243 cat confdefs.h >>conftest.$ac_ext
48244 cat >>conftest.$ac_ext <<_ACEOF
48245 /* end confdefs.h.  */
48246 #include <math.h>
48247                       #ifdef HAVE_IEEEFP_H
48248                       #include <ieeefp.h>
48249                       #endif
48250
48251 int
48252 main ()
48253 {
48254  _isinff(0);
48255   ;
48256   return 0;
48257 }
48258 _ACEOF
48259 rm -f conftest.$ac_objext
48260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48261   (eval $ac_compile) 2>conftest.er1
48262   ac_status=$?
48263   grep -v '^ *+' conftest.er1 >conftest.err
48264   rm -f conftest.er1
48265   cat conftest.err >&5
48266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48267   (exit $ac_status); } &&
48268          { ac_try='test -z "$ac_cxx_werror_flag"
48269                          || test ! -s conftest.err'
48270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48271   (eval $ac_try) 2>&5
48272   ac_status=$?
48273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48274   (exit $ac_status); }; } &&
48275          { ac_try='test -s conftest.$ac_objext'
48276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48277   (eval $ac_try) 2>&5
48278   ac_status=$?
48279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48280   (exit $ac_status); }; }; then
48281   glibcxx_cv_func__isinff_use=yes
48282 else
48283   echo "$as_me: failed program was:" >&5
48284 sed 's/^/| /' conftest.$ac_ext >&5
48285
48286 glibcxx_cv_func__isinff_use=no
48287 fi
48288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48289       ac_ext=c
48290 ac_cpp='$CPP $CPPFLAGS'
48291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48294
48295
48296 fi
48297
48298   fi
48299   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
48300 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
48301
48302     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48303
48304 for ac_func in _isinff
48305 do
48306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48307 echo "$as_me:$LINENO: checking for $ac_func" >&5
48308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48309 if eval "test \"\${$as_ac_var+set}\" = set"; then
48310   echo $ECHO_N "(cached) $ECHO_C" >&6
48311 else
48312   if test x$gcc_no_link = xyes; then
48313   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48315    { (exit 1); exit 1; }; }
48316 fi
48317 cat >conftest.$ac_ext <<_ACEOF
48318 /* confdefs.h.  */
48319 _ACEOF
48320 cat confdefs.h >>conftest.$ac_ext
48321 cat >>conftest.$ac_ext <<_ACEOF
48322 /* end confdefs.h.  */
48323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48324    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48325 #define $ac_func innocuous_$ac_func
48326
48327 /* System header to define __stub macros and hopefully few prototypes,
48328     which can conflict with char $ac_func (); below.
48329     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48330     <limits.h> exists even on freestanding compilers.  */
48331
48332 #ifdef __STDC__
48333 # include <limits.h>
48334 #else
48335 # include <assert.h>
48336 #endif
48337
48338 #undef $ac_func
48339
48340 /* Override any gcc2 internal prototype to avoid an error.  */
48341 #ifdef __cplusplus
48342 extern "C"
48343 {
48344 #endif
48345 /* We use char because int might match the return type of a gcc2
48346    builtin and then its argument prototype would still apply.  */
48347 char $ac_func ();
48348 /* The GNU C library defines this for functions which it implements
48349     to always fail with ENOSYS.  Some functions are actually named
48350     something starting with __ and the normal name is an alias.  */
48351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48352 choke me
48353 #else
48354 char (*f) () = $ac_func;
48355 #endif
48356 #ifdef __cplusplus
48357 }
48358 #endif
48359
48360 int
48361 main ()
48362 {
48363 return f != $ac_func;
48364   ;
48365   return 0;
48366 }
48367 _ACEOF
48368 rm -f conftest.$ac_objext conftest$ac_exeext
48369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48370   (eval $ac_link) 2>conftest.er1
48371   ac_status=$?
48372   grep -v '^ *+' conftest.er1 >conftest.err
48373   rm -f conftest.er1
48374   cat conftest.err >&5
48375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48376   (exit $ac_status); } &&
48377          { ac_try='test -z "$ac_c_werror_flag"
48378                          || test ! -s conftest.err'
48379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48380   (eval $ac_try) 2>&5
48381   ac_status=$?
48382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48383   (exit $ac_status); }; } &&
48384          { ac_try='test -s conftest$ac_exeext'
48385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48386   (eval $ac_try) 2>&5
48387   ac_status=$?
48388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48389   (exit $ac_status); }; }; then
48390   eval "$as_ac_var=yes"
48391 else
48392   echo "$as_me: failed program was:" >&5
48393 sed 's/^/| /' conftest.$ac_ext >&5
48394
48395 eval "$as_ac_var=no"
48396 fi
48397 rm -f conftest.err conftest.$ac_objext \
48398       conftest$ac_exeext conftest.$ac_ext
48399 fi
48400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48402 if test `eval echo '${'$as_ac_var'}'` = yes; then
48403   cat >>confdefs.h <<_ACEOF
48404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48405 _ACEOF
48406
48407 fi
48408 done
48409
48410     fi
48411   fi
48412
48413
48414
48415
48416
48417
48418   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
48419 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
48420   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48421     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
48422   echo $ECHO_N "(cached) $ECHO_C" >&6
48423 else
48424
48425
48426
48427       ac_ext=cc
48428 ac_cpp='$CXXCPP $CPPFLAGS'
48429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48432
48433       cat >conftest.$ac_ext <<_ACEOF
48434 /* confdefs.h.  */
48435 _ACEOF
48436 cat confdefs.h >>conftest.$ac_ext
48437 cat >>conftest.$ac_ext <<_ACEOF
48438 /* end confdefs.h.  */
48439 #include <math.h>
48440 int
48441 main ()
48442 {
48443  atan2f(0, 0);
48444   ;
48445   return 0;
48446 }
48447 _ACEOF
48448 rm -f conftest.$ac_objext
48449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48450   (eval $ac_compile) 2>conftest.er1
48451   ac_status=$?
48452   grep -v '^ *+' conftest.er1 >conftest.err
48453   rm -f conftest.er1
48454   cat conftest.err >&5
48455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48456   (exit $ac_status); } &&
48457          { ac_try='test -z "$ac_cxx_werror_flag"
48458                          || test ! -s conftest.err'
48459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48460   (eval $ac_try) 2>&5
48461   ac_status=$?
48462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48463   (exit $ac_status); }; } &&
48464          { ac_try='test -s conftest.$ac_objext'
48465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48466   (eval $ac_try) 2>&5
48467   ac_status=$?
48468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48469   (exit $ac_status); }; }; then
48470   glibcxx_cv_func_atan2f_use=yes
48471 else
48472   echo "$as_me: failed program was:" >&5
48473 sed 's/^/| /' conftest.$ac_ext >&5
48474
48475 glibcxx_cv_func_atan2f_use=no
48476 fi
48477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48478       ac_ext=c
48479 ac_cpp='$CPP $CPPFLAGS'
48480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48483
48484
48485 fi
48486
48487   fi
48488   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
48489 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
48490
48491   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48492
48493 for ac_func in atan2f
48494 do
48495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48496 echo "$as_me:$LINENO: checking for $ac_func" >&5
48497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48498 if eval "test \"\${$as_ac_var+set}\" = set"; then
48499   echo $ECHO_N "(cached) $ECHO_C" >&6
48500 else
48501   if test x$gcc_no_link = xyes; then
48502   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48504    { (exit 1); exit 1; }; }
48505 fi
48506 cat >conftest.$ac_ext <<_ACEOF
48507 /* confdefs.h.  */
48508 _ACEOF
48509 cat confdefs.h >>conftest.$ac_ext
48510 cat >>conftest.$ac_ext <<_ACEOF
48511 /* end confdefs.h.  */
48512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48513    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48514 #define $ac_func innocuous_$ac_func
48515
48516 /* System header to define __stub macros and hopefully few prototypes,
48517     which can conflict with char $ac_func (); below.
48518     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48519     <limits.h> exists even on freestanding compilers.  */
48520
48521 #ifdef __STDC__
48522 # include <limits.h>
48523 #else
48524 # include <assert.h>
48525 #endif
48526
48527 #undef $ac_func
48528
48529 /* Override any gcc2 internal prototype to avoid an error.  */
48530 #ifdef __cplusplus
48531 extern "C"
48532 {
48533 #endif
48534 /* We use char because int might match the return type of a gcc2
48535    builtin and then its argument prototype would still apply.  */
48536 char $ac_func ();
48537 /* The GNU C library defines this for functions which it implements
48538     to always fail with ENOSYS.  Some functions are actually named
48539     something starting with __ and the normal name is an alias.  */
48540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48541 choke me
48542 #else
48543 char (*f) () = $ac_func;
48544 #endif
48545 #ifdef __cplusplus
48546 }
48547 #endif
48548
48549 int
48550 main ()
48551 {
48552 return f != $ac_func;
48553   ;
48554   return 0;
48555 }
48556 _ACEOF
48557 rm -f conftest.$ac_objext conftest$ac_exeext
48558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48559   (eval $ac_link) 2>conftest.er1
48560   ac_status=$?
48561   grep -v '^ *+' conftest.er1 >conftest.err
48562   rm -f conftest.er1
48563   cat conftest.err >&5
48564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48565   (exit $ac_status); } &&
48566          { ac_try='test -z "$ac_c_werror_flag"
48567                          || test ! -s conftest.err'
48568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48569   (eval $ac_try) 2>&5
48570   ac_status=$?
48571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48572   (exit $ac_status); }; } &&
48573          { ac_try='test -s conftest$ac_exeext'
48574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48575   (eval $ac_try) 2>&5
48576   ac_status=$?
48577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48578   (exit $ac_status); }; }; then
48579   eval "$as_ac_var=yes"
48580 else
48581   echo "$as_me: failed program was:" >&5
48582 sed 's/^/| /' conftest.$ac_ext >&5
48583
48584 eval "$as_ac_var=no"
48585 fi
48586 rm -f conftest.err conftest.$ac_objext \
48587       conftest$ac_exeext conftest.$ac_ext
48588 fi
48589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48591 if test `eval echo '${'$as_ac_var'}'` = yes; then
48592   cat >>confdefs.h <<_ACEOF
48593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48594 _ACEOF
48595
48596 fi
48597 done
48598
48599   else
48600
48601   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
48602 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
48603   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48604     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
48605   echo $ECHO_N "(cached) $ECHO_C" >&6
48606 else
48607
48608
48609
48610       ac_ext=cc
48611 ac_cpp='$CXXCPP $CPPFLAGS'
48612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48615
48616       cat >conftest.$ac_ext <<_ACEOF
48617 /* confdefs.h.  */
48618 _ACEOF
48619 cat confdefs.h >>conftest.$ac_ext
48620 cat >>conftest.$ac_ext <<_ACEOF
48621 /* end confdefs.h.  */
48622 #include <math.h>
48623 int
48624 main ()
48625 {
48626  _atan2f(0, 0);
48627   ;
48628   return 0;
48629 }
48630 _ACEOF
48631 rm -f conftest.$ac_objext
48632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48633   (eval $ac_compile) 2>conftest.er1
48634   ac_status=$?
48635   grep -v '^ *+' conftest.er1 >conftest.err
48636   rm -f conftest.er1
48637   cat conftest.err >&5
48638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48639   (exit $ac_status); } &&
48640          { ac_try='test -z "$ac_cxx_werror_flag"
48641                          || test ! -s conftest.err'
48642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48643   (eval $ac_try) 2>&5
48644   ac_status=$?
48645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48646   (exit $ac_status); }; } &&
48647          { ac_try='test -s conftest.$ac_objext'
48648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48649   (eval $ac_try) 2>&5
48650   ac_status=$?
48651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48652   (exit $ac_status); }; }; then
48653   glibcxx_cv_func__atan2f_use=yes
48654 else
48655   echo "$as_me: failed program was:" >&5
48656 sed 's/^/| /' conftest.$ac_ext >&5
48657
48658 glibcxx_cv_func__atan2f_use=no
48659 fi
48660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48661       ac_ext=c
48662 ac_cpp='$CPP $CPPFLAGS'
48663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48666
48667
48668 fi
48669
48670   fi
48671   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
48672 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
48673
48674     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48675
48676 for ac_func in _atan2f
48677 do
48678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48679 echo "$as_me:$LINENO: checking for $ac_func" >&5
48680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48681 if eval "test \"\${$as_ac_var+set}\" = set"; then
48682   echo $ECHO_N "(cached) $ECHO_C" >&6
48683 else
48684   if test x$gcc_no_link = xyes; then
48685   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48687    { (exit 1); exit 1; }; }
48688 fi
48689 cat >conftest.$ac_ext <<_ACEOF
48690 /* confdefs.h.  */
48691 _ACEOF
48692 cat confdefs.h >>conftest.$ac_ext
48693 cat >>conftest.$ac_ext <<_ACEOF
48694 /* end confdefs.h.  */
48695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48696    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48697 #define $ac_func innocuous_$ac_func
48698
48699 /* System header to define __stub macros and hopefully few prototypes,
48700     which can conflict with char $ac_func (); below.
48701     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48702     <limits.h> exists even on freestanding compilers.  */
48703
48704 #ifdef __STDC__
48705 # include <limits.h>
48706 #else
48707 # include <assert.h>
48708 #endif
48709
48710 #undef $ac_func
48711
48712 /* Override any gcc2 internal prototype to avoid an error.  */
48713 #ifdef __cplusplus
48714 extern "C"
48715 {
48716 #endif
48717 /* We use char because int might match the return type of a gcc2
48718    builtin and then its argument prototype would still apply.  */
48719 char $ac_func ();
48720 /* The GNU C library defines this for functions which it implements
48721     to always fail with ENOSYS.  Some functions are actually named
48722     something starting with __ and the normal name is an alias.  */
48723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48724 choke me
48725 #else
48726 char (*f) () = $ac_func;
48727 #endif
48728 #ifdef __cplusplus
48729 }
48730 #endif
48731
48732 int
48733 main ()
48734 {
48735 return f != $ac_func;
48736   ;
48737   return 0;
48738 }
48739 _ACEOF
48740 rm -f conftest.$ac_objext conftest$ac_exeext
48741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48742   (eval $ac_link) 2>conftest.er1
48743   ac_status=$?
48744   grep -v '^ *+' conftest.er1 >conftest.err
48745   rm -f conftest.er1
48746   cat conftest.err >&5
48747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48748   (exit $ac_status); } &&
48749          { ac_try='test -z "$ac_c_werror_flag"
48750                          || test ! -s conftest.err'
48751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48752   (eval $ac_try) 2>&5
48753   ac_status=$?
48754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48755   (exit $ac_status); }; } &&
48756          { ac_try='test -s conftest$ac_exeext'
48757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48758   (eval $ac_try) 2>&5
48759   ac_status=$?
48760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48761   (exit $ac_status); }; }; then
48762   eval "$as_ac_var=yes"
48763 else
48764   echo "$as_me: failed program was:" >&5
48765 sed 's/^/| /' conftest.$ac_ext >&5
48766
48767 eval "$as_ac_var=no"
48768 fi
48769 rm -f conftest.err conftest.$ac_objext \
48770       conftest$ac_exeext conftest.$ac_ext
48771 fi
48772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48774 if test `eval echo '${'$as_ac_var'}'` = yes; then
48775   cat >>confdefs.h <<_ACEOF
48776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48777 _ACEOF
48778
48779 fi
48780 done
48781
48782     fi
48783   fi
48784
48785
48786
48787
48788
48789
48790   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
48791 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
48792   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48793     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
48794   echo $ECHO_N "(cached) $ECHO_C" >&6
48795 else
48796
48797
48798
48799       ac_ext=cc
48800 ac_cpp='$CXXCPP $CPPFLAGS'
48801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48804
48805       cat >conftest.$ac_ext <<_ACEOF
48806 /* confdefs.h.  */
48807 _ACEOF
48808 cat confdefs.h >>conftest.$ac_ext
48809 cat >>conftest.$ac_ext <<_ACEOF
48810 /* end confdefs.h.  */
48811 #include <math.h>
48812                       #ifdef HAVE_IEEEFP_H
48813                       #include <ieeefp.h>
48814                       #endif
48815
48816 int
48817 main ()
48818 {
48819  fabsf(0);
48820   ;
48821   return 0;
48822 }
48823 _ACEOF
48824 rm -f conftest.$ac_objext
48825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48826   (eval $ac_compile) 2>conftest.er1
48827   ac_status=$?
48828   grep -v '^ *+' conftest.er1 >conftest.err
48829   rm -f conftest.er1
48830   cat conftest.err >&5
48831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48832   (exit $ac_status); } &&
48833          { ac_try='test -z "$ac_cxx_werror_flag"
48834                          || test ! -s conftest.err'
48835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48836   (eval $ac_try) 2>&5
48837   ac_status=$?
48838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48839   (exit $ac_status); }; } &&
48840          { ac_try='test -s conftest.$ac_objext'
48841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48842   (eval $ac_try) 2>&5
48843   ac_status=$?
48844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48845   (exit $ac_status); }; }; then
48846   glibcxx_cv_func_fabsf_use=yes
48847 else
48848   echo "$as_me: failed program was:" >&5
48849 sed 's/^/| /' conftest.$ac_ext >&5
48850
48851 glibcxx_cv_func_fabsf_use=no
48852 fi
48853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48854       ac_ext=c
48855 ac_cpp='$CPP $CPPFLAGS'
48856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48859
48860
48861 fi
48862
48863   fi
48864   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
48865 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
48866
48867   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48868
48869 for ac_func in fabsf
48870 do
48871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48872 echo "$as_me:$LINENO: checking for $ac_func" >&5
48873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48874 if eval "test \"\${$as_ac_var+set}\" = set"; then
48875   echo $ECHO_N "(cached) $ECHO_C" >&6
48876 else
48877   if test x$gcc_no_link = xyes; then
48878   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48880    { (exit 1); exit 1; }; }
48881 fi
48882 cat >conftest.$ac_ext <<_ACEOF
48883 /* confdefs.h.  */
48884 _ACEOF
48885 cat confdefs.h >>conftest.$ac_ext
48886 cat >>conftest.$ac_ext <<_ACEOF
48887 /* end confdefs.h.  */
48888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48889    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48890 #define $ac_func innocuous_$ac_func
48891
48892 /* System header to define __stub macros and hopefully few prototypes,
48893     which can conflict with char $ac_func (); below.
48894     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48895     <limits.h> exists even on freestanding compilers.  */
48896
48897 #ifdef __STDC__
48898 # include <limits.h>
48899 #else
48900 # include <assert.h>
48901 #endif
48902
48903 #undef $ac_func
48904
48905 /* Override any gcc2 internal prototype to avoid an error.  */
48906 #ifdef __cplusplus
48907 extern "C"
48908 {
48909 #endif
48910 /* We use char because int might match the return type of a gcc2
48911    builtin and then its argument prototype would still apply.  */
48912 char $ac_func ();
48913 /* The GNU C library defines this for functions which it implements
48914     to always fail with ENOSYS.  Some functions are actually named
48915     something starting with __ and the normal name is an alias.  */
48916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48917 choke me
48918 #else
48919 char (*f) () = $ac_func;
48920 #endif
48921 #ifdef __cplusplus
48922 }
48923 #endif
48924
48925 int
48926 main ()
48927 {
48928 return f != $ac_func;
48929   ;
48930   return 0;
48931 }
48932 _ACEOF
48933 rm -f conftest.$ac_objext conftest$ac_exeext
48934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48935   (eval $ac_link) 2>conftest.er1
48936   ac_status=$?
48937   grep -v '^ *+' conftest.er1 >conftest.err
48938   rm -f conftest.er1
48939   cat conftest.err >&5
48940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48941   (exit $ac_status); } &&
48942          { ac_try='test -z "$ac_c_werror_flag"
48943                          || test ! -s conftest.err'
48944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48945   (eval $ac_try) 2>&5
48946   ac_status=$?
48947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48948   (exit $ac_status); }; } &&
48949          { ac_try='test -s conftest$ac_exeext'
48950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48951   (eval $ac_try) 2>&5
48952   ac_status=$?
48953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48954   (exit $ac_status); }; }; then
48955   eval "$as_ac_var=yes"
48956 else
48957   echo "$as_me: failed program was:" >&5
48958 sed 's/^/| /' conftest.$ac_ext >&5
48959
48960 eval "$as_ac_var=no"
48961 fi
48962 rm -f conftest.err conftest.$ac_objext \
48963       conftest$ac_exeext conftest.$ac_ext
48964 fi
48965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48967 if test `eval echo '${'$as_ac_var'}'` = yes; then
48968   cat >>confdefs.h <<_ACEOF
48969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48970 _ACEOF
48971
48972 fi
48973 done
48974
48975   else
48976
48977   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
48978 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
48979   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48980     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
48981   echo $ECHO_N "(cached) $ECHO_C" >&6
48982 else
48983
48984
48985
48986       ac_ext=cc
48987 ac_cpp='$CXXCPP $CPPFLAGS'
48988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48991
48992       cat >conftest.$ac_ext <<_ACEOF
48993 /* confdefs.h.  */
48994 _ACEOF
48995 cat confdefs.h >>conftest.$ac_ext
48996 cat >>conftest.$ac_ext <<_ACEOF
48997 /* end confdefs.h.  */
48998 #include <math.h>
48999                       #ifdef HAVE_IEEEFP_H
49000                       #include <ieeefp.h>
49001                       #endif
49002
49003 int
49004 main ()
49005 {
49006  _fabsf(0);
49007   ;
49008   return 0;
49009 }
49010 _ACEOF
49011 rm -f conftest.$ac_objext
49012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49013   (eval $ac_compile) 2>conftest.er1
49014   ac_status=$?
49015   grep -v '^ *+' conftest.er1 >conftest.err
49016   rm -f conftest.er1
49017   cat conftest.err >&5
49018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49019   (exit $ac_status); } &&
49020          { ac_try='test -z "$ac_cxx_werror_flag"
49021                          || test ! -s conftest.err'
49022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49023   (eval $ac_try) 2>&5
49024   ac_status=$?
49025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49026   (exit $ac_status); }; } &&
49027          { ac_try='test -s conftest.$ac_objext'
49028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49029   (eval $ac_try) 2>&5
49030   ac_status=$?
49031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49032   (exit $ac_status); }; }; then
49033   glibcxx_cv_func__fabsf_use=yes
49034 else
49035   echo "$as_me: failed program was:" >&5
49036 sed 's/^/| /' conftest.$ac_ext >&5
49037
49038 glibcxx_cv_func__fabsf_use=no
49039 fi
49040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49041       ac_ext=c
49042 ac_cpp='$CPP $CPPFLAGS'
49043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49046
49047
49048 fi
49049
49050   fi
49051   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
49052 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
49053
49054     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49055
49056 for ac_func in _fabsf
49057 do
49058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49059 echo "$as_me:$LINENO: checking for $ac_func" >&5
49060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49061 if eval "test \"\${$as_ac_var+set}\" = set"; then
49062   echo $ECHO_N "(cached) $ECHO_C" >&6
49063 else
49064   if test x$gcc_no_link = xyes; then
49065   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49067    { (exit 1); exit 1; }; }
49068 fi
49069 cat >conftest.$ac_ext <<_ACEOF
49070 /* confdefs.h.  */
49071 _ACEOF
49072 cat confdefs.h >>conftest.$ac_ext
49073 cat >>conftest.$ac_ext <<_ACEOF
49074 /* end confdefs.h.  */
49075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49076    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49077 #define $ac_func innocuous_$ac_func
49078
49079 /* System header to define __stub macros and hopefully few prototypes,
49080     which can conflict with char $ac_func (); below.
49081     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49082     <limits.h> exists even on freestanding compilers.  */
49083
49084 #ifdef __STDC__
49085 # include <limits.h>
49086 #else
49087 # include <assert.h>
49088 #endif
49089
49090 #undef $ac_func
49091
49092 /* Override any gcc2 internal prototype to avoid an error.  */
49093 #ifdef __cplusplus
49094 extern "C"
49095 {
49096 #endif
49097 /* We use char because int might match the return type of a gcc2
49098    builtin and then its argument prototype would still apply.  */
49099 char $ac_func ();
49100 /* The GNU C library defines this for functions which it implements
49101     to always fail with ENOSYS.  Some functions are actually named
49102     something starting with __ and the normal name is an alias.  */
49103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49104 choke me
49105 #else
49106 char (*f) () = $ac_func;
49107 #endif
49108 #ifdef __cplusplus
49109 }
49110 #endif
49111
49112 int
49113 main ()
49114 {
49115 return f != $ac_func;
49116   ;
49117   return 0;
49118 }
49119 _ACEOF
49120 rm -f conftest.$ac_objext conftest$ac_exeext
49121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49122   (eval $ac_link) 2>conftest.er1
49123   ac_status=$?
49124   grep -v '^ *+' conftest.er1 >conftest.err
49125   rm -f conftest.er1
49126   cat conftest.err >&5
49127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49128   (exit $ac_status); } &&
49129          { ac_try='test -z "$ac_c_werror_flag"
49130                          || test ! -s conftest.err'
49131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49132   (eval $ac_try) 2>&5
49133   ac_status=$?
49134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49135   (exit $ac_status); }; } &&
49136          { ac_try='test -s conftest$ac_exeext'
49137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49138   (eval $ac_try) 2>&5
49139   ac_status=$?
49140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49141   (exit $ac_status); }; }; then
49142   eval "$as_ac_var=yes"
49143 else
49144   echo "$as_me: failed program was:" >&5
49145 sed 's/^/| /' conftest.$ac_ext >&5
49146
49147 eval "$as_ac_var=no"
49148 fi
49149 rm -f conftest.err conftest.$ac_objext \
49150       conftest$ac_exeext conftest.$ac_ext
49151 fi
49152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49154 if test `eval echo '${'$as_ac_var'}'` = yes; then
49155   cat >>confdefs.h <<_ACEOF
49156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49157 _ACEOF
49158
49159 fi
49160 done
49161
49162     fi
49163   fi
49164
49165
49166
49167
49168
49169
49170   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
49171 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
49172   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49173     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
49174   echo $ECHO_N "(cached) $ECHO_C" >&6
49175 else
49176
49177
49178
49179       ac_ext=cc
49180 ac_cpp='$CXXCPP $CPPFLAGS'
49181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49184
49185       cat >conftest.$ac_ext <<_ACEOF
49186 /* confdefs.h.  */
49187 _ACEOF
49188 cat confdefs.h >>conftest.$ac_ext
49189 cat >>conftest.$ac_ext <<_ACEOF
49190 /* end confdefs.h.  */
49191 #include <math.h>
49192 int
49193 main ()
49194 {
49195  fmodf(0, 0);
49196   ;
49197   return 0;
49198 }
49199 _ACEOF
49200 rm -f conftest.$ac_objext
49201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49202   (eval $ac_compile) 2>conftest.er1
49203   ac_status=$?
49204   grep -v '^ *+' conftest.er1 >conftest.err
49205   rm -f conftest.er1
49206   cat conftest.err >&5
49207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49208   (exit $ac_status); } &&
49209          { ac_try='test -z "$ac_cxx_werror_flag"
49210                          || test ! -s conftest.err'
49211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49212   (eval $ac_try) 2>&5
49213   ac_status=$?
49214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49215   (exit $ac_status); }; } &&
49216          { ac_try='test -s conftest.$ac_objext'
49217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49218   (eval $ac_try) 2>&5
49219   ac_status=$?
49220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49221   (exit $ac_status); }; }; then
49222   glibcxx_cv_func_fmodf_use=yes
49223 else
49224   echo "$as_me: failed program was:" >&5
49225 sed 's/^/| /' conftest.$ac_ext >&5
49226
49227 glibcxx_cv_func_fmodf_use=no
49228 fi
49229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49230       ac_ext=c
49231 ac_cpp='$CPP $CPPFLAGS'
49232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49235
49236
49237 fi
49238
49239   fi
49240   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
49241 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
49242
49243   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49244
49245 for ac_func in fmodf
49246 do
49247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49248 echo "$as_me:$LINENO: checking for $ac_func" >&5
49249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49250 if eval "test \"\${$as_ac_var+set}\" = set"; then
49251   echo $ECHO_N "(cached) $ECHO_C" >&6
49252 else
49253   if test x$gcc_no_link = xyes; then
49254   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49256    { (exit 1); exit 1; }; }
49257 fi
49258 cat >conftest.$ac_ext <<_ACEOF
49259 /* confdefs.h.  */
49260 _ACEOF
49261 cat confdefs.h >>conftest.$ac_ext
49262 cat >>conftest.$ac_ext <<_ACEOF
49263 /* end confdefs.h.  */
49264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49265    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49266 #define $ac_func innocuous_$ac_func
49267
49268 /* System header to define __stub macros and hopefully few prototypes,
49269     which can conflict with char $ac_func (); below.
49270     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49271     <limits.h> exists even on freestanding compilers.  */
49272
49273 #ifdef __STDC__
49274 # include <limits.h>
49275 #else
49276 # include <assert.h>
49277 #endif
49278
49279 #undef $ac_func
49280
49281 /* Override any gcc2 internal prototype to avoid an error.  */
49282 #ifdef __cplusplus
49283 extern "C"
49284 {
49285 #endif
49286 /* We use char because int might match the return type of a gcc2
49287    builtin and then its argument prototype would still apply.  */
49288 char $ac_func ();
49289 /* The GNU C library defines this for functions which it implements
49290     to always fail with ENOSYS.  Some functions are actually named
49291     something starting with __ and the normal name is an alias.  */
49292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49293 choke me
49294 #else
49295 char (*f) () = $ac_func;
49296 #endif
49297 #ifdef __cplusplus
49298 }
49299 #endif
49300
49301 int
49302 main ()
49303 {
49304 return f != $ac_func;
49305   ;
49306   return 0;
49307 }
49308 _ACEOF
49309 rm -f conftest.$ac_objext conftest$ac_exeext
49310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49311   (eval $ac_link) 2>conftest.er1
49312   ac_status=$?
49313   grep -v '^ *+' conftest.er1 >conftest.err
49314   rm -f conftest.er1
49315   cat conftest.err >&5
49316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49317   (exit $ac_status); } &&
49318          { ac_try='test -z "$ac_c_werror_flag"
49319                          || test ! -s conftest.err'
49320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49321   (eval $ac_try) 2>&5
49322   ac_status=$?
49323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49324   (exit $ac_status); }; } &&
49325          { ac_try='test -s conftest$ac_exeext'
49326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49327   (eval $ac_try) 2>&5
49328   ac_status=$?
49329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49330   (exit $ac_status); }; }; then
49331   eval "$as_ac_var=yes"
49332 else
49333   echo "$as_me: failed program was:" >&5
49334 sed 's/^/| /' conftest.$ac_ext >&5
49335
49336 eval "$as_ac_var=no"
49337 fi
49338 rm -f conftest.err conftest.$ac_objext \
49339       conftest$ac_exeext conftest.$ac_ext
49340 fi
49341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49343 if test `eval echo '${'$as_ac_var'}'` = yes; then
49344   cat >>confdefs.h <<_ACEOF
49345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49346 _ACEOF
49347
49348 fi
49349 done
49350
49351   else
49352
49353   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
49354 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
49355   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49356     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
49357   echo $ECHO_N "(cached) $ECHO_C" >&6
49358 else
49359
49360
49361
49362       ac_ext=cc
49363 ac_cpp='$CXXCPP $CPPFLAGS'
49364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49367
49368       cat >conftest.$ac_ext <<_ACEOF
49369 /* confdefs.h.  */
49370 _ACEOF
49371 cat confdefs.h >>conftest.$ac_ext
49372 cat >>conftest.$ac_ext <<_ACEOF
49373 /* end confdefs.h.  */
49374 #include <math.h>
49375 int
49376 main ()
49377 {
49378  _fmodf(0, 0);
49379   ;
49380   return 0;
49381 }
49382 _ACEOF
49383 rm -f conftest.$ac_objext
49384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49385   (eval $ac_compile) 2>conftest.er1
49386   ac_status=$?
49387   grep -v '^ *+' conftest.er1 >conftest.err
49388   rm -f conftest.er1
49389   cat conftest.err >&5
49390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49391   (exit $ac_status); } &&
49392          { ac_try='test -z "$ac_cxx_werror_flag"
49393                          || test ! -s conftest.err'
49394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49395   (eval $ac_try) 2>&5
49396   ac_status=$?
49397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49398   (exit $ac_status); }; } &&
49399          { ac_try='test -s conftest.$ac_objext'
49400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49401   (eval $ac_try) 2>&5
49402   ac_status=$?
49403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49404   (exit $ac_status); }; }; then
49405   glibcxx_cv_func__fmodf_use=yes
49406 else
49407   echo "$as_me: failed program was:" >&5
49408 sed 's/^/| /' conftest.$ac_ext >&5
49409
49410 glibcxx_cv_func__fmodf_use=no
49411 fi
49412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49413       ac_ext=c
49414 ac_cpp='$CPP $CPPFLAGS'
49415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49418
49419
49420 fi
49421
49422   fi
49423   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
49424 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
49425
49426     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49427
49428 for ac_func in _fmodf
49429 do
49430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49431 echo "$as_me:$LINENO: checking for $ac_func" >&5
49432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49433 if eval "test \"\${$as_ac_var+set}\" = set"; then
49434   echo $ECHO_N "(cached) $ECHO_C" >&6
49435 else
49436   if test x$gcc_no_link = xyes; then
49437   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49439    { (exit 1); exit 1; }; }
49440 fi
49441 cat >conftest.$ac_ext <<_ACEOF
49442 /* confdefs.h.  */
49443 _ACEOF
49444 cat confdefs.h >>conftest.$ac_ext
49445 cat >>conftest.$ac_ext <<_ACEOF
49446 /* end confdefs.h.  */
49447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49448    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49449 #define $ac_func innocuous_$ac_func
49450
49451 /* System header to define __stub macros and hopefully few prototypes,
49452     which can conflict with char $ac_func (); below.
49453     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49454     <limits.h> exists even on freestanding compilers.  */
49455
49456 #ifdef __STDC__
49457 # include <limits.h>
49458 #else
49459 # include <assert.h>
49460 #endif
49461
49462 #undef $ac_func
49463
49464 /* Override any gcc2 internal prototype to avoid an error.  */
49465 #ifdef __cplusplus
49466 extern "C"
49467 {
49468 #endif
49469 /* We use char because int might match the return type of a gcc2
49470    builtin and then its argument prototype would still apply.  */
49471 char $ac_func ();
49472 /* The GNU C library defines this for functions which it implements
49473     to always fail with ENOSYS.  Some functions are actually named
49474     something starting with __ and the normal name is an alias.  */
49475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49476 choke me
49477 #else
49478 char (*f) () = $ac_func;
49479 #endif
49480 #ifdef __cplusplus
49481 }
49482 #endif
49483
49484 int
49485 main ()
49486 {
49487 return f != $ac_func;
49488   ;
49489   return 0;
49490 }
49491 _ACEOF
49492 rm -f conftest.$ac_objext conftest$ac_exeext
49493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49494   (eval $ac_link) 2>conftest.er1
49495   ac_status=$?
49496   grep -v '^ *+' conftest.er1 >conftest.err
49497   rm -f conftest.er1
49498   cat conftest.err >&5
49499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49500   (exit $ac_status); } &&
49501          { ac_try='test -z "$ac_c_werror_flag"
49502                          || test ! -s conftest.err'
49503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49504   (eval $ac_try) 2>&5
49505   ac_status=$?
49506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49507   (exit $ac_status); }; } &&
49508          { ac_try='test -s conftest$ac_exeext'
49509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49510   (eval $ac_try) 2>&5
49511   ac_status=$?
49512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49513   (exit $ac_status); }; }; then
49514   eval "$as_ac_var=yes"
49515 else
49516   echo "$as_me: failed program was:" >&5
49517 sed 's/^/| /' conftest.$ac_ext >&5
49518
49519 eval "$as_ac_var=no"
49520 fi
49521 rm -f conftest.err conftest.$ac_objext \
49522       conftest$ac_exeext conftest.$ac_ext
49523 fi
49524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49526 if test `eval echo '${'$as_ac_var'}'` = yes; then
49527   cat >>confdefs.h <<_ACEOF
49528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49529 _ACEOF
49530
49531 fi
49532 done
49533
49534     fi
49535   fi
49536
49537
49538
49539
49540
49541
49542   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
49543 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
49544   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49545     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
49546   echo $ECHO_N "(cached) $ECHO_C" >&6
49547 else
49548
49549
49550
49551       ac_ext=cc
49552 ac_cpp='$CXXCPP $CPPFLAGS'
49553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49556
49557       cat >conftest.$ac_ext <<_ACEOF
49558 /* confdefs.h.  */
49559 _ACEOF
49560 cat confdefs.h >>conftest.$ac_ext
49561 cat >>conftest.$ac_ext <<_ACEOF
49562 /* end confdefs.h.  */
49563 #include <math.h>
49564 int
49565 main ()
49566 {
49567  frexpf(0, 0);
49568   ;
49569   return 0;
49570 }
49571 _ACEOF
49572 rm -f conftest.$ac_objext
49573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49574   (eval $ac_compile) 2>conftest.er1
49575   ac_status=$?
49576   grep -v '^ *+' conftest.er1 >conftest.err
49577   rm -f conftest.er1
49578   cat conftest.err >&5
49579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49580   (exit $ac_status); } &&
49581          { ac_try='test -z "$ac_cxx_werror_flag"
49582                          || test ! -s conftest.err'
49583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49584   (eval $ac_try) 2>&5
49585   ac_status=$?
49586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49587   (exit $ac_status); }; } &&
49588          { ac_try='test -s conftest.$ac_objext'
49589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49590   (eval $ac_try) 2>&5
49591   ac_status=$?
49592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49593   (exit $ac_status); }; }; then
49594   glibcxx_cv_func_frexpf_use=yes
49595 else
49596   echo "$as_me: failed program was:" >&5
49597 sed 's/^/| /' conftest.$ac_ext >&5
49598
49599 glibcxx_cv_func_frexpf_use=no
49600 fi
49601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49602       ac_ext=c
49603 ac_cpp='$CPP $CPPFLAGS'
49604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49607
49608
49609 fi
49610
49611   fi
49612   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
49613 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
49614
49615   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49616
49617 for ac_func in frexpf
49618 do
49619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49620 echo "$as_me:$LINENO: checking for $ac_func" >&5
49621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49622 if eval "test \"\${$as_ac_var+set}\" = set"; then
49623   echo $ECHO_N "(cached) $ECHO_C" >&6
49624 else
49625   if test x$gcc_no_link = xyes; then
49626   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49628    { (exit 1); exit 1; }; }
49629 fi
49630 cat >conftest.$ac_ext <<_ACEOF
49631 /* confdefs.h.  */
49632 _ACEOF
49633 cat confdefs.h >>conftest.$ac_ext
49634 cat >>conftest.$ac_ext <<_ACEOF
49635 /* end confdefs.h.  */
49636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49637    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49638 #define $ac_func innocuous_$ac_func
49639
49640 /* System header to define __stub macros and hopefully few prototypes,
49641     which can conflict with char $ac_func (); below.
49642     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49643     <limits.h> exists even on freestanding compilers.  */
49644
49645 #ifdef __STDC__
49646 # include <limits.h>
49647 #else
49648 # include <assert.h>
49649 #endif
49650
49651 #undef $ac_func
49652
49653 /* Override any gcc2 internal prototype to avoid an error.  */
49654 #ifdef __cplusplus
49655 extern "C"
49656 {
49657 #endif
49658 /* We use char because int might match the return type of a gcc2
49659    builtin and then its argument prototype would still apply.  */
49660 char $ac_func ();
49661 /* The GNU C library defines this for functions which it implements
49662     to always fail with ENOSYS.  Some functions are actually named
49663     something starting with __ and the normal name is an alias.  */
49664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49665 choke me
49666 #else
49667 char (*f) () = $ac_func;
49668 #endif
49669 #ifdef __cplusplus
49670 }
49671 #endif
49672
49673 int
49674 main ()
49675 {
49676 return f != $ac_func;
49677   ;
49678   return 0;
49679 }
49680 _ACEOF
49681 rm -f conftest.$ac_objext conftest$ac_exeext
49682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49683   (eval $ac_link) 2>conftest.er1
49684   ac_status=$?
49685   grep -v '^ *+' conftest.er1 >conftest.err
49686   rm -f conftest.er1
49687   cat conftest.err >&5
49688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49689   (exit $ac_status); } &&
49690          { ac_try='test -z "$ac_c_werror_flag"
49691                          || test ! -s conftest.err'
49692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49693   (eval $ac_try) 2>&5
49694   ac_status=$?
49695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49696   (exit $ac_status); }; } &&
49697          { ac_try='test -s conftest$ac_exeext'
49698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49699   (eval $ac_try) 2>&5
49700   ac_status=$?
49701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49702   (exit $ac_status); }; }; then
49703   eval "$as_ac_var=yes"
49704 else
49705   echo "$as_me: failed program was:" >&5
49706 sed 's/^/| /' conftest.$ac_ext >&5
49707
49708 eval "$as_ac_var=no"
49709 fi
49710 rm -f conftest.err conftest.$ac_objext \
49711       conftest$ac_exeext conftest.$ac_ext
49712 fi
49713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49715 if test `eval echo '${'$as_ac_var'}'` = yes; then
49716   cat >>confdefs.h <<_ACEOF
49717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49718 _ACEOF
49719
49720 fi
49721 done
49722
49723   else
49724
49725   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
49726 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
49727   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49728     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
49729   echo $ECHO_N "(cached) $ECHO_C" >&6
49730 else
49731
49732
49733
49734       ac_ext=cc
49735 ac_cpp='$CXXCPP $CPPFLAGS'
49736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49739
49740       cat >conftest.$ac_ext <<_ACEOF
49741 /* confdefs.h.  */
49742 _ACEOF
49743 cat confdefs.h >>conftest.$ac_ext
49744 cat >>conftest.$ac_ext <<_ACEOF
49745 /* end confdefs.h.  */
49746 #include <math.h>
49747 int
49748 main ()
49749 {
49750  _frexpf(0, 0);
49751   ;
49752   return 0;
49753 }
49754 _ACEOF
49755 rm -f conftest.$ac_objext
49756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49757   (eval $ac_compile) 2>conftest.er1
49758   ac_status=$?
49759   grep -v '^ *+' conftest.er1 >conftest.err
49760   rm -f conftest.er1
49761   cat conftest.err >&5
49762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49763   (exit $ac_status); } &&
49764          { ac_try='test -z "$ac_cxx_werror_flag"
49765                          || test ! -s conftest.err'
49766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49767   (eval $ac_try) 2>&5
49768   ac_status=$?
49769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49770   (exit $ac_status); }; } &&
49771          { ac_try='test -s conftest.$ac_objext'
49772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49773   (eval $ac_try) 2>&5
49774   ac_status=$?
49775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49776   (exit $ac_status); }; }; then
49777   glibcxx_cv_func__frexpf_use=yes
49778 else
49779   echo "$as_me: failed program was:" >&5
49780 sed 's/^/| /' conftest.$ac_ext >&5
49781
49782 glibcxx_cv_func__frexpf_use=no
49783 fi
49784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49785       ac_ext=c
49786 ac_cpp='$CPP $CPPFLAGS'
49787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49790
49791
49792 fi
49793
49794   fi
49795   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
49796 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
49797
49798     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49799
49800 for ac_func in _frexpf
49801 do
49802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49803 echo "$as_me:$LINENO: checking for $ac_func" >&5
49804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49805 if eval "test \"\${$as_ac_var+set}\" = set"; then
49806   echo $ECHO_N "(cached) $ECHO_C" >&6
49807 else
49808   if test x$gcc_no_link = xyes; then
49809   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49811    { (exit 1); exit 1; }; }
49812 fi
49813 cat >conftest.$ac_ext <<_ACEOF
49814 /* confdefs.h.  */
49815 _ACEOF
49816 cat confdefs.h >>conftest.$ac_ext
49817 cat >>conftest.$ac_ext <<_ACEOF
49818 /* end confdefs.h.  */
49819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49820    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49821 #define $ac_func innocuous_$ac_func
49822
49823 /* System header to define __stub macros and hopefully few prototypes,
49824     which can conflict with char $ac_func (); below.
49825     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49826     <limits.h> exists even on freestanding compilers.  */
49827
49828 #ifdef __STDC__
49829 # include <limits.h>
49830 #else
49831 # include <assert.h>
49832 #endif
49833
49834 #undef $ac_func
49835
49836 /* Override any gcc2 internal prototype to avoid an error.  */
49837 #ifdef __cplusplus
49838 extern "C"
49839 {
49840 #endif
49841 /* We use char because int might match the return type of a gcc2
49842    builtin and then its argument prototype would still apply.  */
49843 char $ac_func ();
49844 /* The GNU C library defines this for functions which it implements
49845     to always fail with ENOSYS.  Some functions are actually named
49846     something starting with __ and the normal name is an alias.  */
49847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49848 choke me
49849 #else
49850 char (*f) () = $ac_func;
49851 #endif
49852 #ifdef __cplusplus
49853 }
49854 #endif
49855
49856 int
49857 main ()
49858 {
49859 return f != $ac_func;
49860   ;
49861   return 0;
49862 }
49863 _ACEOF
49864 rm -f conftest.$ac_objext conftest$ac_exeext
49865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49866   (eval $ac_link) 2>conftest.er1
49867   ac_status=$?
49868   grep -v '^ *+' conftest.er1 >conftest.err
49869   rm -f conftest.er1
49870   cat conftest.err >&5
49871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49872   (exit $ac_status); } &&
49873          { ac_try='test -z "$ac_c_werror_flag"
49874                          || test ! -s conftest.err'
49875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49876   (eval $ac_try) 2>&5
49877   ac_status=$?
49878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49879   (exit $ac_status); }; } &&
49880          { ac_try='test -s conftest$ac_exeext'
49881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49882   (eval $ac_try) 2>&5
49883   ac_status=$?
49884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49885   (exit $ac_status); }; }; then
49886   eval "$as_ac_var=yes"
49887 else
49888   echo "$as_me: failed program was:" >&5
49889 sed 's/^/| /' conftest.$ac_ext >&5
49890
49891 eval "$as_ac_var=no"
49892 fi
49893 rm -f conftest.err conftest.$ac_objext \
49894       conftest$ac_exeext conftest.$ac_ext
49895 fi
49896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49898 if test `eval echo '${'$as_ac_var'}'` = yes; then
49899   cat >>confdefs.h <<_ACEOF
49900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49901 _ACEOF
49902
49903 fi
49904 done
49905
49906     fi
49907   fi
49908
49909
49910
49911
49912
49913
49914   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
49915 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
49916   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49917     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
49918   echo $ECHO_N "(cached) $ECHO_C" >&6
49919 else
49920
49921
49922
49923       ac_ext=cc
49924 ac_cpp='$CXXCPP $CPPFLAGS'
49925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49928
49929       cat >conftest.$ac_ext <<_ACEOF
49930 /* confdefs.h.  */
49931 _ACEOF
49932 cat confdefs.h >>conftest.$ac_ext
49933 cat >>conftest.$ac_ext <<_ACEOF
49934 /* end confdefs.h.  */
49935 #include <math.h>
49936 int
49937 main ()
49938 {
49939  hypotf(0, 0);
49940   ;
49941   return 0;
49942 }
49943 _ACEOF
49944 rm -f conftest.$ac_objext
49945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49946   (eval $ac_compile) 2>conftest.er1
49947   ac_status=$?
49948   grep -v '^ *+' conftest.er1 >conftest.err
49949   rm -f conftest.er1
49950   cat conftest.err >&5
49951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49952   (exit $ac_status); } &&
49953          { ac_try='test -z "$ac_cxx_werror_flag"
49954                          || test ! -s conftest.err'
49955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49956   (eval $ac_try) 2>&5
49957   ac_status=$?
49958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49959   (exit $ac_status); }; } &&
49960          { ac_try='test -s conftest.$ac_objext'
49961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49962   (eval $ac_try) 2>&5
49963   ac_status=$?
49964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49965   (exit $ac_status); }; }; then
49966   glibcxx_cv_func_hypotf_use=yes
49967 else
49968   echo "$as_me: failed program was:" >&5
49969 sed 's/^/| /' conftest.$ac_ext >&5
49970
49971 glibcxx_cv_func_hypotf_use=no
49972 fi
49973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49974       ac_ext=c
49975 ac_cpp='$CPP $CPPFLAGS'
49976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49979
49980
49981 fi
49982
49983   fi
49984   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
49985 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
49986
49987   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49988
49989 for ac_func in hypotf
49990 do
49991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49992 echo "$as_me:$LINENO: checking for $ac_func" >&5
49993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49994 if eval "test \"\${$as_ac_var+set}\" = set"; then
49995   echo $ECHO_N "(cached) $ECHO_C" >&6
49996 else
49997   if test x$gcc_no_link = xyes; then
49998   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50000    { (exit 1); exit 1; }; }
50001 fi
50002 cat >conftest.$ac_ext <<_ACEOF
50003 /* confdefs.h.  */
50004 _ACEOF
50005 cat confdefs.h >>conftest.$ac_ext
50006 cat >>conftest.$ac_ext <<_ACEOF
50007 /* end confdefs.h.  */
50008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50009    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50010 #define $ac_func innocuous_$ac_func
50011
50012 /* System header to define __stub macros and hopefully few prototypes,
50013     which can conflict with char $ac_func (); below.
50014     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50015     <limits.h> exists even on freestanding compilers.  */
50016
50017 #ifdef __STDC__
50018 # include <limits.h>
50019 #else
50020 # include <assert.h>
50021 #endif
50022
50023 #undef $ac_func
50024
50025 /* Override any gcc2 internal prototype to avoid an error.  */
50026 #ifdef __cplusplus
50027 extern "C"
50028 {
50029 #endif
50030 /* We use char because int might match the return type of a gcc2
50031    builtin and then its argument prototype would still apply.  */
50032 char $ac_func ();
50033 /* The GNU C library defines this for functions which it implements
50034     to always fail with ENOSYS.  Some functions are actually named
50035     something starting with __ and the normal name is an alias.  */
50036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50037 choke me
50038 #else
50039 char (*f) () = $ac_func;
50040 #endif
50041 #ifdef __cplusplus
50042 }
50043 #endif
50044
50045 int
50046 main ()
50047 {
50048 return f != $ac_func;
50049   ;
50050   return 0;
50051 }
50052 _ACEOF
50053 rm -f conftest.$ac_objext conftest$ac_exeext
50054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50055   (eval $ac_link) 2>conftest.er1
50056   ac_status=$?
50057   grep -v '^ *+' conftest.er1 >conftest.err
50058   rm -f conftest.er1
50059   cat conftest.err >&5
50060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50061   (exit $ac_status); } &&
50062          { ac_try='test -z "$ac_c_werror_flag"
50063                          || test ! -s conftest.err'
50064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50065   (eval $ac_try) 2>&5
50066   ac_status=$?
50067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50068   (exit $ac_status); }; } &&
50069          { ac_try='test -s conftest$ac_exeext'
50070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50071   (eval $ac_try) 2>&5
50072   ac_status=$?
50073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50074   (exit $ac_status); }; }; then
50075   eval "$as_ac_var=yes"
50076 else
50077   echo "$as_me: failed program was:" >&5
50078 sed 's/^/| /' conftest.$ac_ext >&5
50079
50080 eval "$as_ac_var=no"
50081 fi
50082 rm -f conftest.err conftest.$ac_objext \
50083       conftest$ac_exeext conftest.$ac_ext
50084 fi
50085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50087 if test `eval echo '${'$as_ac_var'}'` = yes; then
50088   cat >>confdefs.h <<_ACEOF
50089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50090 _ACEOF
50091
50092 fi
50093 done
50094
50095   else
50096
50097   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
50098 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
50099   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50100     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
50101   echo $ECHO_N "(cached) $ECHO_C" >&6
50102 else
50103
50104
50105
50106       ac_ext=cc
50107 ac_cpp='$CXXCPP $CPPFLAGS'
50108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50111
50112       cat >conftest.$ac_ext <<_ACEOF
50113 /* confdefs.h.  */
50114 _ACEOF
50115 cat confdefs.h >>conftest.$ac_ext
50116 cat >>conftest.$ac_ext <<_ACEOF
50117 /* end confdefs.h.  */
50118 #include <math.h>
50119 int
50120 main ()
50121 {
50122  _hypotf(0, 0);
50123   ;
50124   return 0;
50125 }
50126 _ACEOF
50127 rm -f conftest.$ac_objext
50128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50129   (eval $ac_compile) 2>conftest.er1
50130   ac_status=$?
50131   grep -v '^ *+' conftest.er1 >conftest.err
50132   rm -f conftest.er1
50133   cat conftest.err >&5
50134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50135   (exit $ac_status); } &&
50136          { ac_try='test -z "$ac_cxx_werror_flag"
50137                          || test ! -s conftest.err'
50138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50139   (eval $ac_try) 2>&5
50140   ac_status=$?
50141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50142   (exit $ac_status); }; } &&
50143          { ac_try='test -s conftest.$ac_objext'
50144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50145   (eval $ac_try) 2>&5
50146   ac_status=$?
50147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50148   (exit $ac_status); }; }; then
50149   glibcxx_cv_func__hypotf_use=yes
50150 else
50151   echo "$as_me: failed program was:" >&5
50152 sed 's/^/| /' conftest.$ac_ext >&5
50153
50154 glibcxx_cv_func__hypotf_use=no
50155 fi
50156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50157       ac_ext=c
50158 ac_cpp='$CPP $CPPFLAGS'
50159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50162
50163
50164 fi
50165
50166   fi
50167   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
50168 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
50169
50170     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50171
50172 for ac_func in _hypotf
50173 do
50174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50175 echo "$as_me:$LINENO: checking for $ac_func" >&5
50176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50177 if eval "test \"\${$as_ac_var+set}\" = set"; then
50178   echo $ECHO_N "(cached) $ECHO_C" >&6
50179 else
50180   if test x$gcc_no_link = xyes; then
50181   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50183    { (exit 1); exit 1; }; }
50184 fi
50185 cat >conftest.$ac_ext <<_ACEOF
50186 /* confdefs.h.  */
50187 _ACEOF
50188 cat confdefs.h >>conftest.$ac_ext
50189 cat >>conftest.$ac_ext <<_ACEOF
50190 /* end confdefs.h.  */
50191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50192    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50193 #define $ac_func innocuous_$ac_func
50194
50195 /* System header to define __stub macros and hopefully few prototypes,
50196     which can conflict with char $ac_func (); below.
50197     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50198     <limits.h> exists even on freestanding compilers.  */
50199
50200 #ifdef __STDC__
50201 # include <limits.h>
50202 #else
50203 # include <assert.h>
50204 #endif
50205
50206 #undef $ac_func
50207
50208 /* Override any gcc2 internal prototype to avoid an error.  */
50209 #ifdef __cplusplus
50210 extern "C"
50211 {
50212 #endif
50213 /* We use char because int might match the return type of a gcc2
50214    builtin and then its argument prototype would still apply.  */
50215 char $ac_func ();
50216 /* The GNU C library defines this for functions which it implements
50217     to always fail with ENOSYS.  Some functions are actually named
50218     something starting with __ and the normal name is an alias.  */
50219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50220 choke me
50221 #else
50222 char (*f) () = $ac_func;
50223 #endif
50224 #ifdef __cplusplus
50225 }
50226 #endif
50227
50228 int
50229 main ()
50230 {
50231 return f != $ac_func;
50232   ;
50233   return 0;
50234 }
50235 _ACEOF
50236 rm -f conftest.$ac_objext conftest$ac_exeext
50237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50238   (eval $ac_link) 2>conftest.er1
50239   ac_status=$?
50240   grep -v '^ *+' conftest.er1 >conftest.err
50241   rm -f conftest.er1
50242   cat conftest.err >&5
50243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50244   (exit $ac_status); } &&
50245          { ac_try='test -z "$ac_c_werror_flag"
50246                          || test ! -s conftest.err'
50247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50248   (eval $ac_try) 2>&5
50249   ac_status=$?
50250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50251   (exit $ac_status); }; } &&
50252          { ac_try='test -s conftest$ac_exeext'
50253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50254   (eval $ac_try) 2>&5
50255   ac_status=$?
50256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50257   (exit $ac_status); }; }; then
50258   eval "$as_ac_var=yes"
50259 else
50260   echo "$as_me: failed program was:" >&5
50261 sed 's/^/| /' conftest.$ac_ext >&5
50262
50263 eval "$as_ac_var=no"
50264 fi
50265 rm -f conftest.err conftest.$ac_objext \
50266       conftest$ac_exeext conftest.$ac_ext
50267 fi
50268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50270 if test `eval echo '${'$as_ac_var'}'` = yes; then
50271   cat >>confdefs.h <<_ACEOF
50272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50273 _ACEOF
50274
50275 fi
50276 done
50277
50278     fi
50279   fi
50280
50281
50282
50283
50284
50285
50286   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
50287 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
50288   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50289     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
50290   echo $ECHO_N "(cached) $ECHO_C" >&6
50291 else
50292
50293
50294
50295       ac_ext=cc
50296 ac_cpp='$CXXCPP $CPPFLAGS'
50297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50300
50301       cat >conftest.$ac_ext <<_ACEOF
50302 /* confdefs.h.  */
50303 _ACEOF
50304 cat confdefs.h >>conftest.$ac_ext
50305 cat >>conftest.$ac_ext <<_ACEOF
50306 /* end confdefs.h.  */
50307 #include <math.h>
50308 int
50309 main ()
50310 {
50311  ldexpf(0, 0);
50312   ;
50313   return 0;
50314 }
50315 _ACEOF
50316 rm -f conftest.$ac_objext
50317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50318   (eval $ac_compile) 2>conftest.er1
50319   ac_status=$?
50320   grep -v '^ *+' conftest.er1 >conftest.err
50321   rm -f conftest.er1
50322   cat conftest.err >&5
50323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50324   (exit $ac_status); } &&
50325          { ac_try='test -z "$ac_cxx_werror_flag"
50326                          || test ! -s conftest.err'
50327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50328   (eval $ac_try) 2>&5
50329   ac_status=$?
50330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50331   (exit $ac_status); }; } &&
50332          { ac_try='test -s conftest.$ac_objext'
50333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50334   (eval $ac_try) 2>&5
50335   ac_status=$?
50336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50337   (exit $ac_status); }; }; then
50338   glibcxx_cv_func_ldexpf_use=yes
50339 else
50340   echo "$as_me: failed program was:" >&5
50341 sed 's/^/| /' conftest.$ac_ext >&5
50342
50343 glibcxx_cv_func_ldexpf_use=no
50344 fi
50345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50346       ac_ext=c
50347 ac_cpp='$CPP $CPPFLAGS'
50348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50351
50352
50353 fi
50354
50355   fi
50356   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
50357 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
50358
50359   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50360
50361 for ac_func in ldexpf
50362 do
50363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50364 echo "$as_me:$LINENO: checking for $ac_func" >&5
50365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50366 if eval "test \"\${$as_ac_var+set}\" = set"; then
50367   echo $ECHO_N "(cached) $ECHO_C" >&6
50368 else
50369   if test x$gcc_no_link = xyes; then
50370   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50372    { (exit 1); exit 1; }; }
50373 fi
50374 cat >conftest.$ac_ext <<_ACEOF
50375 /* confdefs.h.  */
50376 _ACEOF
50377 cat confdefs.h >>conftest.$ac_ext
50378 cat >>conftest.$ac_ext <<_ACEOF
50379 /* end confdefs.h.  */
50380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50381    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50382 #define $ac_func innocuous_$ac_func
50383
50384 /* System header to define __stub macros and hopefully few prototypes,
50385     which can conflict with char $ac_func (); below.
50386     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50387     <limits.h> exists even on freestanding compilers.  */
50388
50389 #ifdef __STDC__
50390 # include <limits.h>
50391 #else
50392 # include <assert.h>
50393 #endif
50394
50395 #undef $ac_func
50396
50397 /* Override any gcc2 internal prototype to avoid an error.  */
50398 #ifdef __cplusplus
50399 extern "C"
50400 {
50401 #endif
50402 /* We use char because int might match the return type of a gcc2
50403    builtin and then its argument prototype would still apply.  */
50404 char $ac_func ();
50405 /* The GNU C library defines this for functions which it implements
50406     to always fail with ENOSYS.  Some functions are actually named
50407     something starting with __ and the normal name is an alias.  */
50408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50409 choke me
50410 #else
50411 char (*f) () = $ac_func;
50412 #endif
50413 #ifdef __cplusplus
50414 }
50415 #endif
50416
50417 int
50418 main ()
50419 {
50420 return f != $ac_func;
50421   ;
50422   return 0;
50423 }
50424 _ACEOF
50425 rm -f conftest.$ac_objext conftest$ac_exeext
50426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50427   (eval $ac_link) 2>conftest.er1
50428   ac_status=$?
50429   grep -v '^ *+' conftest.er1 >conftest.err
50430   rm -f conftest.er1
50431   cat conftest.err >&5
50432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50433   (exit $ac_status); } &&
50434          { ac_try='test -z "$ac_c_werror_flag"
50435                          || test ! -s conftest.err'
50436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50437   (eval $ac_try) 2>&5
50438   ac_status=$?
50439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50440   (exit $ac_status); }; } &&
50441          { ac_try='test -s conftest$ac_exeext'
50442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50443   (eval $ac_try) 2>&5
50444   ac_status=$?
50445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50446   (exit $ac_status); }; }; then
50447   eval "$as_ac_var=yes"
50448 else
50449   echo "$as_me: failed program was:" >&5
50450 sed 's/^/| /' conftest.$ac_ext >&5
50451
50452 eval "$as_ac_var=no"
50453 fi
50454 rm -f conftest.err conftest.$ac_objext \
50455       conftest$ac_exeext conftest.$ac_ext
50456 fi
50457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50459 if test `eval echo '${'$as_ac_var'}'` = yes; then
50460   cat >>confdefs.h <<_ACEOF
50461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50462 _ACEOF
50463
50464 fi
50465 done
50466
50467   else
50468
50469   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
50470 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
50471   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50472     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
50473   echo $ECHO_N "(cached) $ECHO_C" >&6
50474 else
50475
50476
50477
50478       ac_ext=cc
50479 ac_cpp='$CXXCPP $CPPFLAGS'
50480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50483
50484       cat >conftest.$ac_ext <<_ACEOF
50485 /* confdefs.h.  */
50486 _ACEOF
50487 cat confdefs.h >>conftest.$ac_ext
50488 cat >>conftest.$ac_ext <<_ACEOF
50489 /* end confdefs.h.  */
50490 #include <math.h>
50491 int
50492 main ()
50493 {
50494  _ldexpf(0, 0);
50495   ;
50496   return 0;
50497 }
50498 _ACEOF
50499 rm -f conftest.$ac_objext
50500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50501   (eval $ac_compile) 2>conftest.er1
50502   ac_status=$?
50503   grep -v '^ *+' conftest.er1 >conftest.err
50504   rm -f conftest.er1
50505   cat conftest.err >&5
50506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50507   (exit $ac_status); } &&
50508          { ac_try='test -z "$ac_cxx_werror_flag"
50509                          || test ! -s conftest.err'
50510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50511   (eval $ac_try) 2>&5
50512   ac_status=$?
50513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50514   (exit $ac_status); }; } &&
50515          { ac_try='test -s conftest.$ac_objext'
50516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50517   (eval $ac_try) 2>&5
50518   ac_status=$?
50519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50520   (exit $ac_status); }; }; then
50521   glibcxx_cv_func__ldexpf_use=yes
50522 else
50523   echo "$as_me: failed program was:" >&5
50524 sed 's/^/| /' conftest.$ac_ext >&5
50525
50526 glibcxx_cv_func__ldexpf_use=no
50527 fi
50528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50529       ac_ext=c
50530 ac_cpp='$CPP $CPPFLAGS'
50531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50534
50535
50536 fi
50537
50538   fi
50539   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
50540 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
50541
50542     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50543
50544 for ac_func in _ldexpf
50545 do
50546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50547 echo "$as_me:$LINENO: checking for $ac_func" >&5
50548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50549 if eval "test \"\${$as_ac_var+set}\" = set"; then
50550   echo $ECHO_N "(cached) $ECHO_C" >&6
50551 else
50552   if test x$gcc_no_link = xyes; then
50553   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50555    { (exit 1); exit 1; }; }
50556 fi
50557 cat >conftest.$ac_ext <<_ACEOF
50558 /* confdefs.h.  */
50559 _ACEOF
50560 cat confdefs.h >>conftest.$ac_ext
50561 cat >>conftest.$ac_ext <<_ACEOF
50562 /* end confdefs.h.  */
50563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50564    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50565 #define $ac_func innocuous_$ac_func
50566
50567 /* System header to define __stub macros and hopefully few prototypes,
50568     which can conflict with char $ac_func (); below.
50569     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50570     <limits.h> exists even on freestanding compilers.  */
50571
50572 #ifdef __STDC__
50573 # include <limits.h>
50574 #else
50575 # include <assert.h>
50576 #endif
50577
50578 #undef $ac_func
50579
50580 /* Override any gcc2 internal prototype to avoid an error.  */
50581 #ifdef __cplusplus
50582 extern "C"
50583 {
50584 #endif
50585 /* We use char because int might match the return type of a gcc2
50586    builtin and then its argument prototype would still apply.  */
50587 char $ac_func ();
50588 /* The GNU C library defines this for functions which it implements
50589     to always fail with ENOSYS.  Some functions are actually named
50590     something starting with __ and the normal name is an alias.  */
50591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50592 choke me
50593 #else
50594 char (*f) () = $ac_func;
50595 #endif
50596 #ifdef __cplusplus
50597 }
50598 #endif
50599
50600 int
50601 main ()
50602 {
50603 return f != $ac_func;
50604   ;
50605   return 0;
50606 }
50607 _ACEOF
50608 rm -f conftest.$ac_objext conftest$ac_exeext
50609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50610   (eval $ac_link) 2>conftest.er1
50611   ac_status=$?
50612   grep -v '^ *+' conftest.er1 >conftest.err
50613   rm -f conftest.er1
50614   cat conftest.err >&5
50615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50616   (exit $ac_status); } &&
50617          { ac_try='test -z "$ac_c_werror_flag"
50618                          || test ! -s conftest.err'
50619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50620   (eval $ac_try) 2>&5
50621   ac_status=$?
50622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50623   (exit $ac_status); }; } &&
50624          { ac_try='test -s conftest$ac_exeext'
50625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50626   (eval $ac_try) 2>&5
50627   ac_status=$?
50628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50629   (exit $ac_status); }; }; then
50630   eval "$as_ac_var=yes"
50631 else
50632   echo "$as_me: failed program was:" >&5
50633 sed 's/^/| /' conftest.$ac_ext >&5
50634
50635 eval "$as_ac_var=no"
50636 fi
50637 rm -f conftest.err conftest.$ac_objext \
50638       conftest$ac_exeext conftest.$ac_ext
50639 fi
50640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50642 if test `eval echo '${'$as_ac_var'}'` = yes; then
50643   cat >>confdefs.h <<_ACEOF
50644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50645 _ACEOF
50646
50647 fi
50648 done
50649
50650     fi
50651   fi
50652
50653
50654
50655
50656
50657
50658   echo "$as_me:$LINENO: checking for logf declaration" >&5
50659 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
50660   if test x${glibcxx_cv_func_logf_use+set} != xset; then
50661     if test "${glibcxx_cv_func_logf_use+set}" = set; then
50662   echo $ECHO_N "(cached) $ECHO_C" >&6
50663 else
50664
50665
50666
50667       ac_ext=cc
50668 ac_cpp='$CXXCPP $CPPFLAGS'
50669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50672
50673       cat >conftest.$ac_ext <<_ACEOF
50674 /* confdefs.h.  */
50675 _ACEOF
50676 cat confdefs.h >>conftest.$ac_ext
50677 cat >>conftest.$ac_ext <<_ACEOF
50678 /* end confdefs.h.  */
50679 #include <math.h>
50680                       #ifdef HAVE_IEEEFP_H
50681                       #include <ieeefp.h>
50682                       #endif
50683
50684 int
50685 main ()
50686 {
50687  logf(0);
50688   ;
50689   return 0;
50690 }
50691 _ACEOF
50692 rm -f conftest.$ac_objext
50693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50694   (eval $ac_compile) 2>conftest.er1
50695   ac_status=$?
50696   grep -v '^ *+' conftest.er1 >conftest.err
50697   rm -f conftest.er1
50698   cat conftest.err >&5
50699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50700   (exit $ac_status); } &&
50701          { ac_try='test -z "$ac_cxx_werror_flag"
50702                          || test ! -s conftest.err'
50703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50704   (eval $ac_try) 2>&5
50705   ac_status=$?
50706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50707   (exit $ac_status); }; } &&
50708          { ac_try='test -s conftest.$ac_objext'
50709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50710   (eval $ac_try) 2>&5
50711   ac_status=$?
50712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50713   (exit $ac_status); }; }; then
50714   glibcxx_cv_func_logf_use=yes
50715 else
50716   echo "$as_me: failed program was:" >&5
50717 sed 's/^/| /' conftest.$ac_ext >&5
50718
50719 glibcxx_cv_func_logf_use=no
50720 fi
50721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50722       ac_ext=c
50723 ac_cpp='$CPP $CPPFLAGS'
50724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50727
50728
50729 fi
50730
50731   fi
50732   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
50733 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
50734
50735   if test x$glibcxx_cv_func_logf_use = x"yes"; then
50736
50737 for ac_func in logf
50738 do
50739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50740 echo "$as_me:$LINENO: checking for $ac_func" >&5
50741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50742 if eval "test \"\${$as_ac_var+set}\" = set"; then
50743   echo $ECHO_N "(cached) $ECHO_C" >&6
50744 else
50745   if test x$gcc_no_link = xyes; then
50746   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50748    { (exit 1); exit 1; }; }
50749 fi
50750 cat >conftest.$ac_ext <<_ACEOF
50751 /* confdefs.h.  */
50752 _ACEOF
50753 cat confdefs.h >>conftest.$ac_ext
50754 cat >>conftest.$ac_ext <<_ACEOF
50755 /* end confdefs.h.  */
50756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50757    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50758 #define $ac_func innocuous_$ac_func
50759
50760 /* System header to define __stub macros and hopefully few prototypes,
50761     which can conflict with char $ac_func (); below.
50762     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50763     <limits.h> exists even on freestanding compilers.  */
50764
50765 #ifdef __STDC__
50766 # include <limits.h>
50767 #else
50768 # include <assert.h>
50769 #endif
50770
50771 #undef $ac_func
50772
50773 /* Override any gcc2 internal prototype to avoid an error.  */
50774 #ifdef __cplusplus
50775 extern "C"
50776 {
50777 #endif
50778 /* We use char because int might match the return type of a gcc2
50779    builtin and then its argument prototype would still apply.  */
50780 char $ac_func ();
50781 /* The GNU C library defines this for functions which it implements
50782     to always fail with ENOSYS.  Some functions are actually named
50783     something starting with __ and the normal name is an alias.  */
50784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50785 choke me
50786 #else
50787 char (*f) () = $ac_func;
50788 #endif
50789 #ifdef __cplusplus
50790 }
50791 #endif
50792
50793 int
50794 main ()
50795 {
50796 return f != $ac_func;
50797   ;
50798   return 0;
50799 }
50800 _ACEOF
50801 rm -f conftest.$ac_objext conftest$ac_exeext
50802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50803   (eval $ac_link) 2>conftest.er1
50804   ac_status=$?
50805   grep -v '^ *+' conftest.er1 >conftest.err
50806   rm -f conftest.er1
50807   cat conftest.err >&5
50808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50809   (exit $ac_status); } &&
50810          { ac_try='test -z "$ac_c_werror_flag"
50811                          || test ! -s conftest.err'
50812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50813   (eval $ac_try) 2>&5
50814   ac_status=$?
50815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50816   (exit $ac_status); }; } &&
50817          { ac_try='test -s conftest$ac_exeext'
50818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50819   (eval $ac_try) 2>&5
50820   ac_status=$?
50821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50822   (exit $ac_status); }; }; then
50823   eval "$as_ac_var=yes"
50824 else
50825   echo "$as_me: failed program was:" >&5
50826 sed 's/^/| /' conftest.$ac_ext >&5
50827
50828 eval "$as_ac_var=no"
50829 fi
50830 rm -f conftest.err conftest.$ac_objext \
50831       conftest$ac_exeext conftest.$ac_ext
50832 fi
50833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50835 if test `eval echo '${'$as_ac_var'}'` = yes; then
50836   cat >>confdefs.h <<_ACEOF
50837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50838 _ACEOF
50839
50840 fi
50841 done
50842
50843   else
50844
50845   echo "$as_me:$LINENO: checking for _logf declaration" >&5
50846 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
50847   if test x${glibcxx_cv_func__logf_use+set} != xset; then
50848     if test "${glibcxx_cv_func__logf_use+set}" = set; then
50849   echo $ECHO_N "(cached) $ECHO_C" >&6
50850 else
50851
50852
50853
50854       ac_ext=cc
50855 ac_cpp='$CXXCPP $CPPFLAGS'
50856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50859
50860       cat >conftest.$ac_ext <<_ACEOF
50861 /* confdefs.h.  */
50862 _ACEOF
50863 cat confdefs.h >>conftest.$ac_ext
50864 cat >>conftest.$ac_ext <<_ACEOF
50865 /* end confdefs.h.  */
50866 #include <math.h>
50867                       #ifdef HAVE_IEEEFP_H
50868                       #include <ieeefp.h>
50869                       #endif
50870
50871 int
50872 main ()
50873 {
50874  _logf(0);
50875   ;
50876   return 0;
50877 }
50878 _ACEOF
50879 rm -f conftest.$ac_objext
50880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50881   (eval $ac_compile) 2>conftest.er1
50882   ac_status=$?
50883   grep -v '^ *+' conftest.er1 >conftest.err
50884   rm -f conftest.er1
50885   cat conftest.err >&5
50886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50887   (exit $ac_status); } &&
50888          { ac_try='test -z "$ac_cxx_werror_flag"
50889                          || test ! -s conftest.err'
50890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50891   (eval $ac_try) 2>&5
50892   ac_status=$?
50893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50894   (exit $ac_status); }; } &&
50895          { ac_try='test -s conftest.$ac_objext'
50896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50897   (eval $ac_try) 2>&5
50898   ac_status=$?
50899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50900   (exit $ac_status); }; }; then
50901   glibcxx_cv_func__logf_use=yes
50902 else
50903   echo "$as_me: failed program was:" >&5
50904 sed 's/^/| /' conftest.$ac_ext >&5
50905
50906 glibcxx_cv_func__logf_use=no
50907 fi
50908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50909       ac_ext=c
50910 ac_cpp='$CPP $CPPFLAGS'
50911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50914
50915
50916 fi
50917
50918   fi
50919   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
50920 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
50921
50922     if test x$glibcxx_cv_func__logf_use = x"yes"; then
50923
50924 for ac_func in _logf
50925 do
50926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50927 echo "$as_me:$LINENO: checking for $ac_func" >&5
50928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50929 if eval "test \"\${$as_ac_var+set}\" = set"; then
50930   echo $ECHO_N "(cached) $ECHO_C" >&6
50931 else
50932   if test x$gcc_no_link = xyes; then
50933   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50935    { (exit 1); exit 1; }; }
50936 fi
50937 cat >conftest.$ac_ext <<_ACEOF
50938 /* confdefs.h.  */
50939 _ACEOF
50940 cat confdefs.h >>conftest.$ac_ext
50941 cat >>conftest.$ac_ext <<_ACEOF
50942 /* end confdefs.h.  */
50943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50944    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50945 #define $ac_func innocuous_$ac_func
50946
50947 /* System header to define __stub macros and hopefully few prototypes,
50948     which can conflict with char $ac_func (); below.
50949     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50950     <limits.h> exists even on freestanding compilers.  */
50951
50952 #ifdef __STDC__
50953 # include <limits.h>
50954 #else
50955 # include <assert.h>
50956 #endif
50957
50958 #undef $ac_func
50959
50960 /* Override any gcc2 internal prototype to avoid an error.  */
50961 #ifdef __cplusplus
50962 extern "C"
50963 {
50964 #endif
50965 /* We use char because int might match the return type of a gcc2
50966    builtin and then its argument prototype would still apply.  */
50967 char $ac_func ();
50968 /* The GNU C library defines this for functions which it implements
50969     to always fail with ENOSYS.  Some functions are actually named
50970     something starting with __ and the normal name is an alias.  */
50971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50972 choke me
50973 #else
50974 char (*f) () = $ac_func;
50975 #endif
50976 #ifdef __cplusplus
50977 }
50978 #endif
50979
50980 int
50981 main ()
50982 {
50983 return f != $ac_func;
50984   ;
50985   return 0;
50986 }
50987 _ACEOF
50988 rm -f conftest.$ac_objext conftest$ac_exeext
50989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50990   (eval $ac_link) 2>conftest.er1
50991   ac_status=$?
50992   grep -v '^ *+' conftest.er1 >conftest.err
50993   rm -f conftest.er1
50994   cat conftest.err >&5
50995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50996   (exit $ac_status); } &&
50997          { ac_try='test -z "$ac_c_werror_flag"
50998                          || test ! -s conftest.err'
50999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51000   (eval $ac_try) 2>&5
51001   ac_status=$?
51002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51003   (exit $ac_status); }; } &&
51004          { ac_try='test -s conftest$ac_exeext'
51005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51006   (eval $ac_try) 2>&5
51007   ac_status=$?
51008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51009   (exit $ac_status); }; }; then
51010   eval "$as_ac_var=yes"
51011 else
51012   echo "$as_me: failed program was:" >&5
51013 sed 's/^/| /' conftest.$ac_ext >&5
51014
51015 eval "$as_ac_var=no"
51016 fi
51017 rm -f conftest.err conftest.$ac_objext \
51018       conftest$ac_exeext conftest.$ac_ext
51019 fi
51020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51022 if test `eval echo '${'$as_ac_var'}'` = yes; then
51023   cat >>confdefs.h <<_ACEOF
51024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51025 _ACEOF
51026
51027 fi
51028 done
51029
51030     fi
51031   fi
51032
51033
51034
51035
51036
51037
51038   echo "$as_me:$LINENO: checking for log10f declaration" >&5
51039 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
51040   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
51041     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
51042   echo $ECHO_N "(cached) $ECHO_C" >&6
51043 else
51044
51045
51046
51047       ac_ext=cc
51048 ac_cpp='$CXXCPP $CPPFLAGS'
51049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51052
51053       cat >conftest.$ac_ext <<_ACEOF
51054 /* confdefs.h.  */
51055 _ACEOF
51056 cat confdefs.h >>conftest.$ac_ext
51057 cat >>conftest.$ac_ext <<_ACEOF
51058 /* end confdefs.h.  */
51059 #include <math.h>
51060                       #ifdef HAVE_IEEEFP_H
51061                       #include <ieeefp.h>
51062                       #endif
51063
51064 int
51065 main ()
51066 {
51067  log10f(0);
51068   ;
51069   return 0;
51070 }
51071 _ACEOF
51072 rm -f conftest.$ac_objext
51073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51074   (eval $ac_compile) 2>conftest.er1
51075   ac_status=$?
51076   grep -v '^ *+' conftest.er1 >conftest.err
51077   rm -f conftest.er1
51078   cat conftest.err >&5
51079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51080   (exit $ac_status); } &&
51081          { ac_try='test -z "$ac_cxx_werror_flag"
51082                          || test ! -s conftest.err'
51083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51084   (eval $ac_try) 2>&5
51085   ac_status=$?
51086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51087   (exit $ac_status); }; } &&
51088          { ac_try='test -s conftest.$ac_objext'
51089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51090   (eval $ac_try) 2>&5
51091   ac_status=$?
51092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51093   (exit $ac_status); }; }; then
51094   glibcxx_cv_func_log10f_use=yes
51095 else
51096   echo "$as_me: failed program was:" >&5
51097 sed 's/^/| /' conftest.$ac_ext >&5
51098
51099 glibcxx_cv_func_log10f_use=no
51100 fi
51101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51102       ac_ext=c
51103 ac_cpp='$CPP $CPPFLAGS'
51104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51107
51108
51109 fi
51110
51111   fi
51112   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
51113 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
51114
51115   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
51116
51117 for ac_func in log10f
51118 do
51119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51120 echo "$as_me:$LINENO: checking for $ac_func" >&5
51121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51122 if eval "test \"\${$as_ac_var+set}\" = set"; then
51123   echo $ECHO_N "(cached) $ECHO_C" >&6
51124 else
51125   if test x$gcc_no_link = xyes; then
51126   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51128    { (exit 1); exit 1; }; }
51129 fi
51130 cat >conftest.$ac_ext <<_ACEOF
51131 /* confdefs.h.  */
51132 _ACEOF
51133 cat confdefs.h >>conftest.$ac_ext
51134 cat >>conftest.$ac_ext <<_ACEOF
51135 /* end confdefs.h.  */
51136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51137    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51138 #define $ac_func innocuous_$ac_func
51139
51140 /* System header to define __stub macros and hopefully few prototypes,
51141     which can conflict with char $ac_func (); below.
51142     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51143     <limits.h> exists even on freestanding compilers.  */
51144
51145 #ifdef __STDC__
51146 # include <limits.h>
51147 #else
51148 # include <assert.h>
51149 #endif
51150
51151 #undef $ac_func
51152
51153 /* Override any gcc2 internal prototype to avoid an error.  */
51154 #ifdef __cplusplus
51155 extern "C"
51156 {
51157 #endif
51158 /* We use char because int might match the return type of a gcc2
51159    builtin and then its argument prototype would still apply.  */
51160 char $ac_func ();
51161 /* The GNU C library defines this for functions which it implements
51162     to always fail with ENOSYS.  Some functions are actually named
51163     something starting with __ and the normal name is an alias.  */
51164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51165 choke me
51166 #else
51167 char (*f) () = $ac_func;
51168 #endif
51169 #ifdef __cplusplus
51170 }
51171 #endif
51172
51173 int
51174 main ()
51175 {
51176 return f != $ac_func;
51177   ;
51178   return 0;
51179 }
51180 _ACEOF
51181 rm -f conftest.$ac_objext conftest$ac_exeext
51182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51183   (eval $ac_link) 2>conftest.er1
51184   ac_status=$?
51185   grep -v '^ *+' conftest.er1 >conftest.err
51186   rm -f conftest.er1
51187   cat conftest.err >&5
51188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51189   (exit $ac_status); } &&
51190          { ac_try='test -z "$ac_c_werror_flag"
51191                          || test ! -s conftest.err'
51192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51193   (eval $ac_try) 2>&5
51194   ac_status=$?
51195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51196   (exit $ac_status); }; } &&
51197          { ac_try='test -s conftest$ac_exeext'
51198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51199   (eval $ac_try) 2>&5
51200   ac_status=$?
51201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51202   (exit $ac_status); }; }; then
51203   eval "$as_ac_var=yes"
51204 else
51205   echo "$as_me: failed program was:" >&5
51206 sed 's/^/| /' conftest.$ac_ext >&5
51207
51208 eval "$as_ac_var=no"
51209 fi
51210 rm -f conftest.err conftest.$ac_objext \
51211       conftest$ac_exeext conftest.$ac_ext
51212 fi
51213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51215 if test `eval echo '${'$as_ac_var'}'` = yes; then
51216   cat >>confdefs.h <<_ACEOF
51217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51218 _ACEOF
51219
51220 fi
51221 done
51222
51223   else
51224
51225   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
51226 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
51227   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
51228     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
51229   echo $ECHO_N "(cached) $ECHO_C" >&6
51230 else
51231
51232
51233
51234       ac_ext=cc
51235 ac_cpp='$CXXCPP $CPPFLAGS'
51236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51239
51240       cat >conftest.$ac_ext <<_ACEOF
51241 /* confdefs.h.  */
51242 _ACEOF
51243 cat confdefs.h >>conftest.$ac_ext
51244 cat >>conftest.$ac_ext <<_ACEOF
51245 /* end confdefs.h.  */
51246 #include <math.h>
51247                       #ifdef HAVE_IEEEFP_H
51248                       #include <ieeefp.h>
51249                       #endif
51250
51251 int
51252 main ()
51253 {
51254  _log10f(0);
51255   ;
51256   return 0;
51257 }
51258 _ACEOF
51259 rm -f conftest.$ac_objext
51260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51261   (eval $ac_compile) 2>conftest.er1
51262   ac_status=$?
51263   grep -v '^ *+' conftest.er1 >conftest.err
51264   rm -f conftest.er1
51265   cat conftest.err >&5
51266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51267   (exit $ac_status); } &&
51268          { ac_try='test -z "$ac_cxx_werror_flag"
51269                          || test ! -s conftest.err'
51270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51271   (eval $ac_try) 2>&5
51272   ac_status=$?
51273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51274   (exit $ac_status); }; } &&
51275          { ac_try='test -s conftest.$ac_objext'
51276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51277   (eval $ac_try) 2>&5
51278   ac_status=$?
51279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51280   (exit $ac_status); }; }; then
51281   glibcxx_cv_func__log10f_use=yes
51282 else
51283   echo "$as_me: failed program was:" >&5
51284 sed 's/^/| /' conftest.$ac_ext >&5
51285
51286 glibcxx_cv_func__log10f_use=no
51287 fi
51288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51289       ac_ext=c
51290 ac_cpp='$CPP $CPPFLAGS'
51291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51294
51295
51296 fi
51297
51298   fi
51299   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
51300 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
51301
51302     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
51303
51304 for ac_func in _log10f
51305 do
51306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51307 echo "$as_me:$LINENO: checking for $ac_func" >&5
51308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51309 if eval "test \"\${$as_ac_var+set}\" = set"; then
51310   echo $ECHO_N "(cached) $ECHO_C" >&6
51311 else
51312   if test x$gcc_no_link = xyes; then
51313   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51315    { (exit 1); exit 1; }; }
51316 fi
51317 cat >conftest.$ac_ext <<_ACEOF
51318 /* confdefs.h.  */
51319 _ACEOF
51320 cat confdefs.h >>conftest.$ac_ext
51321 cat >>conftest.$ac_ext <<_ACEOF
51322 /* end confdefs.h.  */
51323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51324    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51325 #define $ac_func innocuous_$ac_func
51326
51327 /* System header to define __stub macros and hopefully few prototypes,
51328     which can conflict with char $ac_func (); below.
51329     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51330     <limits.h> exists even on freestanding compilers.  */
51331
51332 #ifdef __STDC__
51333 # include <limits.h>
51334 #else
51335 # include <assert.h>
51336 #endif
51337
51338 #undef $ac_func
51339
51340 /* Override any gcc2 internal prototype to avoid an error.  */
51341 #ifdef __cplusplus
51342 extern "C"
51343 {
51344 #endif
51345 /* We use char because int might match the return type of a gcc2
51346    builtin and then its argument prototype would still apply.  */
51347 char $ac_func ();
51348 /* The GNU C library defines this for functions which it implements
51349     to always fail with ENOSYS.  Some functions are actually named
51350     something starting with __ and the normal name is an alias.  */
51351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51352 choke me
51353 #else
51354 char (*f) () = $ac_func;
51355 #endif
51356 #ifdef __cplusplus
51357 }
51358 #endif
51359
51360 int
51361 main ()
51362 {
51363 return f != $ac_func;
51364   ;
51365   return 0;
51366 }
51367 _ACEOF
51368 rm -f conftest.$ac_objext conftest$ac_exeext
51369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51370   (eval $ac_link) 2>conftest.er1
51371   ac_status=$?
51372   grep -v '^ *+' conftest.er1 >conftest.err
51373   rm -f conftest.er1
51374   cat conftest.err >&5
51375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51376   (exit $ac_status); } &&
51377          { ac_try='test -z "$ac_c_werror_flag"
51378                          || test ! -s conftest.err'
51379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51380   (eval $ac_try) 2>&5
51381   ac_status=$?
51382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51383   (exit $ac_status); }; } &&
51384          { ac_try='test -s conftest$ac_exeext'
51385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51386   (eval $ac_try) 2>&5
51387   ac_status=$?
51388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51389   (exit $ac_status); }; }; then
51390   eval "$as_ac_var=yes"
51391 else
51392   echo "$as_me: failed program was:" >&5
51393 sed 's/^/| /' conftest.$ac_ext >&5
51394
51395 eval "$as_ac_var=no"
51396 fi
51397 rm -f conftest.err conftest.$ac_objext \
51398       conftest$ac_exeext conftest.$ac_ext
51399 fi
51400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51402 if test `eval echo '${'$as_ac_var'}'` = yes; then
51403   cat >>confdefs.h <<_ACEOF
51404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51405 _ACEOF
51406
51407 fi
51408 done
51409
51410     fi
51411   fi
51412
51413
51414
51415
51416
51417
51418   echo "$as_me:$LINENO: checking for modff declaration" >&5
51419 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
51420   if test x${glibcxx_cv_func_modff_use+set} != xset; then
51421     if test "${glibcxx_cv_func_modff_use+set}" = set; then
51422   echo $ECHO_N "(cached) $ECHO_C" >&6
51423 else
51424
51425
51426
51427       ac_ext=cc
51428 ac_cpp='$CXXCPP $CPPFLAGS'
51429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51432
51433       cat >conftest.$ac_ext <<_ACEOF
51434 /* confdefs.h.  */
51435 _ACEOF
51436 cat confdefs.h >>conftest.$ac_ext
51437 cat >>conftest.$ac_ext <<_ACEOF
51438 /* end confdefs.h.  */
51439 #include <math.h>
51440 int
51441 main ()
51442 {
51443  modff(0, 0);
51444   ;
51445   return 0;
51446 }
51447 _ACEOF
51448 rm -f conftest.$ac_objext
51449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51450   (eval $ac_compile) 2>conftest.er1
51451   ac_status=$?
51452   grep -v '^ *+' conftest.er1 >conftest.err
51453   rm -f conftest.er1
51454   cat conftest.err >&5
51455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51456   (exit $ac_status); } &&
51457          { ac_try='test -z "$ac_cxx_werror_flag"
51458                          || test ! -s conftest.err'
51459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51460   (eval $ac_try) 2>&5
51461   ac_status=$?
51462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51463   (exit $ac_status); }; } &&
51464          { ac_try='test -s conftest.$ac_objext'
51465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51466   (eval $ac_try) 2>&5
51467   ac_status=$?
51468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51469   (exit $ac_status); }; }; then
51470   glibcxx_cv_func_modff_use=yes
51471 else
51472   echo "$as_me: failed program was:" >&5
51473 sed 's/^/| /' conftest.$ac_ext >&5
51474
51475 glibcxx_cv_func_modff_use=no
51476 fi
51477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51478       ac_ext=c
51479 ac_cpp='$CPP $CPPFLAGS'
51480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51483
51484
51485 fi
51486
51487   fi
51488   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
51489 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
51490
51491   if test x$glibcxx_cv_func_modff_use = x"yes"; then
51492
51493 for ac_func in modff
51494 do
51495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51496 echo "$as_me:$LINENO: checking for $ac_func" >&5
51497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51498 if eval "test \"\${$as_ac_var+set}\" = set"; then
51499   echo $ECHO_N "(cached) $ECHO_C" >&6
51500 else
51501   if test x$gcc_no_link = xyes; then
51502   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51504    { (exit 1); exit 1; }; }
51505 fi
51506 cat >conftest.$ac_ext <<_ACEOF
51507 /* confdefs.h.  */
51508 _ACEOF
51509 cat confdefs.h >>conftest.$ac_ext
51510 cat >>conftest.$ac_ext <<_ACEOF
51511 /* end confdefs.h.  */
51512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51513    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51514 #define $ac_func innocuous_$ac_func
51515
51516 /* System header to define __stub macros and hopefully few prototypes,
51517     which can conflict with char $ac_func (); below.
51518     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51519     <limits.h> exists even on freestanding compilers.  */
51520
51521 #ifdef __STDC__
51522 # include <limits.h>
51523 #else
51524 # include <assert.h>
51525 #endif
51526
51527 #undef $ac_func
51528
51529 /* Override any gcc2 internal prototype to avoid an error.  */
51530 #ifdef __cplusplus
51531 extern "C"
51532 {
51533 #endif
51534 /* We use char because int might match the return type of a gcc2
51535    builtin and then its argument prototype would still apply.  */
51536 char $ac_func ();
51537 /* The GNU C library defines this for functions which it implements
51538     to always fail with ENOSYS.  Some functions are actually named
51539     something starting with __ and the normal name is an alias.  */
51540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51541 choke me
51542 #else
51543 char (*f) () = $ac_func;
51544 #endif
51545 #ifdef __cplusplus
51546 }
51547 #endif
51548
51549 int
51550 main ()
51551 {
51552 return f != $ac_func;
51553   ;
51554   return 0;
51555 }
51556 _ACEOF
51557 rm -f conftest.$ac_objext conftest$ac_exeext
51558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51559   (eval $ac_link) 2>conftest.er1
51560   ac_status=$?
51561   grep -v '^ *+' conftest.er1 >conftest.err
51562   rm -f conftest.er1
51563   cat conftest.err >&5
51564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51565   (exit $ac_status); } &&
51566          { ac_try='test -z "$ac_c_werror_flag"
51567                          || test ! -s conftest.err'
51568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51569   (eval $ac_try) 2>&5
51570   ac_status=$?
51571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51572   (exit $ac_status); }; } &&
51573          { ac_try='test -s conftest$ac_exeext'
51574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51575   (eval $ac_try) 2>&5
51576   ac_status=$?
51577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51578   (exit $ac_status); }; }; then
51579   eval "$as_ac_var=yes"
51580 else
51581   echo "$as_me: failed program was:" >&5
51582 sed 's/^/| /' conftest.$ac_ext >&5
51583
51584 eval "$as_ac_var=no"
51585 fi
51586 rm -f conftest.err conftest.$ac_objext \
51587       conftest$ac_exeext conftest.$ac_ext
51588 fi
51589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51591 if test `eval echo '${'$as_ac_var'}'` = yes; then
51592   cat >>confdefs.h <<_ACEOF
51593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51594 _ACEOF
51595
51596 fi
51597 done
51598
51599   else
51600
51601   echo "$as_me:$LINENO: checking for _modff declaration" >&5
51602 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
51603   if test x${glibcxx_cv_func__modff_use+set} != xset; then
51604     if test "${glibcxx_cv_func__modff_use+set}" = set; then
51605   echo $ECHO_N "(cached) $ECHO_C" >&6
51606 else
51607
51608
51609
51610       ac_ext=cc
51611 ac_cpp='$CXXCPP $CPPFLAGS'
51612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51615
51616       cat >conftest.$ac_ext <<_ACEOF
51617 /* confdefs.h.  */
51618 _ACEOF
51619 cat confdefs.h >>conftest.$ac_ext
51620 cat >>conftest.$ac_ext <<_ACEOF
51621 /* end confdefs.h.  */
51622 #include <math.h>
51623 int
51624 main ()
51625 {
51626  _modff(0, 0);
51627   ;
51628   return 0;
51629 }
51630 _ACEOF
51631 rm -f conftest.$ac_objext
51632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51633   (eval $ac_compile) 2>conftest.er1
51634   ac_status=$?
51635   grep -v '^ *+' conftest.er1 >conftest.err
51636   rm -f conftest.er1
51637   cat conftest.err >&5
51638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51639   (exit $ac_status); } &&
51640          { ac_try='test -z "$ac_cxx_werror_flag"
51641                          || test ! -s conftest.err'
51642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51643   (eval $ac_try) 2>&5
51644   ac_status=$?
51645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51646   (exit $ac_status); }; } &&
51647          { ac_try='test -s conftest.$ac_objext'
51648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51649   (eval $ac_try) 2>&5
51650   ac_status=$?
51651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51652   (exit $ac_status); }; }; then
51653   glibcxx_cv_func__modff_use=yes
51654 else
51655   echo "$as_me: failed program was:" >&5
51656 sed 's/^/| /' conftest.$ac_ext >&5
51657
51658 glibcxx_cv_func__modff_use=no
51659 fi
51660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51661       ac_ext=c
51662 ac_cpp='$CPP $CPPFLAGS'
51663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51666
51667
51668 fi
51669
51670   fi
51671   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
51672 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
51673
51674     if test x$glibcxx_cv_func__modff_use = x"yes"; then
51675
51676 for ac_func in _modff
51677 do
51678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51679 echo "$as_me:$LINENO: checking for $ac_func" >&5
51680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51681 if eval "test \"\${$as_ac_var+set}\" = set"; then
51682   echo $ECHO_N "(cached) $ECHO_C" >&6
51683 else
51684   if test x$gcc_no_link = xyes; then
51685   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51687    { (exit 1); exit 1; }; }
51688 fi
51689 cat >conftest.$ac_ext <<_ACEOF
51690 /* confdefs.h.  */
51691 _ACEOF
51692 cat confdefs.h >>conftest.$ac_ext
51693 cat >>conftest.$ac_ext <<_ACEOF
51694 /* end confdefs.h.  */
51695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51696    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51697 #define $ac_func innocuous_$ac_func
51698
51699 /* System header to define __stub macros and hopefully few prototypes,
51700     which can conflict with char $ac_func (); below.
51701     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51702     <limits.h> exists even on freestanding compilers.  */
51703
51704 #ifdef __STDC__
51705 # include <limits.h>
51706 #else
51707 # include <assert.h>
51708 #endif
51709
51710 #undef $ac_func
51711
51712 /* Override any gcc2 internal prototype to avoid an error.  */
51713 #ifdef __cplusplus
51714 extern "C"
51715 {
51716 #endif
51717 /* We use char because int might match the return type of a gcc2
51718    builtin and then its argument prototype would still apply.  */
51719 char $ac_func ();
51720 /* The GNU C library defines this for functions which it implements
51721     to always fail with ENOSYS.  Some functions are actually named
51722     something starting with __ and the normal name is an alias.  */
51723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51724 choke me
51725 #else
51726 char (*f) () = $ac_func;
51727 #endif
51728 #ifdef __cplusplus
51729 }
51730 #endif
51731
51732 int
51733 main ()
51734 {
51735 return f != $ac_func;
51736   ;
51737   return 0;
51738 }
51739 _ACEOF
51740 rm -f conftest.$ac_objext conftest$ac_exeext
51741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51742   (eval $ac_link) 2>conftest.er1
51743   ac_status=$?
51744   grep -v '^ *+' conftest.er1 >conftest.err
51745   rm -f conftest.er1
51746   cat conftest.err >&5
51747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51748   (exit $ac_status); } &&
51749          { ac_try='test -z "$ac_c_werror_flag"
51750                          || test ! -s conftest.err'
51751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51752   (eval $ac_try) 2>&5
51753   ac_status=$?
51754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51755   (exit $ac_status); }; } &&
51756          { ac_try='test -s conftest$ac_exeext'
51757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51758   (eval $ac_try) 2>&5
51759   ac_status=$?
51760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51761   (exit $ac_status); }; }; then
51762   eval "$as_ac_var=yes"
51763 else
51764   echo "$as_me: failed program was:" >&5
51765 sed 's/^/| /' conftest.$ac_ext >&5
51766
51767 eval "$as_ac_var=no"
51768 fi
51769 rm -f conftest.err conftest.$ac_objext \
51770       conftest$ac_exeext conftest.$ac_ext
51771 fi
51772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51774 if test `eval echo '${'$as_ac_var'}'` = yes; then
51775   cat >>confdefs.h <<_ACEOF
51776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51777 _ACEOF
51778
51779 fi
51780 done
51781
51782     fi
51783   fi
51784
51785
51786
51787
51788
51789
51790   echo "$as_me:$LINENO: checking for modf declaration" >&5
51791 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
51792   if test x${glibcxx_cv_func_modf_use+set} != xset; then
51793     if test "${glibcxx_cv_func_modf_use+set}" = set; then
51794   echo $ECHO_N "(cached) $ECHO_C" >&6
51795 else
51796
51797
51798
51799       ac_ext=cc
51800 ac_cpp='$CXXCPP $CPPFLAGS'
51801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51804
51805       cat >conftest.$ac_ext <<_ACEOF
51806 /* confdefs.h.  */
51807 _ACEOF
51808 cat confdefs.h >>conftest.$ac_ext
51809 cat >>conftest.$ac_ext <<_ACEOF
51810 /* end confdefs.h.  */
51811 #include <math.h>
51812 int
51813 main ()
51814 {
51815  modf(0, 0);
51816   ;
51817   return 0;
51818 }
51819 _ACEOF
51820 rm -f conftest.$ac_objext
51821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51822   (eval $ac_compile) 2>conftest.er1
51823   ac_status=$?
51824   grep -v '^ *+' conftest.er1 >conftest.err
51825   rm -f conftest.er1
51826   cat conftest.err >&5
51827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51828   (exit $ac_status); } &&
51829          { ac_try='test -z "$ac_cxx_werror_flag"
51830                          || test ! -s conftest.err'
51831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51832   (eval $ac_try) 2>&5
51833   ac_status=$?
51834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51835   (exit $ac_status); }; } &&
51836          { ac_try='test -s conftest.$ac_objext'
51837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51838   (eval $ac_try) 2>&5
51839   ac_status=$?
51840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51841   (exit $ac_status); }; }; then
51842   glibcxx_cv_func_modf_use=yes
51843 else
51844   echo "$as_me: failed program was:" >&5
51845 sed 's/^/| /' conftest.$ac_ext >&5
51846
51847 glibcxx_cv_func_modf_use=no
51848 fi
51849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51850       ac_ext=c
51851 ac_cpp='$CPP $CPPFLAGS'
51852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51855
51856
51857 fi
51858
51859   fi
51860   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
51861 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
51862
51863   if test x$glibcxx_cv_func_modf_use = x"yes"; then
51864
51865 for ac_func in modf
51866 do
51867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51868 echo "$as_me:$LINENO: checking for $ac_func" >&5
51869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51870 if eval "test \"\${$as_ac_var+set}\" = set"; then
51871   echo $ECHO_N "(cached) $ECHO_C" >&6
51872 else
51873   if test x$gcc_no_link = xyes; then
51874   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51876    { (exit 1); exit 1; }; }
51877 fi
51878 cat >conftest.$ac_ext <<_ACEOF
51879 /* confdefs.h.  */
51880 _ACEOF
51881 cat confdefs.h >>conftest.$ac_ext
51882 cat >>conftest.$ac_ext <<_ACEOF
51883 /* end confdefs.h.  */
51884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51885    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51886 #define $ac_func innocuous_$ac_func
51887
51888 /* System header to define __stub macros and hopefully few prototypes,
51889     which can conflict with char $ac_func (); below.
51890     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51891     <limits.h> exists even on freestanding compilers.  */
51892
51893 #ifdef __STDC__
51894 # include <limits.h>
51895 #else
51896 # include <assert.h>
51897 #endif
51898
51899 #undef $ac_func
51900
51901 /* Override any gcc2 internal prototype to avoid an error.  */
51902 #ifdef __cplusplus
51903 extern "C"
51904 {
51905 #endif
51906 /* We use char because int might match the return type of a gcc2
51907    builtin and then its argument prototype would still apply.  */
51908 char $ac_func ();
51909 /* The GNU C library defines this for functions which it implements
51910     to always fail with ENOSYS.  Some functions are actually named
51911     something starting with __ and the normal name is an alias.  */
51912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51913 choke me
51914 #else
51915 char (*f) () = $ac_func;
51916 #endif
51917 #ifdef __cplusplus
51918 }
51919 #endif
51920
51921 int
51922 main ()
51923 {
51924 return f != $ac_func;
51925   ;
51926   return 0;
51927 }
51928 _ACEOF
51929 rm -f conftest.$ac_objext conftest$ac_exeext
51930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51931   (eval $ac_link) 2>conftest.er1
51932   ac_status=$?
51933   grep -v '^ *+' conftest.er1 >conftest.err
51934   rm -f conftest.er1
51935   cat conftest.err >&5
51936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51937   (exit $ac_status); } &&
51938          { ac_try='test -z "$ac_c_werror_flag"
51939                          || test ! -s conftest.err'
51940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51941   (eval $ac_try) 2>&5
51942   ac_status=$?
51943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51944   (exit $ac_status); }; } &&
51945          { ac_try='test -s conftest$ac_exeext'
51946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51947   (eval $ac_try) 2>&5
51948   ac_status=$?
51949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51950   (exit $ac_status); }; }; then
51951   eval "$as_ac_var=yes"
51952 else
51953   echo "$as_me: failed program was:" >&5
51954 sed 's/^/| /' conftest.$ac_ext >&5
51955
51956 eval "$as_ac_var=no"
51957 fi
51958 rm -f conftest.err conftest.$ac_objext \
51959       conftest$ac_exeext conftest.$ac_ext
51960 fi
51961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51963 if test `eval echo '${'$as_ac_var'}'` = yes; then
51964   cat >>confdefs.h <<_ACEOF
51965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51966 _ACEOF
51967
51968 fi
51969 done
51970
51971   else
51972
51973   echo "$as_me:$LINENO: checking for _modf declaration" >&5
51974 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
51975   if test x${glibcxx_cv_func__modf_use+set} != xset; then
51976     if test "${glibcxx_cv_func__modf_use+set}" = set; then
51977   echo $ECHO_N "(cached) $ECHO_C" >&6
51978 else
51979
51980
51981
51982       ac_ext=cc
51983 ac_cpp='$CXXCPP $CPPFLAGS'
51984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51987
51988       cat >conftest.$ac_ext <<_ACEOF
51989 /* confdefs.h.  */
51990 _ACEOF
51991 cat confdefs.h >>conftest.$ac_ext
51992 cat >>conftest.$ac_ext <<_ACEOF
51993 /* end confdefs.h.  */
51994 #include <math.h>
51995 int
51996 main ()
51997 {
51998  _modf(0, 0);
51999   ;
52000   return 0;
52001 }
52002 _ACEOF
52003 rm -f conftest.$ac_objext
52004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52005   (eval $ac_compile) 2>conftest.er1
52006   ac_status=$?
52007   grep -v '^ *+' conftest.er1 >conftest.err
52008   rm -f conftest.er1
52009   cat conftest.err >&5
52010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52011   (exit $ac_status); } &&
52012          { ac_try='test -z "$ac_cxx_werror_flag"
52013                          || test ! -s conftest.err'
52014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52015   (eval $ac_try) 2>&5
52016   ac_status=$?
52017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52018   (exit $ac_status); }; } &&
52019          { ac_try='test -s conftest.$ac_objext'
52020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52021   (eval $ac_try) 2>&5
52022   ac_status=$?
52023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52024   (exit $ac_status); }; }; then
52025   glibcxx_cv_func__modf_use=yes
52026 else
52027   echo "$as_me: failed program was:" >&5
52028 sed 's/^/| /' conftest.$ac_ext >&5
52029
52030 glibcxx_cv_func__modf_use=no
52031 fi
52032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52033       ac_ext=c
52034 ac_cpp='$CPP $CPPFLAGS'
52035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52038
52039
52040 fi
52041
52042   fi
52043   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
52044 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
52045
52046     if test x$glibcxx_cv_func__modf_use = x"yes"; then
52047
52048 for ac_func in _modf
52049 do
52050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52051 echo "$as_me:$LINENO: checking for $ac_func" >&5
52052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52053 if eval "test \"\${$as_ac_var+set}\" = set"; then
52054   echo $ECHO_N "(cached) $ECHO_C" >&6
52055 else
52056   if test x$gcc_no_link = xyes; then
52057   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52059    { (exit 1); exit 1; }; }
52060 fi
52061 cat >conftest.$ac_ext <<_ACEOF
52062 /* confdefs.h.  */
52063 _ACEOF
52064 cat confdefs.h >>conftest.$ac_ext
52065 cat >>conftest.$ac_ext <<_ACEOF
52066 /* end confdefs.h.  */
52067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52068    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52069 #define $ac_func innocuous_$ac_func
52070
52071 /* System header to define __stub macros and hopefully few prototypes,
52072     which can conflict with char $ac_func (); below.
52073     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52074     <limits.h> exists even on freestanding compilers.  */
52075
52076 #ifdef __STDC__
52077 # include <limits.h>
52078 #else
52079 # include <assert.h>
52080 #endif
52081
52082 #undef $ac_func
52083
52084 /* Override any gcc2 internal prototype to avoid an error.  */
52085 #ifdef __cplusplus
52086 extern "C"
52087 {
52088 #endif
52089 /* We use char because int might match the return type of a gcc2
52090    builtin and then its argument prototype would still apply.  */
52091 char $ac_func ();
52092 /* The GNU C library defines this for functions which it implements
52093     to always fail with ENOSYS.  Some functions are actually named
52094     something starting with __ and the normal name is an alias.  */
52095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52096 choke me
52097 #else
52098 char (*f) () = $ac_func;
52099 #endif
52100 #ifdef __cplusplus
52101 }
52102 #endif
52103
52104 int
52105 main ()
52106 {
52107 return f != $ac_func;
52108   ;
52109   return 0;
52110 }
52111 _ACEOF
52112 rm -f conftest.$ac_objext conftest$ac_exeext
52113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52114   (eval $ac_link) 2>conftest.er1
52115   ac_status=$?
52116   grep -v '^ *+' conftest.er1 >conftest.err
52117   rm -f conftest.er1
52118   cat conftest.err >&5
52119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52120   (exit $ac_status); } &&
52121          { ac_try='test -z "$ac_c_werror_flag"
52122                          || test ! -s conftest.err'
52123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52124   (eval $ac_try) 2>&5
52125   ac_status=$?
52126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52127   (exit $ac_status); }; } &&
52128          { ac_try='test -s conftest$ac_exeext'
52129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52130   (eval $ac_try) 2>&5
52131   ac_status=$?
52132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52133   (exit $ac_status); }; }; then
52134   eval "$as_ac_var=yes"
52135 else
52136   echo "$as_me: failed program was:" >&5
52137 sed 's/^/| /' conftest.$ac_ext >&5
52138
52139 eval "$as_ac_var=no"
52140 fi
52141 rm -f conftest.err conftest.$ac_objext \
52142       conftest$ac_exeext conftest.$ac_ext
52143 fi
52144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52146 if test `eval echo '${'$as_ac_var'}'` = yes; then
52147   cat >>confdefs.h <<_ACEOF
52148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52149 _ACEOF
52150
52151 fi
52152 done
52153
52154     fi
52155   fi
52156
52157
52158
52159
52160
52161
52162   echo "$as_me:$LINENO: checking for powf declaration" >&5
52163 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
52164   if test x${glibcxx_cv_func_powf_use+set} != xset; then
52165     if test "${glibcxx_cv_func_powf_use+set}" = set; then
52166   echo $ECHO_N "(cached) $ECHO_C" >&6
52167 else
52168
52169
52170
52171       ac_ext=cc
52172 ac_cpp='$CXXCPP $CPPFLAGS'
52173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52176
52177       cat >conftest.$ac_ext <<_ACEOF
52178 /* confdefs.h.  */
52179 _ACEOF
52180 cat confdefs.h >>conftest.$ac_ext
52181 cat >>conftest.$ac_ext <<_ACEOF
52182 /* end confdefs.h.  */
52183 #include <math.h>
52184 int
52185 main ()
52186 {
52187  powf(0, 0);
52188   ;
52189   return 0;
52190 }
52191 _ACEOF
52192 rm -f conftest.$ac_objext
52193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52194   (eval $ac_compile) 2>conftest.er1
52195   ac_status=$?
52196   grep -v '^ *+' conftest.er1 >conftest.err
52197   rm -f conftest.er1
52198   cat conftest.err >&5
52199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52200   (exit $ac_status); } &&
52201          { ac_try='test -z "$ac_cxx_werror_flag"
52202                          || test ! -s conftest.err'
52203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52204   (eval $ac_try) 2>&5
52205   ac_status=$?
52206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52207   (exit $ac_status); }; } &&
52208          { ac_try='test -s conftest.$ac_objext'
52209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52210   (eval $ac_try) 2>&5
52211   ac_status=$?
52212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52213   (exit $ac_status); }; }; then
52214   glibcxx_cv_func_powf_use=yes
52215 else
52216   echo "$as_me: failed program was:" >&5
52217 sed 's/^/| /' conftest.$ac_ext >&5
52218
52219 glibcxx_cv_func_powf_use=no
52220 fi
52221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52222       ac_ext=c
52223 ac_cpp='$CPP $CPPFLAGS'
52224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52227
52228
52229 fi
52230
52231   fi
52232   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
52233 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
52234
52235   if test x$glibcxx_cv_func_powf_use = x"yes"; then
52236
52237 for ac_func in powf
52238 do
52239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52240 echo "$as_me:$LINENO: checking for $ac_func" >&5
52241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52242 if eval "test \"\${$as_ac_var+set}\" = set"; then
52243   echo $ECHO_N "(cached) $ECHO_C" >&6
52244 else
52245   if test x$gcc_no_link = xyes; then
52246   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52248    { (exit 1); exit 1; }; }
52249 fi
52250 cat >conftest.$ac_ext <<_ACEOF
52251 /* confdefs.h.  */
52252 _ACEOF
52253 cat confdefs.h >>conftest.$ac_ext
52254 cat >>conftest.$ac_ext <<_ACEOF
52255 /* end confdefs.h.  */
52256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52257    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52258 #define $ac_func innocuous_$ac_func
52259
52260 /* System header to define __stub macros and hopefully few prototypes,
52261     which can conflict with char $ac_func (); below.
52262     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52263     <limits.h> exists even on freestanding compilers.  */
52264
52265 #ifdef __STDC__
52266 # include <limits.h>
52267 #else
52268 # include <assert.h>
52269 #endif
52270
52271 #undef $ac_func
52272
52273 /* Override any gcc2 internal prototype to avoid an error.  */
52274 #ifdef __cplusplus
52275 extern "C"
52276 {
52277 #endif
52278 /* We use char because int might match the return type of a gcc2
52279    builtin and then its argument prototype would still apply.  */
52280 char $ac_func ();
52281 /* The GNU C library defines this for functions which it implements
52282     to always fail with ENOSYS.  Some functions are actually named
52283     something starting with __ and the normal name is an alias.  */
52284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52285 choke me
52286 #else
52287 char (*f) () = $ac_func;
52288 #endif
52289 #ifdef __cplusplus
52290 }
52291 #endif
52292
52293 int
52294 main ()
52295 {
52296 return f != $ac_func;
52297   ;
52298   return 0;
52299 }
52300 _ACEOF
52301 rm -f conftest.$ac_objext conftest$ac_exeext
52302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52303   (eval $ac_link) 2>conftest.er1
52304   ac_status=$?
52305   grep -v '^ *+' conftest.er1 >conftest.err
52306   rm -f conftest.er1
52307   cat conftest.err >&5
52308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52309   (exit $ac_status); } &&
52310          { ac_try='test -z "$ac_c_werror_flag"
52311                          || test ! -s conftest.err'
52312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52313   (eval $ac_try) 2>&5
52314   ac_status=$?
52315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52316   (exit $ac_status); }; } &&
52317          { ac_try='test -s conftest$ac_exeext'
52318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52319   (eval $ac_try) 2>&5
52320   ac_status=$?
52321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52322   (exit $ac_status); }; }; then
52323   eval "$as_ac_var=yes"
52324 else
52325   echo "$as_me: failed program was:" >&5
52326 sed 's/^/| /' conftest.$ac_ext >&5
52327
52328 eval "$as_ac_var=no"
52329 fi
52330 rm -f conftest.err conftest.$ac_objext \
52331       conftest$ac_exeext conftest.$ac_ext
52332 fi
52333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52335 if test `eval echo '${'$as_ac_var'}'` = yes; then
52336   cat >>confdefs.h <<_ACEOF
52337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52338 _ACEOF
52339
52340 fi
52341 done
52342
52343   else
52344
52345   echo "$as_me:$LINENO: checking for _powf declaration" >&5
52346 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
52347   if test x${glibcxx_cv_func__powf_use+set} != xset; then
52348     if test "${glibcxx_cv_func__powf_use+set}" = set; then
52349   echo $ECHO_N "(cached) $ECHO_C" >&6
52350 else
52351
52352
52353
52354       ac_ext=cc
52355 ac_cpp='$CXXCPP $CPPFLAGS'
52356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52359
52360       cat >conftest.$ac_ext <<_ACEOF
52361 /* confdefs.h.  */
52362 _ACEOF
52363 cat confdefs.h >>conftest.$ac_ext
52364 cat >>conftest.$ac_ext <<_ACEOF
52365 /* end confdefs.h.  */
52366 #include <math.h>
52367 int
52368 main ()
52369 {
52370  _powf(0, 0);
52371   ;
52372   return 0;
52373 }
52374 _ACEOF
52375 rm -f conftest.$ac_objext
52376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52377   (eval $ac_compile) 2>conftest.er1
52378   ac_status=$?
52379   grep -v '^ *+' conftest.er1 >conftest.err
52380   rm -f conftest.er1
52381   cat conftest.err >&5
52382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52383   (exit $ac_status); } &&
52384          { ac_try='test -z "$ac_cxx_werror_flag"
52385                          || test ! -s conftest.err'
52386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52387   (eval $ac_try) 2>&5
52388   ac_status=$?
52389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52390   (exit $ac_status); }; } &&
52391          { ac_try='test -s conftest.$ac_objext'
52392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52393   (eval $ac_try) 2>&5
52394   ac_status=$?
52395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52396   (exit $ac_status); }; }; then
52397   glibcxx_cv_func__powf_use=yes
52398 else
52399   echo "$as_me: failed program was:" >&5
52400 sed 's/^/| /' conftest.$ac_ext >&5
52401
52402 glibcxx_cv_func__powf_use=no
52403 fi
52404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52405       ac_ext=c
52406 ac_cpp='$CPP $CPPFLAGS'
52407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52410
52411
52412 fi
52413
52414   fi
52415   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
52416 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
52417
52418     if test x$glibcxx_cv_func__powf_use = x"yes"; then
52419
52420 for ac_func in _powf
52421 do
52422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52423 echo "$as_me:$LINENO: checking for $ac_func" >&5
52424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52425 if eval "test \"\${$as_ac_var+set}\" = set"; then
52426   echo $ECHO_N "(cached) $ECHO_C" >&6
52427 else
52428   if test x$gcc_no_link = xyes; then
52429   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52431    { (exit 1); exit 1; }; }
52432 fi
52433 cat >conftest.$ac_ext <<_ACEOF
52434 /* confdefs.h.  */
52435 _ACEOF
52436 cat confdefs.h >>conftest.$ac_ext
52437 cat >>conftest.$ac_ext <<_ACEOF
52438 /* end confdefs.h.  */
52439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52440    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52441 #define $ac_func innocuous_$ac_func
52442
52443 /* System header to define __stub macros and hopefully few prototypes,
52444     which can conflict with char $ac_func (); below.
52445     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52446     <limits.h> exists even on freestanding compilers.  */
52447
52448 #ifdef __STDC__
52449 # include <limits.h>
52450 #else
52451 # include <assert.h>
52452 #endif
52453
52454 #undef $ac_func
52455
52456 /* Override any gcc2 internal prototype to avoid an error.  */
52457 #ifdef __cplusplus
52458 extern "C"
52459 {
52460 #endif
52461 /* We use char because int might match the return type of a gcc2
52462    builtin and then its argument prototype would still apply.  */
52463 char $ac_func ();
52464 /* The GNU C library defines this for functions which it implements
52465     to always fail with ENOSYS.  Some functions are actually named
52466     something starting with __ and the normal name is an alias.  */
52467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52468 choke me
52469 #else
52470 char (*f) () = $ac_func;
52471 #endif
52472 #ifdef __cplusplus
52473 }
52474 #endif
52475
52476 int
52477 main ()
52478 {
52479 return f != $ac_func;
52480   ;
52481   return 0;
52482 }
52483 _ACEOF
52484 rm -f conftest.$ac_objext conftest$ac_exeext
52485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52486   (eval $ac_link) 2>conftest.er1
52487   ac_status=$?
52488   grep -v '^ *+' conftest.er1 >conftest.err
52489   rm -f conftest.er1
52490   cat conftest.err >&5
52491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52492   (exit $ac_status); } &&
52493          { ac_try='test -z "$ac_c_werror_flag"
52494                          || test ! -s conftest.err'
52495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52496   (eval $ac_try) 2>&5
52497   ac_status=$?
52498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52499   (exit $ac_status); }; } &&
52500          { ac_try='test -s conftest$ac_exeext'
52501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52502   (eval $ac_try) 2>&5
52503   ac_status=$?
52504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52505   (exit $ac_status); }; }; then
52506   eval "$as_ac_var=yes"
52507 else
52508   echo "$as_me: failed program was:" >&5
52509 sed 's/^/| /' conftest.$ac_ext >&5
52510
52511 eval "$as_ac_var=no"
52512 fi
52513 rm -f conftest.err conftest.$ac_objext \
52514       conftest$ac_exeext conftest.$ac_ext
52515 fi
52516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52518 if test `eval echo '${'$as_ac_var'}'` = yes; then
52519   cat >>confdefs.h <<_ACEOF
52520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52521 _ACEOF
52522
52523 fi
52524 done
52525
52526     fi
52527   fi
52528
52529
52530
52531
52532
52533
52534   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
52535 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
52536   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
52537     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
52538   echo $ECHO_N "(cached) $ECHO_C" >&6
52539 else
52540
52541
52542
52543       ac_ext=cc
52544 ac_cpp='$CXXCPP $CPPFLAGS'
52545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52548
52549       cat >conftest.$ac_ext <<_ACEOF
52550 /* confdefs.h.  */
52551 _ACEOF
52552 cat confdefs.h >>conftest.$ac_ext
52553 cat >>conftest.$ac_ext <<_ACEOF
52554 /* end confdefs.h.  */
52555 #include <math.h>
52556                       #ifdef HAVE_IEEEFP_H
52557                       #include <ieeefp.h>
52558                       #endif
52559
52560 int
52561 main ()
52562 {
52563  sqrtf(0);
52564   ;
52565   return 0;
52566 }
52567 _ACEOF
52568 rm -f conftest.$ac_objext
52569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52570   (eval $ac_compile) 2>conftest.er1
52571   ac_status=$?
52572   grep -v '^ *+' conftest.er1 >conftest.err
52573   rm -f conftest.er1
52574   cat conftest.err >&5
52575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52576   (exit $ac_status); } &&
52577          { ac_try='test -z "$ac_cxx_werror_flag"
52578                          || test ! -s conftest.err'
52579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52580   (eval $ac_try) 2>&5
52581   ac_status=$?
52582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52583   (exit $ac_status); }; } &&
52584          { ac_try='test -s conftest.$ac_objext'
52585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52586   (eval $ac_try) 2>&5
52587   ac_status=$?
52588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52589   (exit $ac_status); }; }; then
52590   glibcxx_cv_func_sqrtf_use=yes
52591 else
52592   echo "$as_me: failed program was:" >&5
52593 sed 's/^/| /' conftest.$ac_ext >&5
52594
52595 glibcxx_cv_func_sqrtf_use=no
52596 fi
52597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52598       ac_ext=c
52599 ac_cpp='$CPP $CPPFLAGS'
52600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52603
52604
52605 fi
52606
52607   fi
52608   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
52609 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
52610
52611   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
52612
52613 for ac_func in sqrtf
52614 do
52615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52616 echo "$as_me:$LINENO: checking for $ac_func" >&5
52617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52618 if eval "test \"\${$as_ac_var+set}\" = set"; then
52619   echo $ECHO_N "(cached) $ECHO_C" >&6
52620 else
52621   if test x$gcc_no_link = xyes; then
52622   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52624    { (exit 1); exit 1; }; }
52625 fi
52626 cat >conftest.$ac_ext <<_ACEOF
52627 /* confdefs.h.  */
52628 _ACEOF
52629 cat confdefs.h >>conftest.$ac_ext
52630 cat >>conftest.$ac_ext <<_ACEOF
52631 /* end confdefs.h.  */
52632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52633    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52634 #define $ac_func innocuous_$ac_func
52635
52636 /* System header to define __stub macros and hopefully few prototypes,
52637     which can conflict with char $ac_func (); below.
52638     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52639     <limits.h> exists even on freestanding compilers.  */
52640
52641 #ifdef __STDC__
52642 # include <limits.h>
52643 #else
52644 # include <assert.h>
52645 #endif
52646
52647 #undef $ac_func
52648
52649 /* Override any gcc2 internal prototype to avoid an error.  */
52650 #ifdef __cplusplus
52651 extern "C"
52652 {
52653 #endif
52654 /* We use char because int might match the return type of a gcc2
52655    builtin and then its argument prototype would still apply.  */
52656 char $ac_func ();
52657 /* The GNU C library defines this for functions which it implements
52658     to always fail with ENOSYS.  Some functions are actually named
52659     something starting with __ and the normal name is an alias.  */
52660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52661 choke me
52662 #else
52663 char (*f) () = $ac_func;
52664 #endif
52665 #ifdef __cplusplus
52666 }
52667 #endif
52668
52669 int
52670 main ()
52671 {
52672 return f != $ac_func;
52673   ;
52674   return 0;
52675 }
52676 _ACEOF
52677 rm -f conftest.$ac_objext conftest$ac_exeext
52678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52679   (eval $ac_link) 2>conftest.er1
52680   ac_status=$?
52681   grep -v '^ *+' conftest.er1 >conftest.err
52682   rm -f conftest.er1
52683   cat conftest.err >&5
52684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52685   (exit $ac_status); } &&
52686          { ac_try='test -z "$ac_c_werror_flag"
52687                          || test ! -s conftest.err'
52688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52689   (eval $ac_try) 2>&5
52690   ac_status=$?
52691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52692   (exit $ac_status); }; } &&
52693          { ac_try='test -s conftest$ac_exeext'
52694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52695   (eval $ac_try) 2>&5
52696   ac_status=$?
52697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52698   (exit $ac_status); }; }; then
52699   eval "$as_ac_var=yes"
52700 else
52701   echo "$as_me: failed program was:" >&5
52702 sed 's/^/| /' conftest.$ac_ext >&5
52703
52704 eval "$as_ac_var=no"
52705 fi
52706 rm -f conftest.err conftest.$ac_objext \
52707       conftest$ac_exeext conftest.$ac_ext
52708 fi
52709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52711 if test `eval echo '${'$as_ac_var'}'` = yes; then
52712   cat >>confdefs.h <<_ACEOF
52713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52714 _ACEOF
52715
52716 fi
52717 done
52718
52719   else
52720
52721   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
52722 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
52723   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
52724     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
52725   echo $ECHO_N "(cached) $ECHO_C" >&6
52726 else
52727
52728
52729
52730       ac_ext=cc
52731 ac_cpp='$CXXCPP $CPPFLAGS'
52732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52735
52736       cat >conftest.$ac_ext <<_ACEOF
52737 /* confdefs.h.  */
52738 _ACEOF
52739 cat confdefs.h >>conftest.$ac_ext
52740 cat >>conftest.$ac_ext <<_ACEOF
52741 /* end confdefs.h.  */
52742 #include <math.h>
52743                       #ifdef HAVE_IEEEFP_H
52744                       #include <ieeefp.h>
52745                       #endif
52746
52747 int
52748 main ()
52749 {
52750  _sqrtf(0);
52751   ;
52752   return 0;
52753 }
52754 _ACEOF
52755 rm -f conftest.$ac_objext
52756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52757   (eval $ac_compile) 2>conftest.er1
52758   ac_status=$?
52759   grep -v '^ *+' conftest.er1 >conftest.err
52760   rm -f conftest.er1
52761   cat conftest.err >&5
52762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52763   (exit $ac_status); } &&
52764          { ac_try='test -z "$ac_cxx_werror_flag"
52765                          || test ! -s conftest.err'
52766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52767   (eval $ac_try) 2>&5
52768   ac_status=$?
52769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52770   (exit $ac_status); }; } &&
52771          { ac_try='test -s conftest.$ac_objext'
52772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52773   (eval $ac_try) 2>&5
52774   ac_status=$?
52775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52776   (exit $ac_status); }; }; then
52777   glibcxx_cv_func__sqrtf_use=yes
52778 else
52779   echo "$as_me: failed program was:" >&5
52780 sed 's/^/| /' conftest.$ac_ext >&5
52781
52782 glibcxx_cv_func__sqrtf_use=no
52783 fi
52784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52785       ac_ext=c
52786 ac_cpp='$CPP $CPPFLAGS'
52787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52790
52791
52792 fi
52793
52794   fi
52795   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
52796 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
52797
52798     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
52799
52800 for ac_func in _sqrtf
52801 do
52802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52803 echo "$as_me:$LINENO: checking for $ac_func" >&5
52804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52805 if eval "test \"\${$as_ac_var+set}\" = set"; then
52806   echo $ECHO_N "(cached) $ECHO_C" >&6
52807 else
52808   if test x$gcc_no_link = xyes; then
52809   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52811    { (exit 1); exit 1; }; }
52812 fi
52813 cat >conftest.$ac_ext <<_ACEOF
52814 /* confdefs.h.  */
52815 _ACEOF
52816 cat confdefs.h >>conftest.$ac_ext
52817 cat >>conftest.$ac_ext <<_ACEOF
52818 /* end confdefs.h.  */
52819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52820    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52821 #define $ac_func innocuous_$ac_func
52822
52823 /* System header to define __stub macros and hopefully few prototypes,
52824     which can conflict with char $ac_func (); below.
52825     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52826     <limits.h> exists even on freestanding compilers.  */
52827
52828 #ifdef __STDC__
52829 # include <limits.h>
52830 #else
52831 # include <assert.h>
52832 #endif
52833
52834 #undef $ac_func
52835
52836 /* Override any gcc2 internal prototype to avoid an error.  */
52837 #ifdef __cplusplus
52838 extern "C"
52839 {
52840 #endif
52841 /* We use char because int might match the return type of a gcc2
52842    builtin and then its argument prototype would still apply.  */
52843 char $ac_func ();
52844 /* The GNU C library defines this for functions which it implements
52845     to always fail with ENOSYS.  Some functions are actually named
52846     something starting with __ and the normal name is an alias.  */
52847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52848 choke me
52849 #else
52850 char (*f) () = $ac_func;
52851 #endif
52852 #ifdef __cplusplus
52853 }
52854 #endif
52855
52856 int
52857 main ()
52858 {
52859 return f != $ac_func;
52860   ;
52861   return 0;
52862 }
52863 _ACEOF
52864 rm -f conftest.$ac_objext conftest$ac_exeext
52865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52866   (eval $ac_link) 2>conftest.er1
52867   ac_status=$?
52868   grep -v '^ *+' conftest.er1 >conftest.err
52869   rm -f conftest.er1
52870   cat conftest.err >&5
52871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52872   (exit $ac_status); } &&
52873          { ac_try='test -z "$ac_c_werror_flag"
52874                          || test ! -s conftest.err'
52875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52876   (eval $ac_try) 2>&5
52877   ac_status=$?
52878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52879   (exit $ac_status); }; } &&
52880          { ac_try='test -s conftest$ac_exeext'
52881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52882   (eval $ac_try) 2>&5
52883   ac_status=$?
52884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52885   (exit $ac_status); }; }; then
52886   eval "$as_ac_var=yes"
52887 else
52888   echo "$as_me: failed program was:" >&5
52889 sed 's/^/| /' conftest.$ac_ext >&5
52890
52891 eval "$as_ac_var=no"
52892 fi
52893 rm -f conftest.err conftest.$ac_objext \
52894       conftest$ac_exeext conftest.$ac_ext
52895 fi
52896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52898 if test `eval echo '${'$as_ac_var'}'` = yes; then
52899   cat >>confdefs.h <<_ACEOF
52900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52901 _ACEOF
52902
52903 fi
52904 done
52905
52906     fi
52907   fi
52908
52909
52910
52911
52912
52913
52914   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
52915 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
52916   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
52917     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
52918   echo $ECHO_N "(cached) $ECHO_C" >&6
52919 else
52920
52921
52922
52923       ac_ext=cc
52924 ac_cpp='$CXXCPP $CPPFLAGS'
52925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52928
52929       cat >conftest.$ac_ext <<_ACEOF
52930 /* confdefs.h.  */
52931 _ACEOF
52932 cat confdefs.h >>conftest.$ac_ext
52933 cat >>conftest.$ac_ext <<_ACEOF
52934 /* end confdefs.h.  */
52935 #include <math.h>
52936 int
52937 main ()
52938 {
52939  sincosf(0, 0, 0);
52940   ;
52941   return 0;
52942 }
52943 _ACEOF
52944 rm -f conftest.$ac_objext
52945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52946   (eval $ac_compile) 2>conftest.er1
52947   ac_status=$?
52948   grep -v '^ *+' conftest.er1 >conftest.err
52949   rm -f conftest.er1
52950   cat conftest.err >&5
52951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52952   (exit $ac_status); } &&
52953          { ac_try='test -z "$ac_cxx_werror_flag"
52954                          || test ! -s conftest.err'
52955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52956   (eval $ac_try) 2>&5
52957   ac_status=$?
52958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52959   (exit $ac_status); }; } &&
52960          { ac_try='test -s conftest.$ac_objext'
52961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52962   (eval $ac_try) 2>&5
52963   ac_status=$?
52964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52965   (exit $ac_status); }; }; then
52966   glibcxx_cv_func_sincosf_use=yes
52967 else
52968   echo "$as_me: failed program was:" >&5
52969 sed 's/^/| /' conftest.$ac_ext >&5
52970
52971 glibcxx_cv_func_sincosf_use=no
52972 fi
52973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52974       ac_ext=c
52975 ac_cpp='$CPP $CPPFLAGS'
52976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52979
52980
52981 fi
52982
52983   fi
52984   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
52985 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
52986
52987   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
52988
52989 for ac_func in sincosf
52990 do
52991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52992 echo "$as_me:$LINENO: checking for $ac_func" >&5
52993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52994 if eval "test \"\${$as_ac_var+set}\" = set"; then
52995   echo $ECHO_N "(cached) $ECHO_C" >&6
52996 else
52997   if test x$gcc_no_link = xyes; then
52998   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53000    { (exit 1); exit 1; }; }
53001 fi
53002 cat >conftest.$ac_ext <<_ACEOF
53003 /* confdefs.h.  */
53004 _ACEOF
53005 cat confdefs.h >>conftest.$ac_ext
53006 cat >>conftest.$ac_ext <<_ACEOF
53007 /* end confdefs.h.  */
53008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53009    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53010 #define $ac_func innocuous_$ac_func
53011
53012 /* System header to define __stub macros and hopefully few prototypes,
53013     which can conflict with char $ac_func (); below.
53014     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53015     <limits.h> exists even on freestanding compilers.  */
53016
53017 #ifdef __STDC__
53018 # include <limits.h>
53019 #else
53020 # include <assert.h>
53021 #endif
53022
53023 #undef $ac_func
53024
53025 /* Override any gcc2 internal prototype to avoid an error.  */
53026 #ifdef __cplusplus
53027 extern "C"
53028 {
53029 #endif
53030 /* We use char because int might match the return type of a gcc2
53031    builtin and then its argument prototype would still apply.  */
53032 char $ac_func ();
53033 /* The GNU C library defines this for functions which it implements
53034     to always fail with ENOSYS.  Some functions are actually named
53035     something starting with __ and the normal name is an alias.  */
53036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53037 choke me
53038 #else
53039 char (*f) () = $ac_func;
53040 #endif
53041 #ifdef __cplusplus
53042 }
53043 #endif
53044
53045 int
53046 main ()
53047 {
53048 return f != $ac_func;
53049   ;
53050   return 0;
53051 }
53052 _ACEOF
53053 rm -f conftest.$ac_objext conftest$ac_exeext
53054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53055   (eval $ac_link) 2>conftest.er1
53056   ac_status=$?
53057   grep -v '^ *+' conftest.er1 >conftest.err
53058   rm -f conftest.er1
53059   cat conftest.err >&5
53060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53061   (exit $ac_status); } &&
53062          { ac_try='test -z "$ac_c_werror_flag"
53063                          || test ! -s conftest.err'
53064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53065   (eval $ac_try) 2>&5
53066   ac_status=$?
53067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53068   (exit $ac_status); }; } &&
53069          { ac_try='test -s conftest$ac_exeext'
53070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53071   (eval $ac_try) 2>&5
53072   ac_status=$?
53073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53074   (exit $ac_status); }; }; then
53075   eval "$as_ac_var=yes"
53076 else
53077   echo "$as_me: failed program was:" >&5
53078 sed 's/^/| /' conftest.$ac_ext >&5
53079
53080 eval "$as_ac_var=no"
53081 fi
53082 rm -f conftest.err conftest.$ac_objext \
53083       conftest$ac_exeext conftest.$ac_ext
53084 fi
53085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53087 if test `eval echo '${'$as_ac_var'}'` = yes; then
53088   cat >>confdefs.h <<_ACEOF
53089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53090 _ACEOF
53091
53092 fi
53093 done
53094
53095   else
53096
53097   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
53098 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
53099   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
53100     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
53101   echo $ECHO_N "(cached) $ECHO_C" >&6
53102 else
53103
53104
53105
53106       ac_ext=cc
53107 ac_cpp='$CXXCPP $CPPFLAGS'
53108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53111
53112       cat >conftest.$ac_ext <<_ACEOF
53113 /* confdefs.h.  */
53114 _ACEOF
53115 cat confdefs.h >>conftest.$ac_ext
53116 cat >>conftest.$ac_ext <<_ACEOF
53117 /* end confdefs.h.  */
53118 #include <math.h>
53119 int
53120 main ()
53121 {
53122  _sincosf(0, 0, 0);
53123   ;
53124   return 0;
53125 }
53126 _ACEOF
53127 rm -f conftest.$ac_objext
53128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53129   (eval $ac_compile) 2>conftest.er1
53130   ac_status=$?
53131   grep -v '^ *+' conftest.er1 >conftest.err
53132   rm -f conftest.er1
53133   cat conftest.err >&5
53134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53135   (exit $ac_status); } &&
53136          { ac_try='test -z "$ac_cxx_werror_flag"
53137                          || test ! -s conftest.err'
53138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53139   (eval $ac_try) 2>&5
53140   ac_status=$?
53141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53142   (exit $ac_status); }; } &&
53143          { ac_try='test -s conftest.$ac_objext'
53144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53145   (eval $ac_try) 2>&5
53146   ac_status=$?
53147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53148   (exit $ac_status); }; }; then
53149   glibcxx_cv_func__sincosf_use=yes
53150 else
53151   echo "$as_me: failed program was:" >&5
53152 sed 's/^/| /' conftest.$ac_ext >&5
53153
53154 glibcxx_cv_func__sincosf_use=no
53155 fi
53156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53157       ac_ext=c
53158 ac_cpp='$CPP $CPPFLAGS'
53159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53162
53163
53164 fi
53165
53166   fi
53167   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
53168 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
53169
53170     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
53171
53172 for ac_func in _sincosf
53173 do
53174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53175 echo "$as_me:$LINENO: checking for $ac_func" >&5
53176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53177 if eval "test \"\${$as_ac_var+set}\" = set"; then
53178   echo $ECHO_N "(cached) $ECHO_C" >&6
53179 else
53180   if test x$gcc_no_link = xyes; then
53181   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53183    { (exit 1); exit 1; }; }
53184 fi
53185 cat >conftest.$ac_ext <<_ACEOF
53186 /* confdefs.h.  */
53187 _ACEOF
53188 cat confdefs.h >>conftest.$ac_ext
53189 cat >>conftest.$ac_ext <<_ACEOF
53190 /* end confdefs.h.  */
53191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53192    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53193 #define $ac_func innocuous_$ac_func
53194
53195 /* System header to define __stub macros and hopefully few prototypes,
53196     which can conflict with char $ac_func (); below.
53197     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53198     <limits.h> exists even on freestanding compilers.  */
53199
53200 #ifdef __STDC__
53201 # include <limits.h>
53202 #else
53203 # include <assert.h>
53204 #endif
53205
53206 #undef $ac_func
53207
53208 /* Override any gcc2 internal prototype to avoid an error.  */
53209 #ifdef __cplusplus
53210 extern "C"
53211 {
53212 #endif
53213 /* We use char because int might match the return type of a gcc2
53214    builtin and then its argument prototype would still apply.  */
53215 char $ac_func ();
53216 /* The GNU C library defines this for functions which it implements
53217     to always fail with ENOSYS.  Some functions are actually named
53218     something starting with __ and the normal name is an alias.  */
53219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53220 choke me
53221 #else
53222 char (*f) () = $ac_func;
53223 #endif
53224 #ifdef __cplusplus
53225 }
53226 #endif
53227
53228 int
53229 main ()
53230 {
53231 return f != $ac_func;
53232   ;
53233   return 0;
53234 }
53235 _ACEOF
53236 rm -f conftest.$ac_objext conftest$ac_exeext
53237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53238   (eval $ac_link) 2>conftest.er1
53239   ac_status=$?
53240   grep -v '^ *+' conftest.er1 >conftest.err
53241   rm -f conftest.er1
53242   cat conftest.err >&5
53243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53244   (exit $ac_status); } &&
53245          { ac_try='test -z "$ac_c_werror_flag"
53246                          || test ! -s conftest.err'
53247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53248   (eval $ac_try) 2>&5
53249   ac_status=$?
53250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53251   (exit $ac_status); }; } &&
53252          { ac_try='test -s conftest$ac_exeext'
53253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53254   (eval $ac_try) 2>&5
53255   ac_status=$?
53256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53257   (exit $ac_status); }; }; then
53258   eval "$as_ac_var=yes"
53259 else
53260   echo "$as_me: failed program was:" >&5
53261 sed 's/^/| /' conftest.$ac_ext >&5
53262
53263 eval "$as_ac_var=no"
53264 fi
53265 rm -f conftest.err conftest.$ac_objext \
53266       conftest$ac_exeext conftest.$ac_ext
53267 fi
53268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53270 if test `eval echo '${'$as_ac_var'}'` = yes; then
53271   cat >>confdefs.h <<_ACEOF
53272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53273 _ACEOF
53274
53275 fi
53276 done
53277
53278     fi
53279   fi
53280
53281
53282
53283
53284
53285
53286   echo "$as_me:$LINENO: checking for finitef declaration" >&5
53287 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
53288   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
53289     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
53290   echo $ECHO_N "(cached) $ECHO_C" >&6
53291 else
53292
53293
53294
53295       ac_ext=cc
53296 ac_cpp='$CXXCPP $CPPFLAGS'
53297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53300
53301       cat >conftest.$ac_ext <<_ACEOF
53302 /* confdefs.h.  */
53303 _ACEOF
53304 cat confdefs.h >>conftest.$ac_ext
53305 cat >>conftest.$ac_ext <<_ACEOF
53306 /* end confdefs.h.  */
53307 #include <math.h>
53308                       #ifdef HAVE_IEEEFP_H
53309                       #include <ieeefp.h>
53310                       #endif
53311
53312 int
53313 main ()
53314 {
53315  finitef(0);
53316   ;
53317   return 0;
53318 }
53319 _ACEOF
53320 rm -f conftest.$ac_objext
53321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53322   (eval $ac_compile) 2>conftest.er1
53323   ac_status=$?
53324   grep -v '^ *+' conftest.er1 >conftest.err
53325   rm -f conftest.er1
53326   cat conftest.err >&5
53327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53328   (exit $ac_status); } &&
53329          { ac_try='test -z "$ac_cxx_werror_flag"
53330                          || test ! -s conftest.err'
53331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53332   (eval $ac_try) 2>&5
53333   ac_status=$?
53334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53335   (exit $ac_status); }; } &&
53336          { ac_try='test -s conftest.$ac_objext'
53337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53338   (eval $ac_try) 2>&5
53339   ac_status=$?
53340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53341   (exit $ac_status); }; }; then
53342   glibcxx_cv_func_finitef_use=yes
53343 else
53344   echo "$as_me: failed program was:" >&5
53345 sed 's/^/| /' conftest.$ac_ext >&5
53346
53347 glibcxx_cv_func_finitef_use=no
53348 fi
53349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53350       ac_ext=c
53351 ac_cpp='$CPP $CPPFLAGS'
53352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53355
53356
53357 fi
53358
53359   fi
53360   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
53361 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
53362
53363   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53364
53365 for ac_func in finitef
53366 do
53367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53368 echo "$as_me:$LINENO: checking for $ac_func" >&5
53369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53370 if eval "test \"\${$as_ac_var+set}\" = set"; then
53371   echo $ECHO_N "(cached) $ECHO_C" >&6
53372 else
53373   if test x$gcc_no_link = xyes; then
53374   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53376    { (exit 1); exit 1; }; }
53377 fi
53378 cat >conftest.$ac_ext <<_ACEOF
53379 /* confdefs.h.  */
53380 _ACEOF
53381 cat confdefs.h >>conftest.$ac_ext
53382 cat >>conftest.$ac_ext <<_ACEOF
53383 /* end confdefs.h.  */
53384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53385    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53386 #define $ac_func innocuous_$ac_func
53387
53388 /* System header to define __stub macros and hopefully few prototypes,
53389     which can conflict with char $ac_func (); below.
53390     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53391     <limits.h> exists even on freestanding compilers.  */
53392
53393 #ifdef __STDC__
53394 # include <limits.h>
53395 #else
53396 # include <assert.h>
53397 #endif
53398
53399 #undef $ac_func
53400
53401 /* Override any gcc2 internal prototype to avoid an error.  */
53402 #ifdef __cplusplus
53403 extern "C"
53404 {
53405 #endif
53406 /* We use char because int might match the return type of a gcc2
53407    builtin and then its argument prototype would still apply.  */
53408 char $ac_func ();
53409 /* The GNU C library defines this for functions which it implements
53410     to always fail with ENOSYS.  Some functions are actually named
53411     something starting with __ and the normal name is an alias.  */
53412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53413 choke me
53414 #else
53415 char (*f) () = $ac_func;
53416 #endif
53417 #ifdef __cplusplus
53418 }
53419 #endif
53420
53421 int
53422 main ()
53423 {
53424 return f != $ac_func;
53425   ;
53426   return 0;
53427 }
53428 _ACEOF
53429 rm -f conftest.$ac_objext conftest$ac_exeext
53430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53431   (eval $ac_link) 2>conftest.er1
53432   ac_status=$?
53433   grep -v '^ *+' conftest.er1 >conftest.err
53434   rm -f conftest.er1
53435   cat conftest.err >&5
53436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53437   (exit $ac_status); } &&
53438          { ac_try='test -z "$ac_c_werror_flag"
53439                          || test ! -s conftest.err'
53440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53441   (eval $ac_try) 2>&5
53442   ac_status=$?
53443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53444   (exit $ac_status); }; } &&
53445          { ac_try='test -s conftest$ac_exeext'
53446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53447   (eval $ac_try) 2>&5
53448   ac_status=$?
53449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53450   (exit $ac_status); }; }; then
53451   eval "$as_ac_var=yes"
53452 else
53453   echo "$as_me: failed program was:" >&5
53454 sed 's/^/| /' conftest.$ac_ext >&5
53455
53456 eval "$as_ac_var=no"
53457 fi
53458 rm -f conftest.err conftest.$ac_objext \
53459       conftest$ac_exeext conftest.$ac_ext
53460 fi
53461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53463 if test `eval echo '${'$as_ac_var'}'` = yes; then
53464   cat >>confdefs.h <<_ACEOF
53465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53466 _ACEOF
53467
53468 fi
53469 done
53470
53471   else
53472
53473   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
53474 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
53475   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
53476     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
53477   echo $ECHO_N "(cached) $ECHO_C" >&6
53478 else
53479
53480
53481
53482       ac_ext=cc
53483 ac_cpp='$CXXCPP $CPPFLAGS'
53484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53487
53488       cat >conftest.$ac_ext <<_ACEOF
53489 /* confdefs.h.  */
53490 _ACEOF
53491 cat confdefs.h >>conftest.$ac_ext
53492 cat >>conftest.$ac_ext <<_ACEOF
53493 /* end confdefs.h.  */
53494 #include <math.h>
53495                       #ifdef HAVE_IEEEFP_H
53496                       #include <ieeefp.h>
53497                       #endif
53498
53499 int
53500 main ()
53501 {
53502  _finitef(0);
53503   ;
53504   return 0;
53505 }
53506 _ACEOF
53507 rm -f conftest.$ac_objext
53508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53509   (eval $ac_compile) 2>conftest.er1
53510   ac_status=$?
53511   grep -v '^ *+' conftest.er1 >conftest.err
53512   rm -f conftest.er1
53513   cat conftest.err >&5
53514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53515   (exit $ac_status); } &&
53516          { ac_try='test -z "$ac_cxx_werror_flag"
53517                          || test ! -s conftest.err'
53518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53519   (eval $ac_try) 2>&5
53520   ac_status=$?
53521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53522   (exit $ac_status); }; } &&
53523          { ac_try='test -s conftest.$ac_objext'
53524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53525   (eval $ac_try) 2>&5
53526   ac_status=$?
53527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53528   (exit $ac_status); }; }; then
53529   glibcxx_cv_func__finitef_use=yes
53530 else
53531   echo "$as_me: failed program was:" >&5
53532 sed 's/^/| /' conftest.$ac_ext >&5
53533
53534 glibcxx_cv_func__finitef_use=no
53535 fi
53536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53537       ac_ext=c
53538 ac_cpp='$CPP $CPPFLAGS'
53539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53542
53543
53544 fi
53545
53546   fi
53547   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
53548 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
53549
53550     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
53551
53552 for ac_func in _finitef
53553 do
53554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53555 echo "$as_me:$LINENO: checking for $ac_func" >&5
53556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53557 if eval "test \"\${$as_ac_var+set}\" = set"; then
53558   echo $ECHO_N "(cached) $ECHO_C" >&6
53559 else
53560   if test x$gcc_no_link = xyes; then
53561   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53563    { (exit 1); exit 1; }; }
53564 fi
53565 cat >conftest.$ac_ext <<_ACEOF
53566 /* confdefs.h.  */
53567 _ACEOF
53568 cat confdefs.h >>conftest.$ac_ext
53569 cat >>conftest.$ac_ext <<_ACEOF
53570 /* end confdefs.h.  */
53571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53572    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53573 #define $ac_func innocuous_$ac_func
53574
53575 /* System header to define __stub macros and hopefully few prototypes,
53576     which can conflict with char $ac_func (); below.
53577     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53578     <limits.h> exists even on freestanding compilers.  */
53579
53580 #ifdef __STDC__
53581 # include <limits.h>
53582 #else
53583 # include <assert.h>
53584 #endif
53585
53586 #undef $ac_func
53587
53588 /* Override any gcc2 internal prototype to avoid an error.  */
53589 #ifdef __cplusplus
53590 extern "C"
53591 {
53592 #endif
53593 /* We use char because int might match the return type of a gcc2
53594    builtin and then its argument prototype would still apply.  */
53595 char $ac_func ();
53596 /* The GNU C library defines this for functions which it implements
53597     to always fail with ENOSYS.  Some functions are actually named
53598     something starting with __ and the normal name is an alias.  */
53599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53600 choke me
53601 #else
53602 char (*f) () = $ac_func;
53603 #endif
53604 #ifdef __cplusplus
53605 }
53606 #endif
53607
53608 int
53609 main ()
53610 {
53611 return f != $ac_func;
53612   ;
53613   return 0;
53614 }
53615 _ACEOF
53616 rm -f conftest.$ac_objext conftest$ac_exeext
53617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53618   (eval $ac_link) 2>conftest.er1
53619   ac_status=$?
53620   grep -v '^ *+' conftest.er1 >conftest.err
53621   rm -f conftest.er1
53622   cat conftest.err >&5
53623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53624   (exit $ac_status); } &&
53625          { ac_try='test -z "$ac_c_werror_flag"
53626                          || test ! -s conftest.err'
53627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53628   (eval $ac_try) 2>&5
53629   ac_status=$?
53630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53631   (exit $ac_status); }; } &&
53632          { ac_try='test -s conftest$ac_exeext'
53633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53634   (eval $ac_try) 2>&5
53635   ac_status=$?
53636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53637   (exit $ac_status); }; }; then
53638   eval "$as_ac_var=yes"
53639 else
53640   echo "$as_me: failed program was:" >&5
53641 sed 's/^/| /' conftest.$ac_ext >&5
53642
53643 eval "$as_ac_var=no"
53644 fi
53645 rm -f conftest.err conftest.$ac_objext \
53646       conftest$ac_exeext conftest.$ac_ext
53647 fi
53648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53650 if test `eval echo '${'$as_ac_var'}'` = yes; then
53651   cat >>confdefs.h <<_ACEOF
53652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53653 _ACEOF
53654
53655 fi
53656 done
53657
53658     fi
53659   fi
53660
53661
53662
53663
53664
53665
53666     echo "$as_me:$LINENO: checking for long double trig functions" >&5
53667 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
53668   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
53669   echo $ECHO_N "(cached) $ECHO_C" >&6
53670 else
53671
53672
53673
53674     ac_ext=cc
53675 ac_cpp='$CXXCPP $CPPFLAGS'
53676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53679
53680     cat >conftest.$ac_ext <<_ACEOF
53681 /* confdefs.h.  */
53682 _ACEOF
53683 cat confdefs.h >>conftest.$ac_ext
53684 cat >>conftest.$ac_ext <<_ACEOF
53685 /* end confdefs.h.  */
53686 #include <math.h>
53687 int
53688 main ()
53689 {
53690 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
53691   ;
53692   return 0;
53693 }
53694 _ACEOF
53695 rm -f conftest.$ac_objext
53696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53697   (eval $ac_compile) 2>conftest.er1
53698   ac_status=$?
53699   grep -v '^ *+' conftest.er1 >conftest.err
53700   rm -f conftest.er1
53701   cat conftest.err >&5
53702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53703   (exit $ac_status); } &&
53704          { ac_try='test -z "$ac_cxx_werror_flag"
53705                          || test ! -s conftest.err'
53706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53707   (eval $ac_try) 2>&5
53708   ac_status=$?
53709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53710   (exit $ac_status); }; } &&
53711          { ac_try='test -s conftest.$ac_objext'
53712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53713   (eval $ac_try) 2>&5
53714   ac_status=$?
53715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53716   (exit $ac_status); }; }; then
53717   glibcxx_cv_func_long_double_trig_use=yes
53718 else
53719   echo "$as_me: failed program was:" >&5
53720 sed 's/^/| /' conftest.$ac_ext >&5
53721
53722 glibcxx_cv_func_long_double_trig_use=no
53723 fi
53724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53725     ac_ext=c
53726 ac_cpp='$CPP $CPPFLAGS'
53727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53730
53731 fi
53732
53733   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
53734 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
53735   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
53736
53737
53738
53739
53740
53741
53742
53743
53744
53745 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
53746 do
53747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53748 echo "$as_me:$LINENO: checking for $ac_func" >&5
53749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53750 if eval "test \"\${$as_ac_var+set}\" = set"; then
53751   echo $ECHO_N "(cached) $ECHO_C" >&6
53752 else
53753   if test x$gcc_no_link = xyes; then
53754   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53756    { (exit 1); exit 1; }; }
53757 fi
53758 cat >conftest.$ac_ext <<_ACEOF
53759 /* confdefs.h.  */
53760 _ACEOF
53761 cat confdefs.h >>conftest.$ac_ext
53762 cat >>conftest.$ac_ext <<_ACEOF
53763 /* end confdefs.h.  */
53764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53765    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53766 #define $ac_func innocuous_$ac_func
53767
53768 /* System header to define __stub macros and hopefully few prototypes,
53769     which can conflict with char $ac_func (); below.
53770     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53771     <limits.h> exists even on freestanding compilers.  */
53772
53773 #ifdef __STDC__
53774 # include <limits.h>
53775 #else
53776 # include <assert.h>
53777 #endif
53778
53779 #undef $ac_func
53780
53781 /* Override any gcc2 internal prototype to avoid an error.  */
53782 #ifdef __cplusplus
53783 extern "C"
53784 {
53785 #endif
53786 /* We use char because int might match the return type of a gcc2
53787    builtin and then its argument prototype would still apply.  */
53788 char $ac_func ();
53789 /* The GNU C library defines this for functions which it implements
53790     to always fail with ENOSYS.  Some functions are actually named
53791     something starting with __ and the normal name is an alias.  */
53792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53793 choke me
53794 #else
53795 char (*f) () = $ac_func;
53796 #endif
53797 #ifdef __cplusplus
53798 }
53799 #endif
53800
53801 int
53802 main ()
53803 {
53804 return f != $ac_func;
53805   ;
53806   return 0;
53807 }
53808 _ACEOF
53809 rm -f conftest.$ac_objext conftest$ac_exeext
53810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53811   (eval $ac_link) 2>conftest.er1
53812   ac_status=$?
53813   grep -v '^ *+' conftest.er1 >conftest.err
53814   rm -f conftest.er1
53815   cat conftest.err >&5
53816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53817   (exit $ac_status); } &&
53818          { ac_try='test -z "$ac_c_werror_flag"
53819                          || test ! -s conftest.err'
53820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53821   (eval $ac_try) 2>&5
53822   ac_status=$?
53823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53824   (exit $ac_status); }; } &&
53825          { ac_try='test -s conftest$ac_exeext'
53826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53827   (eval $ac_try) 2>&5
53828   ac_status=$?
53829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53830   (exit $ac_status); }; }; then
53831   eval "$as_ac_var=yes"
53832 else
53833   echo "$as_me: failed program was:" >&5
53834 sed 's/^/| /' conftest.$ac_ext >&5
53835
53836 eval "$as_ac_var=no"
53837 fi
53838 rm -f conftest.err conftest.$ac_objext \
53839       conftest$ac_exeext conftest.$ac_ext
53840 fi
53841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53843 if test `eval echo '${'$as_ac_var'}'` = yes; then
53844   cat >>confdefs.h <<_ACEOF
53845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53846 _ACEOF
53847
53848 fi
53849 done
53850
53851   else
53852     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
53853 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
53854     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
53855   echo $ECHO_N "(cached) $ECHO_C" >&6
53856 else
53857
53858
53859
53860       ac_ext=cc
53861 ac_cpp='$CXXCPP $CPPFLAGS'
53862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53865
53866       cat >conftest.$ac_ext <<_ACEOF
53867 /* confdefs.h.  */
53868 _ACEOF
53869 cat confdefs.h >>conftest.$ac_ext
53870 cat >>conftest.$ac_ext <<_ACEOF
53871 /* end confdefs.h.  */
53872 #include <math.h>
53873 int
53874 main ()
53875 {
53876 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
53877   ;
53878   return 0;
53879 }
53880 _ACEOF
53881 rm -f conftest.$ac_objext
53882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53883   (eval $ac_compile) 2>conftest.er1
53884   ac_status=$?
53885   grep -v '^ *+' conftest.er1 >conftest.err
53886   rm -f conftest.er1
53887   cat conftest.err >&5
53888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53889   (exit $ac_status); } &&
53890          { ac_try='test -z "$ac_cxx_werror_flag"
53891                          || test ! -s conftest.err'
53892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53893   (eval $ac_try) 2>&5
53894   ac_status=$?
53895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53896   (exit $ac_status); }; } &&
53897          { ac_try='test -s conftest.$ac_objext'
53898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53899   (eval $ac_try) 2>&5
53900   ac_status=$?
53901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53902   (exit $ac_status); }; }; then
53903   glibcxx_cv_func__long_double_trig_use=yes
53904 else
53905   echo "$as_me: failed program was:" >&5
53906 sed 's/^/| /' conftest.$ac_ext >&5
53907
53908 glibcxx_cv_func__long_double_trig_use=no
53909 fi
53910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53911       ac_ext=c
53912 ac_cpp='$CPP $CPPFLAGS'
53913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53916
53917 fi
53918
53919     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
53920 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
53921     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
53922
53923
53924
53925
53926
53927
53928
53929
53930
53931 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
53932 do
53933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53934 echo "$as_me:$LINENO: checking for $ac_func" >&5
53935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53936 if eval "test \"\${$as_ac_var+set}\" = set"; then
53937   echo $ECHO_N "(cached) $ECHO_C" >&6
53938 else
53939   if test x$gcc_no_link = xyes; then
53940   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53942    { (exit 1); exit 1; }; }
53943 fi
53944 cat >conftest.$ac_ext <<_ACEOF
53945 /* confdefs.h.  */
53946 _ACEOF
53947 cat confdefs.h >>conftest.$ac_ext
53948 cat >>conftest.$ac_ext <<_ACEOF
53949 /* end confdefs.h.  */
53950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53951    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53952 #define $ac_func innocuous_$ac_func
53953
53954 /* System header to define __stub macros and hopefully few prototypes,
53955     which can conflict with char $ac_func (); below.
53956     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53957     <limits.h> exists even on freestanding compilers.  */
53958
53959 #ifdef __STDC__
53960 # include <limits.h>
53961 #else
53962 # include <assert.h>
53963 #endif
53964
53965 #undef $ac_func
53966
53967 /* Override any gcc2 internal prototype to avoid an error.  */
53968 #ifdef __cplusplus
53969 extern "C"
53970 {
53971 #endif
53972 /* We use char because int might match the return type of a gcc2
53973    builtin and then its argument prototype would still apply.  */
53974 char $ac_func ();
53975 /* The GNU C library defines this for functions which it implements
53976     to always fail with ENOSYS.  Some functions are actually named
53977     something starting with __ and the normal name is an alias.  */
53978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53979 choke me
53980 #else
53981 char (*f) () = $ac_func;
53982 #endif
53983 #ifdef __cplusplus
53984 }
53985 #endif
53986
53987 int
53988 main ()
53989 {
53990 return f != $ac_func;
53991   ;
53992   return 0;
53993 }
53994 _ACEOF
53995 rm -f conftest.$ac_objext conftest$ac_exeext
53996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53997   (eval $ac_link) 2>conftest.er1
53998   ac_status=$?
53999   grep -v '^ *+' conftest.er1 >conftest.err
54000   rm -f conftest.er1
54001   cat conftest.err >&5
54002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54003   (exit $ac_status); } &&
54004          { ac_try='test -z "$ac_c_werror_flag"
54005                          || test ! -s conftest.err'
54006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54007   (eval $ac_try) 2>&5
54008   ac_status=$?
54009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54010   (exit $ac_status); }; } &&
54011          { ac_try='test -s conftest$ac_exeext'
54012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54013   (eval $ac_try) 2>&5
54014   ac_status=$?
54015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54016   (exit $ac_status); }; }; then
54017   eval "$as_ac_var=yes"
54018 else
54019   echo "$as_me: failed program was:" >&5
54020 sed 's/^/| /' conftest.$ac_ext >&5
54021
54022 eval "$as_ac_var=no"
54023 fi
54024 rm -f conftest.err conftest.$ac_objext \
54025       conftest$ac_exeext conftest.$ac_ext
54026 fi
54027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54029 if test `eval echo '${'$as_ac_var'}'` = yes; then
54030   cat >>confdefs.h <<_ACEOF
54031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54032 _ACEOF
54033
54034 fi
54035 done
54036
54037     fi
54038   fi
54039
54040
54041
54042
54043
54044
54045
54046
54047
54048
54049
54050
54051
54052
54053     echo "$as_me:$LINENO: checking for long double round functions" >&5
54054 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
54055   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
54056   echo $ECHO_N "(cached) $ECHO_C" >&6
54057 else
54058
54059
54060
54061     ac_ext=cc
54062 ac_cpp='$CXXCPP $CPPFLAGS'
54063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54066
54067     cat >conftest.$ac_ext <<_ACEOF
54068 /* confdefs.h.  */
54069 _ACEOF
54070 cat confdefs.h >>conftest.$ac_ext
54071 cat >>conftest.$ac_ext <<_ACEOF
54072 /* end confdefs.h.  */
54073 #include <math.h>
54074 int
54075 main ()
54076 {
54077 ceill (0); floorl (0);
54078   ;
54079   return 0;
54080 }
54081 _ACEOF
54082 rm -f conftest.$ac_objext
54083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54084   (eval $ac_compile) 2>conftest.er1
54085   ac_status=$?
54086   grep -v '^ *+' conftest.er1 >conftest.err
54087   rm -f conftest.er1
54088   cat conftest.err >&5
54089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54090   (exit $ac_status); } &&
54091          { ac_try='test -z "$ac_cxx_werror_flag"
54092                          || test ! -s conftest.err'
54093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54094   (eval $ac_try) 2>&5
54095   ac_status=$?
54096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54097   (exit $ac_status); }; } &&
54098          { ac_try='test -s conftest.$ac_objext'
54099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54100   (eval $ac_try) 2>&5
54101   ac_status=$?
54102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54103   (exit $ac_status); }; }; then
54104   glibcxx_cv_func_long_double_round_use=yes
54105 else
54106   echo "$as_me: failed program was:" >&5
54107 sed 's/^/| /' conftest.$ac_ext >&5
54108
54109 glibcxx_cv_func_long_double_round_use=no
54110 fi
54111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54112     ac_ext=c
54113 ac_cpp='$CPP $CPPFLAGS'
54114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54117
54118 fi
54119
54120   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
54121 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
54122   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54123
54124
54125 for ac_func in ceill floorl
54126 do
54127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54128 echo "$as_me:$LINENO: checking for $ac_func" >&5
54129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54130 if eval "test \"\${$as_ac_var+set}\" = set"; then
54131   echo $ECHO_N "(cached) $ECHO_C" >&6
54132 else
54133   if test x$gcc_no_link = xyes; then
54134   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54136    { (exit 1); exit 1; }; }
54137 fi
54138 cat >conftest.$ac_ext <<_ACEOF
54139 /* confdefs.h.  */
54140 _ACEOF
54141 cat confdefs.h >>conftest.$ac_ext
54142 cat >>conftest.$ac_ext <<_ACEOF
54143 /* end confdefs.h.  */
54144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54145    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54146 #define $ac_func innocuous_$ac_func
54147
54148 /* System header to define __stub macros and hopefully few prototypes,
54149     which can conflict with char $ac_func (); below.
54150     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54151     <limits.h> exists even on freestanding compilers.  */
54152
54153 #ifdef __STDC__
54154 # include <limits.h>
54155 #else
54156 # include <assert.h>
54157 #endif
54158
54159 #undef $ac_func
54160
54161 /* Override any gcc2 internal prototype to avoid an error.  */
54162 #ifdef __cplusplus
54163 extern "C"
54164 {
54165 #endif
54166 /* We use char because int might match the return type of a gcc2
54167    builtin and then its argument prototype would still apply.  */
54168 char $ac_func ();
54169 /* The GNU C library defines this for functions which it implements
54170     to always fail with ENOSYS.  Some functions are actually named
54171     something starting with __ and the normal name is an alias.  */
54172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54173 choke me
54174 #else
54175 char (*f) () = $ac_func;
54176 #endif
54177 #ifdef __cplusplus
54178 }
54179 #endif
54180
54181 int
54182 main ()
54183 {
54184 return f != $ac_func;
54185   ;
54186   return 0;
54187 }
54188 _ACEOF
54189 rm -f conftest.$ac_objext conftest$ac_exeext
54190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54191   (eval $ac_link) 2>conftest.er1
54192   ac_status=$?
54193   grep -v '^ *+' conftest.er1 >conftest.err
54194   rm -f conftest.er1
54195   cat conftest.err >&5
54196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54197   (exit $ac_status); } &&
54198          { ac_try='test -z "$ac_c_werror_flag"
54199                          || test ! -s conftest.err'
54200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54201   (eval $ac_try) 2>&5
54202   ac_status=$?
54203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54204   (exit $ac_status); }; } &&
54205          { ac_try='test -s conftest$ac_exeext'
54206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54207   (eval $ac_try) 2>&5
54208   ac_status=$?
54209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54210   (exit $ac_status); }; }; then
54211   eval "$as_ac_var=yes"
54212 else
54213   echo "$as_me: failed program was:" >&5
54214 sed 's/^/| /' conftest.$ac_ext >&5
54215
54216 eval "$as_ac_var=no"
54217 fi
54218 rm -f conftest.err conftest.$ac_objext \
54219       conftest$ac_exeext conftest.$ac_ext
54220 fi
54221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54223 if test `eval echo '${'$as_ac_var'}'` = yes; then
54224   cat >>confdefs.h <<_ACEOF
54225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54226 _ACEOF
54227
54228 fi
54229 done
54230
54231   else
54232     echo "$as_me:$LINENO: checking for _long double round functions" >&5
54233 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
54234     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
54235   echo $ECHO_N "(cached) $ECHO_C" >&6
54236 else
54237
54238
54239
54240       ac_ext=cc
54241 ac_cpp='$CXXCPP $CPPFLAGS'
54242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54245
54246       cat >conftest.$ac_ext <<_ACEOF
54247 /* confdefs.h.  */
54248 _ACEOF
54249 cat confdefs.h >>conftest.$ac_ext
54250 cat >>conftest.$ac_ext <<_ACEOF
54251 /* end confdefs.h.  */
54252 #include <math.h>
54253 int
54254 main ()
54255 {
54256 _ceill (0); _floorl (0);
54257   ;
54258   return 0;
54259 }
54260 _ACEOF
54261 rm -f conftest.$ac_objext
54262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54263   (eval $ac_compile) 2>conftest.er1
54264   ac_status=$?
54265   grep -v '^ *+' conftest.er1 >conftest.err
54266   rm -f conftest.er1
54267   cat conftest.err >&5
54268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54269   (exit $ac_status); } &&
54270          { ac_try='test -z "$ac_cxx_werror_flag"
54271                          || test ! -s conftest.err'
54272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54273   (eval $ac_try) 2>&5
54274   ac_status=$?
54275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54276   (exit $ac_status); }; } &&
54277          { ac_try='test -s conftest.$ac_objext'
54278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54279   (eval $ac_try) 2>&5
54280   ac_status=$?
54281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54282   (exit $ac_status); }; }; then
54283   glibcxx_cv_func__long_double_round_use=yes
54284 else
54285   echo "$as_me: failed program was:" >&5
54286 sed 's/^/| /' conftest.$ac_ext >&5
54287
54288 glibcxx_cv_func__long_double_round_use=no
54289 fi
54290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54291       ac_ext=c
54292 ac_cpp='$CPP $CPPFLAGS'
54293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54296
54297 fi
54298
54299     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
54300 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
54301     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54302
54303
54304 for ac_func in _ceill _floorl
54305 do
54306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54307 echo "$as_me:$LINENO: checking for $ac_func" >&5
54308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54309 if eval "test \"\${$as_ac_var+set}\" = set"; then
54310   echo $ECHO_N "(cached) $ECHO_C" >&6
54311 else
54312   if test x$gcc_no_link = xyes; then
54313   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54315    { (exit 1); exit 1; }; }
54316 fi
54317 cat >conftest.$ac_ext <<_ACEOF
54318 /* confdefs.h.  */
54319 _ACEOF
54320 cat confdefs.h >>conftest.$ac_ext
54321 cat >>conftest.$ac_ext <<_ACEOF
54322 /* end confdefs.h.  */
54323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54324    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54325 #define $ac_func innocuous_$ac_func
54326
54327 /* System header to define __stub macros and hopefully few prototypes,
54328     which can conflict with char $ac_func (); below.
54329     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54330     <limits.h> exists even on freestanding compilers.  */
54331
54332 #ifdef __STDC__
54333 # include <limits.h>
54334 #else
54335 # include <assert.h>
54336 #endif
54337
54338 #undef $ac_func
54339
54340 /* Override any gcc2 internal prototype to avoid an error.  */
54341 #ifdef __cplusplus
54342 extern "C"
54343 {
54344 #endif
54345 /* We use char because int might match the return type of a gcc2
54346    builtin and then its argument prototype would still apply.  */
54347 char $ac_func ();
54348 /* The GNU C library defines this for functions which it implements
54349     to always fail with ENOSYS.  Some functions are actually named
54350     something starting with __ and the normal name is an alias.  */
54351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54352 choke me
54353 #else
54354 char (*f) () = $ac_func;
54355 #endif
54356 #ifdef __cplusplus
54357 }
54358 #endif
54359
54360 int
54361 main ()
54362 {
54363 return f != $ac_func;
54364   ;
54365   return 0;
54366 }
54367 _ACEOF
54368 rm -f conftest.$ac_objext conftest$ac_exeext
54369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54370   (eval $ac_link) 2>conftest.er1
54371   ac_status=$?
54372   grep -v '^ *+' conftest.er1 >conftest.err
54373   rm -f conftest.er1
54374   cat conftest.err >&5
54375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54376   (exit $ac_status); } &&
54377          { ac_try='test -z "$ac_c_werror_flag"
54378                          || test ! -s conftest.err'
54379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54380   (eval $ac_try) 2>&5
54381   ac_status=$?
54382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54383   (exit $ac_status); }; } &&
54384          { ac_try='test -s conftest$ac_exeext'
54385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54386   (eval $ac_try) 2>&5
54387   ac_status=$?
54388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54389   (exit $ac_status); }; }; then
54390   eval "$as_ac_var=yes"
54391 else
54392   echo "$as_me: failed program was:" >&5
54393 sed 's/^/| /' conftest.$ac_ext >&5
54394
54395 eval "$as_ac_var=no"
54396 fi
54397 rm -f conftest.err conftest.$ac_objext \
54398       conftest$ac_exeext conftest.$ac_ext
54399 fi
54400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54402 if test `eval echo '${'$as_ac_var'}'` = yes; then
54403   cat >>confdefs.h <<_ACEOF
54404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54405 _ACEOF
54406
54407 fi
54408 done
54409
54410     fi
54411   fi
54412
54413
54414
54415
54416
54417
54418
54419
54420   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
54421 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
54422   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54423     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
54424   echo $ECHO_N "(cached) $ECHO_C" >&6
54425 else
54426
54427
54428
54429       ac_ext=cc
54430 ac_cpp='$CXXCPP $CPPFLAGS'
54431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54434
54435       cat >conftest.$ac_ext <<_ACEOF
54436 /* confdefs.h.  */
54437 _ACEOF
54438 cat confdefs.h >>conftest.$ac_ext
54439 cat >>conftest.$ac_ext <<_ACEOF
54440 /* end confdefs.h.  */
54441 #include <math.h>
54442                       #ifdef HAVE_IEEEFP_H
54443                       #include <ieeefp.h>
54444                       #endif
54445
54446 int
54447 main ()
54448 {
54449  isnanl(0);
54450   ;
54451   return 0;
54452 }
54453 _ACEOF
54454 rm -f conftest.$ac_objext
54455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54456   (eval $ac_compile) 2>conftest.er1
54457   ac_status=$?
54458   grep -v '^ *+' conftest.er1 >conftest.err
54459   rm -f conftest.er1
54460   cat conftest.err >&5
54461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54462   (exit $ac_status); } &&
54463          { ac_try='test -z "$ac_cxx_werror_flag"
54464                          || test ! -s conftest.err'
54465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54466   (eval $ac_try) 2>&5
54467   ac_status=$?
54468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54469   (exit $ac_status); }; } &&
54470          { ac_try='test -s conftest.$ac_objext'
54471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54472   (eval $ac_try) 2>&5
54473   ac_status=$?
54474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54475   (exit $ac_status); }; }; then
54476   glibcxx_cv_func_isnanl_use=yes
54477 else
54478   echo "$as_me: failed program was:" >&5
54479 sed 's/^/| /' conftest.$ac_ext >&5
54480
54481 glibcxx_cv_func_isnanl_use=no
54482 fi
54483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54484       ac_ext=c
54485 ac_cpp='$CPP $CPPFLAGS'
54486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54489
54490
54491 fi
54492
54493   fi
54494   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
54495 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
54496
54497   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54498
54499 for ac_func in isnanl
54500 do
54501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54502 echo "$as_me:$LINENO: checking for $ac_func" >&5
54503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54504 if eval "test \"\${$as_ac_var+set}\" = set"; then
54505   echo $ECHO_N "(cached) $ECHO_C" >&6
54506 else
54507   if test x$gcc_no_link = xyes; then
54508   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54510    { (exit 1); exit 1; }; }
54511 fi
54512 cat >conftest.$ac_ext <<_ACEOF
54513 /* confdefs.h.  */
54514 _ACEOF
54515 cat confdefs.h >>conftest.$ac_ext
54516 cat >>conftest.$ac_ext <<_ACEOF
54517 /* end confdefs.h.  */
54518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54519    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54520 #define $ac_func innocuous_$ac_func
54521
54522 /* System header to define __stub macros and hopefully few prototypes,
54523     which can conflict with char $ac_func (); below.
54524     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54525     <limits.h> exists even on freestanding compilers.  */
54526
54527 #ifdef __STDC__
54528 # include <limits.h>
54529 #else
54530 # include <assert.h>
54531 #endif
54532
54533 #undef $ac_func
54534
54535 /* Override any gcc2 internal prototype to avoid an error.  */
54536 #ifdef __cplusplus
54537 extern "C"
54538 {
54539 #endif
54540 /* We use char because int might match the return type of a gcc2
54541    builtin and then its argument prototype would still apply.  */
54542 char $ac_func ();
54543 /* The GNU C library defines this for functions which it implements
54544     to always fail with ENOSYS.  Some functions are actually named
54545     something starting with __ and the normal name is an alias.  */
54546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54547 choke me
54548 #else
54549 char (*f) () = $ac_func;
54550 #endif
54551 #ifdef __cplusplus
54552 }
54553 #endif
54554
54555 int
54556 main ()
54557 {
54558 return f != $ac_func;
54559   ;
54560   return 0;
54561 }
54562 _ACEOF
54563 rm -f conftest.$ac_objext conftest$ac_exeext
54564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54565   (eval $ac_link) 2>conftest.er1
54566   ac_status=$?
54567   grep -v '^ *+' conftest.er1 >conftest.err
54568   rm -f conftest.er1
54569   cat conftest.err >&5
54570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54571   (exit $ac_status); } &&
54572          { ac_try='test -z "$ac_c_werror_flag"
54573                          || test ! -s conftest.err'
54574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54575   (eval $ac_try) 2>&5
54576   ac_status=$?
54577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54578   (exit $ac_status); }; } &&
54579          { ac_try='test -s conftest$ac_exeext'
54580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54581   (eval $ac_try) 2>&5
54582   ac_status=$?
54583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54584   (exit $ac_status); }; }; then
54585   eval "$as_ac_var=yes"
54586 else
54587   echo "$as_me: failed program was:" >&5
54588 sed 's/^/| /' conftest.$ac_ext >&5
54589
54590 eval "$as_ac_var=no"
54591 fi
54592 rm -f conftest.err conftest.$ac_objext \
54593       conftest$ac_exeext conftest.$ac_ext
54594 fi
54595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54597 if test `eval echo '${'$as_ac_var'}'` = yes; then
54598   cat >>confdefs.h <<_ACEOF
54599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54600 _ACEOF
54601
54602 fi
54603 done
54604
54605   else
54606
54607   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
54608 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
54609   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54610     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
54611   echo $ECHO_N "(cached) $ECHO_C" >&6
54612 else
54613
54614
54615
54616       ac_ext=cc
54617 ac_cpp='$CXXCPP $CPPFLAGS'
54618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54621
54622       cat >conftest.$ac_ext <<_ACEOF
54623 /* confdefs.h.  */
54624 _ACEOF
54625 cat confdefs.h >>conftest.$ac_ext
54626 cat >>conftest.$ac_ext <<_ACEOF
54627 /* end confdefs.h.  */
54628 #include <math.h>
54629                       #ifdef HAVE_IEEEFP_H
54630                       #include <ieeefp.h>
54631                       #endif
54632
54633 int
54634 main ()
54635 {
54636  _isnanl(0);
54637   ;
54638   return 0;
54639 }
54640 _ACEOF
54641 rm -f conftest.$ac_objext
54642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54643   (eval $ac_compile) 2>conftest.er1
54644   ac_status=$?
54645   grep -v '^ *+' conftest.er1 >conftest.err
54646   rm -f conftest.er1
54647   cat conftest.err >&5
54648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54649   (exit $ac_status); } &&
54650          { ac_try='test -z "$ac_cxx_werror_flag"
54651                          || test ! -s conftest.err'
54652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54653   (eval $ac_try) 2>&5
54654   ac_status=$?
54655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54656   (exit $ac_status); }; } &&
54657          { ac_try='test -s conftest.$ac_objext'
54658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54659   (eval $ac_try) 2>&5
54660   ac_status=$?
54661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54662   (exit $ac_status); }; }; then
54663   glibcxx_cv_func__isnanl_use=yes
54664 else
54665   echo "$as_me: failed program was:" >&5
54666 sed 's/^/| /' conftest.$ac_ext >&5
54667
54668 glibcxx_cv_func__isnanl_use=no
54669 fi
54670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54671       ac_ext=c
54672 ac_cpp='$CPP $CPPFLAGS'
54673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54676
54677
54678 fi
54679
54680   fi
54681   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
54682 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
54683
54684     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54685
54686 for ac_func in _isnanl
54687 do
54688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54689 echo "$as_me:$LINENO: checking for $ac_func" >&5
54690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54691 if eval "test \"\${$as_ac_var+set}\" = set"; then
54692   echo $ECHO_N "(cached) $ECHO_C" >&6
54693 else
54694   if test x$gcc_no_link = xyes; then
54695   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54697    { (exit 1); exit 1; }; }
54698 fi
54699 cat >conftest.$ac_ext <<_ACEOF
54700 /* confdefs.h.  */
54701 _ACEOF
54702 cat confdefs.h >>conftest.$ac_ext
54703 cat >>conftest.$ac_ext <<_ACEOF
54704 /* end confdefs.h.  */
54705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54706    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54707 #define $ac_func innocuous_$ac_func
54708
54709 /* System header to define __stub macros and hopefully few prototypes,
54710     which can conflict with char $ac_func (); below.
54711     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54712     <limits.h> exists even on freestanding compilers.  */
54713
54714 #ifdef __STDC__
54715 # include <limits.h>
54716 #else
54717 # include <assert.h>
54718 #endif
54719
54720 #undef $ac_func
54721
54722 /* Override any gcc2 internal prototype to avoid an error.  */
54723 #ifdef __cplusplus
54724 extern "C"
54725 {
54726 #endif
54727 /* We use char because int might match the return type of a gcc2
54728    builtin and then its argument prototype would still apply.  */
54729 char $ac_func ();
54730 /* The GNU C library defines this for functions which it implements
54731     to always fail with ENOSYS.  Some functions are actually named
54732     something starting with __ and the normal name is an alias.  */
54733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54734 choke me
54735 #else
54736 char (*f) () = $ac_func;
54737 #endif
54738 #ifdef __cplusplus
54739 }
54740 #endif
54741
54742 int
54743 main ()
54744 {
54745 return f != $ac_func;
54746   ;
54747   return 0;
54748 }
54749 _ACEOF
54750 rm -f conftest.$ac_objext conftest$ac_exeext
54751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54752   (eval $ac_link) 2>conftest.er1
54753   ac_status=$?
54754   grep -v '^ *+' conftest.er1 >conftest.err
54755   rm -f conftest.er1
54756   cat conftest.err >&5
54757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54758   (exit $ac_status); } &&
54759          { ac_try='test -z "$ac_c_werror_flag"
54760                          || test ! -s conftest.err'
54761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54762   (eval $ac_try) 2>&5
54763   ac_status=$?
54764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54765   (exit $ac_status); }; } &&
54766          { ac_try='test -s conftest$ac_exeext'
54767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54768   (eval $ac_try) 2>&5
54769   ac_status=$?
54770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54771   (exit $ac_status); }; }; then
54772   eval "$as_ac_var=yes"
54773 else
54774   echo "$as_me: failed program was:" >&5
54775 sed 's/^/| /' conftest.$ac_ext >&5
54776
54777 eval "$as_ac_var=no"
54778 fi
54779 rm -f conftest.err conftest.$ac_objext \
54780       conftest$ac_exeext conftest.$ac_ext
54781 fi
54782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54784 if test `eval echo '${'$as_ac_var'}'` = yes; then
54785   cat >>confdefs.h <<_ACEOF
54786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54787 _ACEOF
54788
54789 fi
54790 done
54791
54792     fi
54793   fi
54794
54795
54796
54797
54798
54799
54800   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
54801 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
54802   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54803     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
54804   echo $ECHO_N "(cached) $ECHO_C" >&6
54805 else
54806
54807
54808
54809       ac_ext=cc
54810 ac_cpp='$CXXCPP $CPPFLAGS'
54811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54814
54815       cat >conftest.$ac_ext <<_ACEOF
54816 /* confdefs.h.  */
54817 _ACEOF
54818 cat confdefs.h >>conftest.$ac_ext
54819 cat >>conftest.$ac_ext <<_ACEOF
54820 /* end confdefs.h.  */
54821 #include <math.h>
54822                       #ifdef HAVE_IEEEFP_H
54823                       #include <ieeefp.h>
54824                       #endif
54825
54826 int
54827 main ()
54828 {
54829  isinfl(0);
54830   ;
54831   return 0;
54832 }
54833 _ACEOF
54834 rm -f conftest.$ac_objext
54835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54836   (eval $ac_compile) 2>conftest.er1
54837   ac_status=$?
54838   grep -v '^ *+' conftest.er1 >conftest.err
54839   rm -f conftest.er1
54840   cat conftest.err >&5
54841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54842   (exit $ac_status); } &&
54843          { ac_try='test -z "$ac_cxx_werror_flag"
54844                          || test ! -s conftest.err'
54845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54846   (eval $ac_try) 2>&5
54847   ac_status=$?
54848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54849   (exit $ac_status); }; } &&
54850          { ac_try='test -s conftest.$ac_objext'
54851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54852   (eval $ac_try) 2>&5
54853   ac_status=$?
54854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54855   (exit $ac_status); }; }; then
54856   glibcxx_cv_func_isinfl_use=yes
54857 else
54858   echo "$as_me: failed program was:" >&5
54859 sed 's/^/| /' conftest.$ac_ext >&5
54860
54861 glibcxx_cv_func_isinfl_use=no
54862 fi
54863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54864       ac_ext=c
54865 ac_cpp='$CPP $CPPFLAGS'
54866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54869
54870
54871 fi
54872
54873   fi
54874   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
54875 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
54876
54877   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54878
54879 for ac_func in isinfl
54880 do
54881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54882 echo "$as_me:$LINENO: checking for $ac_func" >&5
54883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54884 if eval "test \"\${$as_ac_var+set}\" = set"; then
54885   echo $ECHO_N "(cached) $ECHO_C" >&6
54886 else
54887   if test x$gcc_no_link = xyes; then
54888   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54890    { (exit 1); exit 1; }; }
54891 fi
54892 cat >conftest.$ac_ext <<_ACEOF
54893 /* confdefs.h.  */
54894 _ACEOF
54895 cat confdefs.h >>conftest.$ac_ext
54896 cat >>conftest.$ac_ext <<_ACEOF
54897 /* end confdefs.h.  */
54898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54899    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54900 #define $ac_func innocuous_$ac_func
54901
54902 /* System header to define __stub macros and hopefully few prototypes,
54903     which can conflict with char $ac_func (); below.
54904     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54905     <limits.h> exists even on freestanding compilers.  */
54906
54907 #ifdef __STDC__
54908 # include <limits.h>
54909 #else
54910 # include <assert.h>
54911 #endif
54912
54913 #undef $ac_func
54914
54915 /* Override any gcc2 internal prototype to avoid an error.  */
54916 #ifdef __cplusplus
54917 extern "C"
54918 {
54919 #endif
54920 /* We use char because int might match the return type of a gcc2
54921    builtin and then its argument prototype would still apply.  */
54922 char $ac_func ();
54923 /* The GNU C library defines this for functions which it implements
54924     to always fail with ENOSYS.  Some functions are actually named
54925     something starting with __ and the normal name is an alias.  */
54926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54927 choke me
54928 #else
54929 char (*f) () = $ac_func;
54930 #endif
54931 #ifdef __cplusplus
54932 }
54933 #endif
54934
54935 int
54936 main ()
54937 {
54938 return f != $ac_func;
54939   ;
54940   return 0;
54941 }
54942 _ACEOF
54943 rm -f conftest.$ac_objext conftest$ac_exeext
54944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54945   (eval $ac_link) 2>conftest.er1
54946   ac_status=$?
54947   grep -v '^ *+' conftest.er1 >conftest.err
54948   rm -f conftest.er1
54949   cat conftest.err >&5
54950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54951   (exit $ac_status); } &&
54952          { ac_try='test -z "$ac_c_werror_flag"
54953                          || test ! -s conftest.err'
54954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54955   (eval $ac_try) 2>&5
54956   ac_status=$?
54957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54958   (exit $ac_status); }; } &&
54959          { ac_try='test -s conftest$ac_exeext'
54960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54961   (eval $ac_try) 2>&5
54962   ac_status=$?
54963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54964   (exit $ac_status); }; }; then
54965   eval "$as_ac_var=yes"
54966 else
54967   echo "$as_me: failed program was:" >&5
54968 sed 's/^/| /' conftest.$ac_ext >&5
54969
54970 eval "$as_ac_var=no"
54971 fi
54972 rm -f conftest.err conftest.$ac_objext \
54973       conftest$ac_exeext conftest.$ac_ext
54974 fi
54975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54977 if test `eval echo '${'$as_ac_var'}'` = yes; then
54978   cat >>confdefs.h <<_ACEOF
54979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54980 _ACEOF
54981
54982 fi
54983 done
54984
54985   else
54986
54987   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
54988 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
54989   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54990     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
54991   echo $ECHO_N "(cached) $ECHO_C" >&6
54992 else
54993
54994
54995
54996       ac_ext=cc
54997 ac_cpp='$CXXCPP $CPPFLAGS'
54998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55001
55002       cat >conftest.$ac_ext <<_ACEOF
55003 /* confdefs.h.  */
55004 _ACEOF
55005 cat confdefs.h >>conftest.$ac_ext
55006 cat >>conftest.$ac_ext <<_ACEOF
55007 /* end confdefs.h.  */
55008 #include <math.h>
55009                       #ifdef HAVE_IEEEFP_H
55010                       #include <ieeefp.h>
55011                       #endif
55012
55013 int
55014 main ()
55015 {
55016  _isinfl(0);
55017   ;
55018   return 0;
55019 }
55020 _ACEOF
55021 rm -f conftest.$ac_objext
55022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55023   (eval $ac_compile) 2>conftest.er1
55024   ac_status=$?
55025   grep -v '^ *+' conftest.er1 >conftest.err
55026   rm -f conftest.er1
55027   cat conftest.err >&5
55028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55029   (exit $ac_status); } &&
55030          { ac_try='test -z "$ac_cxx_werror_flag"
55031                          || test ! -s conftest.err'
55032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55033   (eval $ac_try) 2>&5
55034   ac_status=$?
55035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55036   (exit $ac_status); }; } &&
55037          { ac_try='test -s conftest.$ac_objext'
55038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55039   (eval $ac_try) 2>&5
55040   ac_status=$?
55041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55042   (exit $ac_status); }; }; then
55043   glibcxx_cv_func__isinfl_use=yes
55044 else
55045   echo "$as_me: failed program was:" >&5
55046 sed 's/^/| /' conftest.$ac_ext >&5
55047
55048 glibcxx_cv_func__isinfl_use=no
55049 fi
55050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55051       ac_ext=c
55052 ac_cpp='$CPP $CPPFLAGS'
55053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55056
55057
55058 fi
55059
55060   fi
55061   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
55062 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
55063
55064     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55065
55066 for ac_func in _isinfl
55067 do
55068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55069 echo "$as_me:$LINENO: checking for $ac_func" >&5
55070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55071 if eval "test \"\${$as_ac_var+set}\" = set"; then
55072   echo $ECHO_N "(cached) $ECHO_C" >&6
55073 else
55074   if test x$gcc_no_link = xyes; then
55075   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55077    { (exit 1); exit 1; }; }
55078 fi
55079 cat >conftest.$ac_ext <<_ACEOF
55080 /* confdefs.h.  */
55081 _ACEOF
55082 cat confdefs.h >>conftest.$ac_ext
55083 cat >>conftest.$ac_ext <<_ACEOF
55084 /* end confdefs.h.  */
55085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55086    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55087 #define $ac_func innocuous_$ac_func
55088
55089 /* System header to define __stub macros and hopefully few prototypes,
55090     which can conflict with char $ac_func (); below.
55091     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55092     <limits.h> exists even on freestanding compilers.  */
55093
55094 #ifdef __STDC__
55095 # include <limits.h>
55096 #else
55097 # include <assert.h>
55098 #endif
55099
55100 #undef $ac_func
55101
55102 /* Override any gcc2 internal prototype to avoid an error.  */
55103 #ifdef __cplusplus
55104 extern "C"
55105 {
55106 #endif
55107 /* We use char because int might match the return type of a gcc2
55108    builtin and then its argument prototype would still apply.  */
55109 char $ac_func ();
55110 /* The GNU C library defines this for functions which it implements
55111     to always fail with ENOSYS.  Some functions are actually named
55112     something starting with __ and the normal name is an alias.  */
55113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55114 choke me
55115 #else
55116 char (*f) () = $ac_func;
55117 #endif
55118 #ifdef __cplusplus
55119 }
55120 #endif
55121
55122 int
55123 main ()
55124 {
55125 return f != $ac_func;
55126   ;
55127   return 0;
55128 }
55129 _ACEOF
55130 rm -f conftest.$ac_objext conftest$ac_exeext
55131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55132   (eval $ac_link) 2>conftest.er1
55133   ac_status=$?
55134   grep -v '^ *+' conftest.er1 >conftest.err
55135   rm -f conftest.er1
55136   cat conftest.err >&5
55137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55138   (exit $ac_status); } &&
55139          { ac_try='test -z "$ac_c_werror_flag"
55140                          || test ! -s conftest.err'
55141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55142   (eval $ac_try) 2>&5
55143   ac_status=$?
55144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55145   (exit $ac_status); }; } &&
55146          { ac_try='test -s conftest$ac_exeext'
55147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55148   (eval $ac_try) 2>&5
55149   ac_status=$?
55150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55151   (exit $ac_status); }; }; then
55152   eval "$as_ac_var=yes"
55153 else
55154   echo "$as_me: failed program was:" >&5
55155 sed 's/^/| /' conftest.$ac_ext >&5
55156
55157 eval "$as_ac_var=no"
55158 fi
55159 rm -f conftest.err conftest.$ac_objext \
55160       conftest$ac_exeext conftest.$ac_ext
55161 fi
55162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55164 if test `eval echo '${'$as_ac_var'}'` = yes; then
55165   cat >>confdefs.h <<_ACEOF
55166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55167 _ACEOF
55168
55169 fi
55170 done
55171
55172     fi
55173   fi
55174
55175
55176
55177
55178
55179
55180   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
55181 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
55182   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
55183     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
55184   echo $ECHO_N "(cached) $ECHO_C" >&6
55185 else
55186
55187
55188
55189       ac_ext=cc
55190 ac_cpp='$CXXCPP $CPPFLAGS'
55191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55194
55195       cat >conftest.$ac_ext <<_ACEOF
55196 /* confdefs.h.  */
55197 _ACEOF
55198 cat confdefs.h >>conftest.$ac_ext
55199 cat >>conftest.$ac_ext <<_ACEOF
55200 /* end confdefs.h.  */
55201 #include <math.h>
55202 int
55203 main ()
55204 {
55205  copysignl(0, 0);
55206   ;
55207   return 0;
55208 }
55209 _ACEOF
55210 rm -f conftest.$ac_objext
55211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55212   (eval $ac_compile) 2>conftest.er1
55213   ac_status=$?
55214   grep -v '^ *+' conftest.er1 >conftest.err
55215   rm -f conftest.er1
55216   cat conftest.err >&5
55217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55218   (exit $ac_status); } &&
55219          { ac_try='test -z "$ac_cxx_werror_flag"
55220                          || test ! -s conftest.err'
55221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55222   (eval $ac_try) 2>&5
55223   ac_status=$?
55224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55225   (exit $ac_status); }; } &&
55226          { ac_try='test -s conftest.$ac_objext'
55227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55228   (eval $ac_try) 2>&5
55229   ac_status=$?
55230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55231   (exit $ac_status); }; }; then
55232   glibcxx_cv_func_copysignl_use=yes
55233 else
55234   echo "$as_me: failed program was:" >&5
55235 sed 's/^/| /' conftest.$ac_ext >&5
55236
55237 glibcxx_cv_func_copysignl_use=no
55238 fi
55239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55240       ac_ext=c
55241 ac_cpp='$CPP $CPPFLAGS'
55242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55245
55246
55247 fi
55248
55249   fi
55250   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
55251 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
55252
55253   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
55254
55255 for ac_func in copysignl
55256 do
55257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55258 echo "$as_me:$LINENO: checking for $ac_func" >&5
55259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55260 if eval "test \"\${$as_ac_var+set}\" = set"; then
55261   echo $ECHO_N "(cached) $ECHO_C" >&6
55262 else
55263   if test x$gcc_no_link = xyes; then
55264   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55266    { (exit 1); exit 1; }; }
55267 fi
55268 cat >conftest.$ac_ext <<_ACEOF
55269 /* confdefs.h.  */
55270 _ACEOF
55271 cat confdefs.h >>conftest.$ac_ext
55272 cat >>conftest.$ac_ext <<_ACEOF
55273 /* end confdefs.h.  */
55274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55275    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55276 #define $ac_func innocuous_$ac_func
55277
55278 /* System header to define __stub macros and hopefully few prototypes,
55279     which can conflict with char $ac_func (); below.
55280     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55281     <limits.h> exists even on freestanding compilers.  */
55282
55283 #ifdef __STDC__
55284 # include <limits.h>
55285 #else
55286 # include <assert.h>
55287 #endif
55288
55289 #undef $ac_func
55290
55291 /* Override any gcc2 internal prototype to avoid an error.  */
55292 #ifdef __cplusplus
55293 extern "C"
55294 {
55295 #endif
55296 /* We use char because int might match the return type of a gcc2
55297    builtin and then its argument prototype would still apply.  */
55298 char $ac_func ();
55299 /* The GNU C library defines this for functions which it implements
55300     to always fail with ENOSYS.  Some functions are actually named
55301     something starting with __ and the normal name is an alias.  */
55302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55303 choke me
55304 #else
55305 char (*f) () = $ac_func;
55306 #endif
55307 #ifdef __cplusplus
55308 }
55309 #endif
55310
55311 int
55312 main ()
55313 {
55314 return f != $ac_func;
55315   ;
55316   return 0;
55317 }
55318 _ACEOF
55319 rm -f conftest.$ac_objext conftest$ac_exeext
55320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55321   (eval $ac_link) 2>conftest.er1
55322   ac_status=$?
55323   grep -v '^ *+' conftest.er1 >conftest.err
55324   rm -f conftest.er1
55325   cat conftest.err >&5
55326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55327   (exit $ac_status); } &&
55328          { ac_try='test -z "$ac_c_werror_flag"
55329                          || test ! -s conftest.err'
55330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55331   (eval $ac_try) 2>&5
55332   ac_status=$?
55333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55334   (exit $ac_status); }; } &&
55335          { ac_try='test -s conftest$ac_exeext'
55336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55337   (eval $ac_try) 2>&5
55338   ac_status=$?
55339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55340   (exit $ac_status); }; }; then
55341   eval "$as_ac_var=yes"
55342 else
55343   echo "$as_me: failed program was:" >&5
55344 sed 's/^/| /' conftest.$ac_ext >&5
55345
55346 eval "$as_ac_var=no"
55347 fi
55348 rm -f conftest.err conftest.$ac_objext \
55349       conftest$ac_exeext conftest.$ac_ext
55350 fi
55351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55353 if test `eval echo '${'$as_ac_var'}'` = yes; then
55354   cat >>confdefs.h <<_ACEOF
55355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55356 _ACEOF
55357
55358 fi
55359 done
55360
55361   else
55362
55363   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
55364 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
55365   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
55366     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
55367   echo $ECHO_N "(cached) $ECHO_C" >&6
55368 else
55369
55370
55371
55372       ac_ext=cc
55373 ac_cpp='$CXXCPP $CPPFLAGS'
55374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55377
55378       cat >conftest.$ac_ext <<_ACEOF
55379 /* confdefs.h.  */
55380 _ACEOF
55381 cat confdefs.h >>conftest.$ac_ext
55382 cat >>conftest.$ac_ext <<_ACEOF
55383 /* end confdefs.h.  */
55384 #include <math.h>
55385 int
55386 main ()
55387 {
55388  _copysignl(0, 0);
55389   ;
55390   return 0;
55391 }
55392 _ACEOF
55393 rm -f conftest.$ac_objext
55394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55395   (eval $ac_compile) 2>conftest.er1
55396   ac_status=$?
55397   grep -v '^ *+' conftest.er1 >conftest.err
55398   rm -f conftest.er1
55399   cat conftest.err >&5
55400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55401   (exit $ac_status); } &&
55402          { ac_try='test -z "$ac_cxx_werror_flag"
55403                          || test ! -s conftest.err'
55404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55405   (eval $ac_try) 2>&5
55406   ac_status=$?
55407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55408   (exit $ac_status); }; } &&
55409          { ac_try='test -s conftest.$ac_objext'
55410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55411   (eval $ac_try) 2>&5
55412   ac_status=$?
55413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55414   (exit $ac_status); }; }; then
55415   glibcxx_cv_func__copysignl_use=yes
55416 else
55417   echo "$as_me: failed program was:" >&5
55418 sed 's/^/| /' conftest.$ac_ext >&5
55419
55420 glibcxx_cv_func__copysignl_use=no
55421 fi
55422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55423       ac_ext=c
55424 ac_cpp='$CPP $CPPFLAGS'
55425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55428
55429
55430 fi
55431
55432   fi
55433   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
55434 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
55435
55436     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
55437
55438 for ac_func in _copysignl
55439 do
55440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55441 echo "$as_me:$LINENO: checking for $ac_func" >&5
55442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55443 if eval "test \"\${$as_ac_var+set}\" = set"; then
55444   echo $ECHO_N "(cached) $ECHO_C" >&6
55445 else
55446   if test x$gcc_no_link = xyes; then
55447   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55449    { (exit 1); exit 1; }; }
55450 fi
55451 cat >conftest.$ac_ext <<_ACEOF
55452 /* confdefs.h.  */
55453 _ACEOF
55454 cat confdefs.h >>conftest.$ac_ext
55455 cat >>conftest.$ac_ext <<_ACEOF
55456 /* end confdefs.h.  */
55457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55458    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55459 #define $ac_func innocuous_$ac_func
55460
55461 /* System header to define __stub macros and hopefully few prototypes,
55462     which can conflict with char $ac_func (); below.
55463     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55464     <limits.h> exists even on freestanding compilers.  */
55465
55466 #ifdef __STDC__
55467 # include <limits.h>
55468 #else
55469 # include <assert.h>
55470 #endif
55471
55472 #undef $ac_func
55473
55474 /* Override any gcc2 internal prototype to avoid an error.  */
55475 #ifdef __cplusplus
55476 extern "C"
55477 {
55478 #endif
55479 /* We use char because int might match the return type of a gcc2
55480    builtin and then its argument prototype would still apply.  */
55481 char $ac_func ();
55482 /* The GNU C library defines this for functions which it implements
55483     to always fail with ENOSYS.  Some functions are actually named
55484     something starting with __ and the normal name is an alias.  */
55485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55486 choke me
55487 #else
55488 char (*f) () = $ac_func;
55489 #endif
55490 #ifdef __cplusplus
55491 }
55492 #endif
55493
55494 int
55495 main ()
55496 {
55497 return f != $ac_func;
55498   ;
55499   return 0;
55500 }
55501 _ACEOF
55502 rm -f conftest.$ac_objext conftest$ac_exeext
55503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55504   (eval $ac_link) 2>conftest.er1
55505   ac_status=$?
55506   grep -v '^ *+' conftest.er1 >conftest.err
55507   rm -f conftest.er1
55508   cat conftest.err >&5
55509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55510   (exit $ac_status); } &&
55511          { ac_try='test -z "$ac_c_werror_flag"
55512                          || test ! -s conftest.err'
55513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55514   (eval $ac_try) 2>&5
55515   ac_status=$?
55516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55517   (exit $ac_status); }; } &&
55518          { ac_try='test -s conftest$ac_exeext'
55519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55520   (eval $ac_try) 2>&5
55521   ac_status=$?
55522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55523   (exit $ac_status); }; }; then
55524   eval "$as_ac_var=yes"
55525 else
55526   echo "$as_me: failed program was:" >&5
55527 sed 's/^/| /' conftest.$ac_ext >&5
55528
55529 eval "$as_ac_var=no"
55530 fi
55531 rm -f conftest.err conftest.$ac_objext \
55532       conftest$ac_exeext conftest.$ac_ext
55533 fi
55534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55536 if test `eval echo '${'$as_ac_var'}'` = yes; then
55537   cat >>confdefs.h <<_ACEOF
55538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55539 _ACEOF
55540
55541 fi
55542 done
55543
55544     fi
55545   fi
55546
55547
55548
55549
55550
55551
55552   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
55553 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
55554   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55555     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
55556   echo $ECHO_N "(cached) $ECHO_C" >&6
55557 else
55558
55559
55560
55561       ac_ext=cc
55562 ac_cpp='$CXXCPP $CPPFLAGS'
55563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55566
55567       cat >conftest.$ac_ext <<_ACEOF
55568 /* confdefs.h.  */
55569 _ACEOF
55570 cat confdefs.h >>conftest.$ac_ext
55571 cat >>conftest.$ac_ext <<_ACEOF
55572 /* end confdefs.h.  */
55573 #include <math.h>
55574 int
55575 main ()
55576 {
55577  atan2l(0, 0);
55578   ;
55579   return 0;
55580 }
55581 _ACEOF
55582 rm -f conftest.$ac_objext
55583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55584   (eval $ac_compile) 2>conftest.er1
55585   ac_status=$?
55586   grep -v '^ *+' conftest.er1 >conftest.err
55587   rm -f conftest.er1
55588   cat conftest.err >&5
55589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55590   (exit $ac_status); } &&
55591          { ac_try='test -z "$ac_cxx_werror_flag"
55592                          || test ! -s conftest.err'
55593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55594   (eval $ac_try) 2>&5
55595   ac_status=$?
55596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55597   (exit $ac_status); }; } &&
55598          { ac_try='test -s conftest.$ac_objext'
55599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55600   (eval $ac_try) 2>&5
55601   ac_status=$?
55602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55603   (exit $ac_status); }; }; then
55604   glibcxx_cv_func_atan2l_use=yes
55605 else
55606   echo "$as_me: failed program was:" >&5
55607 sed 's/^/| /' conftest.$ac_ext >&5
55608
55609 glibcxx_cv_func_atan2l_use=no
55610 fi
55611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55612       ac_ext=c
55613 ac_cpp='$CPP $CPPFLAGS'
55614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55617
55618
55619 fi
55620
55621   fi
55622   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
55623 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
55624
55625   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55626
55627 for ac_func in atan2l
55628 do
55629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55630 echo "$as_me:$LINENO: checking for $ac_func" >&5
55631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55632 if eval "test \"\${$as_ac_var+set}\" = set"; then
55633   echo $ECHO_N "(cached) $ECHO_C" >&6
55634 else
55635   if test x$gcc_no_link = xyes; then
55636   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55638    { (exit 1); exit 1; }; }
55639 fi
55640 cat >conftest.$ac_ext <<_ACEOF
55641 /* confdefs.h.  */
55642 _ACEOF
55643 cat confdefs.h >>conftest.$ac_ext
55644 cat >>conftest.$ac_ext <<_ACEOF
55645 /* end confdefs.h.  */
55646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55647    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55648 #define $ac_func innocuous_$ac_func
55649
55650 /* System header to define __stub macros and hopefully few prototypes,
55651     which can conflict with char $ac_func (); below.
55652     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55653     <limits.h> exists even on freestanding compilers.  */
55654
55655 #ifdef __STDC__
55656 # include <limits.h>
55657 #else
55658 # include <assert.h>
55659 #endif
55660
55661 #undef $ac_func
55662
55663 /* Override any gcc2 internal prototype to avoid an error.  */
55664 #ifdef __cplusplus
55665 extern "C"
55666 {
55667 #endif
55668 /* We use char because int might match the return type of a gcc2
55669    builtin and then its argument prototype would still apply.  */
55670 char $ac_func ();
55671 /* The GNU C library defines this for functions which it implements
55672     to always fail with ENOSYS.  Some functions are actually named
55673     something starting with __ and the normal name is an alias.  */
55674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55675 choke me
55676 #else
55677 char (*f) () = $ac_func;
55678 #endif
55679 #ifdef __cplusplus
55680 }
55681 #endif
55682
55683 int
55684 main ()
55685 {
55686 return f != $ac_func;
55687   ;
55688   return 0;
55689 }
55690 _ACEOF
55691 rm -f conftest.$ac_objext conftest$ac_exeext
55692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55693   (eval $ac_link) 2>conftest.er1
55694   ac_status=$?
55695   grep -v '^ *+' conftest.er1 >conftest.err
55696   rm -f conftest.er1
55697   cat conftest.err >&5
55698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55699   (exit $ac_status); } &&
55700          { ac_try='test -z "$ac_c_werror_flag"
55701                          || test ! -s conftest.err'
55702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55703   (eval $ac_try) 2>&5
55704   ac_status=$?
55705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55706   (exit $ac_status); }; } &&
55707          { ac_try='test -s conftest$ac_exeext'
55708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55709   (eval $ac_try) 2>&5
55710   ac_status=$?
55711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55712   (exit $ac_status); }; }; then
55713   eval "$as_ac_var=yes"
55714 else
55715   echo "$as_me: failed program was:" >&5
55716 sed 's/^/| /' conftest.$ac_ext >&5
55717
55718 eval "$as_ac_var=no"
55719 fi
55720 rm -f conftest.err conftest.$ac_objext \
55721       conftest$ac_exeext conftest.$ac_ext
55722 fi
55723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55725 if test `eval echo '${'$as_ac_var'}'` = yes; then
55726   cat >>confdefs.h <<_ACEOF
55727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55728 _ACEOF
55729
55730 fi
55731 done
55732
55733   else
55734
55735   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
55736 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
55737   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55738     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
55739   echo $ECHO_N "(cached) $ECHO_C" >&6
55740 else
55741
55742
55743
55744       ac_ext=cc
55745 ac_cpp='$CXXCPP $CPPFLAGS'
55746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55749
55750       cat >conftest.$ac_ext <<_ACEOF
55751 /* confdefs.h.  */
55752 _ACEOF
55753 cat confdefs.h >>conftest.$ac_ext
55754 cat >>conftest.$ac_ext <<_ACEOF
55755 /* end confdefs.h.  */
55756 #include <math.h>
55757 int
55758 main ()
55759 {
55760  _atan2l(0, 0);
55761   ;
55762   return 0;
55763 }
55764 _ACEOF
55765 rm -f conftest.$ac_objext
55766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55767   (eval $ac_compile) 2>conftest.er1
55768   ac_status=$?
55769   grep -v '^ *+' conftest.er1 >conftest.err
55770   rm -f conftest.er1
55771   cat conftest.err >&5
55772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55773   (exit $ac_status); } &&
55774          { ac_try='test -z "$ac_cxx_werror_flag"
55775                          || test ! -s conftest.err'
55776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55777   (eval $ac_try) 2>&5
55778   ac_status=$?
55779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55780   (exit $ac_status); }; } &&
55781          { ac_try='test -s conftest.$ac_objext'
55782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55783   (eval $ac_try) 2>&5
55784   ac_status=$?
55785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55786   (exit $ac_status); }; }; then
55787   glibcxx_cv_func__atan2l_use=yes
55788 else
55789   echo "$as_me: failed program was:" >&5
55790 sed 's/^/| /' conftest.$ac_ext >&5
55791
55792 glibcxx_cv_func__atan2l_use=no
55793 fi
55794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55795       ac_ext=c
55796 ac_cpp='$CPP $CPPFLAGS'
55797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55800
55801
55802 fi
55803
55804   fi
55805   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
55806 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
55807
55808     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55809
55810 for ac_func in _atan2l
55811 do
55812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55813 echo "$as_me:$LINENO: checking for $ac_func" >&5
55814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55815 if eval "test \"\${$as_ac_var+set}\" = set"; then
55816   echo $ECHO_N "(cached) $ECHO_C" >&6
55817 else
55818   if test x$gcc_no_link = xyes; then
55819   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55821    { (exit 1); exit 1; }; }
55822 fi
55823 cat >conftest.$ac_ext <<_ACEOF
55824 /* confdefs.h.  */
55825 _ACEOF
55826 cat confdefs.h >>conftest.$ac_ext
55827 cat >>conftest.$ac_ext <<_ACEOF
55828 /* end confdefs.h.  */
55829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55830    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55831 #define $ac_func innocuous_$ac_func
55832
55833 /* System header to define __stub macros and hopefully few prototypes,
55834     which can conflict with char $ac_func (); below.
55835     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55836     <limits.h> exists even on freestanding compilers.  */
55837
55838 #ifdef __STDC__
55839 # include <limits.h>
55840 #else
55841 # include <assert.h>
55842 #endif
55843
55844 #undef $ac_func
55845
55846 /* Override any gcc2 internal prototype to avoid an error.  */
55847 #ifdef __cplusplus
55848 extern "C"
55849 {
55850 #endif
55851 /* We use char because int might match the return type of a gcc2
55852    builtin and then its argument prototype would still apply.  */
55853 char $ac_func ();
55854 /* The GNU C library defines this for functions which it implements
55855     to always fail with ENOSYS.  Some functions are actually named
55856     something starting with __ and the normal name is an alias.  */
55857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55858 choke me
55859 #else
55860 char (*f) () = $ac_func;
55861 #endif
55862 #ifdef __cplusplus
55863 }
55864 #endif
55865
55866 int
55867 main ()
55868 {
55869 return f != $ac_func;
55870   ;
55871   return 0;
55872 }
55873 _ACEOF
55874 rm -f conftest.$ac_objext conftest$ac_exeext
55875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55876   (eval $ac_link) 2>conftest.er1
55877   ac_status=$?
55878   grep -v '^ *+' conftest.er1 >conftest.err
55879   rm -f conftest.er1
55880   cat conftest.err >&5
55881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55882   (exit $ac_status); } &&
55883          { ac_try='test -z "$ac_c_werror_flag"
55884                          || test ! -s conftest.err'
55885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55886   (eval $ac_try) 2>&5
55887   ac_status=$?
55888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55889   (exit $ac_status); }; } &&
55890          { ac_try='test -s conftest$ac_exeext'
55891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55892   (eval $ac_try) 2>&5
55893   ac_status=$?
55894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55895   (exit $ac_status); }; }; then
55896   eval "$as_ac_var=yes"
55897 else
55898   echo "$as_me: failed program was:" >&5
55899 sed 's/^/| /' conftest.$ac_ext >&5
55900
55901 eval "$as_ac_var=no"
55902 fi
55903 rm -f conftest.err conftest.$ac_objext \
55904       conftest$ac_exeext conftest.$ac_ext
55905 fi
55906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55908 if test `eval echo '${'$as_ac_var'}'` = yes; then
55909   cat >>confdefs.h <<_ACEOF
55910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55911 _ACEOF
55912
55913 fi
55914 done
55915
55916     fi
55917   fi
55918
55919
55920
55921
55922
55923
55924   echo "$as_me:$LINENO: checking for expl declaration" >&5
55925 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
55926   if test x${glibcxx_cv_func_expl_use+set} != xset; then
55927     if test "${glibcxx_cv_func_expl_use+set}" = set; then
55928   echo $ECHO_N "(cached) $ECHO_C" >&6
55929 else
55930
55931
55932
55933       ac_ext=cc
55934 ac_cpp='$CXXCPP $CPPFLAGS'
55935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55938
55939       cat >conftest.$ac_ext <<_ACEOF
55940 /* confdefs.h.  */
55941 _ACEOF
55942 cat confdefs.h >>conftest.$ac_ext
55943 cat >>conftest.$ac_ext <<_ACEOF
55944 /* end confdefs.h.  */
55945 #include <math.h>
55946                       #ifdef HAVE_IEEEFP_H
55947                       #include <ieeefp.h>
55948                       #endif
55949
55950 int
55951 main ()
55952 {
55953  expl(0);
55954   ;
55955   return 0;
55956 }
55957 _ACEOF
55958 rm -f conftest.$ac_objext
55959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55960   (eval $ac_compile) 2>conftest.er1
55961   ac_status=$?
55962   grep -v '^ *+' conftest.er1 >conftest.err
55963   rm -f conftest.er1
55964   cat conftest.err >&5
55965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55966   (exit $ac_status); } &&
55967          { ac_try='test -z "$ac_cxx_werror_flag"
55968                          || test ! -s conftest.err'
55969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55970   (eval $ac_try) 2>&5
55971   ac_status=$?
55972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55973   (exit $ac_status); }; } &&
55974          { ac_try='test -s conftest.$ac_objext'
55975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55976   (eval $ac_try) 2>&5
55977   ac_status=$?
55978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55979   (exit $ac_status); }; }; then
55980   glibcxx_cv_func_expl_use=yes
55981 else
55982   echo "$as_me: failed program was:" >&5
55983 sed 's/^/| /' conftest.$ac_ext >&5
55984
55985 glibcxx_cv_func_expl_use=no
55986 fi
55987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55988       ac_ext=c
55989 ac_cpp='$CPP $CPPFLAGS'
55990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55993
55994
55995 fi
55996
55997   fi
55998   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
55999 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
56000
56001   if test x$glibcxx_cv_func_expl_use = x"yes"; then
56002
56003 for ac_func in expl
56004 do
56005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56006 echo "$as_me:$LINENO: checking for $ac_func" >&5
56007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56008 if eval "test \"\${$as_ac_var+set}\" = set"; then
56009   echo $ECHO_N "(cached) $ECHO_C" >&6
56010 else
56011   if test x$gcc_no_link = xyes; then
56012   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56014    { (exit 1); exit 1; }; }
56015 fi
56016 cat >conftest.$ac_ext <<_ACEOF
56017 /* confdefs.h.  */
56018 _ACEOF
56019 cat confdefs.h >>conftest.$ac_ext
56020 cat >>conftest.$ac_ext <<_ACEOF
56021 /* end confdefs.h.  */
56022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56023    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56024 #define $ac_func innocuous_$ac_func
56025
56026 /* System header to define __stub macros and hopefully few prototypes,
56027     which can conflict with char $ac_func (); below.
56028     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56029     <limits.h> exists even on freestanding compilers.  */
56030
56031 #ifdef __STDC__
56032 # include <limits.h>
56033 #else
56034 # include <assert.h>
56035 #endif
56036
56037 #undef $ac_func
56038
56039 /* Override any gcc2 internal prototype to avoid an error.  */
56040 #ifdef __cplusplus
56041 extern "C"
56042 {
56043 #endif
56044 /* We use char because int might match the return type of a gcc2
56045    builtin and then its argument prototype would still apply.  */
56046 char $ac_func ();
56047 /* The GNU C library defines this for functions which it implements
56048     to always fail with ENOSYS.  Some functions are actually named
56049     something starting with __ and the normal name is an alias.  */
56050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56051 choke me
56052 #else
56053 char (*f) () = $ac_func;
56054 #endif
56055 #ifdef __cplusplus
56056 }
56057 #endif
56058
56059 int
56060 main ()
56061 {
56062 return f != $ac_func;
56063   ;
56064   return 0;
56065 }
56066 _ACEOF
56067 rm -f conftest.$ac_objext conftest$ac_exeext
56068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56069   (eval $ac_link) 2>conftest.er1
56070   ac_status=$?
56071   grep -v '^ *+' conftest.er1 >conftest.err
56072   rm -f conftest.er1
56073   cat conftest.err >&5
56074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56075   (exit $ac_status); } &&
56076          { ac_try='test -z "$ac_c_werror_flag"
56077                          || test ! -s conftest.err'
56078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56079   (eval $ac_try) 2>&5
56080   ac_status=$?
56081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56082   (exit $ac_status); }; } &&
56083          { ac_try='test -s conftest$ac_exeext'
56084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56085   (eval $ac_try) 2>&5
56086   ac_status=$?
56087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56088   (exit $ac_status); }; }; then
56089   eval "$as_ac_var=yes"
56090 else
56091   echo "$as_me: failed program was:" >&5
56092 sed 's/^/| /' conftest.$ac_ext >&5
56093
56094 eval "$as_ac_var=no"
56095 fi
56096 rm -f conftest.err conftest.$ac_objext \
56097       conftest$ac_exeext conftest.$ac_ext
56098 fi
56099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56101 if test `eval echo '${'$as_ac_var'}'` = yes; then
56102   cat >>confdefs.h <<_ACEOF
56103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56104 _ACEOF
56105
56106 fi
56107 done
56108
56109   else
56110
56111   echo "$as_me:$LINENO: checking for _expl declaration" >&5
56112 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
56113   if test x${glibcxx_cv_func__expl_use+set} != xset; then
56114     if test "${glibcxx_cv_func__expl_use+set}" = set; then
56115   echo $ECHO_N "(cached) $ECHO_C" >&6
56116 else
56117
56118
56119
56120       ac_ext=cc
56121 ac_cpp='$CXXCPP $CPPFLAGS'
56122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56125
56126       cat >conftest.$ac_ext <<_ACEOF
56127 /* confdefs.h.  */
56128 _ACEOF
56129 cat confdefs.h >>conftest.$ac_ext
56130 cat >>conftest.$ac_ext <<_ACEOF
56131 /* end confdefs.h.  */
56132 #include <math.h>
56133                       #ifdef HAVE_IEEEFP_H
56134                       #include <ieeefp.h>
56135                       #endif
56136
56137 int
56138 main ()
56139 {
56140  _expl(0);
56141   ;
56142   return 0;
56143 }
56144 _ACEOF
56145 rm -f conftest.$ac_objext
56146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56147   (eval $ac_compile) 2>conftest.er1
56148   ac_status=$?
56149   grep -v '^ *+' conftest.er1 >conftest.err
56150   rm -f conftest.er1
56151   cat conftest.err >&5
56152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56153   (exit $ac_status); } &&
56154          { ac_try='test -z "$ac_cxx_werror_flag"
56155                          || test ! -s conftest.err'
56156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56157   (eval $ac_try) 2>&5
56158   ac_status=$?
56159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56160   (exit $ac_status); }; } &&
56161          { ac_try='test -s conftest.$ac_objext'
56162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56163   (eval $ac_try) 2>&5
56164   ac_status=$?
56165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56166   (exit $ac_status); }; }; then
56167   glibcxx_cv_func__expl_use=yes
56168 else
56169   echo "$as_me: failed program was:" >&5
56170 sed 's/^/| /' conftest.$ac_ext >&5
56171
56172 glibcxx_cv_func__expl_use=no
56173 fi
56174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56175       ac_ext=c
56176 ac_cpp='$CPP $CPPFLAGS'
56177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56180
56181
56182 fi
56183
56184   fi
56185   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
56186 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
56187
56188     if test x$glibcxx_cv_func__expl_use = x"yes"; then
56189
56190 for ac_func in _expl
56191 do
56192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56193 echo "$as_me:$LINENO: checking for $ac_func" >&5
56194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56195 if eval "test \"\${$as_ac_var+set}\" = set"; then
56196   echo $ECHO_N "(cached) $ECHO_C" >&6
56197 else
56198   if test x$gcc_no_link = xyes; then
56199   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56201    { (exit 1); exit 1; }; }
56202 fi
56203 cat >conftest.$ac_ext <<_ACEOF
56204 /* confdefs.h.  */
56205 _ACEOF
56206 cat confdefs.h >>conftest.$ac_ext
56207 cat >>conftest.$ac_ext <<_ACEOF
56208 /* end confdefs.h.  */
56209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56210    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56211 #define $ac_func innocuous_$ac_func
56212
56213 /* System header to define __stub macros and hopefully few prototypes,
56214     which can conflict with char $ac_func (); below.
56215     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56216     <limits.h> exists even on freestanding compilers.  */
56217
56218 #ifdef __STDC__
56219 # include <limits.h>
56220 #else
56221 # include <assert.h>
56222 #endif
56223
56224 #undef $ac_func
56225
56226 /* Override any gcc2 internal prototype to avoid an error.  */
56227 #ifdef __cplusplus
56228 extern "C"
56229 {
56230 #endif
56231 /* We use char because int might match the return type of a gcc2
56232    builtin and then its argument prototype would still apply.  */
56233 char $ac_func ();
56234 /* The GNU C library defines this for functions which it implements
56235     to always fail with ENOSYS.  Some functions are actually named
56236     something starting with __ and the normal name is an alias.  */
56237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56238 choke me
56239 #else
56240 char (*f) () = $ac_func;
56241 #endif
56242 #ifdef __cplusplus
56243 }
56244 #endif
56245
56246 int
56247 main ()
56248 {
56249 return f != $ac_func;
56250   ;
56251   return 0;
56252 }
56253 _ACEOF
56254 rm -f conftest.$ac_objext conftest$ac_exeext
56255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56256   (eval $ac_link) 2>conftest.er1
56257   ac_status=$?
56258   grep -v '^ *+' conftest.er1 >conftest.err
56259   rm -f conftest.er1
56260   cat conftest.err >&5
56261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56262   (exit $ac_status); } &&
56263          { ac_try='test -z "$ac_c_werror_flag"
56264                          || test ! -s conftest.err'
56265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56266   (eval $ac_try) 2>&5
56267   ac_status=$?
56268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56269   (exit $ac_status); }; } &&
56270          { ac_try='test -s conftest$ac_exeext'
56271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56272   (eval $ac_try) 2>&5
56273   ac_status=$?
56274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56275   (exit $ac_status); }; }; then
56276   eval "$as_ac_var=yes"
56277 else
56278   echo "$as_me: failed program was:" >&5
56279 sed 's/^/| /' conftest.$ac_ext >&5
56280
56281 eval "$as_ac_var=no"
56282 fi
56283 rm -f conftest.err conftest.$ac_objext \
56284       conftest$ac_exeext conftest.$ac_ext
56285 fi
56286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56288 if test `eval echo '${'$as_ac_var'}'` = yes; then
56289   cat >>confdefs.h <<_ACEOF
56290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56291 _ACEOF
56292
56293 fi
56294 done
56295
56296     fi
56297   fi
56298
56299
56300
56301
56302
56303
56304   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
56305 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
56306   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56307     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
56308   echo $ECHO_N "(cached) $ECHO_C" >&6
56309 else
56310
56311
56312
56313       ac_ext=cc
56314 ac_cpp='$CXXCPP $CPPFLAGS'
56315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56318
56319       cat >conftest.$ac_ext <<_ACEOF
56320 /* confdefs.h.  */
56321 _ACEOF
56322 cat confdefs.h >>conftest.$ac_ext
56323 cat >>conftest.$ac_ext <<_ACEOF
56324 /* end confdefs.h.  */
56325 #include <math.h>
56326                       #ifdef HAVE_IEEEFP_H
56327                       #include <ieeefp.h>
56328                       #endif
56329
56330 int
56331 main ()
56332 {
56333  fabsl(0);
56334   ;
56335   return 0;
56336 }
56337 _ACEOF
56338 rm -f conftest.$ac_objext
56339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56340   (eval $ac_compile) 2>conftest.er1
56341   ac_status=$?
56342   grep -v '^ *+' conftest.er1 >conftest.err
56343   rm -f conftest.er1
56344   cat conftest.err >&5
56345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56346   (exit $ac_status); } &&
56347          { ac_try='test -z "$ac_cxx_werror_flag"
56348                          || test ! -s conftest.err'
56349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56350   (eval $ac_try) 2>&5
56351   ac_status=$?
56352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56353   (exit $ac_status); }; } &&
56354          { ac_try='test -s conftest.$ac_objext'
56355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56356   (eval $ac_try) 2>&5
56357   ac_status=$?
56358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56359   (exit $ac_status); }; }; then
56360   glibcxx_cv_func_fabsl_use=yes
56361 else
56362   echo "$as_me: failed program was:" >&5
56363 sed 's/^/| /' conftest.$ac_ext >&5
56364
56365 glibcxx_cv_func_fabsl_use=no
56366 fi
56367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56368       ac_ext=c
56369 ac_cpp='$CPP $CPPFLAGS'
56370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56373
56374
56375 fi
56376
56377   fi
56378   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
56379 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
56380
56381   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56382
56383 for ac_func in fabsl
56384 do
56385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56386 echo "$as_me:$LINENO: checking for $ac_func" >&5
56387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56388 if eval "test \"\${$as_ac_var+set}\" = set"; then
56389   echo $ECHO_N "(cached) $ECHO_C" >&6
56390 else
56391   if test x$gcc_no_link = xyes; then
56392   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56394    { (exit 1); exit 1; }; }
56395 fi
56396 cat >conftest.$ac_ext <<_ACEOF
56397 /* confdefs.h.  */
56398 _ACEOF
56399 cat confdefs.h >>conftest.$ac_ext
56400 cat >>conftest.$ac_ext <<_ACEOF
56401 /* end confdefs.h.  */
56402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56403    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56404 #define $ac_func innocuous_$ac_func
56405
56406 /* System header to define __stub macros and hopefully few prototypes,
56407     which can conflict with char $ac_func (); below.
56408     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56409     <limits.h> exists even on freestanding compilers.  */
56410
56411 #ifdef __STDC__
56412 # include <limits.h>
56413 #else
56414 # include <assert.h>
56415 #endif
56416
56417 #undef $ac_func
56418
56419 /* Override any gcc2 internal prototype to avoid an error.  */
56420 #ifdef __cplusplus
56421 extern "C"
56422 {
56423 #endif
56424 /* We use char because int might match the return type of a gcc2
56425    builtin and then its argument prototype would still apply.  */
56426 char $ac_func ();
56427 /* The GNU C library defines this for functions which it implements
56428     to always fail with ENOSYS.  Some functions are actually named
56429     something starting with __ and the normal name is an alias.  */
56430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56431 choke me
56432 #else
56433 char (*f) () = $ac_func;
56434 #endif
56435 #ifdef __cplusplus
56436 }
56437 #endif
56438
56439 int
56440 main ()
56441 {
56442 return f != $ac_func;
56443   ;
56444   return 0;
56445 }
56446 _ACEOF
56447 rm -f conftest.$ac_objext conftest$ac_exeext
56448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56449   (eval $ac_link) 2>conftest.er1
56450   ac_status=$?
56451   grep -v '^ *+' conftest.er1 >conftest.err
56452   rm -f conftest.er1
56453   cat conftest.err >&5
56454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56455   (exit $ac_status); } &&
56456          { ac_try='test -z "$ac_c_werror_flag"
56457                          || test ! -s conftest.err'
56458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56459   (eval $ac_try) 2>&5
56460   ac_status=$?
56461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56462   (exit $ac_status); }; } &&
56463          { ac_try='test -s conftest$ac_exeext'
56464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56465   (eval $ac_try) 2>&5
56466   ac_status=$?
56467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56468   (exit $ac_status); }; }; then
56469   eval "$as_ac_var=yes"
56470 else
56471   echo "$as_me: failed program was:" >&5
56472 sed 's/^/| /' conftest.$ac_ext >&5
56473
56474 eval "$as_ac_var=no"
56475 fi
56476 rm -f conftest.err conftest.$ac_objext \
56477       conftest$ac_exeext conftest.$ac_ext
56478 fi
56479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56481 if test `eval echo '${'$as_ac_var'}'` = yes; then
56482   cat >>confdefs.h <<_ACEOF
56483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56484 _ACEOF
56485
56486 fi
56487 done
56488
56489   else
56490
56491   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
56492 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
56493   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56494     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
56495   echo $ECHO_N "(cached) $ECHO_C" >&6
56496 else
56497
56498
56499
56500       ac_ext=cc
56501 ac_cpp='$CXXCPP $CPPFLAGS'
56502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56505
56506       cat >conftest.$ac_ext <<_ACEOF
56507 /* confdefs.h.  */
56508 _ACEOF
56509 cat confdefs.h >>conftest.$ac_ext
56510 cat >>conftest.$ac_ext <<_ACEOF
56511 /* end confdefs.h.  */
56512 #include <math.h>
56513                       #ifdef HAVE_IEEEFP_H
56514                       #include <ieeefp.h>
56515                       #endif
56516
56517 int
56518 main ()
56519 {
56520  _fabsl(0);
56521   ;
56522   return 0;
56523 }
56524 _ACEOF
56525 rm -f conftest.$ac_objext
56526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56527   (eval $ac_compile) 2>conftest.er1
56528   ac_status=$?
56529   grep -v '^ *+' conftest.er1 >conftest.err
56530   rm -f conftest.er1
56531   cat conftest.err >&5
56532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56533   (exit $ac_status); } &&
56534          { ac_try='test -z "$ac_cxx_werror_flag"
56535                          || test ! -s conftest.err'
56536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56537   (eval $ac_try) 2>&5
56538   ac_status=$?
56539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56540   (exit $ac_status); }; } &&
56541          { ac_try='test -s conftest.$ac_objext'
56542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56543   (eval $ac_try) 2>&5
56544   ac_status=$?
56545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56546   (exit $ac_status); }; }; then
56547   glibcxx_cv_func__fabsl_use=yes
56548 else
56549   echo "$as_me: failed program was:" >&5
56550 sed 's/^/| /' conftest.$ac_ext >&5
56551
56552 glibcxx_cv_func__fabsl_use=no
56553 fi
56554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56555       ac_ext=c
56556 ac_cpp='$CPP $CPPFLAGS'
56557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56560
56561
56562 fi
56563
56564   fi
56565   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
56566 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
56567
56568     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56569
56570 for ac_func in _fabsl
56571 do
56572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56573 echo "$as_me:$LINENO: checking for $ac_func" >&5
56574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56575 if eval "test \"\${$as_ac_var+set}\" = set"; then
56576   echo $ECHO_N "(cached) $ECHO_C" >&6
56577 else
56578   if test x$gcc_no_link = xyes; then
56579   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56581    { (exit 1); exit 1; }; }
56582 fi
56583 cat >conftest.$ac_ext <<_ACEOF
56584 /* confdefs.h.  */
56585 _ACEOF
56586 cat confdefs.h >>conftest.$ac_ext
56587 cat >>conftest.$ac_ext <<_ACEOF
56588 /* end confdefs.h.  */
56589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56590    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56591 #define $ac_func innocuous_$ac_func
56592
56593 /* System header to define __stub macros and hopefully few prototypes,
56594     which can conflict with char $ac_func (); below.
56595     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56596     <limits.h> exists even on freestanding compilers.  */
56597
56598 #ifdef __STDC__
56599 # include <limits.h>
56600 #else
56601 # include <assert.h>
56602 #endif
56603
56604 #undef $ac_func
56605
56606 /* Override any gcc2 internal prototype to avoid an error.  */
56607 #ifdef __cplusplus
56608 extern "C"
56609 {
56610 #endif
56611 /* We use char because int might match the return type of a gcc2
56612    builtin and then its argument prototype would still apply.  */
56613 char $ac_func ();
56614 /* The GNU C library defines this for functions which it implements
56615     to always fail with ENOSYS.  Some functions are actually named
56616     something starting with __ and the normal name is an alias.  */
56617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56618 choke me
56619 #else
56620 char (*f) () = $ac_func;
56621 #endif
56622 #ifdef __cplusplus
56623 }
56624 #endif
56625
56626 int
56627 main ()
56628 {
56629 return f != $ac_func;
56630   ;
56631   return 0;
56632 }
56633 _ACEOF
56634 rm -f conftest.$ac_objext conftest$ac_exeext
56635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56636   (eval $ac_link) 2>conftest.er1
56637   ac_status=$?
56638   grep -v '^ *+' conftest.er1 >conftest.err
56639   rm -f conftest.er1
56640   cat conftest.err >&5
56641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56642   (exit $ac_status); } &&
56643          { ac_try='test -z "$ac_c_werror_flag"
56644                          || test ! -s conftest.err'
56645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56646   (eval $ac_try) 2>&5
56647   ac_status=$?
56648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56649   (exit $ac_status); }; } &&
56650          { ac_try='test -s conftest$ac_exeext'
56651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56652   (eval $ac_try) 2>&5
56653   ac_status=$?
56654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56655   (exit $ac_status); }; }; then
56656   eval "$as_ac_var=yes"
56657 else
56658   echo "$as_me: failed program was:" >&5
56659 sed 's/^/| /' conftest.$ac_ext >&5
56660
56661 eval "$as_ac_var=no"
56662 fi
56663 rm -f conftest.err conftest.$ac_objext \
56664       conftest$ac_exeext conftest.$ac_ext
56665 fi
56666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56668 if test `eval echo '${'$as_ac_var'}'` = yes; then
56669   cat >>confdefs.h <<_ACEOF
56670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56671 _ACEOF
56672
56673 fi
56674 done
56675
56676     fi
56677   fi
56678
56679
56680
56681
56682
56683
56684   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
56685 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
56686   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56687     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
56688   echo $ECHO_N "(cached) $ECHO_C" >&6
56689 else
56690
56691
56692
56693       ac_ext=cc
56694 ac_cpp='$CXXCPP $CPPFLAGS'
56695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56698
56699       cat >conftest.$ac_ext <<_ACEOF
56700 /* confdefs.h.  */
56701 _ACEOF
56702 cat confdefs.h >>conftest.$ac_ext
56703 cat >>conftest.$ac_ext <<_ACEOF
56704 /* end confdefs.h.  */
56705 #include <math.h>
56706 int
56707 main ()
56708 {
56709  fmodl(0, 0);
56710   ;
56711   return 0;
56712 }
56713 _ACEOF
56714 rm -f conftest.$ac_objext
56715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56716   (eval $ac_compile) 2>conftest.er1
56717   ac_status=$?
56718   grep -v '^ *+' conftest.er1 >conftest.err
56719   rm -f conftest.er1
56720   cat conftest.err >&5
56721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56722   (exit $ac_status); } &&
56723          { ac_try='test -z "$ac_cxx_werror_flag"
56724                          || test ! -s conftest.err'
56725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56726   (eval $ac_try) 2>&5
56727   ac_status=$?
56728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56729   (exit $ac_status); }; } &&
56730          { ac_try='test -s conftest.$ac_objext'
56731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56732   (eval $ac_try) 2>&5
56733   ac_status=$?
56734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56735   (exit $ac_status); }; }; then
56736   glibcxx_cv_func_fmodl_use=yes
56737 else
56738   echo "$as_me: failed program was:" >&5
56739 sed 's/^/| /' conftest.$ac_ext >&5
56740
56741 glibcxx_cv_func_fmodl_use=no
56742 fi
56743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56744       ac_ext=c
56745 ac_cpp='$CPP $CPPFLAGS'
56746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56749
56750
56751 fi
56752
56753   fi
56754   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
56755 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
56756
56757   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56758
56759 for ac_func in fmodl
56760 do
56761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56762 echo "$as_me:$LINENO: checking for $ac_func" >&5
56763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56764 if eval "test \"\${$as_ac_var+set}\" = set"; then
56765   echo $ECHO_N "(cached) $ECHO_C" >&6
56766 else
56767   if test x$gcc_no_link = xyes; then
56768   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56770    { (exit 1); exit 1; }; }
56771 fi
56772 cat >conftest.$ac_ext <<_ACEOF
56773 /* confdefs.h.  */
56774 _ACEOF
56775 cat confdefs.h >>conftest.$ac_ext
56776 cat >>conftest.$ac_ext <<_ACEOF
56777 /* end confdefs.h.  */
56778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56779    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56780 #define $ac_func innocuous_$ac_func
56781
56782 /* System header to define __stub macros and hopefully few prototypes,
56783     which can conflict with char $ac_func (); below.
56784     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56785     <limits.h> exists even on freestanding compilers.  */
56786
56787 #ifdef __STDC__
56788 # include <limits.h>
56789 #else
56790 # include <assert.h>
56791 #endif
56792
56793 #undef $ac_func
56794
56795 /* Override any gcc2 internal prototype to avoid an error.  */
56796 #ifdef __cplusplus
56797 extern "C"
56798 {
56799 #endif
56800 /* We use char because int might match the return type of a gcc2
56801    builtin and then its argument prototype would still apply.  */
56802 char $ac_func ();
56803 /* The GNU C library defines this for functions which it implements
56804     to always fail with ENOSYS.  Some functions are actually named
56805     something starting with __ and the normal name is an alias.  */
56806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56807 choke me
56808 #else
56809 char (*f) () = $ac_func;
56810 #endif
56811 #ifdef __cplusplus
56812 }
56813 #endif
56814
56815 int
56816 main ()
56817 {
56818 return f != $ac_func;
56819   ;
56820   return 0;
56821 }
56822 _ACEOF
56823 rm -f conftest.$ac_objext conftest$ac_exeext
56824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56825   (eval $ac_link) 2>conftest.er1
56826   ac_status=$?
56827   grep -v '^ *+' conftest.er1 >conftest.err
56828   rm -f conftest.er1
56829   cat conftest.err >&5
56830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56831   (exit $ac_status); } &&
56832          { ac_try='test -z "$ac_c_werror_flag"
56833                          || test ! -s conftest.err'
56834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56835   (eval $ac_try) 2>&5
56836   ac_status=$?
56837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56838   (exit $ac_status); }; } &&
56839          { ac_try='test -s conftest$ac_exeext'
56840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56841   (eval $ac_try) 2>&5
56842   ac_status=$?
56843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56844   (exit $ac_status); }; }; then
56845   eval "$as_ac_var=yes"
56846 else
56847   echo "$as_me: failed program was:" >&5
56848 sed 's/^/| /' conftest.$ac_ext >&5
56849
56850 eval "$as_ac_var=no"
56851 fi
56852 rm -f conftest.err conftest.$ac_objext \
56853       conftest$ac_exeext conftest.$ac_ext
56854 fi
56855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56857 if test `eval echo '${'$as_ac_var'}'` = yes; then
56858   cat >>confdefs.h <<_ACEOF
56859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56860 _ACEOF
56861
56862 fi
56863 done
56864
56865   else
56866
56867   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
56868 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
56869   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56870     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
56871   echo $ECHO_N "(cached) $ECHO_C" >&6
56872 else
56873
56874
56875
56876       ac_ext=cc
56877 ac_cpp='$CXXCPP $CPPFLAGS'
56878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56881
56882       cat >conftest.$ac_ext <<_ACEOF
56883 /* confdefs.h.  */
56884 _ACEOF
56885 cat confdefs.h >>conftest.$ac_ext
56886 cat >>conftest.$ac_ext <<_ACEOF
56887 /* end confdefs.h.  */
56888 #include <math.h>
56889 int
56890 main ()
56891 {
56892  _fmodl(0, 0);
56893   ;
56894   return 0;
56895 }
56896 _ACEOF
56897 rm -f conftest.$ac_objext
56898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56899   (eval $ac_compile) 2>conftest.er1
56900   ac_status=$?
56901   grep -v '^ *+' conftest.er1 >conftest.err
56902   rm -f conftest.er1
56903   cat conftest.err >&5
56904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56905   (exit $ac_status); } &&
56906          { ac_try='test -z "$ac_cxx_werror_flag"
56907                          || test ! -s conftest.err'
56908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56909   (eval $ac_try) 2>&5
56910   ac_status=$?
56911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56912   (exit $ac_status); }; } &&
56913          { ac_try='test -s conftest.$ac_objext'
56914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56915   (eval $ac_try) 2>&5
56916   ac_status=$?
56917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56918   (exit $ac_status); }; }; then
56919   glibcxx_cv_func__fmodl_use=yes
56920 else
56921   echo "$as_me: failed program was:" >&5
56922 sed 's/^/| /' conftest.$ac_ext >&5
56923
56924 glibcxx_cv_func__fmodl_use=no
56925 fi
56926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56927       ac_ext=c
56928 ac_cpp='$CPP $CPPFLAGS'
56929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56932
56933
56934 fi
56935
56936   fi
56937   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
56938 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
56939
56940     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56941
56942 for ac_func in _fmodl
56943 do
56944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56945 echo "$as_me:$LINENO: checking for $ac_func" >&5
56946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56947 if eval "test \"\${$as_ac_var+set}\" = set"; then
56948   echo $ECHO_N "(cached) $ECHO_C" >&6
56949 else
56950   if test x$gcc_no_link = xyes; then
56951   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56953    { (exit 1); exit 1; }; }
56954 fi
56955 cat >conftest.$ac_ext <<_ACEOF
56956 /* confdefs.h.  */
56957 _ACEOF
56958 cat confdefs.h >>conftest.$ac_ext
56959 cat >>conftest.$ac_ext <<_ACEOF
56960 /* end confdefs.h.  */
56961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56962    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56963 #define $ac_func innocuous_$ac_func
56964
56965 /* System header to define __stub macros and hopefully few prototypes,
56966     which can conflict with char $ac_func (); below.
56967     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56968     <limits.h> exists even on freestanding compilers.  */
56969
56970 #ifdef __STDC__
56971 # include <limits.h>
56972 #else
56973 # include <assert.h>
56974 #endif
56975
56976 #undef $ac_func
56977
56978 /* Override any gcc2 internal prototype to avoid an error.  */
56979 #ifdef __cplusplus
56980 extern "C"
56981 {
56982 #endif
56983 /* We use char because int might match the return type of a gcc2
56984    builtin and then its argument prototype would still apply.  */
56985 char $ac_func ();
56986 /* The GNU C library defines this for functions which it implements
56987     to always fail with ENOSYS.  Some functions are actually named
56988     something starting with __ and the normal name is an alias.  */
56989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56990 choke me
56991 #else
56992 char (*f) () = $ac_func;
56993 #endif
56994 #ifdef __cplusplus
56995 }
56996 #endif
56997
56998 int
56999 main ()
57000 {
57001 return f != $ac_func;
57002   ;
57003   return 0;
57004 }
57005 _ACEOF
57006 rm -f conftest.$ac_objext conftest$ac_exeext
57007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57008   (eval $ac_link) 2>conftest.er1
57009   ac_status=$?
57010   grep -v '^ *+' conftest.er1 >conftest.err
57011   rm -f conftest.er1
57012   cat conftest.err >&5
57013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57014   (exit $ac_status); } &&
57015          { ac_try='test -z "$ac_c_werror_flag"
57016                          || test ! -s conftest.err'
57017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57018   (eval $ac_try) 2>&5
57019   ac_status=$?
57020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57021   (exit $ac_status); }; } &&
57022          { ac_try='test -s conftest$ac_exeext'
57023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57024   (eval $ac_try) 2>&5
57025   ac_status=$?
57026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57027   (exit $ac_status); }; }; then
57028   eval "$as_ac_var=yes"
57029 else
57030   echo "$as_me: failed program was:" >&5
57031 sed 's/^/| /' conftest.$ac_ext >&5
57032
57033 eval "$as_ac_var=no"
57034 fi
57035 rm -f conftest.err conftest.$ac_objext \
57036       conftest$ac_exeext conftest.$ac_ext
57037 fi
57038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57040 if test `eval echo '${'$as_ac_var'}'` = yes; then
57041   cat >>confdefs.h <<_ACEOF
57042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57043 _ACEOF
57044
57045 fi
57046 done
57047
57048     fi
57049   fi
57050
57051
57052
57053
57054
57055
57056   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
57057 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
57058   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57059     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
57060   echo $ECHO_N "(cached) $ECHO_C" >&6
57061 else
57062
57063
57064
57065       ac_ext=cc
57066 ac_cpp='$CXXCPP $CPPFLAGS'
57067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57070
57071       cat >conftest.$ac_ext <<_ACEOF
57072 /* confdefs.h.  */
57073 _ACEOF
57074 cat confdefs.h >>conftest.$ac_ext
57075 cat >>conftest.$ac_ext <<_ACEOF
57076 /* end confdefs.h.  */
57077 #include <math.h>
57078 int
57079 main ()
57080 {
57081  frexpl(0, 0);
57082   ;
57083   return 0;
57084 }
57085 _ACEOF
57086 rm -f conftest.$ac_objext
57087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57088   (eval $ac_compile) 2>conftest.er1
57089   ac_status=$?
57090   grep -v '^ *+' conftest.er1 >conftest.err
57091   rm -f conftest.er1
57092   cat conftest.err >&5
57093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57094   (exit $ac_status); } &&
57095          { ac_try='test -z "$ac_cxx_werror_flag"
57096                          || test ! -s conftest.err'
57097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57098   (eval $ac_try) 2>&5
57099   ac_status=$?
57100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57101   (exit $ac_status); }; } &&
57102          { ac_try='test -s conftest.$ac_objext'
57103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57104   (eval $ac_try) 2>&5
57105   ac_status=$?
57106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57107   (exit $ac_status); }; }; then
57108   glibcxx_cv_func_frexpl_use=yes
57109 else
57110   echo "$as_me: failed program was:" >&5
57111 sed 's/^/| /' conftest.$ac_ext >&5
57112
57113 glibcxx_cv_func_frexpl_use=no
57114 fi
57115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57116       ac_ext=c
57117 ac_cpp='$CPP $CPPFLAGS'
57118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57121
57122
57123 fi
57124
57125   fi
57126   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
57127 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
57128
57129   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57130
57131 for ac_func in frexpl
57132 do
57133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57134 echo "$as_me:$LINENO: checking for $ac_func" >&5
57135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57136 if eval "test \"\${$as_ac_var+set}\" = set"; then
57137   echo $ECHO_N "(cached) $ECHO_C" >&6
57138 else
57139   if test x$gcc_no_link = xyes; then
57140   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57142    { (exit 1); exit 1; }; }
57143 fi
57144 cat >conftest.$ac_ext <<_ACEOF
57145 /* confdefs.h.  */
57146 _ACEOF
57147 cat confdefs.h >>conftest.$ac_ext
57148 cat >>conftest.$ac_ext <<_ACEOF
57149 /* end confdefs.h.  */
57150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57151    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57152 #define $ac_func innocuous_$ac_func
57153
57154 /* System header to define __stub macros and hopefully few prototypes,
57155     which can conflict with char $ac_func (); below.
57156     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57157     <limits.h> exists even on freestanding compilers.  */
57158
57159 #ifdef __STDC__
57160 # include <limits.h>
57161 #else
57162 # include <assert.h>
57163 #endif
57164
57165 #undef $ac_func
57166
57167 /* Override any gcc2 internal prototype to avoid an error.  */
57168 #ifdef __cplusplus
57169 extern "C"
57170 {
57171 #endif
57172 /* We use char because int might match the return type of a gcc2
57173    builtin and then its argument prototype would still apply.  */
57174 char $ac_func ();
57175 /* The GNU C library defines this for functions which it implements
57176     to always fail with ENOSYS.  Some functions are actually named
57177     something starting with __ and the normal name is an alias.  */
57178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57179 choke me
57180 #else
57181 char (*f) () = $ac_func;
57182 #endif
57183 #ifdef __cplusplus
57184 }
57185 #endif
57186
57187 int
57188 main ()
57189 {
57190 return f != $ac_func;
57191   ;
57192   return 0;
57193 }
57194 _ACEOF
57195 rm -f conftest.$ac_objext conftest$ac_exeext
57196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57197   (eval $ac_link) 2>conftest.er1
57198   ac_status=$?
57199   grep -v '^ *+' conftest.er1 >conftest.err
57200   rm -f conftest.er1
57201   cat conftest.err >&5
57202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57203   (exit $ac_status); } &&
57204          { ac_try='test -z "$ac_c_werror_flag"
57205                          || test ! -s conftest.err'
57206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57207   (eval $ac_try) 2>&5
57208   ac_status=$?
57209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57210   (exit $ac_status); }; } &&
57211          { ac_try='test -s conftest$ac_exeext'
57212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57213   (eval $ac_try) 2>&5
57214   ac_status=$?
57215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57216   (exit $ac_status); }; }; then
57217   eval "$as_ac_var=yes"
57218 else
57219   echo "$as_me: failed program was:" >&5
57220 sed 's/^/| /' conftest.$ac_ext >&5
57221
57222 eval "$as_ac_var=no"
57223 fi
57224 rm -f conftest.err conftest.$ac_objext \
57225       conftest$ac_exeext conftest.$ac_ext
57226 fi
57227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57229 if test `eval echo '${'$as_ac_var'}'` = yes; then
57230   cat >>confdefs.h <<_ACEOF
57231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57232 _ACEOF
57233
57234 fi
57235 done
57236
57237   else
57238
57239   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
57240 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
57241   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57242     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
57243   echo $ECHO_N "(cached) $ECHO_C" >&6
57244 else
57245
57246
57247
57248       ac_ext=cc
57249 ac_cpp='$CXXCPP $CPPFLAGS'
57250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57253
57254       cat >conftest.$ac_ext <<_ACEOF
57255 /* confdefs.h.  */
57256 _ACEOF
57257 cat confdefs.h >>conftest.$ac_ext
57258 cat >>conftest.$ac_ext <<_ACEOF
57259 /* end confdefs.h.  */
57260 #include <math.h>
57261 int
57262 main ()
57263 {
57264  _frexpl(0, 0);
57265   ;
57266   return 0;
57267 }
57268 _ACEOF
57269 rm -f conftest.$ac_objext
57270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57271   (eval $ac_compile) 2>conftest.er1
57272   ac_status=$?
57273   grep -v '^ *+' conftest.er1 >conftest.err
57274   rm -f conftest.er1
57275   cat conftest.err >&5
57276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57277   (exit $ac_status); } &&
57278          { ac_try='test -z "$ac_cxx_werror_flag"
57279                          || test ! -s conftest.err'
57280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57281   (eval $ac_try) 2>&5
57282   ac_status=$?
57283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57284   (exit $ac_status); }; } &&
57285          { ac_try='test -s conftest.$ac_objext'
57286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57287   (eval $ac_try) 2>&5
57288   ac_status=$?
57289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57290   (exit $ac_status); }; }; then
57291   glibcxx_cv_func__frexpl_use=yes
57292 else
57293   echo "$as_me: failed program was:" >&5
57294 sed 's/^/| /' conftest.$ac_ext >&5
57295
57296 glibcxx_cv_func__frexpl_use=no
57297 fi
57298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57299       ac_ext=c
57300 ac_cpp='$CPP $CPPFLAGS'
57301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57304
57305
57306 fi
57307
57308   fi
57309   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
57310 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
57311
57312     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57313
57314 for ac_func in _frexpl
57315 do
57316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57317 echo "$as_me:$LINENO: checking for $ac_func" >&5
57318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57319 if eval "test \"\${$as_ac_var+set}\" = set"; then
57320   echo $ECHO_N "(cached) $ECHO_C" >&6
57321 else
57322   if test x$gcc_no_link = xyes; then
57323   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57325    { (exit 1); exit 1; }; }
57326 fi
57327 cat >conftest.$ac_ext <<_ACEOF
57328 /* confdefs.h.  */
57329 _ACEOF
57330 cat confdefs.h >>conftest.$ac_ext
57331 cat >>conftest.$ac_ext <<_ACEOF
57332 /* end confdefs.h.  */
57333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57334    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57335 #define $ac_func innocuous_$ac_func
57336
57337 /* System header to define __stub macros and hopefully few prototypes,
57338     which can conflict with char $ac_func (); below.
57339     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57340     <limits.h> exists even on freestanding compilers.  */
57341
57342 #ifdef __STDC__
57343 # include <limits.h>
57344 #else
57345 # include <assert.h>
57346 #endif
57347
57348 #undef $ac_func
57349
57350 /* Override any gcc2 internal prototype to avoid an error.  */
57351 #ifdef __cplusplus
57352 extern "C"
57353 {
57354 #endif
57355 /* We use char because int might match the return type of a gcc2
57356    builtin and then its argument prototype would still apply.  */
57357 char $ac_func ();
57358 /* The GNU C library defines this for functions which it implements
57359     to always fail with ENOSYS.  Some functions are actually named
57360     something starting with __ and the normal name is an alias.  */
57361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57362 choke me
57363 #else
57364 char (*f) () = $ac_func;
57365 #endif
57366 #ifdef __cplusplus
57367 }
57368 #endif
57369
57370 int
57371 main ()
57372 {
57373 return f != $ac_func;
57374   ;
57375   return 0;
57376 }
57377 _ACEOF
57378 rm -f conftest.$ac_objext conftest$ac_exeext
57379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57380   (eval $ac_link) 2>conftest.er1
57381   ac_status=$?
57382   grep -v '^ *+' conftest.er1 >conftest.err
57383   rm -f conftest.er1
57384   cat conftest.err >&5
57385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57386   (exit $ac_status); } &&
57387          { ac_try='test -z "$ac_c_werror_flag"
57388                          || test ! -s conftest.err'
57389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57390   (eval $ac_try) 2>&5
57391   ac_status=$?
57392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57393   (exit $ac_status); }; } &&
57394          { ac_try='test -s conftest$ac_exeext'
57395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57396   (eval $ac_try) 2>&5
57397   ac_status=$?
57398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57399   (exit $ac_status); }; }; then
57400   eval "$as_ac_var=yes"
57401 else
57402   echo "$as_me: failed program was:" >&5
57403 sed 's/^/| /' conftest.$ac_ext >&5
57404
57405 eval "$as_ac_var=no"
57406 fi
57407 rm -f conftest.err conftest.$ac_objext \
57408       conftest$ac_exeext conftest.$ac_ext
57409 fi
57410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57412 if test `eval echo '${'$as_ac_var'}'` = yes; then
57413   cat >>confdefs.h <<_ACEOF
57414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57415 _ACEOF
57416
57417 fi
57418 done
57419
57420     fi
57421   fi
57422
57423
57424
57425
57426
57427
57428   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
57429 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
57430   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57431     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
57432   echo $ECHO_N "(cached) $ECHO_C" >&6
57433 else
57434
57435
57436
57437       ac_ext=cc
57438 ac_cpp='$CXXCPP $CPPFLAGS'
57439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57442
57443       cat >conftest.$ac_ext <<_ACEOF
57444 /* confdefs.h.  */
57445 _ACEOF
57446 cat confdefs.h >>conftest.$ac_ext
57447 cat >>conftest.$ac_ext <<_ACEOF
57448 /* end confdefs.h.  */
57449 #include <math.h>
57450 int
57451 main ()
57452 {
57453  hypotl(0, 0);
57454   ;
57455   return 0;
57456 }
57457 _ACEOF
57458 rm -f conftest.$ac_objext
57459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57460   (eval $ac_compile) 2>conftest.er1
57461   ac_status=$?
57462   grep -v '^ *+' conftest.er1 >conftest.err
57463   rm -f conftest.er1
57464   cat conftest.err >&5
57465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57466   (exit $ac_status); } &&
57467          { ac_try='test -z "$ac_cxx_werror_flag"
57468                          || test ! -s conftest.err'
57469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57470   (eval $ac_try) 2>&5
57471   ac_status=$?
57472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57473   (exit $ac_status); }; } &&
57474          { ac_try='test -s conftest.$ac_objext'
57475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57476   (eval $ac_try) 2>&5
57477   ac_status=$?
57478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57479   (exit $ac_status); }; }; then
57480   glibcxx_cv_func_hypotl_use=yes
57481 else
57482   echo "$as_me: failed program was:" >&5
57483 sed 's/^/| /' conftest.$ac_ext >&5
57484
57485 glibcxx_cv_func_hypotl_use=no
57486 fi
57487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57488       ac_ext=c
57489 ac_cpp='$CPP $CPPFLAGS'
57490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57493
57494
57495 fi
57496
57497   fi
57498   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
57499 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
57500
57501   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57502
57503 for ac_func in hypotl
57504 do
57505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57506 echo "$as_me:$LINENO: checking for $ac_func" >&5
57507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57508 if eval "test \"\${$as_ac_var+set}\" = set"; then
57509   echo $ECHO_N "(cached) $ECHO_C" >&6
57510 else
57511   if test x$gcc_no_link = xyes; then
57512   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57514    { (exit 1); exit 1; }; }
57515 fi
57516 cat >conftest.$ac_ext <<_ACEOF
57517 /* confdefs.h.  */
57518 _ACEOF
57519 cat confdefs.h >>conftest.$ac_ext
57520 cat >>conftest.$ac_ext <<_ACEOF
57521 /* end confdefs.h.  */
57522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57523    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57524 #define $ac_func innocuous_$ac_func
57525
57526 /* System header to define __stub macros and hopefully few prototypes,
57527     which can conflict with char $ac_func (); below.
57528     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57529     <limits.h> exists even on freestanding compilers.  */
57530
57531 #ifdef __STDC__
57532 # include <limits.h>
57533 #else
57534 # include <assert.h>
57535 #endif
57536
57537 #undef $ac_func
57538
57539 /* Override any gcc2 internal prototype to avoid an error.  */
57540 #ifdef __cplusplus
57541 extern "C"
57542 {
57543 #endif
57544 /* We use char because int might match the return type of a gcc2
57545    builtin and then its argument prototype would still apply.  */
57546 char $ac_func ();
57547 /* The GNU C library defines this for functions which it implements
57548     to always fail with ENOSYS.  Some functions are actually named
57549     something starting with __ and the normal name is an alias.  */
57550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57551 choke me
57552 #else
57553 char (*f) () = $ac_func;
57554 #endif
57555 #ifdef __cplusplus
57556 }
57557 #endif
57558
57559 int
57560 main ()
57561 {
57562 return f != $ac_func;
57563   ;
57564   return 0;
57565 }
57566 _ACEOF
57567 rm -f conftest.$ac_objext conftest$ac_exeext
57568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57569   (eval $ac_link) 2>conftest.er1
57570   ac_status=$?
57571   grep -v '^ *+' conftest.er1 >conftest.err
57572   rm -f conftest.er1
57573   cat conftest.err >&5
57574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57575   (exit $ac_status); } &&
57576          { ac_try='test -z "$ac_c_werror_flag"
57577                          || test ! -s conftest.err'
57578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57579   (eval $ac_try) 2>&5
57580   ac_status=$?
57581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57582   (exit $ac_status); }; } &&
57583          { ac_try='test -s conftest$ac_exeext'
57584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57585   (eval $ac_try) 2>&5
57586   ac_status=$?
57587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57588   (exit $ac_status); }; }; then
57589   eval "$as_ac_var=yes"
57590 else
57591   echo "$as_me: failed program was:" >&5
57592 sed 's/^/| /' conftest.$ac_ext >&5
57593
57594 eval "$as_ac_var=no"
57595 fi
57596 rm -f conftest.err conftest.$ac_objext \
57597       conftest$ac_exeext conftest.$ac_ext
57598 fi
57599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57601 if test `eval echo '${'$as_ac_var'}'` = yes; then
57602   cat >>confdefs.h <<_ACEOF
57603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57604 _ACEOF
57605
57606 fi
57607 done
57608
57609   else
57610
57611   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
57612 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
57613   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57614     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
57615   echo $ECHO_N "(cached) $ECHO_C" >&6
57616 else
57617
57618
57619
57620       ac_ext=cc
57621 ac_cpp='$CXXCPP $CPPFLAGS'
57622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57625
57626       cat >conftest.$ac_ext <<_ACEOF
57627 /* confdefs.h.  */
57628 _ACEOF
57629 cat confdefs.h >>conftest.$ac_ext
57630 cat >>conftest.$ac_ext <<_ACEOF
57631 /* end confdefs.h.  */
57632 #include <math.h>
57633 int
57634 main ()
57635 {
57636  _hypotl(0, 0);
57637   ;
57638   return 0;
57639 }
57640 _ACEOF
57641 rm -f conftest.$ac_objext
57642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57643   (eval $ac_compile) 2>conftest.er1
57644   ac_status=$?
57645   grep -v '^ *+' conftest.er1 >conftest.err
57646   rm -f conftest.er1
57647   cat conftest.err >&5
57648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57649   (exit $ac_status); } &&
57650          { ac_try='test -z "$ac_cxx_werror_flag"
57651                          || test ! -s conftest.err'
57652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57653   (eval $ac_try) 2>&5
57654   ac_status=$?
57655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57656   (exit $ac_status); }; } &&
57657          { ac_try='test -s conftest.$ac_objext'
57658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57659   (eval $ac_try) 2>&5
57660   ac_status=$?
57661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57662   (exit $ac_status); }; }; then
57663   glibcxx_cv_func__hypotl_use=yes
57664 else
57665   echo "$as_me: failed program was:" >&5
57666 sed 's/^/| /' conftest.$ac_ext >&5
57667
57668 glibcxx_cv_func__hypotl_use=no
57669 fi
57670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57671       ac_ext=c
57672 ac_cpp='$CPP $CPPFLAGS'
57673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57676
57677
57678 fi
57679
57680   fi
57681   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
57682 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
57683
57684     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57685
57686 for ac_func in _hypotl
57687 do
57688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57689 echo "$as_me:$LINENO: checking for $ac_func" >&5
57690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57691 if eval "test \"\${$as_ac_var+set}\" = set"; then
57692   echo $ECHO_N "(cached) $ECHO_C" >&6
57693 else
57694   if test x$gcc_no_link = xyes; then
57695   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57697    { (exit 1); exit 1; }; }
57698 fi
57699 cat >conftest.$ac_ext <<_ACEOF
57700 /* confdefs.h.  */
57701 _ACEOF
57702 cat confdefs.h >>conftest.$ac_ext
57703 cat >>conftest.$ac_ext <<_ACEOF
57704 /* end confdefs.h.  */
57705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57706    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57707 #define $ac_func innocuous_$ac_func
57708
57709 /* System header to define __stub macros and hopefully few prototypes,
57710     which can conflict with char $ac_func (); below.
57711     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57712     <limits.h> exists even on freestanding compilers.  */
57713
57714 #ifdef __STDC__
57715 # include <limits.h>
57716 #else
57717 # include <assert.h>
57718 #endif
57719
57720 #undef $ac_func
57721
57722 /* Override any gcc2 internal prototype to avoid an error.  */
57723 #ifdef __cplusplus
57724 extern "C"
57725 {
57726 #endif
57727 /* We use char because int might match the return type of a gcc2
57728    builtin and then its argument prototype would still apply.  */
57729 char $ac_func ();
57730 /* The GNU C library defines this for functions which it implements
57731     to always fail with ENOSYS.  Some functions are actually named
57732     something starting with __ and the normal name is an alias.  */
57733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57734 choke me
57735 #else
57736 char (*f) () = $ac_func;
57737 #endif
57738 #ifdef __cplusplus
57739 }
57740 #endif
57741
57742 int
57743 main ()
57744 {
57745 return f != $ac_func;
57746   ;
57747   return 0;
57748 }
57749 _ACEOF
57750 rm -f conftest.$ac_objext conftest$ac_exeext
57751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57752   (eval $ac_link) 2>conftest.er1
57753   ac_status=$?
57754   grep -v '^ *+' conftest.er1 >conftest.err
57755   rm -f conftest.er1
57756   cat conftest.err >&5
57757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57758   (exit $ac_status); } &&
57759          { ac_try='test -z "$ac_c_werror_flag"
57760                          || test ! -s conftest.err'
57761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57762   (eval $ac_try) 2>&5
57763   ac_status=$?
57764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57765   (exit $ac_status); }; } &&
57766          { ac_try='test -s conftest$ac_exeext'
57767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57768   (eval $ac_try) 2>&5
57769   ac_status=$?
57770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57771   (exit $ac_status); }; }; then
57772   eval "$as_ac_var=yes"
57773 else
57774   echo "$as_me: failed program was:" >&5
57775 sed 's/^/| /' conftest.$ac_ext >&5
57776
57777 eval "$as_ac_var=no"
57778 fi
57779 rm -f conftest.err conftest.$ac_objext \
57780       conftest$ac_exeext conftest.$ac_ext
57781 fi
57782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57784 if test `eval echo '${'$as_ac_var'}'` = yes; then
57785   cat >>confdefs.h <<_ACEOF
57786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57787 _ACEOF
57788
57789 fi
57790 done
57791
57792     fi
57793   fi
57794
57795
57796
57797
57798
57799
57800   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
57801 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
57802   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57803     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
57804   echo $ECHO_N "(cached) $ECHO_C" >&6
57805 else
57806
57807
57808
57809       ac_ext=cc
57810 ac_cpp='$CXXCPP $CPPFLAGS'
57811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57814
57815       cat >conftest.$ac_ext <<_ACEOF
57816 /* confdefs.h.  */
57817 _ACEOF
57818 cat confdefs.h >>conftest.$ac_ext
57819 cat >>conftest.$ac_ext <<_ACEOF
57820 /* end confdefs.h.  */
57821 #include <math.h>
57822 int
57823 main ()
57824 {
57825  ldexpl(0, 0);
57826   ;
57827   return 0;
57828 }
57829 _ACEOF
57830 rm -f conftest.$ac_objext
57831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57832   (eval $ac_compile) 2>conftest.er1
57833   ac_status=$?
57834   grep -v '^ *+' conftest.er1 >conftest.err
57835   rm -f conftest.er1
57836   cat conftest.err >&5
57837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57838   (exit $ac_status); } &&
57839          { ac_try='test -z "$ac_cxx_werror_flag"
57840                          || test ! -s conftest.err'
57841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57842   (eval $ac_try) 2>&5
57843   ac_status=$?
57844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57845   (exit $ac_status); }; } &&
57846          { ac_try='test -s conftest.$ac_objext'
57847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57848   (eval $ac_try) 2>&5
57849   ac_status=$?
57850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57851   (exit $ac_status); }; }; then
57852   glibcxx_cv_func_ldexpl_use=yes
57853 else
57854   echo "$as_me: failed program was:" >&5
57855 sed 's/^/| /' conftest.$ac_ext >&5
57856
57857 glibcxx_cv_func_ldexpl_use=no
57858 fi
57859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57860       ac_ext=c
57861 ac_cpp='$CPP $CPPFLAGS'
57862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57865
57866
57867 fi
57868
57869   fi
57870   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
57871 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
57872
57873   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57874
57875 for ac_func in ldexpl
57876 do
57877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57878 echo "$as_me:$LINENO: checking for $ac_func" >&5
57879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57880 if eval "test \"\${$as_ac_var+set}\" = set"; then
57881   echo $ECHO_N "(cached) $ECHO_C" >&6
57882 else
57883   if test x$gcc_no_link = xyes; then
57884   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57886    { (exit 1); exit 1; }; }
57887 fi
57888 cat >conftest.$ac_ext <<_ACEOF
57889 /* confdefs.h.  */
57890 _ACEOF
57891 cat confdefs.h >>conftest.$ac_ext
57892 cat >>conftest.$ac_ext <<_ACEOF
57893 /* end confdefs.h.  */
57894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57895    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57896 #define $ac_func innocuous_$ac_func
57897
57898 /* System header to define __stub macros and hopefully few prototypes,
57899     which can conflict with char $ac_func (); below.
57900     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57901     <limits.h> exists even on freestanding compilers.  */
57902
57903 #ifdef __STDC__
57904 # include <limits.h>
57905 #else
57906 # include <assert.h>
57907 #endif
57908
57909 #undef $ac_func
57910
57911 /* Override any gcc2 internal prototype to avoid an error.  */
57912 #ifdef __cplusplus
57913 extern "C"
57914 {
57915 #endif
57916 /* We use char because int might match the return type of a gcc2
57917    builtin and then its argument prototype would still apply.  */
57918 char $ac_func ();
57919 /* The GNU C library defines this for functions which it implements
57920     to always fail with ENOSYS.  Some functions are actually named
57921     something starting with __ and the normal name is an alias.  */
57922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57923 choke me
57924 #else
57925 char (*f) () = $ac_func;
57926 #endif
57927 #ifdef __cplusplus
57928 }
57929 #endif
57930
57931 int
57932 main ()
57933 {
57934 return f != $ac_func;
57935   ;
57936   return 0;
57937 }
57938 _ACEOF
57939 rm -f conftest.$ac_objext conftest$ac_exeext
57940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57941   (eval $ac_link) 2>conftest.er1
57942   ac_status=$?
57943   grep -v '^ *+' conftest.er1 >conftest.err
57944   rm -f conftest.er1
57945   cat conftest.err >&5
57946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57947   (exit $ac_status); } &&
57948          { ac_try='test -z "$ac_c_werror_flag"
57949                          || test ! -s conftest.err'
57950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57951   (eval $ac_try) 2>&5
57952   ac_status=$?
57953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57954   (exit $ac_status); }; } &&
57955          { ac_try='test -s conftest$ac_exeext'
57956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57957   (eval $ac_try) 2>&5
57958   ac_status=$?
57959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57960   (exit $ac_status); }; }; then
57961   eval "$as_ac_var=yes"
57962 else
57963   echo "$as_me: failed program was:" >&5
57964 sed 's/^/| /' conftest.$ac_ext >&5
57965
57966 eval "$as_ac_var=no"
57967 fi
57968 rm -f conftest.err conftest.$ac_objext \
57969       conftest$ac_exeext conftest.$ac_ext
57970 fi
57971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57973 if test `eval echo '${'$as_ac_var'}'` = yes; then
57974   cat >>confdefs.h <<_ACEOF
57975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57976 _ACEOF
57977
57978 fi
57979 done
57980
57981   else
57982
57983   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
57984 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
57985   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57986     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
57987   echo $ECHO_N "(cached) $ECHO_C" >&6
57988 else
57989
57990
57991
57992       ac_ext=cc
57993 ac_cpp='$CXXCPP $CPPFLAGS'
57994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57997
57998       cat >conftest.$ac_ext <<_ACEOF
57999 /* confdefs.h.  */
58000 _ACEOF
58001 cat confdefs.h >>conftest.$ac_ext
58002 cat >>conftest.$ac_ext <<_ACEOF
58003 /* end confdefs.h.  */
58004 #include <math.h>
58005 int
58006 main ()
58007 {
58008  _ldexpl(0, 0);
58009   ;
58010   return 0;
58011 }
58012 _ACEOF
58013 rm -f conftest.$ac_objext
58014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58015   (eval $ac_compile) 2>conftest.er1
58016   ac_status=$?
58017   grep -v '^ *+' conftest.er1 >conftest.err
58018   rm -f conftest.er1
58019   cat conftest.err >&5
58020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58021   (exit $ac_status); } &&
58022          { ac_try='test -z "$ac_cxx_werror_flag"
58023                          || test ! -s conftest.err'
58024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58025   (eval $ac_try) 2>&5
58026   ac_status=$?
58027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58028   (exit $ac_status); }; } &&
58029          { ac_try='test -s conftest.$ac_objext'
58030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58031   (eval $ac_try) 2>&5
58032   ac_status=$?
58033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58034   (exit $ac_status); }; }; then
58035   glibcxx_cv_func__ldexpl_use=yes
58036 else
58037   echo "$as_me: failed program was:" >&5
58038 sed 's/^/| /' conftest.$ac_ext >&5
58039
58040 glibcxx_cv_func__ldexpl_use=no
58041 fi
58042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58043       ac_ext=c
58044 ac_cpp='$CPP $CPPFLAGS'
58045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58048
58049
58050 fi
58051
58052   fi
58053   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
58054 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
58055
58056     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58057
58058 for ac_func in _ldexpl
58059 do
58060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58061 echo "$as_me:$LINENO: checking for $ac_func" >&5
58062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58063 if eval "test \"\${$as_ac_var+set}\" = set"; then
58064   echo $ECHO_N "(cached) $ECHO_C" >&6
58065 else
58066   if test x$gcc_no_link = xyes; then
58067   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58069    { (exit 1); exit 1; }; }
58070 fi
58071 cat >conftest.$ac_ext <<_ACEOF
58072 /* confdefs.h.  */
58073 _ACEOF
58074 cat confdefs.h >>conftest.$ac_ext
58075 cat >>conftest.$ac_ext <<_ACEOF
58076 /* end confdefs.h.  */
58077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58078    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58079 #define $ac_func innocuous_$ac_func
58080
58081 /* System header to define __stub macros and hopefully few prototypes,
58082     which can conflict with char $ac_func (); below.
58083     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58084     <limits.h> exists even on freestanding compilers.  */
58085
58086 #ifdef __STDC__
58087 # include <limits.h>
58088 #else
58089 # include <assert.h>
58090 #endif
58091
58092 #undef $ac_func
58093
58094 /* Override any gcc2 internal prototype to avoid an error.  */
58095 #ifdef __cplusplus
58096 extern "C"
58097 {
58098 #endif
58099 /* We use char because int might match the return type of a gcc2
58100    builtin and then its argument prototype would still apply.  */
58101 char $ac_func ();
58102 /* The GNU C library defines this for functions which it implements
58103     to always fail with ENOSYS.  Some functions are actually named
58104     something starting with __ and the normal name is an alias.  */
58105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58106 choke me
58107 #else
58108 char (*f) () = $ac_func;
58109 #endif
58110 #ifdef __cplusplus
58111 }
58112 #endif
58113
58114 int
58115 main ()
58116 {
58117 return f != $ac_func;
58118   ;
58119   return 0;
58120 }
58121 _ACEOF
58122 rm -f conftest.$ac_objext conftest$ac_exeext
58123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58124   (eval $ac_link) 2>conftest.er1
58125   ac_status=$?
58126   grep -v '^ *+' conftest.er1 >conftest.err
58127   rm -f conftest.er1
58128   cat conftest.err >&5
58129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58130   (exit $ac_status); } &&
58131          { ac_try='test -z "$ac_c_werror_flag"
58132                          || test ! -s conftest.err'
58133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58134   (eval $ac_try) 2>&5
58135   ac_status=$?
58136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58137   (exit $ac_status); }; } &&
58138          { ac_try='test -s conftest$ac_exeext'
58139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58140   (eval $ac_try) 2>&5
58141   ac_status=$?
58142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58143   (exit $ac_status); }; }; then
58144   eval "$as_ac_var=yes"
58145 else
58146   echo "$as_me: failed program was:" >&5
58147 sed 's/^/| /' conftest.$ac_ext >&5
58148
58149 eval "$as_ac_var=no"
58150 fi
58151 rm -f conftest.err conftest.$ac_objext \
58152       conftest$ac_exeext conftest.$ac_ext
58153 fi
58154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58156 if test `eval echo '${'$as_ac_var'}'` = yes; then
58157   cat >>confdefs.h <<_ACEOF
58158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58159 _ACEOF
58160
58161 fi
58162 done
58163
58164     fi
58165   fi
58166
58167
58168
58169
58170
58171
58172   echo "$as_me:$LINENO: checking for logl declaration" >&5
58173 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
58174   if test x${glibcxx_cv_func_logl_use+set} != xset; then
58175     if test "${glibcxx_cv_func_logl_use+set}" = set; then
58176   echo $ECHO_N "(cached) $ECHO_C" >&6
58177 else
58178
58179
58180
58181       ac_ext=cc
58182 ac_cpp='$CXXCPP $CPPFLAGS'
58183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58186
58187       cat >conftest.$ac_ext <<_ACEOF
58188 /* confdefs.h.  */
58189 _ACEOF
58190 cat confdefs.h >>conftest.$ac_ext
58191 cat >>conftest.$ac_ext <<_ACEOF
58192 /* end confdefs.h.  */
58193 #include <math.h>
58194                       #ifdef HAVE_IEEEFP_H
58195                       #include <ieeefp.h>
58196                       #endif
58197
58198 int
58199 main ()
58200 {
58201  logl(0);
58202   ;
58203   return 0;
58204 }
58205 _ACEOF
58206 rm -f conftest.$ac_objext
58207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58208   (eval $ac_compile) 2>conftest.er1
58209   ac_status=$?
58210   grep -v '^ *+' conftest.er1 >conftest.err
58211   rm -f conftest.er1
58212   cat conftest.err >&5
58213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58214   (exit $ac_status); } &&
58215          { ac_try='test -z "$ac_cxx_werror_flag"
58216                          || test ! -s conftest.err'
58217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58218   (eval $ac_try) 2>&5
58219   ac_status=$?
58220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58221   (exit $ac_status); }; } &&
58222          { ac_try='test -s conftest.$ac_objext'
58223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58224   (eval $ac_try) 2>&5
58225   ac_status=$?
58226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58227   (exit $ac_status); }; }; then
58228   glibcxx_cv_func_logl_use=yes
58229 else
58230   echo "$as_me: failed program was:" >&5
58231 sed 's/^/| /' conftest.$ac_ext >&5
58232
58233 glibcxx_cv_func_logl_use=no
58234 fi
58235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58236       ac_ext=c
58237 ac_cpp='$CPP $CPPFLAGS'
58238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58241
58242
58243 fi
58244
58245   fi
58246   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
58247 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
58248
58249   if test x$glibcxx_cv_func_logl_use = x"yes"; then
58250
58251 for ac_func in logl
58252 do
58253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58254 echo "$as_me:$LINENO: checking for $ac_func" >&5
58255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58256 if eval "test \"\${$as_ac_var+set}\" = set"; then
58257   echo $ECHO_N "(cached) $ECHO_C" >&6
58258 else
58259   if test x$gcc_no_link = xyes; then
58260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58262    { (exit 1); exit 1; }; }
58263 fi
58264 cat >conftest.$ac_ext <<_ACEOF
58265 /* confdefs.h.  */
58266 _ACEOF
58267 cat confdefs.h >>conftest.$ac_ext
58268 cat >>conftest.$ac_ext <<_ACEOF
58269 /* end confdefs.h.  */
58270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58271    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58272 #define $ac_func innocuous_$ac_func
58273
58274 /* System header to define __stub macros and hopefully few prototypes,
58275     which can conflict with char $ac_func (); below.
58276     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58277     <limits.h> exists even on freestanding compilers.  */
58278
58279 #ifdef __STDC__
58280 # include <limits.h>
58281 #else
58282 # include <assert.h>
58283 #endif
58284
58285 #undef $ac_func
58286
58287 /* Override any gcc2 internal prototype to avoid an error.  */
58288 #ifdef __cplusplus
58289 extern "C"
58290 {
58291 #endif
58292 /* We use char because int might match the return type of a gcc2
58293    builtin and then its argument prototype would still apply.  */
58294 char $ac_func ();
58295 /* The GNU C library defines this for functions which it implements
58296     to always fail with ENOSYS.  Some functions are actually named
58297     something starting with __ and the normal name is an alias.  */
58298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58299 choke me
58300 #else
58301 char (*f) () = $ac_func;
58302 #endif
58303 #ifdef __cplusplus
58304 }
58305 #endif
58306
58307 int
58308 main ()
58309 {
58310 return f != $ac_func;
58311   ;
58312   return 0;
58313 }
58314 _ACEOF
58315 rm -f conftest.$ac_objext conftest$ac_exeext
58316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58317   (eval $ac_link) 2>conftest.er1
58318   ac_status=$?
58319   grep -v '^ *+' conftest.er1 >conftest.err
58320   rm -f conftest.er1
58321   cat conftest.err >&5
58322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58323   (exit $ac_status); } &&
58324          { ac_try='test -z "$ac_c_werror_flag"
58325                          || test ! -s conftest.err'
58326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58327   (eval $ac_try) 2>&5
58328   ac_status=$?
58329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58330   (exit $ac_status); }; } &&
58331          { ac_try='test -s conftest$ac_exeext'
58332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58333   (eval $ac_try) 2>&5
58334   ac_status=$?
58335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58336   (exit $ac_status); }; }; then
58337   eval "$as_ac_var=yes"
58338 else
58339   echo "$as_me: failed program was:" >&5
58340 sed 's/^/| /' conftest.$ac_ext >&5
58341
58342 eval "$as_ac_var=no"
58343 fi
58344 rm -f conftest.err conftest.$ac_objext \
58345       conftest$ac_exeext conftest.$ac_ext
58346 fi
58347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58349 if test `eval echo '${'$as_ac_var'}'` = yes; then
58350   cat >>confdefs.h <<_ACEOF
58351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58352 _ACEOF
58353
58354 fi
58355 done
58356
58357   else
58358
58359   echo "$as_me:$LINENO: checking for _logl declaration" >&5
58360 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
58361   if test x${glibcxx_cv_func__logl_use+set} != xset; then
58362     if test "${glibcxx_cv_func__logl_use+set}" = set; then
58363   echo $ECHO_N "(cached) $ECHO_C" >&6
58364 else
58365
58366
58367
58368       ac_ext=cc
58369 ac_cpp='$CXXCPP $CPPFLAGS'
58370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58373
58374       cat >conftest.$ac_ext <<_ACEOF
58375 /* confdefs.h.  */
58376 _ACEOF
58377 cat confdefs.h >>conftest.$ac_ext
58378 cat >>conftest.$ac_ext <<_ACEOF
58379 /* end confdefs.h.  */
58380 #include <math.h>
58381                       #ifdef HAVE_IEEEFP_H
58382                       #include <ieeefp.h>
58383                       #endif
58384
58385 int
58386 main ()
58387 {
58388  _logl(0);
58389   ;
58390   return 0;
58391 }
58392 _ACEOF
58393 rm -f conftest.$ac_objext
58394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58395   (eval $ac_compile) 2>conftest.er1
58396   ac_status=$?
58397   grep -v '^ *+' conftest.er1 >conftest.err
58398   rm -f conftest.er1
58399   cat conftest.err >&5
58400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58401   (exit $ac_status); } &&
58402          { ac_try='test -z "$ac_cxx_werror_flag"
58403                          || test ! -s conftest.err'
58404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58405   (eval $ac_try) 2>&5
58406   ac_status=$?
58407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58408   (exit $ac_status); }; } &&
58409          { ac_try='test -s conftest.$ac_objext'
58410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58411   (eval $ac_try) 2>&5
58412   ac_status=$?
58413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58414   (exit $ac_status); }; }; then
58415   glibcxx_cv_func__logl_use=yes
58416 else
58417   echo "$as_me: failed program was:" >&5
58418 sed 's/^/| /' conftest.$ac_ext >&5
58419
58420 glibcxx_cv_func__logl_use=no
58421 fi
58422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58423       ac_ext=c
58424 ac_cpp='$CPP $CPPFLAGS'
58425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58428
58429
58430 fi
58431
58432   fi
58433   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
58434 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
58435
58436     if test x$glibcxx_cv_func__logl_use = x"yes"; then
58437
58438 for ac_func in _logl
58439 do
58440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58441 echo "$as_me:$LINENO: checking for $ac_func" >&5
58442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58443 if eval "test \"\${$as_ac_var+set}\" = set"; then
58444   echo $ECHO_N "(cached) $ECHO_C" >&6
58445 else
58446   if test x$gcc_no_link = xyes; then
58447   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58449    { (exit 1); exit 1; }; }
58450 fi
58451 cat >conftest.$ac_ext <<_ACEOF
58452 /* confdefs.h.  */
58453 _ACEOF
58454 cat confdefs.h >>conftest.$ac_ext
58455 cat >>conftest.$ac_ext <<_ACEOF
58456 /* end confdefs.h.  */
58457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58458    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58459 #define $ac_func innocuous_$ac_func
58460
58461 /* System header to define __stub macros and hopefully few prototypes,
58462     which can conflict with char $ac_func (); below.
58463     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58464     <limits.h> exists even on freestanding compilers.  */
58465
58466 #ifdef __STDC__
58467 # include <limits.h>
58468 #else
58469 # include <assert.h>
58470 #endif
58471
58472 #undef $ac_func
58473
58474 /* Override any gcc2 internal prototype to avoid an error.  */
58475 #ifdef __cplusplus
58476 extern "C"
58477 {
58478 #endif
58479 /* We use char because int might match the return type of a gcc2
58480    builtin and then its argument prototype would still apply.  */
58481 char $ac_func ();
58482 /* The GNU C library defines this for functions which it implements
58483     to always fail with ENOSYS.  Some functions are actually named
58484     something starting with __ and the normal name is an alias.  */
58485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58486 choke me
58487 #else
58488 char (*f) () = $ac_func;
58489 #endif
58490 #ifdef __cplusplus
58491 }
58492 #endif
58493
58494 int
58495 main ()
58496 {
58497 return f != $ac_func;
58498   ;
58499   return 0;
58500 }
58501 _ACEOF
58502 rm -f conftest.$ac_objext conftest$ac_exeext
58503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58504   (eval $ac_link) 2>conftest.er1
58505   ac_status=$?
58506   grep -v '^ *+' conftest.er1 >conftest.err
58507   rm -f conftest.er1
58508   cat conftest.err >&5
58509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58510   (exit $ac_status); } &&
58511          { ac_try='test -z "$ac_c_werror_flag"
58512                          || test ! -s conftest.err'
58513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58514   (eval $ac_try) 2>&5
58515   ac_status=$?
58516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58517   (exit $ac_status); }; } &&
58518          { ac_try='test -s conftest$ac_exeext'
58519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58520   (eval $ac_try) 2>&5
58521   ac_status=$?
58522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58523   (exit $ac_status); }; }; then
58524   eval "$as_ac_var=yes"
58525 else
58526   echo "$as_me: failed program was:" >&5
58527 sed 's/^/| /' conftest.$ac_ext >&5
58528
58529 eval "$as_ac_var=no"
58530 fi
58531 rm -f conftest.err conftest.$ac_objext \
58532       conftest$ac_exeext conftest.$ac_ext
58533 fi
58534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58536 if test `eval echo '${'$as_ac_var'}'` = yes; then
58537   cat >>confdefs.h <<_ACEOF
58538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58539 _ACEOF
58540
58541 fi
58542 done
58543
58544     fi
58545   fi
58546
58547
58548
58549
58550
58551
58552   echo "$as_me:$LINENO: checking for log10l declaration" >&5
58553 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
58554   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58555     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
58556   echo $ECHO_N "(cached) $ECHO_C" >&6
58557 else
58558
58559
58560
58561       ac_ext=cc
58562 ac_cpp='$CXXCPP $CPPFLAGS'
58563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58566
58567       cat >conftest.$ac_ext <<_ACEOF
58568 /* confdefs.h.  */
58569 _ACEOF
58570 cat confdefs.h >>conftest.$ac_ext
58571 cat >>conftest.$ac_ext <<_ACEOF
58572 /* end confdefs.h.  */
58573 #include <math.h>
58574                       #ifdef HAVE_IEEEFP_H
58575                       #include <ieeefp.h>
58576                       #endif
58577
58578 int
58579 main ()
58580 {
58581  log10l(0);
58582   ;
58583   return 0;
58584 }
58585 _ACEOF
58586 rm -f conftest.$ac_objext
58587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58588   (eval $ac_compile) 2>conftest.er1
58589   ac_status=$?
58590   grep -v '^ *+' conftest.er1 >conftest.err
58591   rm -f conftest.er1
58592   cat conftest.err >&5
58593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58594   (exit $ac_status); } &&
58595          { ac_try='test -z "$ac_cxx_werror_flag"
58596                          || test ! -s conftest.err'
58597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58598   (eval $ac_try) 2>&5
58599   ac_status=$?
58600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58601   (exit $ac_status); }; } &&
58602          { ac_try='test -s conftest.$ac_objext'
58603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58604   (eval $ac_try) 2>&5
58605   ac_status=$?
58606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58607   (exit $ac_status); }; }; then
58608   glibcxx_cv_func_log10l_use=yes
58609 else
58610   echo "$as_me: failed program was:" >&5
58611 sed 's/^/| /' conftest.$ac_ext >&5
58612
58613 glibcxx_cv_func_log10l_use=no
58614 fi
58615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58616       ac_ext=c
58617 ac_cpp='$CPP $CPPFLAGS'
58618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58621
58622
58623 fi
58624
58625   fi
58626   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
58627 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
58628
58629   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58630
58631 for ac_func in log10l
58632 do
58633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58634 echo "$as_me:$LINENO: checking for $ac_func" >&5
58635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58636 if eval "test \"\${$as_ac_var+set}\" = set"; then
58637   echo $ECHO_N "(cached) $ECHO_C" >&6
58638 else
58639   if test x$gcc_no_link = xyes; then
58640   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58642    { (exit 1); exit 1; }; }
58643 fi
58644 cat >conftest.$ac_ext <<_ACEOF
58645 /* confdefs.h.  */
58646 _ACEOF
58647 cat confdefs.h >>conftest.$ac_ext
58648 cat >>conftest.$ac_ext <<_ACEOF
58649 /* end confdefs.h.  */
58650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58651    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58652 #define $ac_func innocuous_$ac_func
58653
58654 /* System header to define __stub macros and hopefully few prototypes,
58655     which can conflict with char $ac_func (); below.
58656     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58657     <limits.h> exists even on freestanding compilers.  */
58658
58659 #ifdef __STDC__
58660 # include <limits.h>
58661 #else
58662 # include <assert.h>
58663 #endif
58664
58665 #undef $ac_func
58666
58667 /* Override any gcc2 internal prototype to avoid an error.  */
58668 #ifdef __cplusplus
58669 extern "C"
58670 {
58671 #endif
58672 /* We use char because int might match the return type of a gcc2
58673    builtin and then its argument prototype would still apply.  */
58674 char $ac_func ();
58675 /* The GNU C library defines this for functions which it implements
58676     to always fail with ENOSYS.  Some functions are actually named
58677     something starting with __ and the normal name is an alias.  */
58678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58679 choke me
58680 #else
58681 char (*f) () = $ac_func;
58682 #endif
58683 #ifdef __cplusplus
58684 }
58685 #endif
58686
58687 int
58688 main ()
58689 {
58690 return f != $ac_func;
58691   ;
58692   return 0;
58693 }
58694 _ACEOF
58695 rm -f conftest.$ac_objext conftest$ac_exeext
58696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58697   (eval $ac_link) 2>conftest.er1
58698   ac_status=$?
58699   grep -v '^ *+' conftest.er1 >conftest.err
58700   rm -f conftest.er1
58701   cat conftest.err >&5
58702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58703   (exit $ac_status); } &&
58704          { ac_try='test -z "$ac_c_werror_flag"
58705                          || test ! -s conftest.err'
58706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58707   (eval $ac_try) 2>&5
58708   ac_status=$?
58709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58710   (exit $ac_status); }; } &&
58711          { ac_try='test -s conftest$ac_exeext'
58712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58713   (eval $ac_try) 2>&5
58714   ac_status=$?
58715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58716   (exit $ac_status); }; }; then
58717   eval "$as_ac_var=yes"
58718 else
58719   echo "$as_me: failed program was:" >&5
58720 sed 's/^/| /' conftest.$ac_ext >&5
58721
58722 eval "$as_ac_var=no"
58723 fi
58724 rm -f conftest.err conftest.$ac_objext \
58725       conftest$ac_exeext conftest.$ac_ext
58726 fi
58727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58729 if test `eval echo '${'$as_ac_var'}'` = yes; then
58730   cat >>confdefs.h <<_ACEOF
58731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58732 _ACEOF
58733
58734 fi
58735 done
58736
58737   else
58738
58739   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
58740 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
58741   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58742     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
58743   echo $ECHO_N "(cached) $ECHO_C" >&6
58744 else
58745
58746
58747
58748       ac_ext=cc
58749 ac_cpp='$CXXCPP $CPPFLAGS'
58750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58753
58754       cat >conftest.$ac_ext <<_ACEOF
58755 /* confdefs.h.  */
58756 _ACEOF
58757 cat confdefs.h >>conftest.$ac_ext
58758 cat >>conftest.$ac_ext <<_ACEOF
58759 /* end confdefs.h.  */
58760 #include <math.h>
58761                       #ifdef HAVE_IEEEFP_H
58762                       #include <ieeefp.h>
58763                       #endif
58764
58765 int
58766 main ()
58767 {
58768  _log10l(0);
58769   ;
58770   return 0;
58771 }
58772 _ACEOF
58773 rm -f conftest.$ac_objext
58774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58775   (eval $ac_compile) 2>conftest.er1
58776   ac_status=$?
58777   grep -v '^ *+' conftest.er1 >conftest.err
58778   rm -f conftest.er1
58779   cat conftest.err >&5
58780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58781   (exit $ac_status); } &&
58782          { ac_try='test -z "$ac_cxx_werror_flag"
58783                          || test ! -s conftest.err'
58784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58785   (eval $ac_try) 2>&5
58786   ac_status=$?
58787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58788   (exit $ac_status); }; } &&
58789          { ac_try='test -s conftest.$ac_objext'
58790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58791   (eval $ac_try) 2>&5
58792   ac_status=$?
58793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58794   (exit $ac_status); }; }; then
58795   glibcxx_cv_func__log10l_use=yes
58796 else
58797   echo "$as_me: failed program was:" >&5
58798 sed 's/^/| /' conftest.$ac_ext >&5
58799
58800 glibcxx_cv_func__log10l_use=no
58801 fi
58802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58803       ac_ext=c
58804 ac_cpp='$CPP $CPPFLAGS'
58805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58808
58809
58810 fi
58811
58812   fi
58813   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
58814 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
58815
58816     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58817
58818 for ac_func in _log10l
58819 do
58820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58821 echo "$as_me:$LINENO: checking for $ac_func" >&5
58822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58823 if eval "test \"\${$as_ac_var+set}\" = set"; then
58824   echo $ECHO_N "(cached) $ECHO_C" >&6
58825 else
58826   if test x$gcc_no_link = xyes; then
58827   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58829    { (exit 1); exit 1; }; }
58830 fi
58831 cat >conftest.$ac_ext <<_ACEOF
58832 /* confdefs.h.  */
58833 _ACEOF
58834 cat confdefs.h >>conftest.$ac_ext
58835 cat >>conftest.$ac_ext <<_ACEOF
58836 /* end confdefs.h.  */
58837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58838    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58839 #define $ac_func innocuous_$ac_func
58840
58841 /* System header to define __stub macros and hopefully few prototypes,
58842     which can conflict with char $ac_func (); below.
58843     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58844     <limits.h> exists even on freestanding compilers.  */
58845
58846 #ifdef __STDC__
58847 # include <limits.h>
58848 #else
58849 # include <assert.h>
58850 #endif
58851
58852 #undef $ac_func
58853
58854 /* Override any gcc2 internal prototype to avoid an error.  */
58855 #ifdef __cplusplus
58856 extern "C"
58857 {
58858 #endif
58859 /* We use char because int might match the return type of a gcc2
58860    builtin and then its argument prototype would still apply.  */
58861 char $ac_func ();
58862 /* The GNU C library defines this for functions which it implements
58863     to always fail with ENOSYS.  Some functions are actually named
58864     something starting with __ and the normal name is an alias.  */
58865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58866 choke me
58867 #else
58868 char (*f) () = $ac_func;
58869 #endif
58870 #ifdef __cplusplus
58871 }
58872 #endif
58873
58874 int
58875 main ()
58876 {
58877 return f != $ac_func;
58878   ;
58879   return 0;
58880 }
58881 _ACEOF
58882 rm -f conftest.$ac_objext conftest$ac_exeext
58883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58884   (eval $ac_link) 2>conftest.er1
58885   ac_status=$?
58886   grep -v '^ *+' conftest.er1 >conftest.err
58887   rm -f conftest.er1
58888   cat conftest.err >&5
58889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58890   (exit $ac_status); } &&
58891          { ac_try='test -z "$ac_c_werror_flag"
58892                          || test ! -s conftest.err'
58893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58894   (eval $ac_try) 2>&5
58895   ac_status=$?
58896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58897   (exit $ac_status); }; } &&
58898          { ac_try='test -s conftest$ac_exeext'
58899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58900   (eval $ac_try) 2>&5
58901   ac_status=$?
58902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58903   (exit $ac_status); }; }; then
58904   eval "$as_ac_var=yes"
58905 else
58906   echo "$as_me: failed program was:" >&5
58907 sed 's/^/| /' conftest.$ac_ext >&5
58908
58909 eval "$as_ac_var=no"
58910 fi
58911 rm -f conftest.err conftest.$ac_objext \
58912       conftest$ac_exeext conftest.$ac_ext
58913 fi
58914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58916 if test `eval echo '${'$as_ac_var'}'` = yes; then
58917   cat >>confdefs.h <<_ACEOF
58918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58919 _ACEOF
58920
58921 fi
58922 done
58923
58924     fi
58925   fi
58926
58927
58928
58929
58930
58931
58932   echo "$as_me:$LINENO: checking for modfl declaration" >&5
58933 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
58934   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58935     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
58936   echo $ECHO_N "(cached) $ECHO_C" >&6
58937 else
58938
58939
58940
58941       ac_ext=cc
58942 ac_cpp='$CXXCPP $CPPFLAGS'
58943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58946
58947       cat >conftest.$ac_ext <<_ACEOF
58948 /* confdefs.h.  */
58949 _ACEOF
58950 cat confdefs.h >>conftest.$ac_ext
58951 cat >>conftest.$ac_ext <<_ACEOF
58952 /* end confdefs.h.  */
58953 #include <math.h>
58954 int
58955 main ()
58956 {
58957  modfl(0, 0);
58958   ;
58959   return 0;
58960 }
58961 _ACEOF
58962 rm -f conftest.$ac_objext
58963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58964   (eval $ac_compile) 2>conftest.er1
58965   ac_status=$?
58966   grep -v '^ *+' conftest.er1 >conftest.err
58967   rm -f conftest.er1
58968   cat conftest.err >&5
58969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58970   (exit $ac_status); } &&
58971          { ac_try='test -z "$ac_cxx_werror_flag"
58972                          || test ! -s conftest.err'
58973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58974   (eval $ac_try) 2>&5
58975   ac_status=$?
58976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58977   (exit $ac_status); }; } &&
58978          { ac_try='test -s conftest.$ac_objext'
58979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58980   (eval $ac_try) 2>&5
58981   ac_status=$?
58982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58983   (exit $ac_status); }; }; then
58984   glibcxx_cv_func_modfl_use=yes
58985 else
58986   echo "$as_me: failed program was:" >&5
58987 sed 's/^/| /' conftest.$ac_ext >&5
58988
58989 glibcxx_cv_func_modfl_use=no
58990 fi
58991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58992       ac_ext=c
58993 ac_cpp='$CPP $CPPFLAGS'
58994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58997
58998
58999 fi
59000
59001   fi
59002   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
59003 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
59004
59005   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59006
59007 for ac_func in modfl
59008 do
59009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59010 echo "$as_me:$LINENO: checking for $ac_func" >&5
59011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59012 if eval "test \"\${$as_ac_var+set}\" = set"; then
59013   echo $ECHO_N "(cached) $ECHO_C" >&6
59014 else
59015   if test x$gcc_no_link = xyes; then
59016   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59018    { (exit 1); exit 1; }; }
59019 fi
59020 cat >conftest.$ac_ext <<_ACEOF
59021 /* confdefs.h.  */
59022 _ACEOF
59023 cat confdefs.h >>conftest.$ac_ext
59024 cat >>conftest.$ac_ext <<_ACEOF
59025 /* end confdefs.h.  */
59026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59027    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59028 #define $ac_func innocuous_$ac_func
59029
59030 /* System header to define __stub macros and hopefully few prototypes,
59031     which can conflict with char $ac_func (); below.
59032     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59033     <limits.h> exists even on freestanding compilers.  */
59034
59035 #ifdef __STDC__
59036 # include <limits.h>
59037 #else
59038 # include <assert.h>
59039 #endif
59040
59041 #undef $ac_func
59042
59043 /* Override any gcc2 internal prototype to avoid an error.  */
59044 #ifdef __cplusplus
59045 extern "C"
59046 {
59047 #endif
59048 /* We use char because int might match the return type of a gcc2
59049    builtin and then its argument prototype would still apply.  */
59050 char $ac_func ();
59051 /* The GNU C library defines this for functions which it implements
59052     to always fail with ENOSYS.  Some functions are actually named
59053     something starting with __ and the normal name is an alias.  */
59054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59055 choke me
59056 #else
59057 char (*f) () = $ac_func;
59058 #endif
59059 #ifdef __cplusplus
59060 }
59061 #endif
59062
59063 int
59064 main ()
59065 {
59066 return f != $ac_func;
59067   ;
59068   return 0;
59069 }
59070 _ACEOF
59071 rm -f conftest.$ac_objext conftest$ac_exeext
59072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59073   (eval $ac_link) 2>conftest.er1
59074   ac_status=$?
59075   grep -v '^ *+' conftest.er1 >conftest.err
59076   rm -f conftest.er1
59077   cat conftest.err >&5
59078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59079   (exit $ac_status); } &&
59080          { ac_try='test -z "$ac_c_werror_flag"
59081                          || test ! -s conftest.err'
59082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59083   (eval $ac_try) 2>&5
59084   ac_status=$?
59085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59086   (exit $ac_status); }; } &&
59087          { ac_try='test -s conftest$ac_exeext'
59088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59089   (eval $ac_try) 2>&5
59090   ac_status=$?
59091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59092   (exit $ac_status); }; }; then
59093   eval "$as_ac_var=yes"
59094 else
59095   echo "$as_me: failed program was:" >&5
59096 sed 's/^/| /' conftest.$ac_ext >&5
59097
59098 eval "$as_ac_var=no"
59099 fi
59100 rm -f conftest.err conftest.$ac_objext \
59101       conftest$ac_exeext conftest.$ac_ext
59102 fi
59103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59105 if test `eval echo '${'$as_ac_var'}'` = yes; then
59106   cat >>confdefs.h <<_ACEOF
59107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59108 _ACEOF
59109
59110 fi
59111 done
59112
59113   else
59114
59115   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
59116 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
59117   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59118     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
59119   echo $ECHO_N "(cached) $ECHO_C" >&6
59120 else
59121
59122
59123
59124       ac_ext=cc
59125 ac_cpp='$CXXCPP $CPPFLAGS'
59126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59129
59130       cat >conftest.$ac_ext <<_ACEOF
59131 /* confdefs.h.  */
59132 _ACEOF
59133 cat confdefs.h >>conftest.$ac_ext
59134 cat >>conftest.$ac_ext <<_ACEOF
59135 /* end confdefs.h.  */
59136 #include <math.h>
59137 int
59138 main ()
59139 {
59140  _modfl(0, 0);
59141   ;
59142   return 0;
59143 }
59144 _ACEOF
59145 rm -f conftest.$ac_objext
59146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59147   (eval $ac_compile) 2>conftest.er1
59148   ac_status=$?
59149   grep -v '^ *+' conftest.er1 >conftest.err
59150   rm -f conftest.er1
59151   cat conftest.err >&5
59152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59153   (exit $ac_status); } &&
59154          { ac_try='test -z "$ac_cxx_werror_flag"
59155                          || test ! -s conftest.err'
59156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59157   (eval $ac_try) 2>&5
59158   ac_status=$?
59159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59160   (exit $ac_status); }; } &&
59161          { ac_try='test -s conftest.$ac_objext'
59162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59163   (eval $ac_try) 2>&5
59164   ac_status=$?
59165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59166   (exit $ac_status); }; }; then
59167   glibcxx_cv_func__modfl_use=yes
59168 else
59169   echo "$as_me: failed program was:" >&5
59170 sed 's/^/| /' conftest.$ac_ext >&5
59171
59172 glibcxx_cv_func__modfl_use=no
59173 fi
59174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59175       ac_ext=c
59176 ac_cpp='$CPP $CPPFLAGS'
59177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59180
59181
59182 fi
59183
59184   fi
59185   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
59186 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
59187
59188     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59189
59190 for ac_func in _modfl
59191 do
59192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59193 echo "$as_me:$LINENO: checking for $ac_func" >&5
59194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59195 if eval "test \"\${$as_ac_var+set}\" = set"; then
59196   echo $ECHO_N "(cached) $ECHO_C" >&6
59197 else
59198   if test x$gcc_no_link = xyes; then
59199   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59201    { (exit 1); exit 1; }; }
59202 fi
59203 cat >conftest.$ac_ext <<_ACEOF
59204 /* confdefs.h.  */
59205 _ACEOF
59206 cat confdefs.h >>conftest.$ac_ext
59207 cat >>conftest.$ac_ext <<_ACEOF
59208 /* end confdefs.h.  */
59209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59210    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59211 #define $ac_func innocuous_$ac_func
59212
59213 /* System header to define __stub macros and hopefully few prototypes,
59214     which can conflict with char $ac_func (); below.
59215     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59216     <limits.h> exists even on freestanding compilers.  */
59217
59218 #ifdef __STDC__
59219 # include <limits.h>
59220 #else
59221 # include <assert.h>
59222 #endif
59223
59224 #undef $ac_func
59225
59226 /* Override any gcc2 internal prototype to avoid an error.  */
59227 #ifdef __cplusplus
59228 extern "C"
59229 {
59230 #endif
59231 /* We use char because int might match the return type of a gcc2
59232    builtin and then its argument prototype would still apply.  */
59233 char $ac_func ();
59234 /* The GNU C library defines this for functions which it implements
59235     to always fail with ENOSYS.  Some functions are actually named
59236     something starting with __ and the normal name is an alias.  */
59237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59238 choke me
59239 #else
59240 char (*f) () = $ac_func;
59241 #endif
59242 #ifdef __cplusplus
59243 }
59244 #endif
59245
59246 int
59247 main ()
59248 {
59249 return f != $ac_func;
59250   ;
59251   return 0;
59252 }
59253 _ACEOF
59254 rm -f conftest.$ac_objext conftest$ac_exeext
59255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59256   (eval $ac_link) 2>conftest.er1
59257   ac_status=$?
59258   grep -v '^ *+' conftest.er1 >conftest.err
59259   rm -f conftest.er1
59260   cat conftest.err >&5
59261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59262   (exit $ac_status); } &&
59263          { ac_try='test -z "$ac_c_werror_flag"
59264                          || test ! -s conftest.err'
59265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59266   (eval $ac_try) 2>&5
59267   ac_status=$?
59268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59269   (exit $ac_status); }; } &&
59270          { ac_try='test -s conftest$ac_exeext'
59271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59272   (eval $ac_try) 2>&5
59273   ac_status=$?
59274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59275   (exit $ac_status); }; }; then
59276   eval "$as_ac_var=yes"
59277 else
59278   echo "$as_me: failed program was:" >&5
59279 sed 's/^/| /' conftest.$ac_ext >&5
59280
59281 eval "$as_ac_var=no"
59282 fi
59283 rm -f conftest.err conftest.$ac_objext \
59284       conftest$ac_exeext conftest.$ac_ext
59285 fi
59286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59288 if test `eval echo '${'$as_ac_var'}'` = yes; then
59289   cat >>confdefs.h <<_ACEOF
59290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59291 _ACEOF
59292
59293 fi
59294 done
59295
59296     fi
59297   fi
59298
59299
59300
59301
59302
59303
59304   echo "$as_me:$LINENO: checking for powl declaration" >&5
59305 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
59306   if test x${glibcxx_cv_func_powl_use+set} != xset; then
59307     if test "${glibcxx_cv_func_powl_use+set}" = set; then
59308   echo $ECHO_N "(cached) $ECHO_C" >&6
59309 else
59310
59311
59312
59313       ac_ext=cc
59314 ac_cpp='$CXXCPP $CPPFLAGS'
59315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59318
59319       cat >conftest.$ac_ext <<_ACEOF
59320 /* confdefs.h.  */
59321 _ACEOF
59322 cat confdefs.h >>conftest.$ac_ext
59323 cat >>conftest.$ac_ext <<_ACEOF
59324 /* end confdefs.h.  */
59325 #include <math.h>
59326 int
59327 main ()
59328 {
59329  powl(0, 0);
59330   ;
59331   return 0;
59332 }
59333 _ACEOF
59334 rm -f conftest.$ac_objext
59335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59336   (eval $ac_compile) 2>conftest.er1
59337   ac_status=$?
59338   grep -v '^ *+' conftest.er1 >conftest.err
59339   rm -f conftest.er1
59340   cat conftest.err >&5
59341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59342   (exit $ac_status); } &&
59343          { ac_try='test -z "$ac_cxx_werror_flag"
59344                          || test ! -s conftest.err'
59345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59346   (eval $ac_try) 2>&5
59347   ac_status=$?
59348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59349   (exit $ac_status); }; } &&
59350          { ac_try='test -s conftest.$ac_objext'
59351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59352   (eval $ac_try) 2>&5
59353   ac_status=$?
59354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59355   (exit $ac_status); }; }; then
59356   glibcxx_cv_func_powl_use=yes
59357 else
59358   echo "$as_me: failed program was:" >&5
59359 sed 's/^/| /' conftest.$ac_ext >&5
59360
59361 glibcxx_cv_func_powl_use=no
59362 fi
59363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59364       ac_ext=c
59365 ac_cpp='$CPP $CPPFLAGS'
59366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59369
59370
59371 fi
59372
59373   fi
59374   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
59375 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
59376
59377   if test x$glibcxx_cv_func_powl_use = x"yes"; then
59378
59379 for ac_func in powl
59380 do
59381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59382 echo "$as_me:$LINENO: checking for $ac_func" >&5
59383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59384 if eval "test \"\${$as_ac_var+set}\" = set"; then
59385   echo $ECHO_N "(cached) $ECHO_C" >&6
59386 else
59387   if test x$gcc_no_link = xyes; then
59388   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59390    { (exit 1); exit 1; }; }
59391 fi
59392 cat >conftest.$ac_ext <<_ACEOF
59393 /* confdefs.h.  */
59394 _ACEOF
59395 cat confdefs.h >>conftest.$ac_ext
59396 cat >>conftest.$ac_ext <<_ACEOF
59397 /* end confdefs.h.  */
59398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59399    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59400 #define $ac_func innocuous_$ac_func
59401
59402 /* System header to define __stub macros and hopefully few prototypes,
59403     which can conflict with char $ac_func (); below.
59404     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59405     <limits.h> exists even on freestanding compilers.  */
59406
59407 #ifdef __STDC__
59408 # include <limits.h>
59409 #else
59410 # include <assert.h>
59411 #endif
59412
59413 #undef $ac_func
59414
59415 /* Override any gcc2 internal prototype to avoid an error.  */
59416 #ifdef __cplusplus
59417 extern "C"
59418 {
59419 #endif
59420 /* We use char because int might match the return type of a gcc2
59421    builtin and then its argument prototype would still apply.  */
59422 char $ac_func ();
59423 /* The GNU C library defines this for functions which it implements
59424     to always fail with ENOSYS.  Some functions are actually named
59425     something starting with __ and the normal name is an alias.  */
59426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59427 choke me
59428 #else
59429 char (*f) () = $ac_func;
59430 #endif
59431 #ifdef __cplusplus
59432 }
59433 #endif
59434
59435 int
59436 main ()
59437 {
59438 return f != $ac_func;
59439   ;
59440   return 0;
59441 }
59442 _ACEOF
59443 rm -f conftest.$ac_objext conftest$ac_exeext
59444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59445   (eval $ac_link) 2>conftest.er1
59446   ac_status=$?
59447   grep -v '^ *+' conftest.er1 >conftest.err
59448   rm -f conftest.er1
59449   cat conftest.err >&5
59450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59451   (exit $ac_status); } &&
59452          { ac_try='test -z "$ac_c_werror_flag"
59453                          || test ! -s conftest.err'
59454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59455   (eval $ac_try) 2>&5
59456   ac_status=$?
59457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59458   (exit $ac_status); }; } &&
59459          { ac_try='test -s conftest$ac_exeext'
59460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59461   (eval $ac_try) 2>&5
59462   ac_status=$?
59463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59464   (exit $ac_status); }; }; then
59465   eval "$as_ac_var=yes"
59466 else
59467   echo "$as_me: failed program was:" >&5
59468 sed 's/^/| /' conftest.$ac_ext >&5
59469
59470 eval "$as_ac_var=no"
59471 fi
59472 rm -f conftest.err conftest.$ac_objext \
59473       conftest$ac_exeext conftest.$ac_ext
59474 fi
59475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59477 if test `eval echo '${'$as_ac_var'}'` = yes; then
59478   cat >>confdefs.h <<_ACEOF
59479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59480 _ACEOF
59481
59482 fi
59483 done
59484
59485   else
59486
59487   echo "$as_me:$LINENO: checking for _powl declaration" >&5
59488 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
59489   if test x${glibcxx_cv_func__powl_use+set} != xset; then
59490     if test "${glibcxx_cv_func__powl_use+set}" = set; then
59491   echo $ECHO_N "(cached) $ECHO_C" >&6
59492 else
59493
59494
59495
59496       ac_ext=cc
59497 ac_cpp='$CXXCPP $CPPFLAGS'
59498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59501
59502       cat >conftest.$ac_ext <<_ACEOF
59503 /* confdefs.h.  */
59504 _ACEOF
59505 cat confdefs.h >>conftest.$ac_ext
59506 cat >>conftest.$ac_ext <<_ACEOF
59507 /* end confdefs.h.  */
59508 #include <math.h>
59509 int
59510 main ()
59511 {
59512  _powl(0, 0);
59513   ;
59514   return 0;
59515 }
59516 _ACEOF
59517 rm -f conftest.$ac_objext
59518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59519   (eval $ac_compile) 2>conftest.er1
59520   ac_status=$?
59521   grep -v '^ *+' conftest.er1 >conftest.err
59522   rm -f conftest.er1
59523   cat conftest.err >&5
59524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59525   (exit $ac_status); } &&
59526          { ac_try='test -z "$ac_cxx_werror_flag"
59527                          || test ! -s conftest.err'
59528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59529   (eval $ac_try) 2>&5
59530   ac_status=$?
59531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59532   (exit $ac_status); }; } &&
59533          { ac_try='test -s conftest.$ac_objext'
59534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59535   (eval $ac_try) 2>&5
59536   ac_status=$?
59537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59538   (exit $ac_status); }; }; then
59539   glibcxx_cv_func__powl_use=yes
59540 else
59541   echo "$as_me: failed program was:" >&5
59542 sed 's/^/| /' conftest.$ac_ext >&5
59543
59544 glibcxx_cv_func__powl_use=no
59545 fi
59546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59547       ac_ext=c
59548 ac_cpp='$CPP $CPPFLAGS'
59549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59552
59553
59554 fi
59555
59556   fi
59557   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
59558 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
59559
59560     if test x$glibcxx_cv_func__powl_use = x"yes"; then
59561
59562 for ac_func in _powl
59563 do
59564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59565 echo "$as_me:$LINENO: checking for $ac_func" >&5
59566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59567 if eval "test \"\${$as_ac_var+set}\" = set"; then
59568   echo $ECHO_N "(cached) $ECHO_C" >&6
59569 else
59570   if test x$gcc_no_link = xyes; then
59571   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59573    { (exit 1); exit 1; }; }
59574 fi
59575 cat >conftest.$ac_ext <<_ACEOF
59576 /* confdefs.h.  */
59577 _ACEOF
59578 cat confdefs.h >>conftest.$ac_ext
59579 cat >>conftest.$ac_ext <<_ACEOF
59580 /* end confdefs.h.  */
59581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59582    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59583 #define $ac_func innocuous_$ac_func
59584
59585 /* System header to define __stub macros and hopefully few prototypes,
59586     which can conflict with char $ac_func (); below.
59587     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59588     <limits.h> exists even on freestanding compilers.  */
59589
59590 #ifdef __STDC__
59591 # include <limits.h>
59592 #else
59593 # include <assert.h>
59594 #endif
59595
59596 #undef $ac_func
59597
59598 /* Override any gcc2 internal prototype to avoid an error.  */
59599 #ifdef __cplusplus
59600 extern "C"
59601 {
59602 #endif
59603 /* We use char because int might match the return type of a gcc2
59604    builtin and then its argument prototype would still apply.  */
59605 char $ac_func ();
59606 /* The GNU C library defines this for functions which it implements
59607     to always fail with ENOSYS.  Some functions are actually named
59608     something starting with __ and the normal name is an alias.  */
59609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59610 choke me
59611 #else
59612 char (*f) () = $ac_func;
59613 #endif
59614 #ifdef __cplusplus
59615 }
59616 #endif
59617
59618 int
59619 main ()
59620 {
59621 return f != $ac_func;
59622   ;
59623   return 0;
59624 }
59625 _ACEOF
59626 rm -f conftest.$ac_objext conftest$ac_exeext
59627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59628   (eval $ac_link) 2>conftest.er1
59629   ac_status=$?
59630   grep -v '^ *+' conftest.er1 >conftest.err
59631   rm -f conftest.er1
59632   cat conftest.err >&5
59633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59634   (exit $ac_status); } &&
59635          { ac_try='test -z "$ac_c_werror_flag"
59636                          || test ! -s conftest.err'
59637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59638   (eval $ac_try) 2>&5
59639   ac_status=$?
59640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59641   (exit $ac_status); }; } &&
59642          { ac_try='test -s conftest$ac_exeext'
59643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59644   (eval $ac_try) 2>&5
59645   ac_status=$?
59646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59647   (exit $ac_status); }; }; then
59648   eval "$as_ac_var=yes"
59649 else
59650   echo "$as_me: failed program was:" >&5
59651 sed 's/^/| /' conftest.$ac_ext >&5
59652
59653 eval "$as_ac_var=no"
59654 fi
59655 rm -f conftest.err conftest.$ac_objext \
59656       conftest$ac_exeext conftest.$ac_ext
59657 fi
59658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59660 if test `eval echo '${'$as_ac_var'}'` = yes; then
59661   cat >>confdefs.h <<_ACEOF
59662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59663 _ACEOF
59664
59665 fi
59666 done
59667
59668     fi
59669   fi
59670
59671
59672
59673
59674
59675
59676   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
59677 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
59678   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59679     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
59680   echo $ECHO_N "(cached) $ECHO_C" >&6
59681 else
59682
59683
59684
59685       ac_ext=cc
59686 ac_cpp='$CXXCPP $CPPFLAGS'
59687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59690
59691       cat >conftest.$ac_ext <<_ACEOF
59692 /* confdefs.h.  */
59693 _ACEOF
59694 cat confdefs.h >>conftest.$ac_ext
59695 cat >>conftest.$ac_ext <<_ACEOF
59696 /* end confdefs.h.  */
59697 #include <math.h>
59698                       #ifdef HAVE_IEEEFP_H
59699                       #include <ieeefp.h>
59700                       #endif
59701
59702 int
59703 main ()
59704 {
59705  sqrtl(0);
59706   ;
59707   return 0;
59708 }
59709 _ACEOF
59710 rm -f conftest.$ac_objext
59711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59712   (eval $ac_compile) 2>conftest.er1
59713   ac_status=$?
59714   grep -v '^ *+' conftest.er1 >conftest.err
59715   rm -f conftest.er1
59716   cat conftest.err >&5
59717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59718   (exit $ac_status); } &&
59719          { ac_try='test -z "$ac_cxx_werror_flag"
59720                          || test ! -s conftest.err'
59721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59722   (eval $ac_try) 2>&5
59723   ac_status=$?
59724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59725   (exit $ac_status); }; } &&
59726          { ac_try='test -s conftest.$ac_objext'
59727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59728   (eval $ac_try) 2>&5
59729   ac_status=$?
59730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59731   (exit $ac_status); }; }; then
59732   glibcxx_cv_func_sqrtl_use=yes
59733 else
59734   echo "$as_me: failed program was:" >&5
59735 sed 's/^/| /' conftest.$ac_ext >&5
59736
59737 glibcxx_cv_func_sqrtl_use=no
59738 fi
59739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59740       ac_ext=c
59741 ac_cpp='$CPP $CPPFLAGS'
59742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59745
59746
59747 fi
59748
59749   fi
59750   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
59751 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
59752
59753   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59754
59755 for ac_func in sqrtl
59756 do
59757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59758 echo "$as_me:$LINENO: checking for $ac_func" >&5
59759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59760 if eval "test \"\${$as_ac_var+set}\" = set"; then
59761   echo $ECHO_N "(cached) $ECHO_C" >&6
59762 else
59763   if test x$gcc_no_link = xyes; then
59764   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59766    { (exit 1); exit 1; }; }
59767 fi
59768 cat >conftest.$ac_ext <<_ACEOF
59769 /* confdefs.h.  */
59770 _ACEOF
59771 cat confdefs.h >>conftest.$ac_ext
59772 cat >>conftest.$ac_ext <<_ACEOF
59773 /* end confdefs.h.  */
59774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59775    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59776 #define $ac_func innocuous_$ac_func
59777
59778 /* System header to define __stub macros and hopefully few prototypes,
59779     which can conflict with char $ac_func (); below.
59780     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59781     <limits.h> exists even on freestanding compilers.  */
59782
59783 #ifdef __STDC__
59784 # include <limits.h>
59785 #else
59786 # include <assert.h>
59787 #endif
59788
59789 #undef $ac_func
59790
59791 /* Override any gcc2 internal prototype to avoid an error.  */
59792 #ifdef __cplusplus
59793 extern "C"
59794 {
59795 #endif
59796 /* We use char because int might match the return type of a gcc2
59797    builtin and then its argument prototype would still apply.  */
59798 char $ac_func ();
59799 /* The GNU C library defines this for functions which it implements
59800     to always fail with ENOSYS.  Some functions are actually named
59801     something starting with __ and the normal name is an alias.  */
59802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59803 choke me
59804 #else
59805 char (*f) () = $ac_func;
59806 #endif
59807 #ifdef __cplusplus
59808 }
59809 #endif
59810
59811 int
59812 main ()
59813 {
59814 return f != $ac_func;
59815   ;
59816   return 0;
59817 }
59818 _ACEOF
59819 rm -f conftest.$ac_objext conftest$ac_exeext
59820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59821   (eval $ac_link) 2>conftest.er1
59822   ac_status=$?
59823   grep -v '^ *+' conftest.er1 >conftest.err
59824   rm -f conftest.er1
59825   cat conftest.err >&5
59826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59827   (exit $ac_status); } &&
59828          { ac_try='test -z "$ac_c_werror_flag"
59829                          || test ! -s conftest.err'
59830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59831   (eval $ac_try) 2>&5
59832   ac_status=$?
59833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59834   (exit $ac_status); }; } &&
59835          { ac_try='test -s conftest$ac_exeext'
59836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59837   (eval $ac_try) 2>&5
59838   ac_status=$?
59839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59840   (exit $ac_status); }; }; then
59841   eval "$as_ac_var=yes"
59842 else
59843   echo "$as_me: failed program was:" >&5
59844 sed 's/^/| /' conftest.$ac_ext >&5
59845
59846 eval "$as_ac_var=no"
59847 fi
59848 rm -f conftest.err conftest.$ac_objext \
59849       conftest$ac_exeext conftest.$ac_ext
59850 fi
59851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59853 if test `eval echo '${'$as_ac_var'}'` = yes; then
59854   cat >>confdefs.h <<_ACEOF
59855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59856 _ACEOF
59857
59858 fi
59859 done
59860
59861   else
59862
59863   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
59864 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
59865   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59866     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
59867   echo $ECHO_N "(cached) $ECHO_C" >&6
59868 else
59869
59870
59871
59872       ac_ext=cc
59873 ac_cpp='$CXXCPP $CPPFLAGS'
59874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59877
59878       cat >conftest.$ac_ext <<_ACEOF
59879 /* confdefs.h.  */
59880 _ACEOF
59881 cat confdefs.h >>conftest.$ac_ext
59882 cat >>conftest.$ac_ext <<_ACEOF
59883 /* end confdefs.h.  */
59884 #include <math.h>
59885                       #ifdef HAVE_IEEEFP_H
59886                       #include <ieeefp.h>
59887                       #endif
59888
59889 int
59890 main ()
59891 {
59892  _sqrtl(0);
59893   ;
59894   return 0;
59895 }
59896 _ACEOF
59897 rm -f conftest.$ac_objext
59898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59899   (eval $ac_compile) 2>conftest.er1
59900   ac_status=$?
59901   grep -v '^ *+' conftest.er1 >conftest.err
59902   rm -f conftest.er1
59903   cat conftest.err >&5
59904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59905   (exit $ac_status); } &&
59906          { ac_try='test -z "$ac_cxx_werror_flag"
59907                          || test ! -s conftest.err'
59908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59909   (eval $ac_try) 2>&5
59910   ac_status=$?
59911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59912   (exit $ac_status); }; } &&
59913          { ac_try='test -s conftest.$ac_objext'
59914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59915   (eval $ac_try) 2>&5
59916   ac_status=$?
59917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59918   (exit $ac_status); }; }; then
59919   glibcxx_cv_func__sqrtl_use=yes
59920 else
59921   echo "$as_me: failed program was:" >&5
59922 sed 's/^/| /' conftest.$ac_ext >&5
59923
59924 glibcxx_cv_func__sqrtl_use=no
59925 fi
59926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59927       ac_ext=c
59928 ac_cpp='$CPP $CPPFLAGS'
59929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59932
59933
59934 fi
59935
59936   fi
59937   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
59938 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
59939
59940     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59941
59942 for ac_func in _sqrtl
59943 do
59944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59945 echo "$as_me:$LINENO: checking for $ac_func" >&5
59946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59947 if eval "test \"\${$as_ac_var+set}\" = set"; then
59948   echo $ECHO_N "(cached) $ECHO_C" >&6
59949 else
59950   if test x$gcc_no_link = xyes; then
59951   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59953    { (exit 1); exit 1; }; }
59954 fi
59955 cat >conftest.$ac_ext <<_ACEOF
59956 /* confdefs.h.  */
59957 _ACEOF
59958 cat confdefs.h >>conftest.$ac_ext
59959 cat >>conftest.$ac_ext <<_ACEOF
59960 /* end confdefs.h.  */
59961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59962    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59963 #define $ac_func innocuous_$ac_func
59964
59965 /* System header to define __stub macros and hopefully few prototypes,
59966     which can conflict with char $ac_func (); below.
59967     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59968     <limits.h> exists even on freestanding compilers.  */
59969
59970 #ifdef __STDC__
59971 # include <limits.h>
59972 #else
59973 # include <assert.h>
59974 #endif
59975
59976 #undef $ac_func
59977
59978 /* Override any gcc2 internal prototype to avoid an error.  */
59979 #ifdef __cplusplus
59980 extern "C"
59981 {
59982 #endif
59983 /* We use char because int might match the return type of a gcc2
59984    builtin and then its argument prototype would still apply.  */
59985 char $ac_func ();
59986 /* The GNU C library defines this for functions which it implements
59987     to always fail with ENOSYS.  Some functions are actually named
59988     something starting with __ and the normal name is an alias.  */
59989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59990 choke me
59991 #else
59992 char (*f) () = $ac_func;
59993 #endif
59994 #ifdef __cplusplus
59995 }
59996 #endif
59997
59998 int
59999 main ()
60000 {
60001 return f != $ac_func;
60002   ;
60003   return 0;
60004 }
60005 _ACEOF
60006 rm -f conftest.$ac_objext conftest$ac_exeext
60007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60008   (eval $ac_link) 2>conftest.er1
60009   ac_status=$?
60010   grep -v '^ *+' conftest.er1 >conftest.err
60011   rm -f conftest.er1
60012   cat conftest.err >&5
60013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60014   (exit $ac_status); } &&
60015          { ac_try='test -z "$ac_c_werror_flag"
60016                          || test ! -s conftest.err'
60017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60018   (eval $ac_try) 2>&5
60019   ac_status=$?
60020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60021   (exit $ac_status); }; } &&
60022          { ac_try='test -s conftest$ac_exeext'
60023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60024   (eval $ac_try) 2>&5
60025   ac_status=$?
60026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60027   (exit $ac_status); }; }; then
60028   eval "$as_ac_var=yes"
60029 else
60030   echo "$as_me: failed program was:" >&5
60031 sed 's/^/| /' conftest.$ac_ext >&5
60032
60033 eval "$as_ac_var=no"
60034 fi
60035 rm -f conftest.err conftest.$ac_objext \
60036       conftest$ac_exeext conftest.$ac_ext
60037 fi
60038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60040 if test `eval echo '${'$as_ac_var'}'` = yes; then
60041   cat >>confdefs.h <<_ACEOF
60042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60043 _ACEOF
60044
60045 fi
60046 done
60047
60048     fi
60049   fi
60050
60051
60052
60053
60054
60055
60056   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
60057 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
60058   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
60059     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
60060   echo $ECHO_N "(cached) $ECHO_C" >&6
60061 else
60062
60063
60064
60065       ac_ext=cc
60066 ac_cpp='$CXXCPP $CPPFLAGS'
60067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60070
60071       cat >conftest.$ac_ext <<_ACEOF
60072 /* confdefs.h.  */
60073 _ACEOF
60074 cat confdefs.h >>conftest.$ac_ext
60075 cat >>conftest.$ac_ext <<_ACEOF
60076 /* end confdefs.h.  */
60077 #include <math.h>
60078 int
60079 main ()
60080 {
60081  sincosl(0, 0, 0);
60082   ;
60083   return 0;
60084 }
60085 _ACEOF
60086 rm -f conftest.$ac_objext
60087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60088   (eval $ac_compile) 2>conftest.er1
60089   ac_status=$?
60090   grep -v '^ *+' conftest.er1 >conftest.err
60091   rm -f conftest.er1
60092   cat conftest.err >&5
60093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60094   (exit $ac_status); } &&
60095          { ac_try='test -z "$ac_cxx_werror_flag"
60096                          || test ! -s conftest.err'
60097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60098   (eval $ac_try) 2>&5
60099   ac_status=$?
60100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60101   (exit $ac_status); }; } &&
60102          { ac_try='test -s conftest.$ac_objext'
60103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60104   (eval $ac_try) 2>&5
60105   ac_status=$?
60106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60107   (exit $ac_status); }; }; then
60108   glibcxx_cv_func_sincosl_use=yes
60109 else
60110   echo "$as_me: failed program was:" >&5
60111 sed 's/^/| /' conftest.$ac_ext >&5
60112
60113 glibcxx_cv_func_sincosl_use=no
60114 fi
60115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60116       ac_ext=c
60117 ac_cpp='$CPP $CPPFLAGS'
60118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60121
60122
60123 fi
60124
60125   fi
60126   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
60127 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
60128
60129   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
60130
60131 for ac_func in sincosl
60132 do
60133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60134 echo "$as_me:$LINENO: checking for $ac_func" >&5
60135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60136 if eval "test \"\${$as_ac_var+set}\" = set"; then
60137   echo $ECHO_N "(cached) $ECHO_C" >&6
60138 else
60139   if test x$gcc_no_link = xyes; then
60140   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60142    { (exit 1); exit 1; }; }
60143 fi
60144 cat >conftest.$ac_ext <<_ACEOF
60145 /* confdefs.h.  */
60146 _ACEOF
60147 cat confdefs.h >>conftest.$ac_ext
60148 cat >>conftest.$ac_ext <<_ACEOF
60149 /* end confdefs.h.  */
60150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60151    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60152 #define $ac_func innocuous_$ac_func
60153
60154 /* System header to define __stub macros and hopefully few prototypes,
60155     which can conflict with char $ac_func (); below.
60156     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60157     <limits.h> exists even on freestanding compilers.  */
60158
60159 #ifdef __STDC__
60160 # include <limits.h>
60161 #else
60162 # include <assert.h>
60163 #endif
60164
60165 #undef $ac_func
60166
60167 /* Override any gcc2 internal prototype to avoid an error.  */
60168 #ifdef __cplusplus
60169 extern "C"
60170 {
60171 #endif
60172 /* We use char because int might match the return type of a gcc2
60173    builtin and then its argument prototype would still apply.  */
60174 char $ac_func ();
60175 /* The GNU C library defines this for functions which it implements
60176     to always fail with ENOSYS.  Some functions are actually named
60177     something starting with __ and the normal name is an alias.  */
60178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60179 choke me
60180 #else
60181 char (*f) () = $ac_func;
60182 #endif
60183 #ifdef __cplusplus
60184 }
60185 #endif
60186
60187 int
60188 main ()
60189 {
60190 return f != $ac_func;
60191   ;
60192   return 0;
60193 }
60194 _ACEOF
60195 rm -f conftest.$ac_objext conftest$ac_exeext
60196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60197   (eval $ac_link) 2>conftest.er1
60198   ac_status=$?
60199   grep -v '^ *+' conftest.er1 >conftest.err
60200   rm -f conftest.er1
60201   cat conftest.err >&5
60202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60203   (exit $ac_status); } &&
60204          { ac_try='test -z "$ac_c_werror_flag"
60205                          || test ! -s conftest.err'
60206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60207   (eval $ac_try) 2>&5
60208   ac_status=$?
60209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60210   (exit $ac_status); }; } &&
60211          { ac_try='test -s conftest$ac_exeext'
60212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60213   (eval $ac_try) 2>&5
60214   ac_status=$?
60215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60216   (exit $ac_status); }; }; then
60217   eval "$as_ac_var=yes"
60218 else
60219   echo "$as_me: failed program was:" >&5
60220 sed 's/^/| /' conftest.$ac_ext >&5
60221
60222 eval "$as_ac_var=no"
60223 fi
60224 rm -f conftest.err conftest.$ac_objext \
60225       conftest$ac_exeext conftest.$ac_ext
60226 fi
60227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60229 if test `eval echo '${'$as_ac_var'}'` = yes; then
60230   cat >>confdefs.h <<_ACEOF
60231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60232 _ACEOF
60233
60234 fi
60235 done
60236
60237   else
60238
60239   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
60240 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
60241   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60242     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
60243   echo $ECHO_N "(cached) $ECHO_C" >&6
60244 else
60245
60246
60247
60248       ac_ext=cc
60249 ac_cpp='$CXXCPP $CPPFLAGS'
60250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60253
60254       cat >conftest.$ac_ext <<_ACEOF
60255 /* confdefs.h.  */
60256 _ACEOF
60257 cat confdefs.h >>conftest.$ac_ext
60258 cat >>conftest.$ac_ext <<_ACEOF
60259 /* end confdefs.h.  */
60260 #include <math.h>
60261 int
60262 main ()
60263 {
60264  _sincosl(0, 0, 0);
60265   ;
60266   return 0;
60267 }
60268 _ACEOF
60269 rm -f conftest.$ac_objext
60270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60271   (eval $ac_compile) 2>conftest.er1
60272   ac_status=$?
60273   grep -v '^ *+' conftest.er1 >conftest.err
60274   rm -f conftest.er1
60275   cat conftest.err >&5
60276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60277   (exit $ac_status); } &&
60278          { ac_try='test -z "$ac_cxx_werror_flag"
60279                          || test ! -s conftest.err'
60280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60281   (eval $ac_try) 2>&5
60282   ac_status=$?
60283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60284   (exit $ac_status); }; } &&
60285          { ac_try='test -s conftest.$ac_objext'
60286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60287   (eval $ac_try) 2>&5
60288   ac_status=$?
60289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60290   (exit $ac_status); }; }; then
60291   glibcxx_cv_func__sincosl_use=yes
60292 else
60293   echo "$as_me: failed program was:" >&5
60294 sed 's/^/| /' conftest.$ac_ext >&5
60295
60296 glibcxx_cv_func__sincosl_use=no
60297 fi
60298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60299       ac_ext=c
60300 ac_cpp='$CPP $CPPFLAGS'
60301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60304
60305
60306 fi
60307
60308   fi
60309   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
60310 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
60311
60312     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60313
60314 for ac_func in _sincosl
60315 do
60316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60317 echo "$as_me:$LINENO: checking for $ac_func" >&5
60318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60319 if eval "test \"\${$as_ac_var+set}\" = set"; then
60320   echo $ECHO_N "(cached) $ECHO_C" >&6
60321 else
60322   if test x$gcc_no_link = xyes; then
60323   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60325    { (exit 1); exit 1; }; }
60326 fi
60327 cat >conftest.$ac_ext <<_ACEOF
60328 /* confdefs.h.  */
60329 _ACEOF
60330 cat confdefs.h >>conftest.$ac_ext
60331 cat >>conftest.$ac_ext <<_ACEOF
60332 /* end confdefs.h.  */
60333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60334    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60335 #define $ac_func innocuous_$ac_func
60336
60337 /* System header to define __stub macros and hopefully few prototypes,
60338     which can conflict with char $ac_func (); below.
60339     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60340     <limits.h> exists even on freestanding compilers.  */
60341
60342 #ifdef __STDC__
60343 # include <limits.h>
60344 #else
60345 # include <assert.h>
60346 #endif
60347
60348 #undef $ac_func
60349
60350 /* Override any gcc2 internal prototype to avoid an error.  */
60351 #ifdef __cplusplus
60352 extern "C"
60353 {
60354 #endif
60355 /* We use char because int might match the return type of a gcc2
60356    builtin and then its argument prototype would still apply.  */
60357 char $ac_func ();
60358 /* The GNU C library defines this for functions which it implements
60359     to always fail with ENOSYS.  Some functions are actually named
60360     something starting with __ and the normal name is an alias.  */
60361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60362 choke me
60363 #else
60364 char (*f) () = $ac_func;
60365 #endif
60366 #ifdef __cplusplus
60367 }
60368 #endif
60369
60370 int
60371 main ()
60372 {
60373 return f != $ac_func;
60374   ;
60375   return 0;
60376 }
60377 _ACEOF
60378 rm -f conftest.$ac_objext conftest$ac_exeext
60379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60380   (eval $ac_link) 2>conftest.er1
60381   ac_status=$?
60382   grep -v '^ *+' conftest.er1 >conftest.err
60383   rm -f conftest.er1
60384   cat conftest.err >&5
60385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60386   (exit $ac_status); } &&
60387          { ac_try='test -z "$ac_c_werror_flag"
60388                          || test ! -s conftest.err'
60389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60390   (eval $ac_try) 2>&5
60391   ac_status=$?
60392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60393   (exit $ac_status); }; } &&
60394          { ac_try='test -s conftest$ac_exeext'
60395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60396   (eval $ac_try) 2>&5
60397   ac_status=$?
60398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60399   (exit $ac_status); }; }; then
60400   eval "$as_ac_var=yes"
60401 else
60402   echo "$as_me: failed program was:" >&5
60403 sed 's/^/| /' conftest.$ac_ext >&5
60404
60405 eval "$as_ac_var=no"
60406 fi
60407 rm -f conftest.err conftest.$ac_objext \
60408       conftest$ac_exeext conftest.$ac_ext
60409 fi
60410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60412 if test `eval echo '${'$as_ac_var'}'` = yes; then
60413   cat >>confdefs.h <<_ACEOF
60414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60415 _ACEOF
60416
60417 fi
60418 done
60419
60420     fi
60421   fi
60422
60423
60424
60425
60426
60427
60428   echo "$as_me:$LINENO: checking for finitel declaration" >&5
60429 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
60430   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60431     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
60432   echo $ECHO_N "(cached) $ECHO_C" >&6
60433 else
60434
60435
60436
60437       ac_ext=cc
60438 ac_cpp='$CXXCPP $CPPFLAGS'
60439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60442
60443       cat >conftest.$ac_ext <<_ACEOF
60444 /* confdefs.h.  */
60445 _ACEOF
60446 cat confdefs.h >>conftest.$ac_ext
60447 cat >>conftest.$ac_ext <<_ACEOF
60448 /* end confdefs.h.  */
60449 #include <math.h>
60450                       #ifdef HAVE_IEEEFP_H
60451                       #include <ieeefp.h>
60452                       #endif
60453
60454 int
60455 main ()
60456 {
60457  finitel(0);
60458   ;
60459   return 0;
60460 }
60461 _ACEOF
60462 rm -f conftest.$ac_objext
60463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60464   (eval $ac_compile) 2>conftest.er1
60465   ac_status=$?
60466   grep -v '^ *+' conftest.er1 >conftest.err
60467   rm -f conftest.er1
60468   cat conftest.err >&5
60469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60470   (exit $ac_status); } &&
60471          { ac_try='test -z "$ac_cxx_werror_flag"
60472                          || test ! -s conftest.err'
60473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60474   (eval $ac_try) 2>&5
60475   ac_status=$?
60476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60477   (exit $ac_status); }; } &&
60478          { ac_try='test -s conftest.$ac_objext'
60479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60480   (eval $ac_try) 2>&5
60481   ac_status=$?
60482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60483   (exit $ac_status); }; }; then
60484   glibcxx_cv_func_finitel_use=yes
60485 else
60486   echo "$as_me: failed program was:" >&5
60487 sed 's/^/| /' conftest.$ac_ext >&5
60488
60489 glibcxx_cv_func_finitel_use=no
60490 fi
60491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60492       ac_ext=c
60493 ac_cpp='$CPP $CPPFLAGS'
60494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60497
60498
60499 fi
60500
60501   fi
60502   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
60503 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
60504
60505   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60506
60507 for ac_func in finitel
60508 do
60509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60510 echo "$as_me:$LINENO: checking for $ac_func" >&5
60511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60512 if eval "test \"\${$as_ac_var+set}\" = set"; then
60513   echo $ECHO_N "(cached) $ECHO_C" >&6
60514 else
60515   if test x$gcc_no_link = xyes; then
60516   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60518    { (exit 1); exit 1; }; }
60519 fi
60520 cat >conftest.$ac_ext <<_ACEOF
60521 /* confdefs.h.  */
60522 _ACEOF
60523 cat confdefs.h >>conftest.$ac_ext
60524 cat >>conftest.$ac_ext <<_ACEOF
60525 /* end confdefs.h.  */
60526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60527    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60528 #define $ac_func innocuous_$ac_func
60529
60530 /* System header to define __stub macros and hopefully few prototypes,
60531     which can conflict with char $ac_func (); below.
60532     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60533     <limits.h> exists even on freestanding compilers.  */
60534
60535 #ifdef __STDC__
60536 # include <limits.h>
60537 #else
60538 # include <assert.h>
60539 #endif
60540
60541 #undef $ac_func
60542
60543 /* Override any gcc2 internal prototype to avoid an error.  */
60544 #ifdef __cplusplus
60545 extern "C"
60546 {
60547 #endif
60548 /* We use char because int might match the return type of a gcc2
60549    builtin and then its argument prototype would still apply.  */
60550 char $ac_func ();
60551 /* The GNU C library defines this for functions which it implements
60552     to always fail with ENOSYS.  Some functions are actually named
60553     something starting with __ and the normal name is an alias.  */
60554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60555 choke me
60556 #else
60557 char (*f) () = $ac_func;
60558 #endif
60559 #ifdef __cplusplus
60560 }
60561 #endif
60562
60563 int
60564 main ()
60565 {
60566 return f != $ac_func;
60567   ;
60568   return 0;
60569 }
60570 _ACEOF
60571 rm -f conftest.$ac_objext conftest$ac_exeext
60572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60573   (eval $ac_link) 2>conftest.er1
60574   ac_status=$?
60575   grep -v '^ *+' conftest.er1 >conftest.err
60576   rm -f conftest.er1
60577   cat conftest.err >&5
60578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60579   (exit $ac_status); } &&
60580          { ac_try='test -z "$ac_c_werror_flag"
60581                          || test ! -s conftest.err'
60582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60583   (eval $ac_try) 2>&5
60584   ac_status=$?
60585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60586   (exit $ac_status); }; } &&
60587          { ac_try='test -s conftest$ac_exeext'
60588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60589   (eval $ac_try) 2>&5
60590   ac_status=$?
60591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60592   (exit $ac_status); }; }; then
60593   eval "$as_ac_var=yes"
60594 else
60595   echo "$as_me: failed program was:" >&5
60596 sed 's/^/| /' conftest.$ac_ext >&5
60597
60598 eval "$as_ac_var=no"
60599 fi
60600 rm -f conftest.err conftest.$ac_objext \
60601       conftest$ac_exeext conftest.$ac_ext
60602 fi
60603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60605 if test `eval echo '${'$as_ac_var'}'` = yes; then
60606   cat >>confdefs.h <<_ACEOF
60607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60608 _ACEOF
60609
60610 fi
60611 done
60612
60613   else
60614
60615   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
60616 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
60617   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60618     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
60619   echo $ECHO_N "(cached) $ECHO_C" >&6
60620 else
60621
60622
60623
60624       ac_ext=cc
60625 ac_cpp='$CXXCPP $CPPFLAGS'
60626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60629
60630       cat >conftest.$ac_ext <<_ACEOF
60631 /* confdefs.h.  */
60632 _ACEOF
60633 cat confdefs.h >>conftest.$ac_ext
60634 cat >>conftest.$ac_ext <<_ACEOF
60635 /* end confdefs.h.  */
60636 #include <math.h>
60637                       #ifdef HAVE_IEEEFP_H
60638                       #include <ieeefp.h>
60639                       #endif
60640
60641 int
60642 main ()
60643 {
60644  _finitel(0);
60645   ;
60646   return 0;
60647 }
60648 _ACEOF
60649 rm -f conftest.$ac_objext
60650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60651   (eval $ac_compile) 2>conftest.er1
60652   ac_status=$?
60653   grep -v '^ *+' conftest.er1 >conftest.err
60654   rm -f conftest.er1
60655   cat conftest.err >&5
60656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60657   (exit $ac_status); } &&
60658          { ac_try='test -z "$ac_cxx_werror_flag"
60659                          || test ! -s conftest.err'
60660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60661   (eval $ac_try) 2>&5
60662   ac_status=$?
60663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60664   (exit $ac_status); }; } &&
60665          { ac_try='test -s conftest.$ac_objext'
60666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60667   (eval $ac_try) 2>&5
60668   ac_status=$?
60669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60670   (exit $ac_status); }; }; then
60671   glibcxx_cv_func__finitel_use=yes
60672 else
60673   echo "$as_me: failed program was:" >&5
60674 sed 's/^/| /' conftest.$ac_ext >&5
60675
60676 glibcxx_cv_func__finitel_use=no
60677 fi
60678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60679       ac_ext=c
60680 ac_cpp='$CPP $CPPFLAGS'
60681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60684
60685
60686 fi
60687
60688   fi
60689   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
60690 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
60691
60692     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60693
60694 for ac_func in _finitel
60695 do
60696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60697 echo "$as_me:$LINENO: checking for $ac_func" >&5
60698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60699 if eval "test \"\${$as_ac_var+set}\" = set"; then
60700   echo $ECHO_N "(cached) $ECHO_C" >&6
60701 else
60702   if test x$gcc_no_link = xyes; then
60703   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60705    { (exit 1); exit 1; }; }
60706 fi
60707 cat >conftest.$ac_ext <<_ACEOF
60708 /* confdefs.h.  */
60709 _ACEOF
60710 cat confdefs.h >>conftest.$ac_ext
60711 cat >>conftest.$ac_ext <<_ACEOF
60712 /* end confdefs.h.  */
60713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60714    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60715 #define $ac_func innocuous_$ac_func
60716
60717 /* System header to define __stub macros and hopefully few prototypes,
60718     which can conflict with char $ac_func (); below.
60719     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60720     <limits.h> exists even on freestanding compilers.  */
60721
60722 #ifdef __STDC__
60723 # include <limits.h>
60724 #else
60725 # include <assert.h>
60726 #endif
60727
60728 #undef $ac_func
60729
60730 /* Override any gcc2 internal prototype to avoid an error.  */
60731 #ifdef __cplusplus
60732 extern "C"
60733 {
60734 #endif
60735 /* We use char because int might match the return type of a gcc2
60736    builtin and then its argument prototype would still apply.  */
60737 char $ac_func ();
60738 /* The GNU C library defines this for functions which it implements
60739     to always fail with ENOSYS.  Some functions are actually named
60740     something starting with __ and the normal name is an alias.  */
60741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60742 choke me
60743 #else
60744 char (*f) () = $ac_func;
60745 #endif
60746 #ifdef __cplusplus
60747 }
60748 #endif
60749
60750 int
60751 main ()
60752 {
60753 return f != $ac_func;
60754   ;
60755   return 0;
60756 }
60757 _ACEOF
60758 rm -f conftest.$ac_objext conftest$ac_exeext
60759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60760   (eval $ac_link) 2>conftest.er1
60761   ac_status=$?
60762   grep -v '^ *+' conftest.er1 >conftest.err
60763   rm -f conftest.er1
60764   cat conftest.err >&5
60765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60766   (exit $ac_status); } &&
60767          { ac_try='test -z "$ac_c_werror_flag"
60768                          || test ! -s conftest.err'
60769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60770   (eval $ac_try) 2>&5
60771   ac_status=$?
60772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60773   (exit $ac_status); }; } &&
60774          { ac_try='test -s conftest$ac_exeext'
60775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60776   (eval $ac_try) 2>&5
60777   ac_status=$?
60778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60779   (exit $ac_status); }; }; then
60780   eval "$as_ac_var=yes"
60781 else
60782   echo "$as_me: failed program was:" >&5
60783 sed 's/^/| /' conftest.$ac_ext >&5
60784
60785 eval "$as_ac_var=no"
60786 fi
60787 rm -f conftest.err conftest.$ac_objext \
60788       conftest$ac_exeext conftest.$ac_ext
60789 fi
60790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60792 if test `eval echo '${'$as_ac_var'}'` = yes; then
60793   cat >>confdefs.h <<_ACEOF
60794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60795 _ACEOF
60796
60797 fi
60798 done
60799
60800     fi
60801   fi
60802
60803
60804
60805
60806
60807   LIBS="$ac_save_LIBS"
60808   CXXFLAGS="$ac_save_CXXFLAGS"
60809
60810
60811
60812   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
60813 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
60814   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
60815     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
60816   echo $ECHO_N "(cached) $ECHO_C" >&6
60817 else
60818
60819
60820
60821       ac_ext=cc
60822 ac_cpp='$CXXCPP $CPPFLAGS'
60823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60826
60827       cat >conftest.$ac_ext <<_ACEOF
60828 /* confdefs.h.  */
60829 _ACEOF
60830 cat confdefs.h >>conftest.$ac_ext
60831 cat >>conftest.$ac_ext <<_ACEOF
60832 /* end confdefs.h.  */
60833 #include <math.h>
60834 int
60835 main ()
60836 {
60837  __builtin_abs(0);
60838   ;
60839   return 0;
60840 }
60841 _ACEOF
60842 rm -f conftest.$ac_objext
60843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60844   (eval $ac_compile) 2>conftest.er1
60845   ac_status=$?
60846   grep -v '^ *+' conftest.er1 >conftest.err
60847   rm -f conftest.er1
60848   cat conftest.err >&5
60849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60850   (exit $ac_status); } &&
60851          { ac_try='test -z "$ac_cxx_werror_flag"
60852                          || test ! -s conftest.err'
60853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60854   (eval $ac_try) 2>&5
60855   ac_status=$?
60856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60857   (exit $ac_status); }; } &&
60858          { ac_try='test -s conftest.$ac_objext'
60859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60860   (eval $ac_try) 2>&5
60861   ac_status=$?
60862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60863   (exit $ac_status); }; }; then
60864   glibcxx_cv_func___builtin_abs_use=yes
60865 else
60866   echo "$as_me: failed program was:" >&5
60867 sed 's/^/| /' conftest.$ac_ext >&5
60868
60869 glibcxx_cv_func___builtin_abs_use=no
60870 fi
60871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60872       ac_ext=c
60873 ac_cpp='$CPP $CPPFLAGS'
60874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60877
60878
60879 fi
60880
60881   fi
60882   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
60883 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
60884   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
60885     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
60886 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
60887     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
60888       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
60889   echo $ECHO_N "(cached) $ECHO_C" >&6
60890 else
60891
60892         if test x$gcc_no_link = xyes; then
60893   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60895    { (exit 1); exit 1; }; }
60896 fi
60897 cat >conftest.$ac_ext <<_ACEOF
60898 /* confdefs.h.  */
60899 _ACEOF
60900 cat confdefs.h >>conftest.$ac_ext
60901 cat >>conftest.$ac_ext <<_ACEOF
60902 /* end confdefs.h.  */
60903 #include <math.h>
60904 int
60905 main ()
60906 {
60907  __builtin_abs(0);
60908   ;
60909   return 0;
60910 }
60911 _ACEOF
60912 rm -f conftest.$ac_objext conftest$ac_exeext
60913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60914   (eval $ac_link) 2>conftest.er1
60915   ac_status=$?
60916   grep -v '^ *+' conftest.er1 >conftest.err
60917   rm -f conftest.er1
60918   cat conftest.err >&5
60919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60920   (exit $ac_status); } &&
60921          { ac_try='test -z "$ac_c_werror_flag"
60922                          || test ! -s conftest.err'
60923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60924   (eval $ac_try) 2>&5
60925   ac_status=$?
60926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60927   (exit $ac_status); }; } &&
60928          { ac_try='test -s conftest$ac_exeext'
60929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60930   (eval $ac_try) 2>&5
60931   ac_status=$?
60932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60933   (exit $ac_status); }; }; then
60934   glibcxx_cv_func___builtin_abs_link=yes
60935 else
60936   echo "$as_me: failed program was:" >&5
60937 sed 's/^/| /' conftest.$ac_ext >&5
60938
60939 glibcxx_cv_func___builtin_abs_link=no
60940 fi
60941 rm -f conftest.err conftest.$ac_objext \
60942       conftest$ac_exeext conftest.$ac_ext
60943
60944 fi
60945
60946     fi
60947     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
60948 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
60949
60950     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
60951
60952 cat >>confdefs.h <<\_ACEOF
60953 #define HAVE___BUILTIN_ABS 1
60954 _ACEOF
60955
60956     fi
60957
60958   fi
60959
60960
60961   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
60962 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
60963   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
60964     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
60965   echo $ECHO_N "(cached) $ECHO_C" >&6
60966 else
60967
60968
60969
60970       ac_ext=cc
60971 ac_cpp='$CXXCPP $CPPFLAGS'
60972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60975
60976       cat >conftest.$ac_ext <<_ACEOF
60977 /* confdefs.h.  */
60978 _ACEOF
60979 cat confdefs.h >>conftest.$ac_ext
60980 cat >>conftest.$ac_ext <<_ACEOF
60981 /* end confdefs.h.  */
60982 #include <math.h>
60983 int
60984 main ()
60985 {
60986  __builtin_fabsf(0);
60987   ;
60988   return 0;
60989 }
60990 _ACEOF
60991 rm -f conftest.$ac_objext
60992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60993   (eval $ac_compile) 2>conftest.er1
60994   ac_status=$?
60995   grep -v '^ *+' conftest.er1 >conftest.err
60996   rm -f conftest.er1
60997   cat conftest.err >&5
60998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60999   (exit $ac_status); } &&
61000          { ac_try='test -z "$ac_cxx_werror_flag"
61001                          || test ! -s conftest.err'
61002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61003   (eval $ac_try) 2>&5
61004   ac_status=$?
61005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61006   (exit $ac_status); }; } &&
61007          { ac_try='test -s conftest.$ac_objext'
61008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61009   (eval $ac_try) 2>&5
61010   ac_status=$?
61011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61012   (exit $ac_status); }; }; then
61013   glibcxx_cv_func___builtin_fabsf_use=yes
61014 else
61015   echo "$as_me: failed program was:" >&5
61016 sed 's/^/| /' conftest.$ac_ext >&5
61017
61018 glibcxx_cv_func___builtin_fabsf_use=no
61019 fi
61020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61021       ac_ext=c
61022 ac_cpp='$CPP $CPPFLAGS'
61023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61026
61027
61028 fi
61029
61030   fi
61031   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
61032 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
61033   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
61034     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
61035 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
61036     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
61037       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
61038   echo $ECHO_N "(cached) $ECHO_C" >&6
61039 else
61040
61041         if test x$gcc_no_link = xyes; then
61042   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61044    { (exit 1); exit 1; }; }
61045 fi
61046 cat >conftest.$ac_ext <<_ACEOF
61047 /* confdefs.h.  */
61048 _ACEOF
61049 cat confdefs.h >>conftest.$ac_ext
61050 cat >>conftest.$ac_ext <<_ACEOF
61051 /* end confdefs.h.  */
61052 #include <math.h>
61053 int
61054 main ()
61055 {
61056  __builtin_fabsf(0);
61057   ;
61058   return 0;
61059 }
61060 _ACEOF
61061 rm -f conftest.$ac_objext conftest$ac_exeext
61062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61063   (eval $ac_link) 2>conftest.er1
61064   ac_status=$?
61065   grep -v '^ *+' conftest.er1 >conftest.err
61066   rm -f conftest.er1
61067   cat conftest.err >&5
61068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61069   (exit $ac_status); } &&
61070          { ac_try='test -z "$ac_c_werror_flag"
61071                          || test ! -s conftest.err'
61072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61073   (eval $ac_try) 2>&5
61074   ac_status=$?
61075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61076   (exit $ac_status); }; } &&
61077          { ac_try='test -s conftest$ac_exeext'
61078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61079   (eval $ac_try) 2>&5
61080   ac_status=$?
61081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61082   (exit $ac_status); }; }; then
61083   glibcxx_cv_func___builtin_fabsf_link=yes
61084 else
61085   echo "$as_me: failed program was:" >&5
61086 sed 's/^/| /' conftest.$ac_ext >&5
61087
61088 glibcxx_cv_func___builtin_fabsf_link=no
61089 fi
61090 rm -f conftest.err conftest.$ac_objext \
61091       conftest$ac_exeext conftest.$ac_ext
61092
61093 fi
61094
61095     fi
61096     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
61097 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
61098
61099     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
61100
61101 cat >>confdefs.h <<\_ACEOF
61102 #define HAVE___BUILTIN_FABSF 1
61103 _ACEOF
61104
61105     fi
61106
61107   fi
61108
61109
61110   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
61111 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
61112   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
61113     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
61114   echo $ECHO_N "(cached) $ECHO_C" >&6
61115 else
61116
61117
61118
61119       ac_ext=cc
61120 ac_cpp='$CXXCPP $CPPFLAGS'
61121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61124
61125       cat >conftest.$ac_ext <<_ACEOF
61126 /* confdefs.h.  */
61127 _ACEOF
61128 cat confdefs.h >>conftest.$ac_ext
61129 cat >>conftest.$ac_ext <<_ACEOF
61130 /* end confdefs.h.  */
61131 #include <math.h>
61132 int
61133 main ()
61134 {
61135  __builtin_fabs(0);
61136   ;
61137   return 0;
61138 }
61139 _ACEOF
61140 rm -f conftest.$ac_objext
61141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61142   (eval $ac_compile) 2>conftest.er1
61143   ac_status=$?
61144   grep -v '^ *+' conftest.er1 >conftest.err
61145   rm -f conftest.er1
61146   cat conftest.err >&5
61147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61148   (exit $ac_status); } &&
61149          { ac_try='test -z "$ac_cxx_werror_flag"
61150                          || test ! -s conftest.err'
61151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61152   (eval $ac_try) 2>&5
61153   ac_status=$?
61154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61155   (exit $ac_status); }; } &&
61156          { ac_try='test -s conftest.$ac_objext'
61157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61158   (eval $ac_try) 2>&5
61159   ac_status=$?
61160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61161   (exit $ac_status); }; }; then
61162   glibcxx_cv_func___builtin_fabs_use=yes
61163 else
61164   echo "$as_me: failed program was:" >&5
61165 sed 's/^/| /' conftest.$ac_ext >&5
61166
61167 glibcxx_cv_func___builtin_fabs_use=no
61168 fi
61169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61170       ac_ext=c
61171 ac_cpp='$CPP $CPPFLAGS'
61172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61175
61176
61177 fi
61178
61179   fi
61180   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
61181 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
61182   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
61183     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
61184 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
61185     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
61186       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
61187   echo $ECHO_N "(cached) $ECHO_C" >&6
61188 else
61189
61190         if test x$gcc_no_link = xyes; then
61191   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61193    { (exit 1); exit 1; }; }
61194 fi
61195 cat >conftest.$ac_ext <<_ACEOF
61196 /* confdefs.h.  */
61197 _ACEOF
61198 cat confdefs.h >>conftest.$ac_ext
61199 cat >>conftest.$ac_ext <<_ACEOF
61200 /* end confdefs.h.  */
61201 #include <math.h>
61202 int
61203 main ()
61204 {
61205  __builtin_fabs(0);
61206   ;
61207   return 0;
61208 }
61209 _ACEOF
61210 rm -f conftest.$ac_objext conftest$ac_exeext
61211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61212   (eval $ac_link) 2>conftest.er1
61213   ac_status=$?
61214   grep -v '^ *+' conftest.er1 >conftest.err
61215   rm -f conftest.er1
61216   cat conftest.err >&5
61217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61218   (exit $ac_status); } &&
61219          { ac_try='test -z "$ac_c_werror_flag"
61220                          || test ! -s conftest.err'
61221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61222   (eval $ac_try) 2>&5
61223   ac_status=$?
61224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61225   (exit $ac_status); }; } &&
61226          { ac_try='test -s conftest$ac_exeext'
61227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61228   (eval $ac_try) 2>&5
61229   ac_status=$?
61230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61231   (exit $ac_status); }; }; then
61232   glibcxx_cv_func___builtin_fabs_link=yes
61233 else
61234   echo "$as_me: failed program was:" >&5
61235 sed 's/^/| /' conftest.$ac_ext >&5
61236
61237 glibcxx_cv_func___builtin_fabs_link=no
61238 fi
61239 rm -f conftest.err conftest.$ac_objext \
61240       conftest$ac_exeext conftest.$ac_ext
61241
61242 fi
61243
61244     fi
61245     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
61246 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
61247
61248     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
61249
61250 cat >>confdefs.h <<\_ACEOF
61251 #define HAVE___BUILTIN_FABS 1
61252 _ACEOF
61253
61254     fi
61255
61256   fi
61257
61258
61259   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
61260 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
61261   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
61262     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
61263   echo $ECHO_N "(cached) $ECHO_C" >&6
61264 else
61265
61266
61267
61268       ac_ext=cc
61269 ac_cpp='$CXXCPP $CPPFLAGS'
61270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61273
61274       cat >conftest.$ac_ext <<_ACEOF
61275 /* confdefs.h.  */
61276 _ACEOF
61277 cat confdefs.h >>conftest.$ac_ext
61278 cat >>conftest.$ac_ext <<_ACEOF
61279 /* end confdefs.h.  */
61280 #include <math.h>
61281 int
61282 main ()
61283 {
61284  __builtin_fabsl(0);
61285   ;
61286   return 0;
61287 }
61288 _ACEOF
61289 rm -f conftest.$ac_objext
61290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61291   (eval $ac_compile) 2>conftest.er1
61292   ac_status=$?
61293   grep -v '^ *+' conftest.er1 >conftest.err
61294   rm -f conftest.er1
61295   cat conftest.err >&5
61296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61297   (exit $ac_status); } &&
61298          { ac_try='test -z "$ac_cxx_werror_flag"
61299                          || test ! -s conftest.err'
61300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61301   (eval $ac_try) 2>&5
61302   ac_status=$?
61303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61304   (exit $ac_status); }; } &&
61305          { ac_try='test -s conftest.$ac_objext'
61306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61307   (eval $ac_try) 2>&5
61308   ac_status=$?
61309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61310   (exit $ac_status); }; }; then
61311   glibcxx_cv_func___builtin_fabsl_use=yes
61312 else
61313   echo "$as_me: failed program was:" >&5
61314 sed 's/^/| /' conftest.$ac_ext >&5
61315
61316 glibcxx_cv_func___builtin_fabsl_use=no
61317 fi
61318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61319       ac_ext=c
61320 ac_cpp='$CPP $CPPFLAGS'
61321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61324
61325
61326 fi
61327
61328   fi
61329   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
61330 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
61331   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
61332     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
61333 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
61334     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
61335       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
61336   echo $ECHO_N "(cached) $ECHO_C" >&6
61337 else
61338
61339         if test x$gcc_no_link = xyes; then
61340   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61342    { (exit 1); exit 1; }; }
61343 fi
61344 cat >conftest.$ac_ext <<_ACEOF
61345 /* confdefs.h.  */
61346 _ACEOF
61347 cat confdefs.h >>conftest.$ac_ext
61348 cat >>conftest.$ac_ext <<_ACEOF
61349 /* end confdefs.h.  */
61350 #include <math.h>
61351 int
61352 main ()
61353 {
61354  __builtin_fabsl(0);
61355   ;
61356   return 0;
61357 }
61358 _ACEOF
61359 rm -f conftest.$ac_objext conftest$ac_exeext
61360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61361   (eval $ac_link) 2>conftest.er1
61362   ac_status=$?
61363   grep -v '^ *+' conftest.er1 >conftest.err
61364   rm -f conftest.er1
61365   cat conftest.err >&5
61366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61367   (exit $ac_status); } &&
61368          { ac_try='test -z "$ac_c_werror_flag"
61369                          || test ! -s conftest.err'
61370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61371   (eval $ac_try) 2>&5
61372   ac_status=$?
61373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61374   (exit $ac_status); }; } &&
61375          { ac_try='test -s conftest$ac_exeext'
61376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61377   (eval $ac_try) 2>&5
61378   ac_status=$?
61379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61380   (exit $ac_status); }; }; then
61381   glibcxx_cv_func___builtin_fabsl_link=yes
61382 else
61383   echo "$as_me: failed program was:" >&5
61384 sed 's/^/| /' conftest.$ac_ext >&5
61385
61386 glibcxx_cv_func___builtin_fabsl_link=no
61387 fi
61388 rm -f conftest.err conftest.$ac_objext \
61389       conftest$ac_exeext conftest.$ac_ext
61390
61391 fi
61392
61393     fi
61394     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
61395 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
61396
61397     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
61398
61399 cat >>confdefs.h <<\_ACEOF
61400 #define HAVE___BUILTIN_FABSL 1
61401 _ACEOF
61402
61403     fi
61404
61405   fi
61406
61407
61408   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
61409 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
61410   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
61411     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
61412   echo $ECHO_N "(cached) $ECHO_C" >&6
61413 else
61414
61415
61416
61417       ac_ext=cc
61418 ac_cpp='$CXXCPP $CPPFLAGS'
61419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61422
61423       cat >conftest.$ac_ext <<_ACEOF
61424 /* confdefs.h.  */
61425 _ACEOF
61426 cat confdefs.h >>conftest.$ac_ext
61427 cat >>conftest.$ac_ext <<_ACEOF
61428 /* end confdefs.h.  */
61429 #include <math.h>
61430 int
61431 main ()
61432 {
61433  __builtin_labs(0);
61434   ;
61435   return 0;
61436 }
61437 _ACEOF
61438 rm -f conftest.$ac_objext
61439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61440   (eval $ac_compile) 2>conftest.er1
61441   ac_status=$?
61442   grep -v '^ *+' conftest.er1 >conftest.err
61443   rm -f conftest.er1
61444   cat conftest.err >&5
61445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61446   (exit $ac_status); } &&
61447          { ac_try='test -z "$ac_cxx_werror_flag"
61448                          || test ! -s conftest.err'
61449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61450   (eval $ac_try) 2>&5
61451   ac_status=$?
61452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61453   (exit $ac_status); }; } &&
61454          { ac_try='test -s conftest.$ac_objext'
61455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61456   (eval $ac_try) 2>&5
61457   ac_status=$?
61458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61459   (exit $ac_status); }; }; then
61460   glibcxx_cv_func___builtin_labs_use=yes
61461 else
61462   echo "$as_me: failed program was:" >&5
61463 sed 's/^/| /' conftest.$ac_ext >&5
61464
61465 glibcxx_cv_func___builtin_labs_use=no
61466 fi
61467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61468       ac_ext=c
61469 ac_cpp='$CPP $CPPFLAGS'
61470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61473
61474
61475 fi
61476
61477   fi
61478   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
61479 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
61480   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
61481     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
61482 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
61483     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
61484       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
61485   echo $ECHO_N "(cached) $ECHO_C" >&6
61486 else
61487
61488         if test x$gcc_no_link = xyes; then
61489   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61491    { (exit 1); exit 1; }; }
61492 fi
61493 cat >conftest.$ac_ext <<_ACEOF
61494 /* confdefs.h.  */
61495 _ACEOF
61496 cat confdefs.h >>conftest.$ac_ext
61497 cat >>conftest.$ac_ext <<_ACEOF
61498 /* end confdefs.h.  */
61499 #include <math.h>
61500 int
61501 main ()
61502 {
61503  __builtin_labs(0);
61504   ;
61505   return 0;
61506 }
61507 _ACEOF
61508 rm -f conftest.$ac_objext conftest$ac_exeext
61509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61510   (eval $ac_link) 2>conftest.er1
61511   ac_status=$?
61512   grep -v '^ *+' conftest.er1 >conftest.err
61513   rm -f conftest.er1
61514   cat conftest.err >&5
61515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61516   (exit $ac_status); } &&
61517          { ac_try='test -z "$ac_c_werror_flag"
61518                          || test ! -s conftest.err'
61519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61520   (eval $ac_try) 2>&5
61521   ac_status=$?
61522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61523   (exit $ac_status); }; } &&
61524          { ac_try='test -s conftest$ac_exeext'
61525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61526   (eval $ac_try) 2>&5
61527   ac_status=$?
61528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61529   (exit $ac_status); }; }; then
61530   glibcxx_cv_func___builtin_labs_link=yes
61531 else
61532   echo "$as_me: failed program was:" >&5
61533 sed 's/^/| /' conftest.$ac_ext >&5
61534
61535 glibcxx_cv_func___builtin_labs_link=no
61536 fi
61537 rm -f conftest.err conftest.$ac_objext \
61538       conftest$ac_exeext conftest.$ac_ext
61539
61540 fi
61541
61542     fi
61543     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
61544 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
61545
61546     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
61547
61548 cat >>confdefs.h <<\_ACEOF
61549 #define HAVE___BUILTIN_LABS 1
61550 _ACEOF
61551
61552     fi
61553
61554   fi
61555
61556
61557
61558   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
61559 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
61560   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
61561     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
61562   echo $ECHO_N "(cached) $ECHO_C" >&6
61563 else
61564
61565
61566
61567       ac_ext=cc
61568 ac_cpp='$CXXCPP $CPPFLAGS'
61569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61572
61573       cat >conftest.$ac_ext <<_ACEOF
61574 /* confdefs.h.  */
61575 _ACEOF
61576 cat confdefs.h >>conftest.$ac_ext
61577 cat >>conftest.$ac_ext <<_ACEOF
61578 /* end confdefs.h.  */
61579 #include <math.h>
61580 int
61581 main ()
61582 {
61583  __builtin_sqrtf(0);
61584   ;
61585   return 0;
61586 }
61587 _ACEOF
61588 rm -f conftest.$ac_objext
61589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61590   (eval $ac_compile) 2>conftest.er1
61591   ac_status=$?
61592   grep -v '^ *+' conftest.er1 >conftest.err
61593   rm -f conftest.er1
61594   cat conftest.err >&5
61595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61596   (exit $ac_status); } &&
61597          { ac_try='test -z "$ac_cxx_werror_flag"
61598                          || test ! -s conftest.err'
61599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61600   (eval $ac_try) 2>&5
61601   ac_status=$?
61602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61603   (exit $ac_status); }; } &&
61604          { ac_try='test -s conftest.$ac_objext'
61605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61606   (eval $ac_try) 2>&5
61607   ac_status=$?
61608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61609   (exit $ac_status); }; }; then
61610   glibcxx_cv_func___builtin_sqrtf_use=yes
61611 else
61612   echo "$as_me: failed program was:" >&5
61613 sed 's/^/| /' conftest.$ac_ext >&5
61614
61615 glibcxx_cv_func___builtin_sqrtf_use=no
61616 fi
61617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61618       ac_ext=c
61619 ac_cpp='$CPP $CPPFLAGS'
61620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61623
61624
61625 fi
61626
61627   fi
61628   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
61629 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
61630   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
61631     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
61632 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
61633     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
61634       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
61635   echo $ECHO_N "(cached) $ECHO_C" >&6
61636 else
61637
61638         if test x$gcc_no_link = xyes; then
61639   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61641    { (exit 1); exit 1; }; }
61642 fi
61643 cat >conftest.$ac_ext <<_ACEOF
61644 /* confdefs.h.  */
61645 _ACEOF
61646 cat confdefs.h >>conftest.$ac_ext
61647 cat >>conftest.$ac_ext <<_ACEOF
61648 /* end confdefs.h.  */
61649 #include <math.h>
61650 int
61651 main ()
61652 {
61653  __builtin_sqrtf(0);
61654   ;
61655   return 0;
61656 }
61657 _ACEOF
61658 rm -f conftest.$ac_objext conftest$ac_exeext
61659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61660   (eval $ac_link) 2>conftest.er1
61661   ac_status=$?
61662   grep -v '^ *+' conftest.er1 >conftest.err
61663   rm -f conftest.er1
61664   cat conftest.err >&5
61665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61666   (exit $ac_status); } &&
61667          { ac_try='test -z "$ac_c_werror_flag"
61668                          || test ! -s conftest.err'
61669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61670   (eval $ac_try) 2>&5
61671   ac_status=$?
61672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61673   (exit $ac_status); }; } &&
61674          { ac_try='test -s conftest$ac_exeext'
61675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61676   (eval $ac_try) 2>&5
61677   ac_status=$?
61678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61679   (exit $ac_status); }; }; then
61680   glibcxx_cv_func___builtin_sqrtf_link=yes
61681 else
61682   echo "$as_me: failed program was:" >&5
61683 sed 's/^/| /' conftest.$ac_ext >&5
61684
61685 glibcxx_cv_func___builtin_sqrtf_link=no
61686 fi
61687 rm -f conftest.err conftest.$ac_objext \
61688       conftest$ac_exeext conftest.$ac_ext
61689
61690 fi
61691
61692     fi
61693     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
61694 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
61695
61696     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
61697
61698 cat >>confdefs.h <<\_ACEOF
61699 #define HAVE___BUILTIN_SQRTF 1
61700 _ACEOF
61701
61702     fi
61703
61704   fi
61705
61706
61707   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
61708 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
61709   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
61710     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
61711   echo $ECHO_N "(cached) $ECHO_C" >&6
61712 else
61713
61714
61715
61716       ac_ext=cc
61717 ac_cpp='$CXXCPP $CPPFLAGS'
61718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61721
61722       cat >conftest.$ac_ext <<_ACEOF
61723 /* confdefs.h.  */
61724 _ACEOF
61725 cat confdefs.h >>conftest.$ac_ext
61726 cat >>conftest.$ac_ext <<_ACEOF
61727 /* end confdefs.h.  */
61728 #include <math.h>
61729 int
61730 main ()
61731 {
61732  __builtin_sqrt(0);
61733   ;
61734   return 0;
61735 }
61736 _ACEOF
61737 rm -f conftest.$ac_objext
61738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61739   (eval $ac_compile) 2>conftest.er1
61740   ac_status=$?
61741   grep -v '^ *+' conftest.er1 >conftest.err
61742   rm -f conftest.er1
61743   cat conftest.err >&5
61744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61745   (exit $ac_status); } &&
61746          { ac_try='test -z "$ac_cxx_werror_flag"
61747                          || test ! -s conftest.err'
61748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61749   (eval $ac_try) 2>&5
61750   ac_status=$?
61751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61752   (exit $ac_status); }; } &&
61753          { ac_try='test -s conftest.$ac_objext'
61754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61755   (eval $ac_try) 2>&5
61756   ac_status=$?
61757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61758   (exit $ac_status); }; }; then
61759   glibcxx_cv_func___builtin_sqrt_use=yes
61760 else
61761   echo "$as_me: failed program was:" >&5
61762 sed 's/^/| /' conftest.$ac_ext >&5
61763
61764 glibcxx_cv_func___builtin_sqrt_use=no
61765 fi
61766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61767       ac_ext=c
61768 ac_cpp='$CPP $CPPFLAGS'
61769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61772
61773
61774 fi
61775
61776   fi
61777   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
61778 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
61779   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
61780     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
61781 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
61782     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
61783       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
61784   echo $ECHO_N "(cached) $ECHO_C" >&6
61785 else
61786
61787         if test x$gcc_no_link = xyes; then
61788   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61790    { (exit 1); exit 1; }; }
61791 fi
61792 cat >conftest.$ac_ext <<_ACEOF
61793 /* confdefs.h.  */
61794 _ACEOF
61795 cat confdefs.h >>conftest.$ac_ext
61796 cat >>conftest.$ac_ext <<_ACEOF
61797 /* end confdefs.h.  */
61798 #include <math.h>
61799 int
61800 main ()
61801 {
61802  __builtin_sqrt(0);
61803   ;
61804   return 0;
61805 }
61806 _ACEOF
61807 rm -f conftest.$ac_objext conftest$ac_exeext
61808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61809   (eval $ac_link) 2>conftest.er1
61810   ac_status=$?
61811   grep -v '^ *+' conftest.er1 >conftest.err
61812   rm -f conftest.er1
61813   cat conftest.err >&5
61814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61815   (exit $ac_status); } &&
61816          { ac_try='test -z "$ac_c_werror_flag"
61817                          || test ! -s conftest.err'
61818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61819   (eval $ac_try) 2>&5
61820   ac_status=$?
61821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61822   (exit $ac_status); }; } &&
61823          { ac_try='test -s conftest$ac_exeext'
61824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61825   (eval $ac_try) 2>&5
61826   ac_status=$?
61827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61828   (exit $ac_status); }; }; then
61829   glibcxx_cv_func___builtin_sqrt_link=yes
61830 else
61831   echo "$as_me: failed program was:" >&5
61832 sed 's/^/| /' conftest.$ac_ext >&5
61833
61834 glibcxx_cv_func___builtin_sqrt_link=no
61835 fi
61836 rm -f conftest.err conftest.$ac_objext \
61837       conftest$ac_exeext conftest.$ac_ext
61838
61839 fi
61840
61841     fi
61842     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
61843 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
61844
61845     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
61846
61847 cat >>confdefs.h <<\_ACEOF
61848 #define HAVE___BUILTIN_SQRT 1
61849 _ACEOF
61850
61851     fi
61852
61853   fi
61854
61855
61856   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
61857 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
61858   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
61859     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
61860   echo $ECHO_N "(cached) $ECHO_C" >&6
61861 else
61862
61863
61864
61865       ac_ext=cc
61866 ac_cpp='$CXXCPP $CPPFLAGS'
61867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61870
61871       cat >conftest.$ac_ext <<_ACEOF
61872 /* confdefs.h.  */
61873 _ACEOF
61874 cat confdefs.h >>conftest.$ac_ext
61875 cat >>conftest.$ac_ext <<_ACEOF
61876 /* end confdefs.h.  */
61877 #include <math.h>
61878 int
61879 main ()
61880 {
61881  __builtin_sqrtl(0);
61882   ;
61883   return 0;
61884 }
61885 _ACEOF
61886 rm -f conftest.$ac_objext
61887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61888   (eval $ac_compile) 2>conftest.er1
61889   ac_status=$?
61890   grep -v '^ *+' conftest.er1 >conftest.err
61891   rm -f conftest.er1
61892   cat conftest.err >&5
61893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61894   (exit $ac_status); } &&
61895          { ac_try='test -z "$ac_cxx_werror_flag"
61896                          || test ! -s conftest.err'
61897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61898   (eval $ac_try) 2>&5
61899   ac_status=$?
61900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61901   (exit $ac_status); }; } &&
61902          { ac_try='test -s conftest.$ac_objext'
61903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61904   (eval $ac_try) 2>&5
61905   ac_status=$?
61906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61907   (exit $ac_status); }; }; then
61908   glibcxx_cv_func___builtin_sqrtl_use=yes
61909 else
61910   echo "$as_me: failed program was:" >&5
61911 sed 's/^/| /' conftest.$ac_ext >&5
61912
61913 glibcxx_cv_func___builtin_sqrtl_use=no
61914 fi
61915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61916       ac_ext=c
61917 ac_cpp='$CPP $CPPFLAGS'
61918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61921
61922
61923 fi
61924
61925   fi
61926   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
61927 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
61928   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
61929     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
61930 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
61931     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
61932       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
61933   echo $ECHO_N "(cached) $ECHO_C" >&6
61934 else
61935
61936         if test x$gcc_no_link = xyes; then
61937   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61939    { (exit 1); exit 1; }; }
61940 fi
61941 cat >conftest.$ac_ext <<_ACEOF
61942 /* confdefs.h.  */
61943 _ACEOF
61944 cat confdefs.h >>conftest.$ac_ext
61945 cat >>conftest.$ac_ext <<_ACEOF
61946 /* end confdefs.h.  */
61947 #include <math.h>
61948 int
61949 main ()
61950 {
61951  __builtin_sqrtl(0);
61952   ;
61953   return 0;
61954 }
61955 _ACEOF
61956 rm -f conftest.$ac_objext conftest$ac_exeext
61957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61958   (eval $ac_link) 2>conftest.er1
61959   ac_status=$?
61960   grep -v '^ *+' conftest.er1 >conftest.err
61961   rm -f conftest.er1
61962   cat conftest.err >&5
61963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61964   (exit $ac_status); } &&
61965          { ac_try='test -z "$ac_c_werror_flag"
61966                          || test ! -s conftest.err'
61967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61968   (eval $ac_try) 2>&5
61969   ac_status=$?
61970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61971   (exit $ac_status); }; } &&
61972          { ac_try='test -s conftest$ac_exeext'
61973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61974   (eval $ac_try) 2>&5
61975   ac_status=$?
61976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61977   (exit $ac_status); }; }; then
61978   glibcxx_cv_func___builtin_sqrtl_link=yes
61979 else
61980   echo "$as_me: failed program was:" >&5
61981 sed 's/^/| /' conftest.$ac_ext >&5
61982
61983 glibcxx_cv_func___builtin_sqrtl_link=no
61984 fi
61985 rm -f conftest.err conftest.$ac_objext \
61986       conftest$ac_exeext conftest.$ac_ext
61987
61988 fi
61989
61990     fi
61991     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
61992 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
61993
61994     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
61995
61996 cat >>confdefs.h <<\_ACEOF
61997 #define HAVE___BUILTIN_SQRTL 1
61998 _ACEOF
61999
62000     fi
62001
62002   fi
62003
62004
62005
62006   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
62007 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
62008   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
62009     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
62010   echo $ECHO_N "(cached) $ECHO_C" >&6
62011 else
62012
62013
62014
62015       ac_ext=cc
62016 ac_cpp='$CXXCPP $CPPFLAGS'
62017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62020
62021       cat >conftest.$ac_ext <<_ACEOF
62022 /* confdefs.h.  */
62023 _ACEOF
62024 cat confdefs.h >>conftest.$ac_ext
62025 cat >>conftest.$ac_ext <<_ACEOF
62026 /* end confdefs.h.  */
62027 #include <math.h>
62028 int
62029 main ()
62030 {
62031  __builtin_sinf(0);
62032   ;
62033   return 0;
62034 }
62035 _ACEOF
62036 rm -f conftest.$ac_objext
62037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62038   (eval $ac_compile) 2>conftest.er1
62039   ac_status=$?
62040   grep -v '^ *+' conftest.er1 >conftest.err
62041   rm -f conftest.er1
62042   cat conftest.err >&5
62043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62044   (exit $ac_status); } &&
62045          { ac_try='test -z "$ac_cxx_werror_flag"
62046                          || test ! -s conftest.err'
62047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62048   (eval $ac_try) 2>&5
62049   ac_status=$?
62050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62051   (exit $ac_status); }; } &&
62052          { ac_try='test -s conftest.$ac_objext'
62053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62054   (eval $ac_try) 2>&5
62055   ac_status=$?
62056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62057   (exit $ac_status); }; }; then
62058   glibcxx_cv_func___builtin_sinf_use=yes
62059 else
62060   echo "$as_me: failed program was:" >&5
62061 sed 's/^/| /' conftest.$ac_ext >&5
62062
62063 glibcxx_cv_func___builtin_sinf_use=no
62064 fi
62065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62066       ac_ext=c
62067 ac_cpp='$CPP $CPPFLAGS'
62068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62071
62072
62073 fi
62074
62075   fi
62076   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
62077 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
62078   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
62079     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
62080 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
62081     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
62082       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
62083   echo $ECHO_N "(cached) $ECHO_C" >&6
62084 else
62085
62086         if test x$gcc_no_link = xyes; then
62087   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62089    { (exit 1); exit 1; }; }
62090 fi
62091 cat >conftest.$ac_ext <<_ACEOF
62092 /* confdefs.h.  */
62093 _ACEOF
62094 cat confdefs.h >>conftest.$ac_ext
62095 cat >>conftest.$ac_ext <<_ACEOF
62096 /* end confdefs.h.  */
62097 #include <math.h>
62098 int
62099 main ()
62100 {
62101  __builtin_sinf(0);
62102   ;
62103   return 0;
62104 }
62105 _ACEOF
62106 rm -f conftest.$ac_objext conftest$ac_exeext
62107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62108   (eval $ac_link) 2>conftest.er1
62109   ac_status=$?
62110   grep -v '^ *+' conftest.er1 >conftest.err
62111   rm -f conftest.er1
62112   cat conftest.err >&5
62113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62114   (exit $ac_status); } &&
62115          { ac_try='test -z "$ac_c_werror_flag"
62116                          || test ! -s conftest.err'
62117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62118   (eval $ac_try) 2>&5
62119   ac_status=$?
62120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62121   (exit $ac_status); }; } &&
62122          { ac_try='test -s conftest$ac_exeext'
62123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62124   (eval $ac_try) 2>&5
62125   ac_status=$?
62126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62127   (exit $ac_status); }; }; then
62128   glibcxx_cv_func___builtin_sinf_link=yes
62129 else
62130   echo "$as_me: failed program was:" >&5
62131 sed 's/^/| /' conftest.$ac_ext >&5
62132
62133 glibcxx_cv_func___builtin_sinf_link=no
62134 fi
62135 rm -f conftest.err conftest.$ac_objext \
62136       conftest$ac_exeext conftest.$ac_ext
62137
62138 fi
62139
62140     fi
62141     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
62142 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
62143
62144     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
62145
62146 cat >>confdefs.h <<\_ACEOF
62147 #define HAVE___BUILTIN_SINF 1
62148 _ACEOF
62149
62150     fi
62151
62152   fi
62153
62154
62155   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
62156 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
62157   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
62158     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
62159   echo $ECHO_N "(cached) $ECHO_C" >&6
62160 else
62161
62162
62163
62164       ac_ext=cc
62165 ac_cpp='$CXXCPP $CPPFLAGS'
62166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62169
62170       cat >conftest.$ac_ext <<_ACEOF
62171 /* confdefs.h.  */
62172 _ACEOF
62173 cat confdefs.h >>conftest.$ac_ext
62174 cat >>conftest.$ac_ext <<_ACEOF
62175 /* end confdefs.h.  */
62176 #include <math.h>
62177 int
62178 main ()
62179 {
62180  __builtin_sin(0);
62181   ;
62182   return 0;
62183 }
62184 _ACEOF
62185 rm -f conftest.$ac_objext
62186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62187   (eval $ac_compile) 2>conftest.er1
62188   ac_status=$?
62189   grep -v '^ *+' conftest.er1 >conftest.err
62190   rm -f conftest.er1
62191   cat conftest.err >&5
62192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62193   (exit $ac_status); } &&
62194          { ac_try='test -z "$ac_cxx_werror_flag"
62195                          || test ! -s conftest.err'
62196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62197   (eval $ac_try) 2>&5
62198   ac_status=$?
62199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62200   (exit $ac_status); }; } &&
62201          { ac_try='test -s conftest.$ac_objext'
62202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62203   (eval $ac_try) 2>&5
62204   ac_status=$?
62205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62206   (exit $ac_status); }; }; then
62207   glibcxx_cv_func___builtin_sin_use=yes
62208 else
62209   echo "$as_me: failed program was:" >&5
62210 sed 's/^/| /' conftest.$ac_ext >&5
62211
62212 glibcxx_cv_func___builtin_sin_use=no
62213 fi
62214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62215       ac_ext=c
62216 ac_cpp='$CPP $CPPFLAGS'
62217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62220
62221
62222 fi
62223
62224   fi
62225   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
62226 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
62227   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
62228     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
62229 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
62230     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
62231       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
62232   echo $ECHO_N "(cached) $ECHO_C" >&6
62233 else
62234
62235         if test x$gcc_no_link = xyes; then
62236   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62238    { (exit 1); exit 1; }; }
62239 fi
62240 cat >conftest.$ac_ext <<_ACEOF
62241 /* confdefs.h.  */
62242 _ACEOF
62243 cat confdefs.h >>conftest.$ac_ext
62244 cat >>conftest.$ac_ext <<_ACEOF
62245 /* end confdefs.h.  */
62246 #include <math.h>
62247 int
62248 main ()
62249 {
62250  __builtin_sin(0);
62251   ;
62252   return 0;
62253 }
62254 _ACEOF
62255 rm -f conftest.$ac_objext conftest$ac_exeext
62256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62257   (eval $ac_link) 2>conftest.er1
62258   ac_status=$?
62259   grep -v '^ *+' conftest.er1 >conftest.err
62260   rm -f conftest.er1
62261   cat conftest.err >&5
62262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62263   (exit $ac_status); } &&
62264          { ac_try='test -z "$ac_c_werror_flag"
62265                          || test ! -s conftest.err'
62266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62267   (eval $ac_try) 2>&5
62268   ac_status=$?
62269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62270   (exit $ac_status); }; } &&
62271          { ac_try='test -s conftest$ac_exeext'
62272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62273   (eval $ac_try) 2>&5
62274   ac_status=$?
62275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62276   (exit $ac_status); }; }; then
62277   glibcxx_cv_func___builtin_sin_link=yes
62278 else
62279   echo "$as_me: failed program was:" >&5
62280 sed 's/^/| /' conftest.$ac_ext >&5
62281
62282 glibcxx_cv_func___builtin_sin_link=no
62283 fi
62284 rm -f conftest.err conftest.$ac_objext \
62285       conftest$ac_exeext conftest.$ac_ext
62286
62287 fi
62288
62289     fi
62290     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
62291 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
62292
62293     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
62294
62295 cat >>confdefs.h <<\_ACEOF
62296 #define HAVE___BUILTIN_SIN 1
62297 _ACEOF
62298
62299     fi
62300
62301   fi
62302
62303
62304   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
62305 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
62306   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
62307     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
62308   echo $ECHO_N "(cached) $ECHO_C" >&6
62309 else
62310
62311
62312
62313       ac_ext=cc
62314 ac_cpp='$CXXCPP $CPPFLAGS'
62315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62318
62319       cat >conftest.$ac_ext <<_ACEOF
62320 /* confdefs.h.  */
62321 _ACEOF
62322 cat confdefs.h >>conftest.$ac_ext
62323 cat >>conftest.$ac_ext <<_ACEOF
62324 /* end confdefs.h.  */
62325 #include <math.h>
62326 int
62327 main ()
62328 {
62329  __builtin_sinl(0);
62330   ;
62331   return 0;
62332 }
62333 _ACEOF
62334 rm -f conftest.$ac_objext
62335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62336   (eval $ac_compile) 2>conftest.er1
62337   ac_status=$?
62338   grep -v '^ *+' conftest.er1 >conftest.err
62339   rm -f conftest.er1
62340   cat conftest.err >&5
62341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62342   (exit $ac_status); } &&
62343          { ac_try='test -z "$ac_cxx_werror_flag"
62344                          || test ! -s conftest.err'
62345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62346   (eval $ac_try) 2>&5
62347   ac_status=$?
62348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62349   (exit $ac_status); }; } &&
62350          { ac_try='test -s conftest.$ac_objext'
62351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62352   (eval $ac_try) 2>&5
62353   ac_status=$?
62354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62355   (exit $ac_status); }; }; then
62356   glibcxx_cv_func___builtin_sinl_use=yes
62357 else
62358   echo "$as_me: failed program was:" >&5
62359 sed 's/^/| /' conftest.$ac_ext >&5
62360
62361 glibcxx_cv_func___builtin_sinl_use=no
62362 fi
62363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62364       ac_ext=c
62365 ac_cpp='$CPP $CPPFLAGS'
62366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62369
62370
62371 fi
62372
62373   fi
62374   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
62375 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
62376   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
62377     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
62378 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
62379     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
62380       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
62381   echo $ECHO_N "(cached) $ECHO_C" >&6
62382 else
62383
62384         if test x$gcc_no_link = xyes; then
62385   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62387    { (exit 1); exit 1; }; }
62388 fi
62389 cat >conftest.$ac_ext <<_ACEOF
62390 /* confdefs.h.  */
62391 _ACEOF
62392 cat confdefs.h >>conftest.$ac_ext
62393 cat >>conftest.$ac_ext <<_ACEOF
62394 /* end confdefs.h.  */
62395 #include <math.h>
62396 int
62397 main ()
62398 {
62399  __builtin_sinl(0);
62400   ;
62401   return 0;
62402 }
62403 _ACEOF
62404 rm -f conftest.$ac_objext conftest$ac_exeext
62405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62406   (eval $ac_link) 2>conftest.er1
62407   ac_status=$?
62408   grep -v '^ *+' conftest.er1 >conftest.err
62409   rm -f conftest.er1
62410   cat conftest.err >&5
62411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62412   (exit $ac_status); } &&
62413          { ac_try='test -z "$ac_c_werror_flag"
62414                          || test ! -s conftest.err'
62415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62416   (eval $ac_try) 2>&5
62417   ac_status=$?
62418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62419   (exit $ac_status); }; } &&
62420          { ac_try='test -s conftest$ac_exeext'
62421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62422   (eval $ac_try) 2>&5
62423   ac_status=$?
62424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62425   (exit $ac_status); }; }; then
62426   glibcxx_cv_func___builtin_sinl_link=yes
62427 else
62428   echo "$as_me: failed program was:" >&5
62429 sed 's/^/| /' conftest.$ac_ext >&5
62430
62431 glibcxx_cv_func___builtin_sinl_link=no
62432 fi
62433 rm -f conftest.err conftest.$ac_objext \
62434       conftest$ac_exeext conftest.$ac_ext
62435
62436 fi
62437
62438     fi
62439     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
62440 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
62441
62442     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
62443
62444 cat >>confdefs.h <<\_ACEOF
62445 #define HAVE___BUILTIN_SINL 1
62446 _ACEOF
62447
62448     fi
62449
62450   fi
62451
62452
62453
62454   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
62455 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
62456   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
62457     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
62458   echo $ECHO_N "(cached) $ECHO_C" >&6
62459 else
62460
62461
62462
62463       ac_ext=cc
62464 ac_cpp='$CXXCPP $CPPFLAGS'
62465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62468
62469       cat >conftest.$ac_ext <<_ACEOF
62470 /* confdefs.h.  */
62471 _ACEOF
62472 cat confdefs.h >>conftest.$ac_ext
62473 cat >>conftest.$ac_ext <<_ACEOF
62474 /* end confdefs.h.  */
62475 #include <math.h>
62476 int
62477 main ()
62478 {
62479  __builtin_cosf(0);
62480   ;
62481   return 0;
62482 }
62483 _ACEOF
62484 rm -f conftest.$ac_objext
62485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62486   (eval $ac_compile) 2>conftest.er1
62487   ac_status=$?
62488   grep -v '^ *+' conftest.er1 >conftest.err
62489   rm -f conftest.er1
62490   cat conftest.err >&5
62491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62492   (exit $ac_status); } &&
62493          { ac_try='test -z "$ac_cxx_werror_flag"
62494                          || test ! -s conftest.err'
62495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62496   (eval $ac_try) 2>&5
62497   ac_status=$?
62498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62499   (exit $ac_status); }; } &&
62500          { ac_try='test -s conftest.$ac_objext'
62501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62502   (eval $ac_try) 2>&5
62503   ac_status=$?
62504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62505   (exit $ac_status); }; }; then
62506   glibcxx_cv_func___builtin_cosf_use=yes
62507 else
62508   echo "$as_me: failed program was:" >&5
62509 sed 's/^/| /' conftest.$ac_ext >&5
62510
62511 glibcxx_cv_func___builtin_cosf_use=no
62512 fi
62513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62514       ac_ext=c
62515 ac_cpp='$CPP $CPPFLAGS'
62516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62519
62520
62521 fi
62522
62523   fi
62524   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
62525 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
62526   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
62527     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
62528 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
62529     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
62530       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
62531   echo $ECHO_N "(cached) $ECHO_C" >&6
62532 else
62533
62534         if test x$gcc_no_link = xyes; then
62535   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62537    { (exit 1); exit 1; }; }
62538 fi
62539 cat >conftest.$ac_ext <<_ACEOF
62540 /* confdefs.h.  */
62541 _ACEOF
62542 cat confdefs.h >>conftest.$ac_ext
62543 cat >>conftest.$ac_ext <<_ACEOF
62544 /* end confdefs.h.  */
62545 #include <math.h>
62546 int
62547 main ()
62548 {
62549  __builtin_cosf(0);
62550   ;
62551   return 0;
62552 }
62553 _ACEOF
62554 rm -f conftest.$ac_objext conftest$ac_exeext
62555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62556   (eval $ac_link) 2>conftest.er1
62557   ac_status=$?
62558   grep -v '^ *+' conftest.er1 >conftest.err
62559   rm -f conftest.er1
62560   cat conftest.err >&5
62561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62562   (exit $ac_status); } &&
62563          { ac_try='test -z "$ac_c_werror_flag"
62564                          || test ! -s conftest.err'
62565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62566   (eval $ac_try) 2>&5
62567   ac_status=$?
62568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62569   (exit $ac_status); }; } &&
62570          { ac_try='test -s conftest$ac_exeext'
62571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62572   (eval $ac_try) 2>&5
62573   ac_status=$?
62574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62575   (exit $ac_status); }; }; then
62576   glibcxx_cv_func___builtin_cosf_link=yes
62577 else
62578   echo "$as_me: failed program was:" >&5
62579 sed 's/^/| /' conftest.$ac_ext >&5
62580
62581 glibcxx_cv_func___builtin_cosf_link=no
62582 fi
62583 rm -f conftest.err conftest.$ac_objext \
62584       conftest$ac_exeext conftest.$ac_ext
62585
62586 fi
62587
62588     fi
62589     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
62590 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
62591
62592     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
62593
62594 cat >>confdefs.h <<\_ACEOF
62595 #define HAVE___BUILTIN_COSF 1
62596 _ACEOF
62597
62598     fi
62599
62600   fi
62601
62602
62603   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
62604 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
62605   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
62606     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
62607   echo $ECHO_N "(cached) $ECHO_C" >&6
62608 else
62609
62610
62611
62612       ac_ext=cc
62613 ac_cpp='$CXXCPP $CPPFLAGS'
62614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62617
62618       cat >conftest.$ac_ext <<_ACEOF
62619 /* confdefs.h.  */
62620 _ACEOF
62621 cat confdefs.h >>conftest.$ac_ext
62622 cat >>conftest.$ac_ext <<_ACEOF
62623 /* end confdefs.h.  */
62624 #include <math.h>
62625 int
62626 main ()
62627 {
62628  __builtin_cos(0);
62629   ;
62630   return 0;
62631 }
62632 _ACEOF
62633 rm -f conftest.$ac_objext
62634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62635   (eval $ac_compile) 2>conftest.er1
62636   ac_status=$?
62637   grep -v '^ *+' conftest.er1 >conftest.err
62638   rm -f conftest.er1
62639   cat conftest.err >&5
62640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62641   (exit $ac_status); } &&
62642          { ac_try='test -z "$ac_cxx_werror_flag"
62643                          || test ! -s conftest.err'
62644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62645   (eval $ac_try) 2>&5
62646   ac_status=$?
62647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62648   (exit $ac_status); }; } &&
62649          { ac_try='test -s conftest.$ac_objext'
62650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62651   (eval $ac_try) 2>&5
62652   ac_status=$?
62653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62654   (exit $ac_status); }; }; then
62655   glibcxx_cv_func___builtin_cos_use=yes
62656 else
62657   echo "$as_me: failed program was:" >&5
62658 sed 's/^/| /' conftest.$ac_ext >&5
62659
62660 glibcxx_cv_func___builtin_cos_use=no
62661 fi
62662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62663       ac_ext=c
62664 ac_cpp='$CPP $CPPFLAGS'
62665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62668
62669
62670 fi
62671
62672   fi
62673   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
62674 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
62675   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
62676     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
62677 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
62678     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
62679       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
62680   echo $ECHO_N "(cached) $ECHO_C" >&6
62681 else
62682
62683         if test x$gcc_no_link = xyes; then
62684   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62686    { (exit 1); exit 1; }; }
62687 fi
62688 cat >conftest.$ac_ext <<_ACEOF
62689 /* confdefs.h.  */
62690 _ACEOF
62691 cat confdefs.h >>conftest.$ac_ext
62692 cat >>conftest.$ac_ext <<_ACEOF
62693 /* end confdefs.h.  */
62694 #include <math.h>
62695 int
62696 main ()
62697 {
62698  __builtin_cos(0);
62699   ;
62700   return 0;
62701 }
62702 _ACEOF
62703 rm -f conftest.$ac_objext conftest$ac_exeext
62704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62705   (eval $ac_link) 2>conftest.er1
62706   ac_status=$?
62707   grep -v '^ *+' conftest.er1 >conftest.err
62708   rm -f conftest.er1
62709   cat conftest.err >&5
62710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62711   (exit $ac_status); } &&
62712          { ac_try='test -z "$ac_c_werror_flag"
62713                          || test ! -s conftest.err'
62714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62715   (eval $ac_try) 2>&5
62716   ac_status=$?
62717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62718   (exit $ac_status); }; } &&
62719          { ac_try='test -s conftest$ac_exeext'
62720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62721   (eval $ac_try) 2>&5
62722   ac_status=$?
62723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62724   (exit $ac_status); }; }; then
62725   glibcxx_cv_func___builtin_cos_link=yes
62726 else
62727   echo "$as_me: failed program was:" >&5
62728 sed 's/^/| /' conftest.$ac_ext >&5
62729
62730 glibcxx_cv_func___builtin_cos_link=no
62731 fi
62732 rm -f conftest.err conftest.$ac_objext \
62733       conftest$ac_exeext conftest.$ac_ext
62734
62735 fi
62736
62737     fi
62738     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
62739 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
62740
62741     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
62742
62743 cat >>confdefs.h <<\_ACEOF
62744 #define HAVE___BUILTIN_COS 1
62745 _ACEOF
62746
62747     fi
62748
62749   fi
62750
62751
62752   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
62753 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
62754   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
62755     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
62756   echo $ECHO_N "(cached) $ECHO_C" >&6
62757 else
62758
62759
62760
62761       ac_ext=cc
62762 ac_cpp='$CXXCPP $CPPFLAGS'
62763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62766
62767       cat >conftest.$ac_ext <<_ACEOF
62768 /* confdefs.h.  */
62769 _ACEOF
62770 cat confdefs.h >>conftest.$ac_ext
62771 cat >>conftest.$ac_ext <<_ACEOF
62772 /* end confdefs.h.  */
62773 #include <math.h>
62774 int
62775 main ()
62776 {
62777  __builtin_cosl(0);
62778   ;
62779   return 0;
62780 }
62781 _ACEOF
62782 rm -f conftest.$ac_objext
62783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62784   (eval $ac_compile) 2>conftest.er1
62785   ac_status=$?
62786   grep -v '^ *+' conftest.er1 >conftest.err
62787   rm -f conftest.er1
62788   cat conftest.err >&5
62789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62790   (exit $ac_status); } &&
62791          { ac_try='test -z "$ac_cxx_werror_flag"
62792                          || test ! -s conftest.err'
62793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62794   (eval $ac_try) 2>&5
62795   ac_status=$?
62796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62797   (exit $ac_status); }; } &&
62798          { ac_try='test -s conftest.$ac_objext'
62799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62800   (eval $ac_try) 2>&5
62801   ac_status=$?
62802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62803   (exit $ac_status); }; }; then
62804   glibcxx_cv_func___builtin_cosl_use=yes
62805 else
62806   echo "$as_me: failed program was:" >&5
62807 sed 's/^/| /' conftest.$ac_ext >&5
62808
62809 glibcxx_cv_func___builtin_cosl_use=no
62810 fi
62811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62812       ac_ext=c
62813 ac_cpp='$CPP $CPPFLAGS'
62814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62817
62818
62819 fi
62820
62821   fi
62822   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
62823 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
62824   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
62825     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
62826 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
62827     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
62828       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
62829   echo $ECHO_N "(cached) $ECHO_C" >&6
62830 else
62831
62832         if test x$gcc_no_link = xyes; then
62833   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62835    { (exit 1); exit 1; }; }
62836 fi
62837 cat >conftest.$ac_ext <<_ACEOF
62838 /* confdefs.h.  */
62839 _ACEOF
62840 cat confdefs.h >>conftest.$ac_ext
62841 cat >>conftest.$ac_ext <<_ACEOF
62842 /* end confdefs.h.  */
62843 #include <math.h>
62844 int
62845 main ()
62846 {
62847  __builtin_cosl(0);
62848   ;
62849   return 0;
62850 }
62851 _ACEOF
62852 rm -f conftest.$ac_objext conftest$ac_exeext
62853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62854   (eval $ac_link) 2>conftest.er1
62855   ac_status=$?
62856   grep -v '^ *+' conftest.er1 >conftest.err
62857   rm -f conftest.er1
62858   cat conftest.err >&5
62859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62860   (exit $ac_status); } &&
62861          { ac_try='test -z "$ac_c_werror_flag"
62862                          || test ! -s conftest.err'
62863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62864   (eval $ac_try) 2>&5
62865   ac_status=$?
62866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62867   (exit $ac_status); }; } &&
62868          { ac_try='test -s conftest$ac_exeext'
62869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62870   (eval $ac_try) 2>&5
62871   ac_status=$?
62872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62873   (exit $ac_status); }; }; then
62874   glibcxx_cv_func___builtin_cosl_link=yes
62875 else
62876   echo "$as_me: failed program was:" >&5
62877 sed 's/^/| /' conftest.$ac_ext >&5
62878
62879 glibcxx_cv_func___builtin_cosl_link=no
62880 fi
62881 rm -f conftest.err conftest.$ac_objext \
62882       conftest$ac_exeext conftest.$ac_ext
62883
62884 fi
62885
62886     fi
62887     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
62888 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
62889
62890     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
62891
62892 cat >>confdefs.h <<\_ACEOF
62893 #define HAVE___BUILTIN_COSL 1
62894 _ACEOF
62895
62896     fi
62897
62898   fi
62899
62900
62901
62902
62903 echo "$as_me:$LINENO: checking for main in -lm" >&5
62904 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
62905 if test "${ac_cv_lib_m_main+set}" = set; then
62906   echo $ECHO_N "(cached) $ECHO_C" >&6
62907 else
62908   ac_check_lib_save_LIBS=$LIBS
62909 LIBS="-lm  $LIBS"
62910 if test x$gcc_no_link = xyes; then
62911   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62913    { (exit 1); exit 1; }; }
62914 fi
62915 cat >conftest.$ac_ext <<_ACEOF
62916 /* confdefs.h.  */
62917 _ACEOF
62918 cat confdefs.h >>conftest.$ac_ext
62919 cat >>conftest.$ac_ext <<_ACEOF
62920 /* end confdefs.h.  */
62921
62922
62923 int
62924 main ()
62925 {
62926 main ();
62927   ;
62928   return 0;
62929 }
62930 _ACEOF
62931 rm -f conftest.$ac_objext conftest$ac_exeext
62932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62933   (eval $ac_link) 2>conftest.er1
62934   ac_status=$?
62935   grep -v '^ *+' conftest.er1 >conftest.err
62936   rm -f conftest.er1
62937   cat conftest.err >&5
62938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62939   (exit $ac_status); } &&
62940          { ac_try='test -z "$ac_c_werror_flag"
62941                          || test ! -s conftest.err'
62942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62943   (eval $ac_try) 2>&5
62944   ac_status=$?
62945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62946   (exit $ac_status); }; } &&
62947          { ac_try='test -s conftest$ac_exeext'
62948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62949   (eval $ac_try) 2>&5
62950   ac_status=$?
62951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62952   (exit $ac_status); }; }; then
62953   ac_cv_lib_m_main=yes
62954 else
62955   echo "$as_me: failed program was:" >&5
62956 sed 's/^/| /' conftest.$ac_ext >&5
62957
62958 ac_cv_lib_m_main=no
62959 fi
62960 rm -f conftest.err conftest.$ac_objext \
62961       conftest$ac_exeext conftest.$ac_ext
62962 LIBS=$ac_check_lib_save_LIBS
62963 fi
62964 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
62965 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
62966 if test $ac_cv_lib_m_main = yes; then
62967   cat >>confdefs.h <<_ACEOF
62968 #define HAVE_LIBM 1
62969 _ACEOF
62970
62971   LIBS="-lm $LIBS"
62972
62973 fi
62974
62975
62976 for ac_func in copysignf
62977 do
62978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62979 echo "$as_me:$LINENO: checking for $ac_func" >&5
62980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62981 if eval "test \"\${$as_ac_var+set}\" = set"; then
62982   echo $ECHO_N "(cached) $ECHO_C" >&6
62983 else
62984   if test x$gcc_no_link = xyes; then
62985   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62987    { (exit 1); exit 1; }; }
62988 fi
62989 cat >conftest.$ac_ext <<_ACEOF
62990 /* confdefs.h.  */
62991 _ACEOF
62992 cat confdefs.h >>conftest.$ac_ext
62993 cat >>conftest.$ac_ext <<_ACEOF
62994 /* end confdefs.h.  */
62995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62996    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62997 #define $ac_func innocuous_$ac_func
62998
62999 /* System header to define __stub macros and hopefully few prototypes,
63000     which can conflict with char $ac_func (); below.
63001     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63002     <limits.h> exists even on freestanding compilers.  */
63003
63004 #ifdef __STDC__
63005 # include <limits.h>
63006 #else
63007 # include <assert.h>
63008 #endif
63009
63010 #undef $ac_func
63011
63012 /* Override any gcc2 internal prototype to avoid an error.  */
63013 #ifdef __cplusplus
63014 extern "C"
63015 {
63016 #endif
63017 /* We use char because int might match the return type of a gcc2
63018    builtin and then its argument prototype would still apply.  */
63019 char $ac_func ();
63020 /* The GNU C library defines this for functions which it implements
63021     to always fail with ENOSYS.  Some functions are actually named
63022     something starting with __ and the normal name is an alias.  */
63023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63024 choke me
63025 #else
63026 char (*f) () = $ac_func;
63027 #endif
63028 #ifdef __cplusplus
63029 }
63030 #endif
63031
63032 int
63033 main ()
63034 {
63035 return f != $ac_func;
63036   ;
63037   return 0;
63038 }
63039 _ACEOF
63040 rm -f conftest.$ac_objext conftest$ac_exeext
63041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63042   (eval $ac_link) 2>conftest.er1
63043   ac_status=$?
63044   grep -v '^ *+' conftest.er1 >conftest.err
63045   rm -f conftest.er1
63046   cat conftest.err >&5
63047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63048   (exit $ac_status); } &&
63049          { ac_try='test -z "$ac_c_werror_flag"
63050                          || test ! -s conftest.err'
63051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63052   (eval $ac_try) 2>&5
63053   ac_status=$?
63054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63055   (exit $ac_status); }; } &&
63056          { ac_try='test -s conftest$ac_exeext'
63057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63058   (eval $ac_try) 2>&5
63059   ac_status=$?
63060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63061   (exit $ac_status); }; }; then
63062   eval "$as_ac_var=yes"
63063 else
63064   echo "$as_me: failed program was:" >&5
63065 sed 's/^/| /' conftest.$ac_ext >&5
63066
63067 eval "$as_ac_var=no"
63068 fi
63069 rm -f conftest.err conftest.$ac_objext \
63070       conftest$ac_exeext conftest.$ac_ext
63071 fi
63072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63074 if test `eval echo '${'$as_ac_var'}'` = yes; then
63075   cat >>confdefs.h <<_ACEOF
63076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63077 _ACEOF
63078
63079 else
63080   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
63081 fi
63082 done
63083
63084
63085
63086 for ac_func in __signbit
63087 do
63088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63089 echo "$as_me:$LINENO: checking for $ac_func" >&5
63090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63091 if eval "test \"\${$as_ac_var+set}\" = set"; then
63092   echo $ECHO_N "(cached) $ECHO_C" >&6
63093 else
63094   if test x$gcc_no_link = xyes; then
63095   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63097    { (exit 1); exit 1; }; }
63098 fi
63099 cat >conftest.$ac_ext <<_ACEOF
63100 /* confdefs.h.  */
63101 _ACEOF
63102 cat confdefs.h >>conftest.$ac_ext
63103 cat >>conftest.$ac_ext <<_ACEOF
63104 /* end confdefs.h.  */
63105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63106    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63107 #define $ac_func innocuous_$ac_func
63108
63109 /* System header to define __stub macros and hopefully few prototypes,
63110     which can conflict with char $ac_func (); below.
63111     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63112     <limits.h> exists even on freestanding compilers.  */
63113
63114 #ifdef __STDC__
63115 # include <limits.h>
63116 #else
63117 # include <assert.h>
63118 #endif
63119
63120 #undef $ac_func
63121
63122 /* Override any gcc2 internal prototype to avoid an error.  */
63123 #ifdef __cplusplus
63124 extern "C"
63125 {
63126 #endif
63127 /* We use char because int might match the return type of a gcc2
63128    builtin and then its argument prototype would still apply.  */
63129 char $ac_func ();
63130 /* The GNU C library defines this for functions which it implements
63131     to always fail with ENOSYS.  Some functions are actually named
63132     something starting with __ and the normal name is an alias.  */
63133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63134 choke me
63135 #else
63136 char (*f) () = $ac_func;
63137 #endif
63138 #ifdef __cplusplus
63139 }
63140 #endif
63141
63142 int
63143 main ()
63144 {
63145 return f != $ac_func;
63146   ;
63147   return 0;
63148 }
63149 _ACEOF
63150 rm -f conftest.$ac_objext conftest$ac_exeext
63151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63152   (eval $ac_link) 2>conftest.er1
63153   ac_status=$?
63154   grep -v '^ *+' conftest.er1 >conftest.err
63155   rm -f conftest.er1
63156   cat conftest.err >&5
63157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63158   (exit $ac_status); } &&
63159          { ac_try='test -z "$ac_c_werror_flag"
63160                          || test ! -s conftest.err'
63161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63162   (eval $ac_try) 2>&5
63163   ac_status=$?
63164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63165   (exit $ac_status); }; } &&
63166          { ac_try='test -s conftest$ac_exeext'
63167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63168   (eval $ac_try) 2>&5
63169   ac_status=$?
63170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63171   (exit $ac_status); }; }; then
63172   eval "$as_ac_var=yes"
63173 else
63174   echo "$as_me: failed program was:" >&5
63175 sed 's/^/| /' conftest.$ac_ext >&5
63176
63177 eval "$as_ac_var=no"
63178 fi
63179 rm -f conftest.err conftest.$ac_objext \
63180       conftest$ac_exeext conftest.$ac_ext
63181 fi
63182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63184 if test `eval echo '${'$as_ac_var'}'` = yes; then
63185   cat >>confdefs.h <<_ACEOF
63186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63187 _ACEOF
63188
63189 else
63190   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
63191 fi
63192 done
63193
63194
63195
63196 for ac_func in __signbitf
63197 do
63198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63199 echo "$as_me:$LINENO: checking for $ac_func" >&5
63200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63201 if eval "test \"\${$as_ac_var+set}\" = set"; then
63202   echo $ECHO_N "(cached) $ECHO_C" >&6
63203 else
63204   if test x$gcc_no_link = xyes; then
63205   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63207    { (exit 1); exit 1; }; }
63208 fi
63209 cat >conftest.$ac_ext <<_ACEOF
63210 /* confdefs.h.  */
63211 _ACEOF
63212 cat confdefs.h >>conftest.$ac_ext
63213 cat >>conftest.$ac_ext <<_ACEOF
63214 /* end confdefs.h.  */
63215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63216    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63217 #define $ac_func innocuous_$ac_func
63218
63219 /* System header to define __stub macros and hopefully few prototypes,
63220     which can conflict with char $ac_func (); below.
63221     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63222     <limits.h> exists even on freestanding compilers.  */
63223
63224 #ifdef __STDC__
63225 # include <limits.h>
63226 #else
63227 # include <assert.h>
63228 #endif
63229
63230 #undef $ac_func
63231
63232 /* Override any gcc2 internal prototype to avoid an error.  */
63233 #ifdef __cplusplus
63234 extern "C"
63235 {
63236 #endif
63237 /* We use char because int might match the return type of a gcc2
63238    builtin and then its argument prototype would still apply.  */
63239 char $ac_func ();
63240 /* The GNU C library defines this for functions which it implements
63241     to always fail with ENOSYS.  Some functions are actually named
63242     something starting with __ and the normal name is an alias.  */
63243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63244 choke me
63245 #else
63246 char (*f) () = $ac_func;
63247 #endif
63248 #ifdef __cplusplus
63249 }
63250 #endif
63251
63252 int
63253 main ()
63254 {
63255 return f != $ac_func;
63256   ;
63257   return 0;
63258 }
63259 _ACEOF
63260 rm -f conftest.$ac_objext conftest$ac_exeext
63261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63262   (eval $ac_link) 2>conftest.er1
63263   ac_status=$?
63264   grep -v '^ *+' conftest.er1 >conftest.err
63265   rm -f conftest.er1
63266   cat conftest.err >&5
63267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63268   (exit $ac_status); } &&
63269          { ac_try='test -z "$ac_c_werror_flag"
63270                          || test ! -s conftest.err'
63271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63272   (eval $ac_try) 2>&5
63273   ac_status=$?
63274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63275   (exit $ac_status); }; } &&
63276          { ac_try='test -s conftest$ac_exeext'
63277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63278   (eval $ac_try) 2>&5
63279   ac_status=$?
63280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63281   (exit $ac_status); }; }; then
63282   eval "$as_ac_var=yes"
63283 else
63284   echo "$as_me: failed program was:" >&5
63285 sed 's/^/| /' conftest.$ac_ext >&5
63286
63287 eval "$as_ac_var=no"
63288 fi
63289 rm -f conftest.err conftest.$ac_objext \
63290       conftest$ac_exeext conftest.$ac_ext
63291 fi
63292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63294 if test `eval echo '${'$as_ac_var'}'` = yes; then
63295   cat >>confdefs.h <<_ACEOF
63296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63297 _ACEOF
63298
63299 else
63300   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
63301 fi
63302 done
63303
63304
63305           if test x$ac_cv_func_copysignl = x"yes"; then
63306
63307 for ac_func in __signbitl
63308 do
63309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63310 echo "$as_me:$LINENO: checking for $ac_func" >&5
63311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63312 if eval "test \"\${$as_ac_var+set}\" = set"; then
63313   echo $ECHO_N "(cached) $ECHO_C" >&6
63314 else
63315   if test x$gcc_no_link = xyes; then
63316   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63318    { (exit 1); exit 1; }; }
63319 fi
63320 cat >conftest.$ac_ext <<_ACEOF
63321 /* confdefs.h.  */
63322 _ACEOF
63323 cat confdefs.h >>conftest.$ac_ext
63324 cat >>conftest.$ac_ext <<_ACEOF
63325 /* end confdefs.h.  */
63326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63327    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63328 #define $ac_func innocuous_$ac_func
63329
63330 /* System header to define __stub macros and hopefully few prototypes,
63331     which can conflict with char $ac_func (); below.
63332     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63333     <limits.h> exists even on freestanding compilers.  */
63334
63335 #ifdef __STDC__
63336 # include <limits.h>
63337 #else
63338 # include <assert.h>
63339 #endif
63340
63341 #undef $ac_func
63342
63343 /* Override any gcc2 internal prototype to avoid an error.  */
63344 #ifdef __cplusplus
63345 extern "C"
63346 {
63347 #endif
63348 /* We use char because int might match the return type of a gcc2
63349    builtin and then its argument prototype would still apply.  */
63350 char $ac_func ();
63351 /* The GNU C library defines this for functions which it implements
63352     to always fail with ENOSYS.  Some functions are actually named
63353     something starting with __ and the normal name is an alias.  */
63354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63355 choke me
63356 #else
63357 char (*f) () = $ac_func;
63358 #endif
63359 #ifdef __cplusplus
63360 }
63361 #endif
63362
63363 int
63364 main ()
63365 {
63366 return f != $ac_func;
63367   ;
63368   return 0;
63369 }
63370 _ACEOF
63371 rm -f conftest.$ac_objext conftest$ac_exeext
63372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63373   (eval $ac_link) 2>conftest.er1
63374   ac_status=$?
63375   grep -v '^ *+' conftest.er1 >conftest.err
63376   rm -f conftest.er1
63377   cat conftest.err >&5
63378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63379   (exit $ac_status); } &&
63380          { ac_try='test -z "$ac_c_werror_flag"
63381                          || test ! -s conftest.err'
63382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63383   (eval $ac_try) 2>&5
63384   ac_status=$?
63385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63386   (exit $ac_status); }; } &&
63387          { ac_try='test -s conftest$ac_exeext'
63388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63389   (eval $ac_try) 2>&5
63390   ac_status=$?
63391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63392   (exit $ac_status); }; }; then
63393   eval "$as_ac_var=yes"
63394 else
63395   echo "$as_me: failed program was:" >&5
63396 sed 's/^/| /' conftest.$ac_ext >&5
63397
63398 eval "$as_ac_var=no"
63399 fi
63400 rm -f conftest.err conftest.$ac_objext \
63401       conftest$ac_exeext conftest.$ac_ext
63402 fi
63403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63405 if test `eval echo '${'$as_ac_var'}'` = yes; then
63406   cat >>confdefs.h <<_ACEOF
63407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63408 _ACEOF
63409
63410 else
63411   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
63412 fi
63413 done
63414
63415   fi
63416
63417   # Used in libmath/Makefile.am.
63418   if test -n "$LIBMATHOBJS"; then
63419     need_libmath=yes
63420   fi
63421
63422
63423
63424   ac_test_CXXFLAGS="${CXXFLAGS+set}"
63425   ac_save_CXXFLAGS="$CXXFLAGS"
63426   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63427
63428
63429   echo "$as_me:$LINENO: checking for strtold declaration" >&5
63430 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
63431   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63432     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
63433   echo $ECHO_N "(cached) $ECHO_C" >&6
63434 else
63435
63436
63437
63438       ac_ext=cc
63439 ac_cpp='$CXXCPP $CPPFLAGS'
63440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63443
63444       cat >conftest.$ac_ext <<_ACEOF
63445 /* confdefs.h.  */
63446 _ACEOF
63447 cat confdefs.h >>conftest.$ac_ext
63448 cat >>conftest.$ac_ext <<_ACEOF
63449 /* end confdefs.h.  */
63450 #include <stdlib.h>
63451 int
63452 main ()
63453 {
63454  strtold(0, 0);
63455   ;
63456   return 0;
63457 }
63458 _ACEOF
63459 rm -f conftest.$ac_objext
63460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63461   (eval $ac_compile) 2>conftest.er1
63462   ac_status=$?
63463   grep -v '^ *+' conftest.er1 >conftest.err
63464   rm -f conftest.er1
63465   cat conftest.err >&5
63466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63467   (exit $ac_status); } &&
63468          { ac_try='test -z "$ac_cxx_werror_flag"
63469                          || test ! -s conftest.err'
63470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63471   (eval $ac_try) 2>&5
63472   ac_status=$?
63473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63474   (exit $ac_status); }; } &&
63475          { ac_try='test -s conftest.$ac_objext'
63476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63477   (eval $ac_try) 2>&5
63478   ac_status=$?
63479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63480   (exit $ac_status); }; }; then
63481   glibcxx_cv_func_strtold_use=yes
63482 else
63483   echo "$as_me: failed program was:" >&5
63484 sed 's/^/| /' conftest.$ac_ext >&5
63485
63486 glibcxx_cv_func_strtold_use=no
63487 fi
63488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63489       ac_ext=c
63490 ac_cpp='$CPP $CPPFLAGS'
63491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63494
63495
63496 fi
63497
63498   fi
63499   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
63500 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
63501   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63502
63503 for ac_func in strtold
63504 do
63505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63506 echo "$as_me:$LINENO: checking for $ac_func" >&5
63507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63508 if eval "test \"\${$as_ac_var+set}\" = set"; then
63509   echo $ECHO_N "(cached) $ECHO_C" >&6
63510 else
63511   if test x$gcc_no_link = xyes; then
63512   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63514    { (exit 1); exit 1; }; }
63515 fi
63516 cat >conftest.$ac_ext <<_ACEOF
63517 /* confdefs.h.  */
63518 _ACEOF
63519 cat confdefs.h >>conftest.$ac_ext
63520 cat >>conftest.$ac_ext <<_ACEOF
63521 /* end confdefs.h.  */
63522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63523    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63524 #define $ac_func innocuous_$ac_func
63525
63526 /* System header to define __stub macros and hopefully few prototypes,
63527     which can conflict with char $ac_func (); below.
63528     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63529     <limits.h> exists even on freestanding compilers.  */
63530
63531 #ifdef __STDC__
63532 # include <limits.h>
63533 #else
63534 # include <assert.h>
63535 #endif
63536
63537 #undef $ac_func
63538
63539 /* Override any gcc2 internal prototype to avoid an error.  */
63540 #ifdef __cplusplus
63541 extern "C"
63542 {
63543 #endif
63544 /* We use char because int might match the return type of a gcc2
63545    builtin and then its argument prototype would still apply.  */
63546 char $ac_func ();
63547 /* The GNU C library defines this for functions which it implements
63548     to always fail with ENOSYS.  Some functions are actually named
63549     something starting with __ and the normal name is an alias.  */
63550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63551 choke me
63552 #else
63553 char (*f) () = $ac_func;
63554 #endif
63555 #ifdef __cplusplus
63556 }
63557 #endif
63558
63559 int
63560 main ()
63561 {
63562 return f != $ac_func;
63563   ;
63564   return 0;
63565 }
63566 _ACEOF
63567 rm -f conftest.$ac_objext conftest$ac_exeext
63568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63569   (eval $ac_link) 2>conftest.er1
63570   ac_status=$?
63571   grep -v '^ *+' conftest.er1 >conftest.err
63572   rm -f conftest.er1
63573   cat conftest.err >&5
63574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63575   (exit $ac_status); } &&
63576          { ac_try='test -z "$ac_c_werror_flag"
63577                          || test ! -s conftest.err'
63578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63579   (eval $ac_try) 2>&5
63580   ac_status=$?
63581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63582   (exit $ac_status); }; } &&
63583          { ac_try='test -s conftest$ac_exeext'
63584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63585   (eval $ac_try) 2>&5
63586   ac_status=$?
63587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63588   (exit $ac_status); }; }; then
63589   eval "$as_ac_var=yes"
63590 else
63591   echo "$as_me: failed program was:" >&5
63592 sed 's/^/| /' conftest.$ac_ext >&5
63593
63594 eval "$as_ac_var=no"
63595 fi
63596 rm -f conftest.err conftest.$ac_objext \
63597       conftest$ac_exeext conftest.$ac_ext
63598 fi
63599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63601 if test `eval echo '${'$as_ac_var'}'` = yes; then
63602   cat >>confdefs.h <<_ACEOF
63603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63604 _ACEOF
63605
63606 fi
63607 done
63608
63609   fi
63610
63611
63612
63613
63614
63615   echo "$as_me:$LINENO: checking for strtof declaration" >&5
63616 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
63617   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63618     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
63619   echo $ECHO_N "(cached) $ECHO_C" >&6
63620 else
63621
63622
63623
63624       ac_ext=cc
63625 ac_cpp='$CXXCPP $CPPFLAGS'
63626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63629
63630       cat >conftest.$ac_ext <<_ACEOF
63631 /* confdefs.h.  */
63632 _ACEOF
63633 cat confdefs.h >>conftest.$ac_ext
63634 cat >>conftest.$ac_ext <<_ACEOF
63635 /* end confdefs.h.  */
63636 #include <stdlib.h>
63637 int
63638 main ()
63639 {
63640  strtof(0, 0);
63641   ;
63642   return 0;
63643 }
63644 _ACEOF
63645 rm -f conftest.$ac_objext
63646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63647   (eval $ac_compile) 2>conftest.er1
63648   ac_status=$?
63649   grep -v '^ *+' conftest.er1 >conftest.err
63650   rm -f conftest.er1
63651   cat conftest.err >&5
63652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63653   (exit $ac_status); } &&
63654          { ac_try='test -z "$ac_cxx_werror_flag"
63655                          || test ! -s conftest.err'
63656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63657   (eval $ac_try) 2>&5
63658   ac_status=$?
63659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63660   (exit $ac_status); }; } &&
63661          { ac_try='test -s conftest.$ac_objext'
63662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63663   (eval $ac_try) 2>&5
63664   ac_status=$?
63665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63666   (exit $ac_status); }; }; then
63667   glibcxx_cv_func_strtof_use=yes
63668 else
63669   echo "$as_me: failed program was:" >&5
63670 sed 's/^/| /' conftest.$ac_ext >&5
63671
63672 glibcxx_cv_func_strtof_use=no
63673 fi
63674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63675       ac_ext=c
63676 ac_cpp='$CPP $CPPFLAGS'
63677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63680
63681
63682 fi
63683
63684   fi
63685   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
63686 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
63687   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63688
63689 for ac_func in strtof
63690 do
63691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63692 echo "$as_me:$LINENO: checking for $ac_func" >&5
63693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63694 if eval "test \"\${$as_ac_var+set}\" = set"; then
63695   echo $ECHO_N "(cached) $ECHO_C" >&6
63696 else
63697   if test x$gcc_no_link = xyes; then
63698   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63700    { (exit 1); exit 1; }; }
63701 fi
63702 cat >conftest.$ac_ext <<_ACEOF
63703 /* confdefs.h.  */
63704 _ACEOF
63705 cat confdefs.h >>conftest.$ac_ext
63706 cat >>conftest.$ac_ext <<_ACEOF
63707 /* end confdefs.h.  */
63708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63709    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63710 #define $ac_func innocuous_$ac_func
63711
63712 /* System header to define __stub macros and hopefully few prototypes,
63713     which can conflict with char $ac_func (); below.
63714     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63715     <limits.h> exists even on freestanding compilers.  */
63716
63717 #ifdef __STDC__
63718 # include <limits.h>
63719 #else
63720 # include <assert.h>
63721 #endif
63722
63723 #undef $ac_func
63724
63725 /* Override any gcc2 internal prototype to avoid an error.  */
63726 #ifdef __cplusplus
63727 extern "C"
63728 {
63729 #endif
63730 /* We use char because int might match the return type of a gcc2
63731    builtin and then its argument prototype would still apply.  */
63732 char $ac_func ();
63733 /* The GNU C library defines this for functions which it implements
63734     to always fail with ENOSYS.  Some functions are actually named
63735     something starting with __ and the normal name is an alias.  */
63736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63737 choke me
63738 #else
63739 char (*f) () = $ac_func;
63740 #endif
63741 #ifdef __cplusplus
63742 }
63743 #endif
63744
63745 int
63746 main ()
63747 {
63748 return f != $ac_func;
63749   ;
63750   return 0;
63751 }
63752 _ACEOF
63753 rm -f conftest.$ac_objext conftest$ac_exeext
63754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63755   (eval $ac_link) 2>conftest.er1
63756   ac_status=$?
63757   grep -v '^ *+' conftest.er1 >conftest.err
63758   rm -f conftest.er1
63759   cat conftest.err >&5
63760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63761   (exit $ac_status); } &&
63762          { ac_try='test -z "$ac_c_werror_flag"
63763                          || test ! -s conftest.err'
63764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63765   (eval $ac_try) 2>&5
63766   ac_status=$?
63767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63768   (exit $ac_status); }; } &&
63769          { ac_try='test -s conftest$ac_exeext'
63770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63771   (eval $ac_try) 2>&5
63772   ac_status=$?
63773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63774   (exit $ac_status); }; }; then
63775   eval "$as_ac_var=yes"
63776 else
63777   echo "$as_me: failed program was:" >&5
63778 sed 's/^/| /' conftest.$ac_ext >&5
63779
63780 eval "$as_ac_var=no"
63781 fi
63782 rm -f conftest.err conftest.$ac_objext \
63783       conftest$ac_exeext conftest.$ac_ext
63784 fi
63785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63787 if test `eval echo '${'$as_ac_var'}'` = yes; then
63788   cat >>confdefs.h <<_ACEOF
63789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63790 _ACEOF
63791
63792 fi
63793 done
63794
63795   fi
63796
63797
63798
63799
63800
63801   CXXFLAGS="$ac_save_CXXFLAGS"
63802
63803
63804   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
63805 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
63806   if test "${glibcxx_cv_S_ISREG+set}" = set; then
63807   echo $ECHO_N "(cached) $ECHO_C" >&6
63808 else
63809
63810     if test x$gcc_no_link = xyes; then
63811   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63813    { (exit 1); exit 1; }; }
63814 fi
63815 cat >conftest.$ac_ext <<_ACEOF
63816 /* confdefs.h.  */
63817 _ACEOF
63818 cat confdefs.h >>conftest.$ac_ext
63819 cat >>conftest.$ac_ext <<_ACEOF
63820 /* end confdefs.h.  */
63821 #include <sys/stat.h>
63822 int
63823 main ()
63824 {
63825 struct stat buffer;
63826        fstat(0, &buffer);
63827        S_ISREG(buffer.st_mode);
63828   ;
63829   return 0;
63830 }
63831 _ACEOF
63832 rm -f conftest.$ac_objext conftest$ac_exeext
63833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63834   (eval $ac_link) 2>conftest.er1
63835   ac_status=$?
63836   grep -v '^ *+' conftest.er1 >conftest.err
63837   rm -f conftest.er1
63838   cat conftest.err >&5
63839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63840   (exit $ac_status); } &&
63841          { ac_try='test -z "$ac_c_werror_flag"
63842                          || test ! -s conftest.err'
63843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63844   (eval $ac_try) 2>&5
63845   ac_status=$?
63846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63847   (exit $ac_status); }; } &&
63848          { ac_try='test -s conftest$ac_exeext'
63849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63850   (eval $ac_try) 2>&5
63851   ac_status=$?
63852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63853   (exit $ac_status); }; }; then
63854   glibcxx_cv_S_ISREG=yes
63855 else
63856   echo "$as_me: failed program was:" >&5
63857 sed 's/^/| /' conftest.$ac_ext >&5
63858
63859 glibcxx_cv_S_ISREG=no
63860 fi
63861 rm -f conftest.err conftest.$ac_objext \
63862       conftest$ac_exeext conftest.$ac_ext
63863
63864 fi
63865
63866   if test "${glibcxx_cv_S_IFREG+set}" = set; then
63867   echo $ECHO_N "(cached) $ECHO_C" >&6
63868 else
63869
63870     if test x$gcc_no_link = xyes; then
63871   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63873    { (exit 1); exit 1; }; }
63874 fi
63875 cat >conftest.$ac_ext <<_ACEOF
63876 /* confdefs.h.  */
63877 _ACEOF
63878 cat confdefs.h >>conftest.$ac_ext
63879 cat >>conftest.$ac_ext <<_ACEOF
63880 /* end confdefs.h.  */
63881 #include <sys/stat.h>
63882 int
63883 main ()
63884 {
63885 struct stat buffer;
63886        fstat(0, &buffer);
63887        S_IFREG & buffer.st_mode;
63888   ;
63889   return 0;
63890 }
63891 _ACEOF
63892 rm -f conftest.$ac_objext conftest$ac_exeext
63893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63894   (eval $ac_link) 2>conftest.er1
63895   ac_status=$?
63896   grep -v '^ *+' conftest.er1 >conftest.err
63897   rm -f conftest.er1
63898   cat conftest.err >&5
63899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63900   (exit $ac_status); } &&
63901          { ac_try='test -z "$ac_c_werror_flag"
63902                          || test ! -s conftest.err'
63903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63904   (eval $ac_try) 2>&5
63905   ac_status=$?
63906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63907   (exit $ac_status); }; } &&
63908          { ac_try='test -s conftest$ac_exeext'
63909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63910   (eval $ac_try) 2>&5
63911   ac_status=$?
63912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63913   (exit $ac_status); }; }; then
63914   glibcxx_cv_S_IFREG=yes
63915 else
63916   echo "$as_me: failed program was:" >&5
63917 sed 's/^/| /' conftest.$ac_ext >&5
63918
63919 glibcxx_cv_S_IFREG=no
63920 fi
63921 rm -f conftest.err conftest.$ac_objext \
63922       conftest$ac_exeext conftest.$ac_ext
63923
63924 fi
63925
63926   res=no
63927   if test $glibcxx_cv_S_ISREG = yes; then
63928
63929 cat >>confdefs.h <<\_ACEOF
63930 #define HAVE_S_ISREG 1
63931 _ACEOF
63932
63933     res=S_ISREG
63934   elif test $glibcxx_cv_S_IFREG = yes; then
63935
63936 cat >>confdefs.h <<\_ACEOF
63937 #define HAVE_S_IFREG 1
63938 _ACEOF
63939
63940     res=S_IFREG
63941   fi
63942   echo "$as_me:$LINENO: result: $res" >&5
63943 echo "${ECHO_T}$res" >&6
63944
63945     cat >>confdefs.h <<\_ACEOF
63946 #define HAVE_SIGSETJMP 1
63947 _ACEOF
63948
63949     cat >>confdefs.h <<\_ACEOF
63950 #define HAVE_GETPAGESIZE 1
63951 _ACEOF
63952
63953     cat >>confdefs.h <<\_ACEOF
63954 #define HAVE_WRITEV 1
63955 _ACEOF
63956
63957     cat >>confdefs.h <<\_ACEOF
63958 #define HAVE_INT64_T 1
63959 _ACEOF
63960
63961
63962     cat >>confdefs.h <<\_ACEOF
63963 #define HAVE_LIBM 1
63964 _ACEOF
63965
63966     cat >>confdefs.h <<\_ACEOF
63967 #define HAVE_COPYSIGN 1
63968 _ACEOF
63969
63970     cat >>confdefs.h <<\_ACEOF
63971 #define HAVE_FINITE 1
63972 _ACEOF
63973
63974     cat >>confdefs.h <<\_ACEOF
63975 #define HAVE_HYPOT 1
63976 _ACEOF
63977
63978     cat >>confdefs.h <<\_ACEOF
63979 #define HAVE_ISNAN 1
63980 _ACEOF
63981
63982     cat >>confdefs.h <<\_ACEOF
63983 #define HAVE_ISINF 1
63984 _ACEOF
63985
63986
63987     cat >>confdefs.h <<\_ACEOF
63988 #define HAVE_LDEXPF 1
63989 _ACEOF
63990
63991     cat >>confdefs.h <<\_ACEOF
63992 #define HAVE_MODF 1
63993 _ACEOF
63994
63995     cat >>confdefs.h <<\_ACEOF
63996 #define HAVE_SQRTF 1
63997 _ACEOF
63998
63999     ;;
64000
64001   *-darwin*)
64002     # Darwin versions vary, but the linker should work in a cross environment,
64003     # so we just check for all the features here.
64004     # Check for available headers.
64005
64006
64007
64008
64009
64010
64011
64012
64013
64014
64015
64016
64017 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
64018     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h \
64019     sys/types.h
64020 do
64021 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
64022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64023   echo "$as_me:$LINENO: checking for $ac_header" >&5
64024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64026   echo $ECHO_N "(cached) $ECHO_C" >&6
64027 fi
64028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64030 else
64031   # Is the header compilable?
64032 echo "$as_me:$LINENO: checking $ac_header usability" >&5
64033 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
64034 cat >conftest.$ac_ext <<_ACEOF
64035 /* confdefs.h.  */
64036 _ACEOF
64037 cat confdefs.h >>conftest.$ac_ext
64038 cat >>conftest.$ac_ext <<_ACEOF
64039 /* end confdefs.h.  */
64040 $ac_includes_default
64041 #include <$ac_header>
64042 _ACEOF
64043 rm -f conftest.$ac_objext
64044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64045   (eval $ac_compile) 2>conftest.er1
64046   ac_status=$?
64047   grep -v '^ *+' conftest.er1 >conftest.err
64048   rm -f conftest.er1
64049   cat conftest.err >&5
64050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64051   (exit $ac_status); } &&
64052          { ac_try='test -z "$ac_c_werror_flag"
64053                          || test ! -s conftest.err'
64054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64055   (eval $ac_try) 2>&5
64056   ac_status=$?
64057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64058   (exit $ac_status); }; } &&
64059          { ac_try='test -s conftest.$ac_objext'
64060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64061   (eval $ac_try) 2>&5
64062   ac_status=$?
64063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64064   (exit $ac_status); }; }; then
64065   ac_header_compiler=yes
64066 else
64067   echo "$as_me: failed program was:" >&5
64068 sed 's/^/| /' conftest.$ac_ext >&5
64069
64070 ac_header_compiler=no
64071 fi
64072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64073 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64074 echo "${ECHO_T}$ac_header_compiler" >&6
64075
64076 # Is the header present?
64077 echo "$as_me:$LINENO: checking $ac_header presence" >&5
64078 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
64079 cat >conftest.$ac_ext <<_ACEOF
64080 /* confdefs.h.  */
64081 _ACEOF
64082 cat confdefs.h >>conftest.$ac_ext
64083 cat >>conftest.$ac_ext <<_ACEOF
64084 /* end confdefs.h.  */
64085 #include <$ac_header>
64086 _ACEOF
64087 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64088   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64089   ac_status=$?
64090   grep -v '^ *+' conftest.er1 >conftest.err
64091   rm -f conftest.er1
64092   cat conftest.err >&5
64093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64094   (exit $ac_status); } >/dev/null; then
64095   if test -s conftest.err; then
64096     ac_cpp_err=$ac_c_preproc_warn_flag
64097     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64098   else
64099     ac_cpp_err=
64100   fi
64101 else
64102   ac_cpp_err=yes
64103 fi
64104 if test -z "$ac_cpp_err"; then
64105   ac_header_preproc=yes
64106 else
64107   echo "$as_me: failed program was:" >&5
64108 sed 's/^/| /' conftest.$ac_ext >&5
64109
64110   ac_header_preproc=no
64111 fi
64112 rm -f conftest.err conftest.$ac_ext
64113 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64114 echo "${ECHO_T}$ac_header_preproc" >&6
64115
64116 # So?  What about this header?
64117 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64118   yes:no: )
64119     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
64120 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
64121     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
64122 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
64123     ac_header_preproc=yes
64124     ;;
64125   no:yes:* )
64126     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
64127 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
64128     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
64129 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
64130     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
64131 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
64132     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
64133 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
64134     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
64135 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
64136     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
64137 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
64138     (
64139       cat <<\_ASBOX
64140 ## ----------------------------------------- ##
64141 ## Report this to the package-unused lists.  ##
64142 ## ----------------------------------------- ##
64143 _ASBOX
64144     ) |
64145       sed "s/^/$as_me: WARNING:     /" >&2
64146     ;;
64147 esac
64148 echo "$as_me:$LINENO: checking for $ac_header" >&5
64149 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64150 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64151   echo $ECHO_N "(cached) $ECHO_C" >&6
64152 else
64153   eval "$as_ac_Header=\$ac_header_preproc"
64154 fi
64155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64156 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64157
64158 fi
64159 if test `eval echo '${'$as_ac_Header'}'` = yes; then
64160   cat >>confdefs.h <<_ACEOF
64161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
64162 _ACEOF
64163
64164 fi
64165
64166 done
64167
64168
64169     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
64170
64171   ac_test_CXXFLAGS="${CXXFLAGS+set}"
64172   ac_save_CXXFLAGS="$CXXFLAGS"
64173   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64174
64175     echo "$as_me:$LINENO: checking for sin in -lm" >&5
64176 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
64177 if test "${ac_cv_lib_m_sin+set}" = set; then
64178   echo $ECHO_N "(cached) $ECHO_C" >&6
64179 else
64180   ac_check_lib_save_LIBS=$LIBS
64181 LIBS="-lm  $LIBS"
64182 if test x$gcc_no_link = xyes; then
64183   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64185    { (exit 1); exit 1; }; }
64186 fi
64187 cat >conftest.$ac_ext <<_ACEOF
64188 /* confdefs.h.  */
64189 _ACEOF
64190 cat confdefs.h >>conftest.$ac_ext
64191 cat >>conftest.$ac_ext <<_ACEOF
64192 /* end confdefs.h.  */
64193
64194 /* Override any gcc2 internal prototype to avoid an error.  */
64195 #ifdef __cplusplus
64196 extern "C"
64197 #endif
64198 /* We use char because int might match the return type of a gcc2
64199    builtin and then its argument prototype would still apply.  */
64200 char sin ();
64201 int
64202 main ()
64203 {
64204 sin ();
64205   ;
64206   return 0;
64207 }
64208 _ACEOF
64209 rm -f conftest.$ac_objext conftest$ac_exeext
64210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64211   (eval $ac_link) 2>conftest.er1
64212   ac_status=$?
64213   grep -v '^ *+' conftest.er1 >conftest.err
64214   rm -f conftest.er1
64215   cat conftest.err >&5
64216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64217   (exit $ac_status); } &&
64218          { ac_try='test -z "$ac_c_werror_flag"
64219                          || test ! -s conftest.err'
64220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64221   (eval $ac_try) 2>&5
64222   ac_status=$?
64223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64224   (exit $ac_status); }; } &&
64225          { ac_try='test -s conftest$ac_exeext'
64226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64227   (eval $ac_try) 2>&5
64228   ac_status=$?
64229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64230   (exit $ac_status); }; }; then
64231   ac_cv_lib_m_sin=yes
64232 else
64233   echo "$as_me: failed program was:" >&5
64234 sed 's/^/| /' conftest.$ac_ext >&5
64235
64236 ac_cv_lib_m_sin=no
64237 fi
64238 rm -f conftest.err conftest.$ac_objext \
64239       conftest$ac_exeext conftest.$ac_ext
64240 LIBS=$ac_check_lib_save_LIBS
64241 fi
64242 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
64243 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
64244 if test $ac_cv_lib_m_sin = yes; then
64245   libm="-lm"
64246 fi
64247
64248   ac_save_LIBS="$LIBS"
64249   LIBS="$LIBS $libm"
64250
64251
64252
64253   echo "$as_me:$LINENO: checking for isinf declaration" >&5
64254 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
64255   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
64256     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
64257   echo $ECHO_N "(cached) $ECHO_C" >&6
64258 else
64259
64260
64261
64262       ac_ext=cc
64263 ac_cpp='$CXXCPP $CPPFLAGS'
64264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64267
64268       cat >conftest.$ac_ext <<_ACEOF
64269 /* confdefs.h.  */
64270 _ACEOF
64271 cat confdefs.h >>conftest.$ac_ext
64272 cat >>conftest.$ac_ext <<_ACEOF
64273 /* end confdefs.h.  */
64274 #include <math.h>
64275                       #ifdef HAVE_IEEEFP_H
64276                       #include <ieeefp.h>
64277                       #endif
64278
64279 int
64280 main ()
64281 {
64282  isinf(0);
64283   ;
64284   return 0;
64285 }
64286 _ACEOF
64287 rm -f conftest.$ac_objext
64288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64289   (eval $ac_compile) 2>conftest.er1
64290   ac_status=$?
64291   grep -v '^ *+' conftest.er1 >conftest.err
64292   rm -f conftest.er1
64293   cat conftest.err >&5
64294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64295   (exit $ac_status); } &&
64296          { ac_try='test -z "$ac_cxx_werror_flag"
64297                          || test ! -s conftest.err'
64298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64299   (eval $ac_try) 2>&5
64300   ac_status=$?
64301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64302   (exit $ac_status); }; } &&
64303          { ac_try='test -s conftest.$ac_objext'
64304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64305   (eval $ac_try) 2>&5
64306   ac_status=$?
64307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64308   (exit $ac_status); }; }; then
64309   glibcxx_cv_func_isinf_use=yes
64310 else
64311   echo "$as_me: failed program was:" >&5
64312 sed 's/^/| /' conftest.$ac_ext >&5
64313
64314 glibcxx_cv_func_isinf_use=no
64315 fi
64316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64317       ac_ext=c
64318 ac_cpp='$CPP $CPPFLAGS'
64319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64322
64323
64324 fi
64325
64326   fi
64327   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
64328 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
64329
64330   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
64331
64332 for ac_func in isinf
64333 do
64334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64335 echo "$as_me:$LINENO: checking for $ac_func" >&5
64336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64337 if eval "test \"\${$as_ac_var+set}\" = set"; then
64338   echo $ECHO_N "(cached) $ECHO_C" >&6
64339 else
64340   if test x$gcc_no_link = xyes; then
64341   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64343    { (exit 1); exit 1; }; }
64344 fi
64345 cat >conftest.$ac_ext <<_ACEOF
64346 /* confdefs.h.  */
64347 _ACEOF
64348 cat confdefs.h >>conftest.$ac_ext
64349 cat >>conftest.$ac_ext <<_ACEOF
64350 /* end confdefs.h.  */
64351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64352    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64353 #define $ac_func innocuous_$ac_func
64354
64355 /* System header to define __stub macros and hopefully few prototypes,
64356     which can conflict with char $ac_func (); below.
64357     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64358     <limits.h> exists even on freestanding compilers.  */
64359
64360 #ifdef __STDC__
64361 # include <limits.h>
64362 #else
64363 # include <assert.h>
64364 #endif
64365
64366 #undef $ac_func
64367
64368 /* Override any gcc2 internal prototype to avoid an error.  */
64369 #ifdef __cplusplus
64370 extern "C"
64371 {
64372 #endif
64373 /* We use char because int might match the return type of a gcc2
64374    builtin and then its argument prototype would still apply.  */
64375 char $ac_func ();
64376 /* The GNU C library defines this for functions which it implements
64377     to always fail with ENOSYS.  Some functions are actually named
64378     something starting with __ and the normal name is an alias.  */
64379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64380 choke me
64381 #else
64382 char (*f) () = $ac_func;
64383 #endif
64384 #ifdef __cplusplus
64385 }
64386 #endif
64387
64388 int
64389 main ()
64390 {
64391 return f != $ac_func;
64392   ;
64393   return 0;
64394 }
64395 _ACEOF
64396 rm -f conftest.$ac_objext conftest$ac_exeext
64397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64398   (eval $ac_link) 2>conftest.er1
64399   ac_status=$?
64400   grep -v '^ *+' conftest.er1 >conftest.err
64401   rm -f conftest.er1
64402   cat conftest.err >&5
64403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64404   (exit $ac_status); } &&
64405          { ac_try='test -z "$ac_c_werror_flag"
64406                          || test ! -s conftest.err'
64407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64408   (eval $ac_try) 2>&5
64409   ac_status=$?
64410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64411   (exit $ac_status); }; } &&
64412          { ac_try='test -s conftest$ac_exeext'
64413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64414   (eval $ac_try) 2>&5
64415   ac_status=$?
64416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64417   (exit $ac_status); }; }; then
64418   eval "$as_ac_var=yes"
64419 else
64420   echo "$as_me: failed program was:" >&5
64421 sed 's/^/| /' conftest.$ac_ext >&5
64422
64423 eval "$as_ac_var=no"
64424 fi
64425 rm -f conftest.err conftest.$ac_objext \
64426       conftest$ac_exeext conftest.$ac_ext
64427 fi
64428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64430 if test `eval echo '${'$as_ac_var'}'` = yes; then
64431   cat >>confdefs.h <<_ACEOF
64432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64433 _ACEOF
64434
64435 fi
64436 done
64437
64438   else
64439
64440   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
64441 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
64442   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
64443     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
64444   echo $ECHO_N "(cached) $ECHO_C" >&6
64445 else
64446
64447
64448
64449       ac_ext=cc
64450 ac_cpp='$CXXCPP $CPPFLAGS'
64451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64454
64455       cat >conftest.$ac_ext <<_ACEOF
64456 /* confdefs.h.  */
64457 _ACEOF
64458 cat confdefs.h >>conftest.$ac_ext
64459 cat >>conftest.$ac_ext <<_ACEOF
64460 /* end confdefs.h.  */
64461 #include <math.h>
64462                       #ifdef HAVE_IEEEFP_H
64463                       #include <ieeefp.h>
64464                       #endif
64465
64466 int
64467 main ()
64468 {
64469  _isinf(0);
64470   ;
64471   return 0;
64472 }
64473 _ACEOF
64474 rm -f conftest.$ac_objext
64475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64476   (eval $ac_compile) 2>conftest.er1
64477   ac_status=$?
64478   grep -v '^ *+' conftest.er1 >conftest.err
64479   rm -f conftest.er1
64480   cat conftest.err >&5
64481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64482   (exit $ac_status); } &&
64483          { ac_try='test -z "$ac_cxx_werror_flag"
64484                          || test ! -s conftest.err'
64485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64486   (eval $ac_try) 2>&5
64487   ac_status=$?
64488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64489   (exit $ac_status); }; } &&
64490          { ac_try='test -s conftest.$ac_objext'
64491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64492   (eval $ac_try) 2>&5
64493   ac_status=$?
64494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64495   (exit $ac_status); }; }; then
64496   glibcxx_cv_func__isinf_use=yes
64497 else
64498   echo "$as_me: failed program was:" >&5
64499 sed 's/^/| /' conftest.$ac_ext >&5
64500
64501 glibcxx_cv_func__isinf_use=no
64502 fi
64503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64504       ac_ext=c
64505 ac_cpp='$CPP $CPPFLAGS'
64506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64509
64510
64511 fi
64512
64513   fi
64514   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
64515 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
64516
64517     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64518
64519 for ac_func in _isinf
64520 do
64521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64522 echo "$as_me:$LINENO: checking for $ac_func" >&5
64523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64524 if eval "test \"\${$as_ac_var+set}\" = set"; then
64525   echo $ECHO_N "(cached) $ECHO_C" >&6
64526 else
64527   if test x$gcc_no_link = xyes; then
64528   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64530    { (exit 1); exit 1; }; }
64531 fi
64532 cat >conftest.$ac_ext <<_ACEOF
64533 /* confdefs.h.  */
64534 _ACEOF
64535 cat confdefs.h >>conftest.$ac_ext
64536 cat >>conftest.$ac_ext <<_ACEOF
64537 /* end confdefs.h.  */
64538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64539    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64540 #define $ac_func innocuous_$ac_func
64541
64542 /* System header to define __stub macros and hopefully few prototypes,
64543     which can conflict with char $ac_func (); below.
64544     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64545     <limits.h> exists even on freestanding compilers.  */
64546
64547 #ifdef __STDC__
64548 # include <limits.h>
64549 #else
64550 # include <assert.h>
64551 #endif
64552
64553 #undef $ac_func
64554
64555 /* Override any gcc2 internal prototype to avoid an error.  */
64556 #ifdef __cplusplus
64557 extern "C"
64558 {
64559 #endif
64560 /* We use char because int might match the return type of a gcc2
64561    builtin and then its argument prototype would still apply.  */
64562 char $ac_func ();
64563 /* The GNU C library defines this for functions which it implements
64564     to always fail with ENOSYS.  Some functions are actually named
64565     something starting with __ and the normal name is an alias.  */
64566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64567 choke me
64568 #else
64569 char (*f) () = $ac_func;
64570 #endif
64571 #ifdef __cplusplus
64572 }
64573 #endif
64574
64575 int
64576 main ()
64577 {
64578 return f != $ac_func;
64579   ;
64580   return 0;
64581 }
64582 _ACEOF
64583 rm -f conftest.$ac_objext conftest$ac_exeext
64584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64585   (eval $ac_link) 2>conftest.er1
64586   ac_status=$?
64587   grep -v '^ *+' conftest.er1 >conftest.err
64588   rm -f conftest.er1
64589   cat conftest.err >&5
64590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64591   (exit $ac_status); } &&
64592          { ac_try='test -z "$ac_c_werror_flag"
64593                          || test ! -s conftest.err'
64594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64595   (eval $ac_try) 2>&5
64596   ac_status=$?
64597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64598   (exit $ac_status); }; } &&
64599          { ac_try='test -s conftest$ac_exeext'
64600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64601   (eval $ac_try) 2>&5
64602   ac_status=$?
64603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64604   (exit $ac_status); }; }; then
64605   eval "$as_ac_var=yes"
64606 else
64607   echo "$as_me: failed program was:" >&5
64608 sed 's/^/| /' conftest.$ac_ext >&5
64609
64610 eval "$as_ac_var=no"
64611 fi
64612 rm -f conftest.err conftest.$ac_objext \
64613       conftest$ac_exeext conftest.$ac_ext
64614 fi
64615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64617 if test `eval echo '${'$as_ac_var'}'` = yes; then
64618   cat >>confdefs.h <<_ACEOF
64619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64620 _ACEOF
64621
64622 fi
64623 done
64624
64625     fi
64626   fi
64627
64628
64629
64630
64631
64632
64633   echo "$as_me:$LINENO: checking for isnan declaration" >&5
64634 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
64635   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64636     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
64637   echo $ECHO_N "(cached) $ECHO_C" >&6
64638 else
64639
64640
64641
64642       ac_ext=cc
64643 ac_cpp='$CXXCPP $CPPFLAGS'
64644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64647
64648       cat >conftest.$ac_ext <<_ACEOF
64649 /* confdefs.h.  */
64650 _ACEOF
64651 cat confdefs.h >>conftest.$ac_ext
64652 cat >>conftest.$ac_ext <<_ACEOF
64653 /* end confdefs.h.  */
64654 #include <math.h>
64655                       #ifdef HAVE_IEEEFP_H
64656                       #include <ieeefp.h>
64657                       #endif
64658
64659 int
64660 main ()
64661 {
64662  isnan(0);
64663   ;
64664   return 0;
64665 }
64666 _ACEOF
64667 rm -f conftest.$ac_objext
64668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64669   (eval $ac_compile) 2>conftest.er1
64670   ac_status=$?
64671   grep -v '^ *+' conftest.er1 >conftest.err
64672   rm -f conftest.er1
64673   cat conftest.err >&5
64674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64675   (exit $ac_status); } &&
64676          { ac_try='test -z "$ac_cxx_werror_flag"
64677                          || test ! -s conftest.err'
64678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64679   (eval $ac_try) 2>&5
64680   ac_status=$?
64681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64682   (exit $ac_status); }; } &&
64683          { ac_try='test -s conftest.$ac_objext'
64684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64685   (eval $ac_try) 2>&5
64686   ac_status=$?
64687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64688   (exit $ac_status); }; }; then
64689   glibcxx_cv_func_isnan_use=yes
64690 else
64691   echo "$as_me: failed program was:" >&5
64692 sed 's/^/| /' conftest.$ac_ext >&5
64693
64694 glibcxx_cv_func_isnan_use=no
64695 fi
64696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64697       ac_ext=c
64698 ac_cpp='$CPP $CPPFLAGS'
64699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64702
64703
64704 fi
64705
64706   fi
64707   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
64708 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
64709
64710   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64711
64712 for ac_func in isnan
64713 do
64714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64715 echo "$as_me:$LINENO: checking for $ac_func" >&5
64716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64717 if eval "test \"\${$as_ac_var+set}\" = set"; then
64718   echo $ECHO_N "(cached) $ECHO_C" >&6
64719 else
64720   if test x$gcc_no_link = xyes; then
64721   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64723    { (exit 1); exit 1; }; }
64724 fi
64725 cat >conftest.$ac_ext <<_ACEOF
64726 /* confdefs.h.  */
64727 _ACEOF
64728 cat confdefs.h >>conftest.$ac_ext
64729 cat >>conftest.$ac_ext <<_ACEOF
64730 /* end confdefs.h.  */
64731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64732    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64733 #define $ac_func innocuous_$ac_func
64734
64735 /* System header to define __stub macros and hopefully few prototypes,
64736     which can conflict with char $ac_func (); below.
64737     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64738     <limits.h> exists even on freestanding compilers.  */
64739
64740 #ifdef __STDC__
64741 # include <limits.h>
64742 #else
64743 # include <assert.h>
64744 #endif
64745
64746 #undef $ac_func
64747
64748 /* Override any gcc2 internal prototype to avoid an error.  */
64749 #ifdef __cplusplus
64750 extern "C"
64751 {
64752 #endif
64753 /* We use char because int might match the return type of a gcc2
64754    builtin and then its argument prototype would still apply.  */
64755 char $ac_func ();
64756 /* The GNU C library defines this for functions which it implements
64757     to always fail with ENOSYS.  Some functions are actually named
64758     something starting with __ and the normal name is an alias.  */
64759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64760 choke me
64761 #else
64762 char (*f) () = $ac_func;
64763 #endif
64764 #ifdef __cplusplus
64765 }
64766 #endif
64767
64768 int
64769 main ()
64770 {
64771 return f != $ac_func;
64772   ;
64773   return 0;
64774 }
64775 _ACEOF
64776 rm -f conftest.$ac_objext conftest$ac_exeext
64777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64778   (eval $ac_link) 2>conftest.er1
64779   ac_status=$?
64780   grep -v '^ *+' conftest.er1 >conftest.err
64781   rm -f conftest.er1
64782   cat conftest.err >&5
64783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64784   (exit $ac_status); } &&
64785          { ac_try='test -z "$ac_c_werror_flag"
64786                          || test ! -s conftest.err'
64787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64788   (eval $ac_try) 2>&5
64789   ac_status=$?
64790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64791   (exit $ac_status); }; } &&
64792          { ac_try='test -s conftest$ac_exeext'
64793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64794   (eval $ac_try) 2>&5
64795   ac_status=$?
64796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64797   (exit $ac_status); }; }; then
64798   eval "$as_ac_var=yes"
64799 else
64800   echo "$as_me: failed program was:" >&5
64801 sed 's/^/| /' conftest.$ac_ext >&5
64802
64803 eval "$as_ac_var=no"
64804 fi
64805 rm -f conftest.err conftest.$ac_objext \
64806       conftest$ac_exeext conftest.$ac_ext
64807 fi
64808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64810 if test `eval echo '${'$as_ac_var'}'` = yes; then
64811   cat >>confdefs.h <<_ACEOF
64812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64813 _ACEOF
64814
64815 fi
64816 done
64817
64818   else
64819
64820   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
64821 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
64822   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64823     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
64824   echo $ECHO_N "(cached) $ECHO_C" >&6
64825 else
64826
64827
64828
64829       ac_ext=cc
64830 ac_cpp='$CXXCPP $CPPFLAGS'
64831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64834
64835       cat >conftest.$ac_ext <<_ACEOF
64836 /* confdefs.h.  */
64837 _ACEOF
64838 cat confdefs.h >>conftest.$ac_ext
64839 cat >>conftest.$ac_ext <<_ACEOF
64840 /* end confdefs.h.  */
64841 #include <math.h>
64842                       #ifdef HAVE_IEEEFP_H
64843                       #include <ieeefp.h>
64844                       #endif
64845
64846 int
64847 main ()
64848 {
64849  _isnan(0);
64850   ;
64851   return 0;
64852 }
64853 _ACEOF
64854 rm -f conftest.$ac_objext
64855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64856   (eval $ac_compile) 2>conftest.er1
64857   ac_status=$?
64858   grep -v '^ *+' conftest.er1 >conftest.err
64859   rm -f conftest.er1
64860   cat conftest.err >&5
64861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64862   (exit $ac_status); } &&
64863          { ac_try='test -z "$ac_cxx_werror_flag"
64864                          || test ! -s conftest.err'
64865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64866   (eval $ac_try) 2>&5
64867   ac_status=$?
64868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64869   (exit $ac_status); }; } &&
64870          { ac_try='test -s conftest.$ac_objext'
64871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64872   (eval $ac_try) 2>&5
64873   ac_status=$?
64874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64875   (exit $ac_status); }; }; then
64876   glibcxx_cv_func__isnan_use=yes
64877 else
64878   echo "$as_me: failed program was:" >&5
64879 sed 's/^/| /' conftest.$ac_ext >&5
64880
64881 glibcxx_cv_func__isnan_use=no
64882 fi
64883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64884       ac_ext=c
64885 ac_cpp='$CPP $CPPFLAGS'
64886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64889
64890
64891 fi
64892
64893   fi
64894   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
64895 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
64896
64897     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64898
64899 for ac_func in _isnan
64900 do
64901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64902 echo "$as_me:$LINENO: checking for $ac_func" >&5
64903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64904 if eval "test \"\${$as_ac_var+set}\" = set"; then
64905   echo $ECHO_N "(cached) $ECHO_C" >&6
64906 else
64907   if test x$gcc_no_link = xyes; then
64908   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64910    { (exit 1); exit 1; }; }
64911 fi
64912 cat >conftest.$ac_ext <<_ACEOF
64913 /* confdefs.h.  */
64914 _ACEOF
64915 cat confdefs.h >>conftest.$ac_ext
64916 cat >>conftest.$ac_ext <<_ACEOF
64917 /* end confdefs.h.  */
64918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64919    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64920 #define $ac_func innocuous_$ac_func
64921
64922 /* System header to define __stub macros and hopefully few prototypes,
64923     which can conflict with char $ac_func (); below.
64924     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64925     <limits.h> exists even on freestanding compilers.  */
64926
64927 #ifdef __STDC__
64928 # include <limits.h>
64929 #else
64930 # include <assert.h>
64931 #endif
64932
64933 #undef $ac_func
64934
64935 /* Override any gcc2 internal prototype to avoid an error.  */
64936 #ifdef __cplusplus
64937 extern "C"
64938 {
64939 #endif
64940 /* We use char because int might match the return type of a gcc2
64941    builtin and then its argument prototype would still apply.  */
64942 char $ac_func ();
64943 /* The GNU C library defines this for functions which it implements
64944     to always fail with ENOSYS.  Some functions are actually named
64945     something starting with __ and the normal name is an alias.  */
64946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64947 choke me
64948 #else
64949 char (*f) () = $ac_func;
64950 #endif
64951 #ifdef __cplusplus
64952 }
64953 #endif
64954
64955 int
64956 main ()
64957 {
64958 return f != $ac_func;
64959   ;
64960   return 0;
64961 }
64962 _ACEOF
64963 rm -f conftest.$ac_objext conftest$ac_exeext
64964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64965   (eval $ac_link) 2>conftest.er1
64966   ac_status=$?
64967   grep -v '^ *+' conftest.er1 >conftest.err
64968   rm -f conftest.er1
64969   cat conftest.err >&5
64970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64971   (exit $ac_status); } &&
64972          { ac_try='test -z "$ac_c_werror_flag"
64973                          || test ! -s conftest.err'
64974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64975   (eval $ac_try) 2>&5
64976   ac_status=$?
64977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64978   (exit $ac_status); }; } &&
64979          { ac_try='test -s conftest$ac_exeext'
64980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64981   (eval $ac_try) 2>&5
64982   ac_status=$?
64983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64984   (exit $ac_status); }; }; then
64985   eval "$as_ac_var=yes"
64986 else
64987   echo "$as_me: failed program was:" >&5
64988 sed 's/^/| /' conftest.$ac_ext >&5
64989
64990 eval "$as_ac_var=no"
64991 fi
64992 rm -f conftest.err conftest.$ac_objext \
64993       conftest$ac_exeext conftest.$ac_ext
64994 fi
64995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64997 if test `eval echo '${'$as_ac_var'}'` = yes; then
64998   cat >>confdefs.h <<_ACEOF
64999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65000 _ACEOF
65001
65002 fi
65003 done
65004
65005     fi
65006   fi
65007
65008
65009
65010
65011
65012
65013   echo "$as_me:$LINENO: checking for finite declaration" >&5
65014 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
65015   if test x${glibcxx_cv_func_finite_use+set} != xset; then
65016     if test "${glibcxx_cv_func_finite_use+set}" = set; then
65017   echo $ECHO_N "(cached) $ECHO_C" >&6
65018 else
65019
65020
65021
65022       ac_ext=cc
65023 ac_cpp='$CXXCPP $CPPFLAGS'
65024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65027
65028       cat >conftest.$ac_ext <<_ACEOF
65029 /* confdefs.h.  */
65030 _ACEOF
65031 cat confdefs.h >>conftest.$ac_ext
65032 cat >>conftest.$ac_ext <<_ACEOF
65033 /* end confdefs.h.  */
65034 #include <math.h>
65035                       #ifdef HAVE_IEEEFP_H
65036                       #include <ieeefp.h>
65037                       #endif
65038
65039 int
65040 main ()
65041 {
65042  finite(0);
65043   ;
65044   return 0;
65045 }
65046 _ACEOF
65047 rm -f conftest.$ac_objext
65048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65049   (eval $ac_compile) 2>conftest.er1
65050   ac_status=$?
65051   grep -v '^ *+' conftest.er1 >conftest.err
65052   rm -f conftest.er1
65053   cat conftest.err >&5
65054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65055   (exit $ac_status); } &&
65056          { ac_try='test -z "$ac_cxx_werror_flag"
65057                          || test ! -s conftest.err'
65058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65059   (eval $ac_try) 2>&5
65060   ac_status=$?
65061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65062   (exit $ac_status); }; } &&
65063          { ac_try='test -s conftest.$ac_objext'
65064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65065   (eval $ac_try) 2>&5
65066   ac_status=$?
65067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65068   (exit $ac_status); }; }; then
65069   glibcxx_cv_func_finite_use=yes
65070 else
65071   echo "$as_me: failed program was:" >&5
65072 sed 's/^/| /' conftest.$ac_ext >&5
65073
65074 glibcxx_cv_func_finite_use=no
65075 fi
65076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65077       ac_ext=c
65078 ac_cpp='$CPP $CPPFLAGS'
65079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65082
65083
65084 fi
65085
65086   fi
65087   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
65088 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
65089
65090   if test x$glibcxx_cv_func_finite_use = x"yes"; then
65091
65092 for ac_func in finite
65093 do
65094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65095 echo "$as_me:$LINENO: checking for $ac_func" >&5
65096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65097 if eval "test \"\${$as_ac_var+set}\" = set"; then
65098   echo $ECHO_N "(cached) $ECHO_C" >&6
65099 else
65100   if test x$gcc_no_link = xyes; then
65101   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65103    { (exit 1); exit 1; }; }
65104 fi
65105 cat >conftest.$ac_ext <<_ACEOF
65106 /* confdefs.h.  */
65107 _ACEOF
65108 cat confdefs.h >>conftest.$ac_ext
65109 cat >>conftest.$ac_ext <<_ACEOF
65110 /* end confdefs.h.  */
65111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65112    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65113 #define $ac_func innocuous_$ac_func
65114
65115 /* System header to define __stub macros and hopefully few prototypes,
65116     which can conflict with char $ac_func (); below.
65117     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65118     <limits.h> exists even on freestanding compilers.  */
65119
65120 #ifdef __STDC__
65121 # include <limits.h>
65122 #else
65123 # include <assert.h>
65124 #endif
65125
65126 #undef $ac_func
65127
65128 /* Override any gcc2 internal prototype to avoid an error.  */
65129 #ifdef __cplusplus
65130 extern "C"
65131 {
65132 #endif
65133 /* We use char because int might match the return type of a gcc2
65134    builtin and then its argument prototype would still apply.  */
65135 char $ac_func ();
65136 /* The GNU C library defines this for functions which it implements
65137     to always fail with ENOSYS.  Some functions are actually named
65138     something starting with __ and the normal name is an alias.  */
65139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65140 choke me
65141 #else
65142 char (*f) () = $ac_func;
65143 #endif
65144 #ifdef __cplusplus
65145 }
65146 #endif
65147
65148 int
65149 main ()
65150 {
65151 return f != $ac_func;
65152   ;
65153   return 0;
65154 }
65155 _ACEOF
65156 rm -f conftest.$ac_objext conftest$ac_exeext
65157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65158   (eval $ac_link) 2>conftest.er1
65159   ac_status=$?
65160   grep -v '^ *+' conftest.er1 >conftest.err
65161   rm -f conftest.er1
65162   cat conftest.err >&5
65163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65164   (exit $ac_status); } &&
65165          { ac_try='test -z "$ac_c_werror_flag"
65166                          || test ! -s conftest.err'
65167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65168   (eval $ac_try) 2>&5
65169   ac_status=$?
65170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65171   (exit $ac_status); }; } &&
65172          { ac_try='test -s conftest$ac_exeext'
65173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65174   (eval $ac_try) 2>&5
65175   ac_status=$?
65176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65177   (exit $ac_status); }; }; then
65178   eval "$as_ac_var=yes"
65179 else
65180   echo "$as_me: failed program was:" >&5
65181 sed 's/^/| /' conftest.$ac_ext >&5
65182
65183 eval "$as_ac_var=no"
65184 fi
65185 rm -f conftest.err conftest.$ac_objext \
65186       conftest$ac_exeext conftest.$ac_ext
65187 fi
65188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65190 if test `eval echo '${'$as_ac_var'}'` = yes; then
65191   cat >>confdefs.h <<_ACEOF
65192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65193 _ACEOF
65194
65195 fi
65196 done
65197
65198   else
65199
65200   echo "$as_me:$LINENO: checking for _finite declaration" >&5
65201 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
65202   if test x${glibcxx_cv_func__finite_use+set} != xset; then
65203     if test "${glibcxx_cv_func__finite_use+set}" = set; then
65204   echo $ECHO_N "(cached) $ECHO_C" >&6
65205 else
65206
65207
65208
65209       ac_ext=cc
65210 ac_cpp='$CXXCPP $CPPFLAGS'
65211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65214
65215       cat >conftest.$ac_ext <<_ACEOF
65216 /* confdefs.h.  */
65217 _ACEOF
65218 cat confdefs.h >>conftest.$ac_ext
65219 cat >>conftest.$ac_ext <<_ACEOF
65220 /* end confdefs.h.  */
65221 #include <math.h>
65222                       #ifdef HAVE_IEEEFP_H
65223                       #include <ieeefp.h>
65224                       #endif
65225
65226 int
65227 main ()
65228 {
65229  _finite(0);
65230   ;
65231   return 0;
65232 }
65233 _ACEOF
65234 rm -f conftest.$ac_objext
65235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65236   (eval $ac_compile) 2>conftest.er1
65237   ac_status=$?
65238   grep -v '^ *+' conftest.er1 >conftest.err
65239   rm -f conftest.er1
65240   cat conftest.err >&5
65241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65242   (exit $ac_status); } &&
65243          { ac_try='test -z "$ac_cxx_werror_flag"
65244                          || test ! -s conftest.err'
65245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65246   (eval $ac_try) 2>&5
65247   ac_status=$?
65248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65249   (exit $ac_status); }; } &&
65250          { ac_try='test -s conftest.$ac_objext'
65251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65252   (eval $ac_try) 2>&5
65253   ac_status=$?
65254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65255   (exit $ac_status); }; }; then
65256   glibcxx_cv_func__finite_use=yes
65257 else
65258   echo "$as_me: failed program was:" >&5
65259 sed 's/^/| /' conftest.$ac_ext >&5
65260
65261 glibcxx_cv_func__finite_use=no
65262 fi
65263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65264       ac_ext=c
65265 ac_cpp='$CPP $CPPFLAGS'
65266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65269
65270
65271 fi
65272
65273   fi
65274   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
65275 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
65276
65277     if test x$glibcxx_cv_func__finite_use = x"yes"; then
65278
65279 for ac_func in _finite
65280 do
65281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65282 echo "$as_me:$LINENO: checking for $ac_func" >&5
65283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65284 if eval "test \"\${$as_ac_var+set}\" = set"; then
65285   echo $ECHO_N "(cached) $ECHO_C" >&6
65286 else
65287   if test x$gcc_no_link = xyes; then
65288   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65290    { (exit 1); exit 1; }; }
65291 fi
65292 cat >conftest.$ac_ext <<_ACEOF
65293 /* confdefs.h.  */
65294 _ACEOF
65295 cat confdefs.h >>conftest.$ac_ext
65296 cat >>conftest.$ac_ext <<_ACEOF
65297 /* end confdefs.h.  */
65298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65299    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65300 #define $ac_func innocuous_$ac_func
65301
65302 /* System header to define __stub macros and hopefully few prototypes,
65303     which can conflict with char $ac_func (); below.
65304     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65305     <limits.h> exists even on freestanding compilers.  */
65306
65307 #ifdef __STDC__
65308 # include <limits.h>
65309 #else
65310 # include <assert.h>
65311 #endif
65312
65313 #undef $ac_func
65314
65315 /* Override any gcc2 internal prototype to avoid an error.  */
65316 #ifdef __cplusplus
65317 extern "C"
65318 {
65319 #endif
65320 /* We use char because int might match the return type of a gcc2
65321    builtin and then its argument prototype would still apply.  */
65322 char $ac_func ();
65323 /* The GNU C library defines this for functions which it implements
65324     to always fail with ENOSYS.  Some functions are actually named
65325     something starting with __ and the normal name is an alias.  */
65326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65327 choke me
65328 #else
65329 char (*f) () = $ac_func;
65330 #endif
65331 #ifdef __cplusplus
65332 }
65333 #endif
65334
65335 int
65336 main ()
65337 {
65338 return f != $ac_func;
65339   ;
65340   return 0;
65341 }
65342 _ACEOF
65343 rm -f conftest.$ac_objext conftest$ac_exeext
65344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65345   (eval $ac_link) 2>conftest.er1
65346   ac_status=$?
65347   grep -v '^ *+' conftest.er1 >conftest.err
65348   rm -f conftest.er1
65349   cat conftest.err >&5
65350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65351   (exit $ac_status); } &&
65352          { ac_try='test -z "$ac_c_werror_flag"
65353                          || test ! -s conftest.err'
65354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65355   (eval $ac_try) 2>&5
65356   ac_status=$?
65357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65358   (exit $ac_status); }; } &&
65359          { ac_try='test -s conftest$ac_exeext'
65360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65361   (eval $ac_try) 2>&5
65362   ac_status=$?
65363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65364   (exit $ac_status); }; }; then
65365   eval "$as_ac_var=yes"
65366 else
65367   echo "$as_me: failed program was:" >&5
65368 sed 's/^/| /' conftest.$ac_ext >&5
65369
65370 eval "$as_ac_var=no"
65371 fi
65372 rm -f conftest.err conftest.$ac_objext \
65373       conftest$ac_exeext conftest.$ac_ext
65374 fi
65375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65377 if test `eval echo '${'$as_ac_var'}'` = yes; then
65378   cat >>confdefs.h <<_ACEOF
65379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65380 _ACEOF
65381
65382 fi
65383 done
65384
65385     fi
65386   fi
65387
65388
65389
65390
65391
65392
65393   echo "$as_me:$LINENO: checking for copysign declaration" >&5
65394 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
65395   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
65396     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
65397   echo $ECHO_N "(cached) $ECHO_C" >&6
65398 else
65399
65400
65401
65402       ac_ext=cc
65403 ac_cpp='$CXXCPP $CPPFLAGS'
65404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65407
65408       cat >conftest.$ac_ext <<_ACEOF
65409 /* confdefs.h.  */
65410 _ACEOF
65411 cat confdefs.h >>conftest.$ac_ext
65412 cat >>conftest.$ac_ext <<_ACEOF
65413 /* end confdefs.h.  */
65414 #include <math.h>
65415 int
65416 main ()
65417 {
65418  copysign(0, 0);
65419   ;
65420   return 0;
65421 }
65422 _ACEOF
65423 rm -f conftest.$ac_objext
65424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65425   (eval $ac_compile) 2>conftest.er1
65426   ac_status=$?
65427   grep -v '^ *+' conftest.er1 >conftest.err
65428   rm -f conftest.er1
65429   cat conftest.err >&5
65430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65431   (exit $ac_status); } &&
65432          { ac_try='test -z "$ac_cxx_werror_flag"
65433                          || test ! -s conftest.err'
65434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65435   (eval $ac_try) 2>&5
65436   ac_status=$?
65437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65438   (exit $ac_status); }; } &&
65439          { ac_try='test -s conftest.$ac_objext'
65440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65441   (eval $ac_try) 2>&5
65442   ac_status=$?
65443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65444   (exit $ac_status); }; }; then
65445   glibcxx_cv_func_copysign_use=yes
65446 else
65447   echo "$as_me: failed program was:" >&5
65448 sed 's/^/| /' conftest.$ac_ext >&5
65449
65450 glibcxx_cv_func_copysign_use=no
65451 fi
65452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65453       ac_ext=c
65454 ac_cpp='$CPP $CPPFLAGS'
65455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65458
65459
65460 fi
65461
65462   fi
65463   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
65464 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
65465
65466   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
65467
65468 for ac_func in copysign
65469 do
65470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65471 echo "$as_me:$LINENO: checking for $ac_func" >&5
65472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65473 if eval "test \"\${$as_ac_var+set}\" = set"; then
65474   echo $ECHO_N "(cached) $ECHO_C" >&6
65475 else
65476   if test x$gcc_no_link = xyes; then
65477   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65479    { (exit 1); exit 1; }; }
65480 fi
65481 cat >conftest.$ac_ext <<_ACEOF
65482 /* confdefs.h.  */
65483 _ACEOF
65484 cat confdefs.h >>conftest.$ac_ext
65485 cat >>conftest.$ac_ext <<_ACEOF
65486 /* end confdefs.h.  */
65487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65488    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65489 #define $ac_func innocuous_$ac_func
65490
65491 /* System header to define __stub macros and hopefully few prototypes,
65492     which can conflict with char $ac_func (); below.
65493     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65494     <limits.h> exists even on freestanding compilers.  */
65495
65496 #ifdef __STDC__
65497 # include <limits.h>
65498 #else
65499 # include <assert.h>
65500 #endif
65501
65502 #undef $ac_func
65503
65504 /* Override any gcc2 internal prototype to avoid an error.  */
65505 #ifdef __cplusplus
65506 extern "C"
65507 {
65508 #endif
65509 /* We use char because int might match the return type of a gcc2
65510    builtin and then its argument prototype would still apply.  */
65511 char $ac_func ();
65512 /* The GNU C library defines this for functions which it implements
65513     to always fail with ENOSYS.  Some functions are actually named
65514     something starting with __ and the normal name is an alias.  */
65515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65516 choke me
65517 #else
65518 char (*f) () = $ac_func;
65519 #endif
65520 #ifdef __cplusplus
65521 }
65522 #endif
65523
65524 int
65525 main ()
65526 {
65527 return f != $ac_func;
65528   ;
65529   return 0;
65530 }
65531 _ACEOF
65532 rm -f conftest.$ac_objext conftest$ac_exeext
65533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65534   (eval $ac_link) 2>conftest.er1
65535   ac_status=$?
65536   grep -v '^ *+' conftest.er1 >conftest.err
65537   rm -f conftest.er1
65538   cat conftest.err >&5
65539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65540   (exit $ac_status); } &&
65541          { ac_try='test -z "$ac_c_werror_flag"
65542                          || test ! -s conftest.err'
65543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65544   (eval $ac_try) 2>&5
65545   ac_status=$?
65546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65547   (exit $ac_status); }; } &&
65548          { ac_try='test -s conftest$ac_exeext'
65549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65550   (eval $ac_try) 2>&5
65551   ac_status=$?
65552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65553   (exit $ac_status); }; }; then
65554   eval "$as_ac_var=yes"
65555 else
65556   echo "$as_me: failed program was:" >&5
65557 sed 's/^/| /' conftest.$ac_ext >&5
65558
65559 eval "$as_ac_var=no"
65560 fi
65561 rm -f conftest.err conftest.$ac_objext \
65562       conftest$ac_exeext conftest.$ac_ext
65563 fi
65564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65566 if test `eval echo '${'$as_ac_var'}'` = yes; then
65567   cat >>confdefs.h <<_ACEOF
65568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65569 _ACEOF
65570
65571 fi
65572 done
65573
65574   else
65575
65576   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
65577 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
65578   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
65579     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
65580   echo $ECHO_N "(cached) $ECHO_C" >&6
65581 else
65582
65583
65584
65585       ac_ext=cc
65586 ac_cpp='$CXXCPP $CPPFLAGS'
65587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65590
65591       cat >conftest.$ac_ext <<_ACEOF
65592 /* confdefs.h.  */
65593 _ACEOF
65594 cat confdefs.h >>conftest.$ac_ext
65595 cat >>conftest.$ac_ext <<_ACEOF
65596 /* end confdefs.h.  */
65597 #include <math.h>
65598 int
65599 main ()
65600 {
65601  _copysign(0, 0);
65602   ;
65603   return 0;
65604 }
65605 _ACEOF
65606 rm -f conftest.$ac_objext
65607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65608   (eval $ac_compile) 2>conftest.er1
65609   ac_status=$?
65610   grep -v '^ *+' conftest.er1 >conftest.err
65611   rm -f conftest.er1
65612   cat conftest.err >&5
65613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65614   (exit $ac_status); } &&
65615          { ac_try='test -z "$ac_cxx_werror_flag"
65616                          || test ! -s conftest.err'
65617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65618   (eval $ac_try) 2>&5
65619   ac_status=$?
65620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65621   (exit $ac_status); }; } &&
65622          { ac_try='test -s conftest.$ac_objext'
65623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65624   (eval $ac_try) 2>&5
65625   ac_status=$?
65626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65627   (exit $ac_status); }; }; then
65628   glibcxx_cv_func__copysign_use=yes
65629 else
65630   echo "$as_me: failed program was:" >&5
65631 sed 's/^/| /' conftest.$ac_ext >&5
65632
65633 glibcxx_cv_func__copysign_use=no
65634 fi
65635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65636       ac_ext=c
65637 ac_cpp='$CPP $CPPFLAGS'
65638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65641
65642
65643 fi
65644
65645   fi
65646   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
65647 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
65648
65649     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
65650
65651 for ac_func in _copysign
65652 do
65653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65654 echo "$as_me:$LINENO: checking for $ac_func" >&5
65655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65656 if eval "test \"\${$as_ac_var+set}\" = set"; then
65657   echo $ECHO_N "(cached) $ECHO_C" >&6
65658 else
65659   if test x$gcc_no_link = xyes; then
65660   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65662    { (exit 1); exit 1; }; }
65663 fi
65664 cat >conftest.$ac_ext <<_ACEOF
65665 /* confdefs.h.  */
65666 _ACEOF
65667 cat confdefs.h >>conftest.$ac_ext
65668 cat >>conftest.$ac_ext <<_ACEOF
65669 /* end confdefs.h.  */
65670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65671    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65672 #define $ac_func innocuous_$ac_func
65673
65674 /* System header to define __stub macros and hopefully few prototypes,
65675     which can conflict with char $ac_func (); below.
65676     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65677     <limits.h> exists even on freestanding compilers.  */
65678
65679 #ifdef __STDC__
65680 # include <limits.h>
65681 #else
65682 # include <assert.h>
65683 #endif
65684
65685 #undef $ac_func
65686
65687 /* Override any gcc2 internal prototype to avoid an error.  */
65688 #ifdef __cplusplus
65689 extern "C"
65690 {
65691 #endif
65692 /* We use char because int might match the return type of a gcc2
65693    builtin and then its argument prototype would still apply.  */
65694 char $ac_func ();
65695 /* The GNU C library defines this for functions which it implements
65696     to always fail with ENOSYS.  Some functions are actually named
65697     something starting with __ and the normal name is an alias.  */
65698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65699 choke me
65700 #else
65701 char (*f) () = $ac_func;
65702 #endif
65703 #ifdef __cplusplus
65704 }
65705 #endif
65706
65707 int
65708 main ()
65709 {
65710 return f != $ac_func;
65711   ;
65712   return 0;
65713 }
65714 _ACEOF
65715 rm -f conftest.$ac_objext conftest$ac_exeext
65716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65717   (eval $ac_link) 2>conftest.er1
65718   ac_status=$?
65719   grep -v '^ *+' conftest.er1 >conftest.err
65720   rm -f conftest.er1
65721   cat conftest.err >&5
65722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65723   (exit $ac_status); } &&
65724          { ac_try='test -z "$ac_c_werror_flag"
65725                          || test ! -s conftest.err'
65726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65727   (eval $ac_try) 2>&5
65728   ac_status=$?
65729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65730   (exit $ac_status); }; } &&
65731          { ac_try='test -s conftest$ac_exeext'
65732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65733   (eval $ac_try) 2>&5
65734   ac_status=$?
65735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65736   (exit $ac_status); }; }; then
65737   eval "$as_ac_var=yes"
65738 else
65739   echo "$as_me: failed program was:" >&5
65740 sed 's/^/| /' conftest.$ac_ext >&5
65741
65742 eval "$as_ac_var=no"
65743 fi
65744 rm -f conftest.err conftest.$ac_objext \
65745       conftest$ac_exeext conftest.$ac_ext
65746 fi
65747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65749 if test `eval echo '${'$as_ac_var'}'` = yes; then
65750   cat >>confdefs.h <<_ACEOF
65751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65752 _ACEOF
65753
65754 fi
65755 done
65756
65757     fi
65758   fi
65759
65760
65761
65762
65763
65764
65765   echo "$as_me:$LINENO: checking for sincos declaration" >&5
65766 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
65767   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65768     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
65769   echo $ECHO_N "(cached) $ECHO_C" >&6
65770 else
65771
65772
65773
65774       ac_ext=cc
65775 ac_cpp='$CXXCPP $CPPFLAGS'
65776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65779
65780       cat >conftest.$ac_ext <<_ACEOF
65781 /* confdefs.h.  */
65782 _ACEOF
65783 cat confdefs.h >>conftest.$ac_ext
65784 cat >>conftest.$ac_ext <<_ACEOF
65785 /* end confdefs.h.  */
65786 #include <math.h>
65787 int
65788 main ()
65789 {
65790  sincos(0, 0, 0);
65791   ;
65792   return 0;
65793 }
65794 _ACEOF
65795 rm -f conftest.$ac_objext
65796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65797   (eval $ac_compile) 2>conftest.er1
65798   ac_status=$?
65799   grep -v '^ *+' conftest.er1 >conftest.err
65800   rm -f conftest.er1
65801   cat conftest.err >&5
65802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65803   (exit $ac_status); } &&
65804          { ac_try='test -z "$ac_cxx_werror_flag"
65805                          || test ! -s conftest.err'
65806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65807   (eval $ac_try) 2>&5
65808   ac_status=$?
65809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65810   (exit $ac_status); }; } &&
65811          { ac_try='test -s conftest.$ac_objext'
65812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65813   (eval $ac_try) 2>&5
65814   ac_status=$?
65815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65816   (exit $ac_status); }; }; then
65817   glibcxx_cv_func_sincos_use=yes
65818 else
65819   echo "$as_me: failed program was:" >&5
65820 sed 's/^/| /' conftest.$ac_ext >&5
65821
65822 glibcxx_cv_func_sincos_use=no
65823 fi
65824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65825       ac_ext=c
65826 ac_cpp='$CPP $CPPFLAGS'
65827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65830
65831
65832 fi
65833
65834   fi
65835   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
65836 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
65837
65838   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65839
65840 for ac_func in sincos
65841 do
65842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65843 echo "$as_me:$LINENO: checking for $ac_func" >&5
65844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65845 if eval "test \"\${$as_ac_var+set}\" = set"; then
65846   echo $ECHO_N "(cached) $ECHO_C" >&6
65847 else
65848   if test x$gcc_no_link = xyes; then
65849   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65851    { (exit 1); exit 1; }; }
65852 fi
65853 cat >conftest.$ac_ext <<_ACEOF
65854 /* confdefs.h.  */
65855 _ACEOF
65856 cat confdefs.h >>conftest.$ac_ext
65857 cat >>conftest.$ac_ext <<_ACEOF
65858 /* end confdefs.h.  */
65859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65860    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65861 #define $ac_func innocuous_$ac_func
65862
65863 /* System header to define __stub macros and hopefully few prototypes,
65864     which can conflict with char $ac_func (); below.
65865     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65866     <limits.h> exists even on freestanding compilers.  */
65867
65868 #ifdef __STDC__
65869 # include <limits.h>
65870 #else
65871 # include <assert.h>
65872 #endif
65873
65874 #undef $ac_func
65875
65876 /* Override any gcc2 internal prototype to avoid an error.  */
65877 #ifdef __cplusplus
65878 extern "C"
65879 {
65880 #endif
65881 /* We use char because int might match the return type of a gcc2
65882    builtin and then its argument prototype would still apply.  */
65883 char $ac_func ();
65884 /* The GNU C library defines this for functions which it implements
65885     to always fail with ENOSYS.  Some functions are actually named
65886     something starting with __ and the normal name is an alias.  */
65887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65888 choke me
65889 #else
65890 char (*f) () = $ac_func;
65891 #endif
65892 #ifdef __cplusplus
65893 }
65894 #endif
65895
65896 int
65897 main ()
65898 {
65899 return f != $ac_func;
65900   ;
65901   return 0;
65902 }
65903 _ACEOF
65904 rm -f conftest.$ac_objext conftest$ac_exeext
65905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65906   (eval $ac_link) 2>conftest.er1
65907   ac_status=$?
65908   grep -v '^ *+' conftest.er1 >conftest.err
65909   rm -f conftest.er1
65910   cat conftest.err >&5
65911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65912   (exit $ac_status); } &&
65913          { ac_try='test -z "$ac_c_werror_flag"
65914                          || test ! -s conftest.err'
65915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65916   (eval $ac_try) 2>&5
65917   ac_status=$?
65918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65919   (exit $ac_status); }; } &&
65920          { ac_try='test -s conftest$ac_exeext'
65921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65922   (eval $ac_try) 2>&5
65923   ac_status=$?
65924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65925   (exit $ac_status); }; }; then
65926   eval "$as_ac_var=yes"
65927 else
65928   echo "$as_me: failed program was:" >&5
65929 sed 's/^/| /' conftest.$ac_ext >&5
65930
65931 eval "$as_ac_var=no"
65932 fi
65933 rm -f conftest.err conftest.$ac_objext \
65934       conftest$ac_exeext conftest.$ac_ext
65935 fi
65936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65938 if test `eval echo '${'$as_ac_var'}'` = yes; then
65939   cat >>confdefs.h <<_ACEOF
65940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65941 _ACEOF
65942
65943 fi
65944 done
65945
65946   else
65947
65948   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
65949 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
65950   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65951     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
65952   echo $ECHO_N "(cached) $ECHO_C" >&6
65953 else
65954
65955
65956
65957       ac_ext=cc
65958 ac_cpp='$CXXCPP $CPPFLAGS'
65959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65962
65963       cat >conftest.$ac_ext <<_ACEOF
65964 /* confdefs.h.  */
65965 _ACEOF
65966 cat confdefs.h >>conftest.$ac_ext
65967 cat >>conftest.$ac_ext <<_ACEOF
65968 /* end confdefs.h.  */
65969 #include <math.h>
65970 int
65971 main ()
65972 {
65973  _sincos(0, 0, 0);
65974   ;
65975   return 0;
65976 }
65977 _ACEOF
65978 rm -f conftest.$ac_objext
65979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65980   (eval $ac_compile) 2>conftest.er1
65981   ac_status=$?
65982   grep -v '^ *+' conftest.er1 >conftest.err
65983   rm -f conftest.er1
65984   cat conftest.err >&5
65985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65986   (exit $ac_status); } &&
65987          { ac_try='test -z "$ac_cxx_werror_flag"
65988                          || test ! -s conftest.err'
65989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65990   (eval $ac_try) 2>&5
65991   ac_status=$?
65992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65993   (exit $ac_status); }; } &&
65994          { ac_try='test -s conftest.$ac_objext'
65995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65996   (eval $ac_try) 2>&5
65997   ac_status=$?
65998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65999   (exit $ac_status); }; }; then
66000   glibcxx_cv_func__sincos_use=yes
66001 else
66002   echo "$as_me: failed program was:" >&5
66003 sed 's/^/| /' conftest.$ac_ext >&5
66004
66005 glibcxx_cv_func__sincos_use=no
66006 fi
66007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66008       ac_ext=c
66009 ac_cpp='$CPP $CPPFLAGS'
66010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66013
66014
66015 fi
66016
66017   fi
66018   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
66019 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
66020
66021     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66022
66023 for ac_func in _sincos
66024 do
66025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66026 echo "$as_me:$LINENO: checking for $ac_func" >&5
66027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66028 if eval "test \"\${$as_ac_var+set}\" = set"; then
66029   echo $ECHO_N "(cached) $ECHO_C" >&6
66030 else
66031   if test x$gcc_no_link = xyes; then
66032   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66034    { (exit 1); exit 1; }; }
66035 fi
66036 cat >conftest.$ac_ext <<_ACEOF
66037 /* confdefs.h.  */
66038 _ACEOF
66039 cat confdefs.h >>conftest.$ac_ext
66040 cat >>conftest.$ac_ext <<_ACEOF
66041 /* end confdefs.h.  */
66042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66043    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66044 #define $ac_func innocuous_$ac_func
66045
66046 /* System header to define __stub macros and hopefully few prototypes,
66047     which can conflict with char $ac_func (); below.
66048     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66049     <limits.h> exists even on freestanding compilers.  */
66050
66051 #ifdef __STDC__
66052 # include <limits.h>
66053 #else
66054 # include <assert.h>
66055 #endif
66056
66057 #undef $ac_func
66058
66059 /* Override any gcc2 internal prototype to avoid an error.  */
66060 #ifdef __cplusplus
66061 extern "C"
66062 {
66063 #endif
66064 /* We use char because int might match the return type of a gcc2
66065    builtin and then its argument prototype would still apply.  */
66066 char $ac_func ();
66067 /* The GNU C library defines this for functions which it implements
66068     to always fail with ENOSYS.  Some functions are actually named
66069     something starting with __ and the normal name is an alias.  */
66070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66071 choke me
66072 #else
66073 char (*f) () = $ac_func;
66074 #endif
66075 #ifdef __cplusplus
66076 }
66077 #endif
66078
66079 int
66080 main ()
66081 {
66082 return f != $ac_func;
66083   ;
66084   return 0;
66085 }
66086 _ACEOF
66087 rm -f conftest.$ac_objext conftest$ac_exeext
66088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66089   (eval $ac_link) 2>conftest.er1
66090   ac_status=$?
66091   grep -v '^ *+' conftest.er1 >conftest.err
66092   rm -f conftest.er1
66093   cat conftest.err >&5
66094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66095   (exit $ac_status); } &&
66096          { ac_try='test -z "$ac_c_werror_flag"
66097                          || test ! -s conftest.err'
66098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66099   (eval $ac_try) 2>&5
66100   ac_status=$?
66101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66102   (exit $ac_status); }; } &&
66103          { ac_try='test -s conftest$ac_exeext'
66104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66105   (eval $ac_try) 2>&5
66106   ac_status=$?
66107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66108   (exit $ac_status); }; }; then
66109   eval "$as_ac_var=yes"
66110 else
66111   echo "$as_me: failed program was:" >&5
66112 sed 's/^/| /' conftest.$ac_ext >&5
66113
66114 eval "$as_ac_var=no"
66115 fi
66116 rm -f conftest.err conftest.$ac_objext \
66117       conftest$ac_exeext conftest.$ac_ext
66118 fi
66119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66121 if test `eval echo '${'$as_ac_var'}'` = yes; then
66122   cat >>confdefs.h <<_ACEOF
66123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66124 _ACEOF
66125
66126 fi
66127 done
66128
66129     fi
66130   fi
66131
66132
66133
66134
66135
66136
66137   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
66138 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
66139   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66140     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
66141   echo $ECHO_N "(cached) $ECHO_C" >&6
66142 else
66143
66144
66145
66146       ac_ext=cc
66147 ac_cpp='$CXXCPP $CPPFLAGS'
66148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66151
66152       cat >conftest.$ac_ext <<_ACEOF
66153 /* confdefs.h.  */
66154 _ACEOF
66155 cat confdefs.h >>conftest.$ac_ext
66156 cat >>conftest.$ac_ext <<_ACEOF
66157 /* end confdefs.h.  */
66158 #include <math.h>
66159                       #ifdef HAVE_IEEEFP_H
66160                       #include <ieeefp.h>
66161                       #endif
66162
66163 int
66164 main ()
66165 {
66166  fpclass(0);
66167   ;
66168   return 0;
66169 }
66170 _ACEOF
66171 rm -f conftest.$ac_objext
66172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66173   (eval $ac_compile) 2>conftest.er1
66174   ac_status=$?
66175   grep -v '^ *+' conftest.er1 >conftest.err
66176   rm -f conftest.er1
66177   cat conftest.err >&5
66178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66179   (exit $ac_status); } &&
66180          { ac_try='test -z "$ac_cxx_werror_flag"
66181                          || test ! -s conftest.err'
66182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66183   (eval $ac_try) 2>&5
66184   ac_status=$?
66185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66186   (exit $ac_status); }; } &&
66187          { ac_try='test -s conftest.$ac_objext'
66188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66189   (eval $ac_try) 2>&5
66190   ac_status=$?
66191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66192   (exit $ac_status); }; }; then
66193   glibcxx_cv_func_fpclass_use=yes
66194 else
66195   echo "$as_me: failed program was:" >&5
66196 sed 's/^/| /' conftest.$ac_ext >&5
66197
66198 glibcxx_cv_func_fpclass_use=no
66199 fi
66200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66201       ac_ext=c
66202 ac_cpp='$CPP $CPPFLAGS'
66203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66206
66207
66208 fi
66209
66210   fi
66211   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
66212 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
66213
66214   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
66215
66216 for ac_func in fpclass
66217 do
66218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66219 echo "$as_me:$LINENO: checking for $ac_func" >&5
66220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66221 if eval "test \"\${$as_ac_var+set}\" = set"; then
66222   echo $ECHO_N "(cached) $ECHO_C" >&6
66223 else
66224   if test x$gcc_no_link = xyes; then
66225   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66227    { (exit 1); exit 1; }; }
66228 fi
66229 cat >conftest.$ac_ext <<_ACEOF
66230 /* confdefs.h.  */
66231 _ACEOF
66232 cat confdefs.h >>conftest.$ac_ext
66233 cat >>conftest.$ac_ext <<_ACEOF
66234 /* end confdefs.h.  */
66235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66236    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66237 #define $ac_func innocuous_$ac_func
66238
66239 /* System header to define __stub macros and hopefully few prototypes,
66240     which can conflict with char $ac_func (); below.
66241     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66242     <limits.h> exists even on freestanding compilers.  */
66243
66244 #ifdef __STDC__
66245 # include <limits.h>
66246 #else
66247 # include <assert.h>
66248 #endif
66249
66250 #undef $ac_func
66251
66252 /* Override any gcc2 internal prototype to avoid an error.  */
66253 #ifdef __cplusplus
66254 extern "C"
66255 {
66256 #endif
66257 /* We use char because int might match the return type of a gcc2
66258    builtin and then its argument prototype would still apply.  */
66259 char $ac_func ();
66260 /* The GNU C library defines this for functions which it implements
66261     to always fail with ENOSYS.  Some functions are actually named
66262     something starting with __ and the normal name is an alias.  */
66263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66264 choke me
66265 #else
66266 char (*f) () = $ac_func;
66267 #endif
66268 #ifdef __cplusplus
66269 }
66270 #endif
66271
66272 int
66273 main ()
66274 {
66275 return f != $ac_func;
66276   ;
66277   return 0;
66278 }
66279 _ACEOF
66280 rm -f conftest.$ac_objext conftest$ac_exeext
66281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66282   (eval $ac_link) 2>conftest.er1
66283   ac_status=$?
66284   grep -v '^ *+' conftest.er1 >conftest.err
66285   rm -f conftest.er1
66286   cat conftest.err >&5
66287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66288   (exit $ac_status); } &&
66289          { ac_try='test -z "$ac_c_werror_flag"
66290                          || test ! -s conftest.err'
66291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66292   (eval $ac_try) 2>&5
66293   ac_status=$?
66294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66295   (exit $ac_status); }; } &&
66296          { ac_try='test -s conftest$ac_exeext'
66297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66298   (eval $ac_try) 2>&5
66299   ac_status=$?
66300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66301   (exit $ac_status); }; }; then
66302   eval "$as_ac_var=yes"
66303 else
66304   echo "$as_me: failed program was:" >&5
66305 sed 's/^/| /' conftest.$ac_ext >&5
66306
66307 eval "$as_ac_var=no"
66308 fi
66309 rm -f conftest.err conftest.$ac_objext \
66310       conftest$ac_exeext conftest.$ac_ext
66311 fi
66312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66314 if test `eval echo '${'$as_ac_var'}'` = yes; then
66315   cat >>confdefs.h <<_ACEOF
66316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66317 _ACEOF
66318
66319 fi
66320 done
66321
66322   else
66323
66324   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
66325 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
66326   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66327     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
66328   echo $ECHO_N "(cached) $ECHO_C" >&6
66329 else
66330
66331
66332
66333       ac_ext=cc
66334 ac_cpp='$CXXCPP $CPPFLAGS'
66335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66338
66339       cat >conftest.$ac_ext <<_ACEOF
66340 /* confdefs.h.  */
66341 _ACEOF
66342 cat confdefs.h >>conftest.$ac_ext
66343 cat >>conftest.$ac_ext <<_ACEOF
66344 /* end confdefs.h.  */
66345 #include <math.h>
66346                       #ifdef HAVE_IEEEFP_H
66347                       #include <ieeefp.h>
66348                       #endif
66349
66350 int
66351 main ()
66352 {
66353  _fpclass(0);
66354   ;
66355   return 0;
66356 }
66357 _ACEOF
66358 rm -f conftest.$ac_objext
66359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66360   (eval $ac_compile) 2>conftest.er1
66361   ac_status=$?
66362   grep -v '^ *+' conftest.er1 >conftest.err
66363   rm -f conftest.er1
66364   cat conftest.err >&5
66365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66366   (exit $ac_status); } &&
66367          { ac_try='test -z "$ac_cxx_werror_flag"
66368                          || test ! -s conftest.err'
66369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66370   (eval $ac_try) 2>&5
66371   ac_status=$?
66372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66373   (exit $ac_status); }; } &&
66374          { ac_try='test -s conftest.$ac_objext'
66375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66376   (eval $ac_try) 2>&5
66377   ac_status=$?
66378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66379   (exit $ac_status); }; }; then
66380   glibcxx_cv_func__fpclass_use=yes
66381 else
66382   echo "$as_me: failed program was:" >&5
66383 sed 's/^/| /' conftest.$ac_ext >&5
66384
66385 glibcxx_cv_func__fpclass_use=no
66386 fi
66387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66388       ac_ext=c
66389 ac_cpp='$CPP $CPPFLAGS'
66390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66393
66394
66395 fi
66396
66397   fi
66398   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
66399 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
66400
66401     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66402
66403 for ac_func in _fpclass
66404 do
66405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66406 echo "$as_me:$LINENO: checking for $ac_func" >&5
66407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66408 if eval "test \"\${$as_ac_var+set}\" = set"; then
66409   echo $ECHO_N "(cached) $ECHO_C" >&6
66410 else
66411   if test x$gcc_no_link = xyes; then
66412   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66414    { (exit 1); exit 1; }; }
66415 fi
66416 cat >conftest.$ac_ext <<_ACEOF
66417 /* confdefs.h.  */
66418 _ACEOF
66419 cat confdefs.h >>conftest.$ac_ext
66420 cat >>conftest.$ac_ext <<_ACEOF
66421 /* end confdefs.h.  */
66422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66423    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66424 #define $ac_func innocuous_$ac_func
66425
66426 /* System header to define __stub macros and hopefully few prototypes,
66427     which can conflict with char $ac_func (); below.
66428     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66429     <limits.h> exists even on freestanding compilers.  */
66430
66431 #ifdef __STDC__
66432 # include <limits.h>
66433 #else
66434 # include <assert.h>
66435 #endif
66436
66437 #undef $ac_func
66438
66439 /* Override any gcc2 internal prototype to avoid an error.  */
66440 #ifdef __cplusplus
66441 extern "C"
66442 {
66443 #endif
66444 /* We use char because int might match the return type of a gcc2
66445    builtin and then its argument prototype would still apply.  */
66446 char $ac_func ();
66447 /* The GNU C library defines this for functions which it implements
66448     to always fail with ENOSYS.  Some functions are actually named
66449     something starting with __ and the normal name is an alias.  */
66450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66451 choke me
66452 #else
66453 char (*f) () = $ac_func;
66454 #endif
66455 #ifdef __cplusplus
66456 }
66457 #endif
66458
66459 int
66460 main ()
66461 {
66462 return f != $ac_func;
66463   ;
66464   return 0;
66465 }
66466 _ACEOF
66467 rm -f conftest.$ac_objext conftest$ac_exeext
66468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66469   (eval $ac_link) 2>conftest.er1
66470   ac_status=$?
66471   grep -v '^ *+' conftest.er1 >conftest.err
66472   rm -f conftest.er1
66473   cat conftest.err >&5
66474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66475   (exit $ac_status); } &&
66476          { ac_try='test -z "$ac_c_werror_flag"
66477                          || test ! -s conftest.err'
66478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66479   (eval $ac_try) 2>&5
66480   ac_status=$?
66481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66482   (exit $ac_status); }; } &&
66483          { ac_try='test -s conftest$ac_exeext'
66484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66485   (eval $ac_try) 2>&5
66486   ac_status=$?
66487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66488   (exit $ac_status); }; }; then
66489   eval "$as_ac_var=yes"
66490 else
66491   echo "$as_me: failed program was:" >&5
66492 sed 's/^/| /' conftest.$ac_ext >&5
66493
66494 eval "$as_ac_var=no"
66495 fi
66496 rm -f conftest.err conftest.$ac_objext \
66497       conftest$ac_exeext conftest.$ac_ext
66498 fi
66499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66501 if test `eval echo '${'$as_ac_var'}'` = yes; then
66502   cat >>confdefs.h <<_ACEOF
66503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66504 _ACEOF
66505
66506 fi
66507 done
66508
66509     fi
66510   fi
66511
66512
66513
66514
66515
66516
66517   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
66518 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
66519   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66520     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
66521   echo $ECHO_N "(cached) $ECHO_C" >&6
66522 else
66523
66524
66525
66526       ac_ext=cc
66527 ac_cpp='$CXXCPP $CPPFLAGS'
66528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66531
66532       cat >conftest.$ac_ext <<_ACEOF
66533 /* confdefs.h.  */
66534 _ACEOF
66535 cat confdefs.h >>conftest.$ac_ext
66536 cat >>conftest.$ac_ext <<_ACEOF
66537 /* end confdefs.h.  */
66538 #include <math.h>
66539                       #ifdef HAVE_IEEEFP_H
66540                       #include <ieeefp.h>
66541                       #endif
66542
66543 int
66544 main ()
66545 {
66546  qfpclass(0);
66547   ;
66548   return 0;
66549 }
66550 _ACEOF
66551 rm -f conftest.$ac_objext
66552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66553   (eval $ac_compile) 2>conftest.er1
66554   ac_status=$?
66555   grep -v '^ *+' conftest.er1 >conftest.err
66556   rm -f conftest.er1
66557   cat conftest.err >&5
66558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66559   (exit $ac_status); } &&
66560          { ac_try='test -z "$ac_cxx_werror_flag"
66561                          || test ! -s conftest.err'
66562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66563   (eval $ac_try) 2>&5
66564   ac_status=$?
66565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66566   (exit $ac_status); }; } &&
66567          { ac_try='test -s conftest.$ac_objext'
66568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66569   (eval $ac_try) 2>&5
66570   ac_status=$?
66571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66572   (exit $ac_status); }; }; then
66573   glibcxx_cv_func_qfpclass_use=yes
66574 else
66575   echo "$as_me: failed program was:" >&5
66576 sed 's/^/| /' conftest.$ac_ext >&5
66577
66578 glibcxx_cv_func_qfpclass_use=no
66579 fi
66580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66581       ac_ext=c
66582 ac_cpp='$CPP $CPPFLAGS'
66583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66586
66587
66588 fi
66589
66590   fi
66591   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
66592 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
66593
66594   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66595
66596 for ac_func in qfpclass
66597 do
66598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66599 echo "$as_me:$LINENO: checking for $ac_func" >&5
66600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66601 if eval "test \"\${$as_ac_var+set}\" = set"; then
66602   echo $ECHO_N "(cached) $ECHO_C" >&6
66603 else
66604   if test x$gcc_no_link = xyes; then
66605   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66607    { (exit 1); exit 1; }; }
66608 fi
66609 cat >conftest.$ac_ext <<_ACEOF
66610 /* confdefs.h.  */
66611 _ACEOF
66612 cat confdefs.h >>conftest.$ac_ext
66613 cat >>conftest.$ac_ext <<_ACEOF
66614 /* end confdefs.h.  */
66615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66616    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66617 #define $ac_func innocuous_$ac_func
66618
66619 /* System header to define __stub macros and hopefully few prototypes,
66620     which can conflict with char $ac_func (); below.
66621     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66622     <limits.h> exists even on freestanding compilers.  */
66623
66624 #ifdef __STDC__
66625 # include <limits.h>
66626 #else
66627 # include <assert.h>
66628 #endif
66629
66630 #undef $ac_func
66631
66632 /* Override any gcc2 internal prototype to avoid an error.  */
66633 #ifdef __cplusplus
66634 extern "C"
66635 {
66636 #endif
66637 /* We use char because int might match the return type of a gcc2
66638    builtin and then its argument prototype would still apply.  */
66639 char $ac_func ();
66640 /* The GNU C library defines this for functions which it implements
66641     to always fail with ENOSYS.  Some functions are actually named
66642     something starting with __ and the normal name is an alias.  */
66643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66644 choke me
66645 #else
66646 char (*f) () = $ac_func;
66647 #endif
66648 #ifdef __cplusplus
66649 }
66650 #endif
66651
66652 int
66653 main ()
66654 {
66655 return f != $ac_func;
66656   ;
66657   return 0;
66658 }
66659 _ACEOF
66660 rm -f conftest.$ac_objext conftest$ac_exeext
66661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66662   (eval $ac_link) 2>conftest.er1
66663   ac_status=$?
66664   grep -v '^ *+' conftest.er1 >conftest.err
66665   rm -f conftest.er1
66666   cat conftest.err >&5
66667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66668   (exit $ac_status); } &&
66669          { ac_try='test -z "$ac_c_werror_flag"
66670                          || test ! -s conftest.err'
66671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66672   (eval $ac_try) 2>&5
66673   ac_status=$?
66674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66675   (exit $ac_status); }; } &&
66676          { ac_try='test -s conftest$ac_exeext'
66677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66678   (eval $ac_try) 2>&5
66679   ac_status=$?
66680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66681   (exit $ac_status); }; }; then
66682   eval "$as_ac_var=yes"
66683 else
66684   echo "$as_me: failed program was:" >&5
66685 sed 's/^/| /' conftest.$ac_ext >&5
66686
66687 eval "$as_ac_var=no"
66688 fi
66689 rm -f conftest.err conftest.$ac_objext \
66690       conftest$ac_exeext conftest.$ac_ext
66691 fi
66692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66694 if test `eval echo '${'$as_ac_var'}'` = yes; then
66695   cat >>confdefs.h <<_ACEOF
66696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66697 _ACEOF
66698
66699 fi
66700 done
66701
66702   else
66703
66704   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
66705 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
66706   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66707     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
66708   echo $ECHO_N "(cached) $ECHO_C" >&6
66709 else
66710
66711
66712
66713       ac_ext=cc
66714 ac_cpp='$CXXCPP $CPPFLAGS'
66715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66718
66719       cat >conftest.$ac_ext <<_ACEOF
66720 /* confdefs.h.  */
66721 _ACEOF
66722 cat confdefs.h >>conftest.$ac_ext
66723 cat >>conftest.$ac_ext <<_ACEOF
66724 /* end confdefs.h.  */
66725 #include <math.h>
66726                       #ifdef HAVE_IEEEFP_H
66727                       #include <ieeefp.h>
66728                       #endif
66729
66730 int
66731 main ()
66732 {
66733  _qfpclass(0);
66734   ;
66735   return 0;
66736 }
66737 _ACEOF
66738 rm -f conftest.$ac_objext
66739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66740   (eval $ac_compile) 2>conftest.er1
66741   ac_status=$?
66742   grep -v '^ *+' conftest.er1 >conftest.err
66743   rm -f conftest.er1
66744   cat conftest.err >&5
66745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66746   (exit $ac_status); } &&
66747          { ac_try='test -z "$ac_cxx_werror_flag"
66748                          || test ! -s conftest.err'
66749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66750   (eval $ac_try) 2>&5
66751   ac_status=$?
66752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66753   (exit $ac_status); }; } &&
66754          { ac_try='test -s conftest.$ac_objext'
66755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66756   (eval $ac_try) 2>&5
66757   ac_status=$?
66758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66759   (exit $ac_status); }; }; then
66760   glibcxx_cv_func__qfpclass_use=yes
66761 else
66762   echo "$as_me: failed program was:" >&5
66763 sed 's/^/| /' conftest.$ac_ext >&5
66764
66765 glibcxx_cv_func__qfpclass_use=no
66766 fi
66767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66768       ac_ext=c
66769 ac_cpp='$CPP $CPPFLAGS'
66770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66773
66774
66775 fi
66776
66777   fi
66778   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
66779 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
66780
66781     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66782
66783 for ac_func in _qfpclass
66784 do
66785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66786 echo "$as_me:$LINENO: checking for $ac_func" >&5
66787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66788 if eval "test \"\${$as_ac_var+set}\" = set"; then
66789   echo $ECHO_N "(cached) $ECHO_C" >&6
66790 else
66791   if test x$gcc_no_link = xyes; then
66792   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66794    { (exit 1); exit 1; }; }
66795 fi
66796 cat >conftest.$ac_ext <<_ACEOF
66797 /* confdefs.h.  */
66798 _ACEOF
66799 cat confdefs.h >>conftest.$ac_ext
66800 cat >>conftest.$ac_ext <<_ACEOF
66801 /* end confdefs.h.  */
66802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66803    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66804 #define $ac_func innocuous_$ac_func
66805
66806 /* System header to define __stub macros and hopefully few prototypes,
66807     which can conflict with char $ac_func (); below.
66808     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66809     <limits.h> exists even on freestanding compilers.  */
66810
66811 #ifdef __STDC__
66812 # include <limits.h>
66813 #else
66814 # include <assert.h>
66815 #endif
66816
66817 #undef $ac_func
66818
66819 /* Override any gcc2 internal prototype to avoid an error.  */
66820 #ifdef __cplusplus
66821 extern "C"
66822 {
66823 #endif
66824 /* We use char because int might match the return type of a gcc2
66825    builtin and then its argument prototype would still apply.  */
66826 char $ac_func ();
66827 /* The GNU C library defines this for functions which it implements
66828     to always fail with ENOSYS.  Some functions are actually named
66829     something starting with __ and the normal name is an alias.  */
66830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66831 choke me
66832 #else
66833 char (*f) () = $ac_func;
66834 #endif
66835 #ifdef __cplusplus
66836 }
66837 #endif
66838
66839 int
66840 main ()
66841 {
66842 return f != $ac_func;
66843   ;
66844   return 0;
66845 }
66846 _ACEOF
66847 rm -f conftest.$ac_objext conftest$ac_exeext
66848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66849   (eval $ac_link) 2>conftest.er1
66850   ac_status=$?
66851   grep -v '^ *+' conftest.er1 >conftest.err
66852   rm -f conftest.er1
66853   cat conftest.err >&5
66854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66855   (exit $ac_status); } &&
66856          { ac_try='test -z "$ac_c_werror_flag"
66857                          || test ! -s conftest.err'
66858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66859   (eval $ac_try) 2>&5
66860   ac_status=$?
66861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66862   (exit $ac_status); }; } &&
66863          { ac_try='test -s conftest$ac_exeext'
66864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66865   (eval $ac_try) 2>&5
66866   ac_status=$?
66867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66868   (exit $ac_status); }; }; then
66869   eval "$as_ac_var=yes"
66870 else
66871   echo "$as_me: failed program was:" >&5
66872 sed 's/^/| /' conftest.$ac_ext >&5
66873
66874 eval "$as_ac_var=no"
66875 fi
66876 rm -f conftest.err conftest.$ac_objext \
66877       conftest$ac_exeext conftest.$ac_ext
66878 fi
66879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66881 if test `eval echo '${'$as_ac_var'}'` = yes; then
66882   cat >>confdefs.h <<_ACEOF
66883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66884 _ACEOF
66885
66886 fi
66887 done
66888
66889     fi
66890   fi
66891
66892
66893
66894
66895
66896
66897   echo "$as_me:$LINENO: checking for hypot declaration" >&5
66898 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
66899   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66900     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
66901   echo $ECHO_N "(cached) $ECHO_C" >&6
66902 else
66903
66904
66905
66906       ac_ext=cc
66907 ac_cpp='$CXXCPP $CPPFLAGS'
66908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66911
66912       cat >conftest.$ac_ext <<_ACEOF
66913 /* confdefs.h.  */
66914 _ACEOF
66915 cat confdefs.h >>conftest.$ac_ext
66916 cat >>conftest.$ac_ext <<_ACEOF
66917 /* end confdefs.h.  */
66918 #include <math.h>
66919 int
66920 main ()
66921 {
66922  hypot(0, 0);
66923   ;
66924   return 0;
66925 }
66926 _ACEOF
66927 rm -f conftest.$ac_objext
66928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66929   (eval $ac_compile) 2>conftest.er1
66930   ac_status=$?
66931   grep -v '^ *+' conftest.er1 >conftest.err
66932   rm -f conftest.er1
66933   cat conftest.err >&5
66934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66935   (exit $ac_status); } &&
66936          { ac_try='test -z "$ac_cxx_werror_flag"
66937                          || test ! -s conftest.err'
66938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66939   (eval $ac_try) 2>&5
66940   ac_status=$?
66941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66942   (exit $ac_status); }; } &&
66943          { ac_try='test -s conftest.$ac_objext'
66944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66945   (eval $ac_try) 2>&5
66946   ac_status=$?
66947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66948   (exit $ac_status); }; }; then
66949   glibcxx_cv_func_hypot_use=yes
66950 else
66951   echo "$as_me: failed program was:" >&5
66952 sed 's/^/| /' conftest.$ac_ext >&5
66953
66954 glibcxx_cv_func_hypot_use=no
66955 fi
66956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66957       ac_ext=c
66958 ac_cpp='$CPP $CPPFLAGS'
66959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66962
66963
66964 fi
66965
66966   fi
66967   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
66968 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
66969
66970   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66971
66972 for ac_func in hypot
66973 do
66974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66975 echo "$as_me:$LINENO: checking for $ac_func" >&5
66976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66977 if eval "test \"\${$as_ac_var+set}\" = set"; then
66978   echo $ECHO_N "(cached) $ECHO_C" >&6
66979 else
66980   if test x$gcc_no_link = xyes; then
66981   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66983    { (exit 1); exit 1; }; }
66984 fi
66985 cat >conftest.$ac_ext <<_ACEOF
66986 /* confdefs.h.  */
66987 _ACEOF
66988 cat confdefs.h >>conftest.$ac_ext
66989 cat >>conftest.$ac_ext <<_ACEOF
66990 /* end confdefs.h.  */
66991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66992    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66993 #define $ac_func innocuous_$ac_func
66994
66995 /* System header to define __stub macros and hopefully few prototypes,
66996     which can conflict with char $ac_func (); below.
66997     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66998     <limits.h> exists even on freestanding compilers.  */
66999
67000 #ifdef __STDC__
67001 # include <limits.h>
67002 #else
67003 # include <assert.h>
67004 #endif
67005
67006 #undef $ac_func
67007
67008 /* Override any gcc2 internal prototype to avoid an error.  */
67009 #ifdef __cplusplus
67010 extern "C"
67011 {
67012 #endif
67013 /* We use char because int might match the return type of a gcc2
67014    builtin and then its argument prototype would still apply.  */
67015 char $ac_func ();
67016 /* The GNU C library defines this for functions which it implements
67017     to always fail with ENOSYS.  Some functions are actually named
67018     something starting with __ and the normal name is an alias.  */
67019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67020 choke me
67021 #else
67022 char (*f) () = $ac_func;
67023 #endif
67024 #ifdef __cplusplus
67025 }
67026 #endif
67027
67028 int
67029 main ()
67030 {
67031 return f != $ac_func;
67032   ;
67033   return 0;
67034 }
67035 _ACEOF
67036 rm -f conftest.$ac_objext conftest$ac_exeext
67037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67038   (eval $ac_link) 2>conftest.er1
67039   ac_status=$?
67040   grep -v '^ *+' conftest.er1 >conftest.err
67041   rm -f conftest.er1
67042   cat conftest.err >&5
67043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67044   (exit $ac_status); } &&
67045          { ac_try='test -z "$ac_c_werror_flag"
67046                          || test ! -s conftest.err'
67047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67048   (eval $ac_try) 2>&5
67049   ac_status=$?
67050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67051   (exit $ac_status); }; } &&
67052          { ac_try='test -s conftest$ac_exeext'
67053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67054   (eval $ac_try) 2>&5
67055   ac_status=$?
67056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67057   (exit $ac_status); }; }; then
67058   eval "$as_ac_var=yes"
67059 else
67060   echo "$as_me: failed program was:" >&5
67061 sed 's/^/| /' conftest.$ac_ext >&5
67062
67063 eval "$as_ac_var=no"
67064 fi
67065 rm -f conftest.err conftest.$ac_objext \
67066       conftest$ac_exeext conftest.$ac_ext
67067 fi
67068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67070 if test `eval echo '${'$as_ac_var'}'` = yes; then
67071   cat >>confdefs.h <<_ACEOF
67072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67073 _ACEOF
67074
67075 fi
67076 done
67077
67078   else
67079
67080   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
67081 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
67082   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67083     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
67084   echo $ECHO_N "(cached) $ECHO_C" >&6
67085 else
67086
67087
67088
67089       ac_ext=cc
67090 ac_cpp='$CXXCPP $CPPFLAGS'
67091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67094
67095       cat >conftest.$ac_ext <<_ACEOF
67096 /* confdefs.h.  */
67097 _ACEOF
67098 cat confdefs.h >>conftest.$ac_ext
67099 cat >>conftest.$ac_ext <<_ACEOF
67100 /* end confdefs.h.  */
67101 #include <math.h>
67102 int
67103 main ()
67104 {
67105  _hypot(0, 0);
67106   ;
67107   return 0;
67108 }
67109 _ACEOF
67110 rm -f conftest.$ac_objext
67111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67112   (eval $ac_compile) 2>conftest.er1
67113   ac_status=$?
67114   grep -v '^ *+' conftest.er1 >conftest.err
67115   rm -f conftest.er1
67116   cat conftest.err >&5
67117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67118   (exit $ac_status); } &&
67119          { ac_try='test -z "$ac_cxx_werror_flag"
67120                          || test ! -s conftest.err'
67121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67122   (eval $ac_try) 2>&5
67123   ac_status=$?
67124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67125   (exit $ac_status); }; } &&
67126          { ac_try='test -s conftest.$ac_objext'
67127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67128   (eval $ac_try) 2>&5
67129   ac_status=$?
67130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67131   (exit $ac_status); }; }; then
67132   glibcxx_cv_func__hypot_use=yes
67133 else
67134   echo "$as_me: failed program was:" >&5
67135 sed 's/^/| /' conftest.$ac_ext >&5
67136
67137 glibcxx_cv_func__hypot_use=no
67138 fi
67139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67140       ac_ext=c
67141 ac_cpp='$CPP $CPPFLAGS'
67142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67145
67146
67147 fi
67148
67149   fi
67150   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
67151 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
67152
67153     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67154
67155 for ac_func in _hypot
67156 do
67157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67158 echo "$as_me:$LINENO: checking for $ac_func" >&5
67159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67160 if eval "test \"\${$as_ac_var+set}\" = set"; then
67161   echo $ECHO_N "(cached) $ECHO_C" >&6
67162 else
67163   if test x$gcc_no_link = xyes; then
67164   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67166    { (exit 1); exit 1; }; }
67167 fi
67168 cat >conftest.$ac_ext <<_ACEOF
67169 /* confdefs.h.  */
67170 _ACEOF
67171 cat confdefs.h >>conftest.$ac_ext
67172 cat >>conftest.$ac_ext <<_ACEOF
67173 /* end confdefs.h.  */
67174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67175    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67176 #define $ac_func innocuous_$ac_func
67177
67178 /* System header to define __stub macros and hopefully few prototypes,
67179     which can conflict with char $ac_func (); below.
67180     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67181     <limits.h> exists even on freestanding compilers.  */
67182
67183 #ifdef __STDC__
67184 # include <limits.h>
67185 #else
67186 # include <assert.h>
67187 #endif
67188
67189 #undef $ac_func
67190
67191 /* Override any gcc2 internal prototype to avoid an error.  */
67192 #ifdef __cplusplus
67193 extern "C"
67194 {
67195 #endif
67196 /* We use char because int might match the return type of a gcc2
67197    builtin and then its argument prototype would still apply.  */
67198 char $ac_func ();
67199 /* The GNU C library defines this for functions which it implements
67200     to always fail with ENOSYS.  Some functions are actually named
67201     something starting with __ and the normal name is an alias.  */
67202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67203 choke me
67204 #else
67205 char (*f) () = $ac_func;
67206 #endif
67207 #ifdef __cplusplus
67208 }
67209 #endif
67210
67211 int
67212 main ()
67213 {
67214 return f != $ac_func;
67215   ;
67216   return 0;
67217 }
67218 _ACEOF
67219 rm -f conftest.$ac_objext conftest$ac_exeext
67220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67221   (eval $ac_link) 2>conftest.er1
67222   ac_status=$?
67223   grep -v '^ *+' conftest.er1 >conftest.err
67224   rm -f conftest.er1
67225   cat conftest.err >&5
67226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67227   (exit $ac_status); } &&
67228          { ac_try='test -z "$ac_c_werror_flag"
67229                          || test ! -s conftest.err'
67230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67231   (eval $ac_try) 2>&5
67232   ac_status=$?
67233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67234   (exit $ac_status); }; } &&
67235          { ac_try='test -s conftest$ac_exeext'
67236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67237   (eval $ac_try) 2>&5
67238   ac_status=$?
67239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67240   (exit $ac_status); }; }; then
67241   eval "$as_ac_var=yes"
67242 else
67243   echo "$as_me: failed program was:" >&5
67244 sed 's/^/| /' conftest.$ac_ext >&5
67245
67246 eval "$as_ac_var=no"
67247 fi
67248 rm -f conftest.err conftest.$ac_objext \
67249       conftest$ac_exeext conftest.$ac_ext
67250 fi
67251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67253 if test `eval echo '${'$as_ac_var'}'` = yes; then
67254   cat >>confdefs.h <<_ACEOF
67255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67256 _ACEOF
67257
67258 fi
67259 done
67260
67261     fi
67262   fi
67263
67264
67265
67266
67267
67268
67269     echo "$as_me:$LINENO: checking for float trig functions" >&5
67270 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
67271   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
67272   echo $ECHO_N "(cached) $ECHO_C" >&6
67273 else
67274
67275
67276
67277     ac_ext=cc
67278 ac_cpp='$CXXCPP $CPPFLAGS'
67279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67282
67283     cat >conftest.$ac_ext <<_ACEOF
67284 /* confdefs.h.  */
67285 _ACEOF
67286 cat confdefs.h >>conftest.$ac_ext
67287 cat >>conftest.$ac_ext <<_ACEOF
67288 /* end confdefs.h.  */
67289 #include <math.h>
67290 int
67291 main ()
67292 {
67293 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67294   ;
67295   return 0;
67296 }
67297 _ACEOF
67298 rm -f conftest.$ac_objext
67299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67300   (eval $ac_compile) 2>conftest.er1
67301   ac_status=$?
67302   grep -v '^ *+' conftest.er1 >conftest.err
67303   rm -f conftest.er1
67304   cat conftest.err >&5
67305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67306   (exit $ac_status); } &&
67307          { ac_try='test -z "$ac_cxx_werror_flag"
67308                          || test ! -s conftest.err'
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); }; } &&
67314          { ac_try='test -s conftest.$ac_objext'
67315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67316   (eval $ac_try) 2>&5
67317   ac_status=$?
67318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67319   (exit $ac_status); }; }; then
67320   glibcxx_cv_func_float_trig_use=yes
67321 else
67322   echo "$as_me: failed program was:" >&5
67323 sed 's/^/| /' conftest.$ac_ext >&5
67324
67325 glibcxx_cv_func_float_trig_use=no
67326 fi
67327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67328     ac_ext=c
67329 ac_cpp='$CPP $CPPFLAGS'
67330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67333
67334 fi
67335
67336   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
67337 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
67338   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67339
67340
67341
67342
67343
67344
67345
67346
67347
67348 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67349 do
67350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67351 echo "$as_me:$LINENO: checking for $ac_func" >&5
67352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67353 if eval "test \"\${$as_ac_var+set}\" = set"; then
67354   echo $ECHO_N "(cached) $ECHO_C" >&6
67355 else
67356   if test x$gcc_no_link = xyes; then
67357   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67359    { (exit 1); exit 1; }; }
67360 fi
67361 cat >conftest.$ac_ext <<_ACEOF
67362 /* confdefs.h.  */
67363 _ACEOF
67364 cat confdefs.h >>conftest.$ac_ext
67365 cat >>conftest.$ac_ext <<_ACEOF
67366 /* end confdefs.h.  */
67367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67368    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67369 #define $ac_func innocuous_$ac_func
67370
67371 /* System header to define __stub macros and hopefully few prototypes,
67372     which can conflict with char $ac_func (); below.
67373     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67374     <limits.h> exists even on freestanding compilers.  */
67375
67376 #ifdef __STDC__
67377 # include <limits.h>
67378 #else
67379 # include <assert.h>
67380 #endif
67381
67382 #undef $ac_func
67383
67384 /* Override any gcc2 internal prototype to avoid an error.  */
67385 #ifdef __cplusplus
67386 extern "C"
67387 {
67388 #endif
67389 /* We use char because int might match the return type of a gcc2
67390    builtin and then its argument prototype would still apply.  */
67391 char $ac_func ();
67392 /* The GNU C library defines this for functions which it implements
67393     to always fail with ENOSYS.  Some functions are actually named
67394     something starting with __ and the normal name is an alias.  */
67395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67396 choke me
67397 #else
67398 char (*f) () = $ac_func;
67399 #endif
67400 #ifdef __cplusplus
67401 }
67402 #endif
67403
67404 int
67405 main ()
67406 {
67407 return f != $ac_func;
67408   ;
67409   return 0;
67410 }
67411 _ACEOF
67412 rm -f conftest.$ac_objext conftest$ac_exeext
67413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67414   (eval $ac_link) 2>conftest.er1
67415   ac_status=$?
67416   grep -v '^ *+' conftest.er1 >conftest.err
67417   rm -f conftest.er1
67418   cat conftest.err >&5
67419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67420   (exit $ac_status); } &&
67421          { ac_try='test -z "$ac_c_werror_flag"
67422                          || test ! -s conftest.err'
67423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67424   (eval $ac_try) 2>&5
67425   ac_status=$?
67426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67427   (exit $ac_status); }; } &&
67428          { ac_try='test -s conftest$ac_exeext'
67429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67430   (eval $ac_try) 2>&5
67431   ac_status=$?
67432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67433   (exit $ac_status); }; }; then
67434   eval "$as_ac_var=yes"
67435 else
67436   echo "$as_me: failed program was:" >&5
67437 sed 's/^/| /' conftest.$ac_ext >&5
67438
67439 eval "$as_ac_var=no"
67440 fi
67441 rm -f conftest.err conftest.$ac_objext \
67442       conftest$ac_exeext conftest.$ac_ext
67443 fi
67444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67446 if test `eval echo '${'$as_ac_var'}'` = yes; then
67447   cat >>confdefs.h <<_ACEOF
67448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67449 _ACEOF
67450
67451 fi
67452 done
67453
67454   else
67455     echo "$as_me:$LINENO: checking for _float trig functions" >&5
67456 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
67457     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
67458   echo $ECHO_N "(cached) $ECHO_C" >&6
67459 else
67460
67461
67462
67463       ac_ext=cc
67464 ac_cpp='$CXXCPP $CPPFLAGS'
67465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67468
67469       cat >conftest.$ac_ext <<_ACEOF
67470 /* confdefs.h.  */
67471 _ACEOF
67472 cat confdefs.h >>conftest.$ac_ext
67473 cat >>conftest.$ac_ext <<_ACEOF
67474 /* end confdefs.h.  */
67475 #include <math.h>
67476 int
67477 main ()
67478 {
67479 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67480   ;
67481   return 0;
67482 }
67483 _ACEOF
67484 rm -f conftest.$ac_objext
67485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67486   (eval $ac_compile) 2>conftest.er1
67487   ac_status=$?
67488   grep -v '^ *+' conftest.er1 >conftest.err
67489   rm -f conftest.er1
67490   cat conftest.err >&5
67491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67492   (exit $ac_status); } &&
67493          { ac_try='test -z "$ac_cxx_werror_flag"
67494                          || test ! -s conftest.err'
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); }; } &&
67500          { ac_try='test -s conftest.$ac_objext'
67501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67502   (eval $ac_try) 2>&5
67503   ac_status=$?
67504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67505   (exit $ac_status); }; }; then
67506   glibcxx_cv_func__float_trig_use=yes
67507 else
67508   echo "$as_me: failed program was:" >&5
67509 sed 's/^/| /' conftest.$ac_ext >&5
67510
67511 glibcxx_cv_func__float_trig_use=no
67512 fi
67513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67514       ac_ext=c
67515 ac_cpp='$CPP $CPPFLAGS'
67516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67519
67520 fi
67521
67522     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
67523 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
67524     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67535 do
67536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67537 echo "$as_me:$LINENO: checking for $ac_func" >&5
67538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67539 if eval "test \"\${$as_ac_var+set}\" = set"; then
67540   echo $ECHO_N "(cached) $ECHO_C" >&6
67541 else
67542   if test x$gcc_no_link = xyes; then
67543   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67545    { (exit 1); exit 1; }; }
67546 fi
67547 cat >conftest.$ac_ext <<_ACEOF
67548 /* confdefs.h.  */
67549 _ACEOF
67550 cat confdefs.h >>conftest.$ac_ext
67551 cat >>conftest.$ac_ext <<_ACEOF
67552 /* end confdefs.h.  */
67553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67554    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67555 #define $ac_func innocuous_$ac_func
67556
67557 /* System header to define __stub macros and hopefully few prototypes,
67558     which can conflict with char $ac_func (); below.
67559     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67560     <limits.h> exists even on freestanding compilers.  */
67561
67562 #ifdef __STDC__
67563 # include <limits.h>
67564 #else
67565 # include <assert.h>
67566 #endif
67567
67568 #undef $ac_func
67569
67570 /* Override any gcc2 internal prototype to avoid an error.  */
67571 #ifdef __cplusplus
67572 extern "C"
67573 {
67574 #endif
67575 /* We use char because int might match the return type of a gcc2
67576    builtin and then its argument prototype would still apply.  */
67577 char $ac_func ();
67578 /* The GNU C library defines this for functions which it implements
67579     to always fail with ENOSYS.  Some functions are actually named
67580     something starting with __ and the normal name is an alias.  */
67581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67582 choke me
67583 #else
67584 char (*f) () = $ac_func;
67585 #endif
67586 #ifdef __cplusplus
67587 }
67588 #endif
67589
67590 int
67591 main ()
67592 {
67593 return f != $ac_func;
67594   ;
67595   return 0;
67596 }
67597 _ACEOF
67598 rm -f conftest.$ac_objext conftest$ac_exeext
67599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67600   (eval $ac_link) 2>conftest.er1
67601   ac_status=$?
67602   grep -v '^ *+' conftest.er1 >conftest.err
67603   rm -f conftest.er1
67604   cat conftest.err >&5
67605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67606   (exit $ac_status); } &&
67607          { ac_try='test -z "$ac_c_werror_flag"
67608                          || test ! -s conftest.err'
67609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67610   (eval $ac_try) 2>&5
67611   ac_status=$?
67612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67613   (exit $ac_status); }; } &&
67614          { ac_try='test -s conftest$ac_exeext'
67615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67616   (eval $ac_try) 2>&5
67617   ac_status=$?
67618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67619   (exit $ac_status); }; }; then
67620   eval "$as_ac_var=yes"
67621 else
67622   echo "$as_me: failed program was:" >&5
67623 sed 's/^/| /' conftest.$ac_ext >&5
67624
67625 eval "$as_ac_var=no"
67626 fi
67627 rm -f conftest.err conftest.$ac_objext \
67628       conftest$ac_exeext conftest.$ac_ext
67629 fi
67630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67632 if test `eval echo '${'$as_ac_var'}'` = yes; then
67633   cat >>confdefs.h <<_ACEOF
67634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67635 _ACEOF
67636
67637 fi
67638 done
67639
67640     fi
67641   fi
67642
67643
67644
67645
67646
67647
67648
67649
67650
67651
67652
67653
67654
67655
67656     echo "$as_me:$LINENO: checking for float round functions" >&5
67657 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
67658   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
67659   echo $ECHO_N "(cached) $ECHO_C" >&6
67660 else
67661
67662
67663
67664     ac_ext=cc
67665 ac_cpp='$CXXCPP $CPPFLAGS'
67666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67669
67670     cat >conftest.$ac_ext <<_ACEOF
67671 /* confdefs.h.  */
67672 _ACEOF
67673 cat confdefs.h >>conftest.$ac_ext
67674 cat >>conftest.$ac_ext <<_ACEOF
67675 /* end confdefs.h.  */
67676 #include <math.h>
67677 int
67678 main ()
67679 {
67680 ceilf (0); floorf (0);
67681   ;
67682   return 0;
67683 }
67684 _ACEOF
67685 rm -f conftest.$ac_objext
67686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67687   (eval $ac_compile) 2>conftest.er1
67688   ac_status=$?
67689   grep -v '^ *+' conftest.er1 >conftest.err
67690   rm -f conftest.er1
67691   cat conftest.err >&5
67692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67693   (exit $ac_status); } &&
67694          { ac_try='test -z "$ac_cxx_werror_flag"
67695                          || test ! -s conftest.err'
67696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67697   (eval $ac_try) 2>&5
67698   ac_status=$?
67699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67700   (exit $ac_status); }; } &&
67701          { ac_try='test -s conftest.$ac_objext'
67702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67703   (eval $ac_try) 2>&5
67704   ac_status=$?
67705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67706   (exit $ac_status); }; }; then
67707   glibcxx_cv_func_float_round_use=yes
67708 else
67709   echo "$as_me: failed program was:" >&5
67710 sed 's/^/| /' conftest.$ac_ext >&5
67711
67712 glibcxx_cv_func_float_round_use=no
67713 fi
67714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67715     ac_ext=c
67716 ac_cpp='$CPP $CPPFLAGS'
67717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67720
67721 fi
67722
67723   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
67724 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
67725   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67726
67727
67728 for ac_func in ceilf floorf
67729 do
67730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67731 echo "$as_me:$LINENO: checking for $ac_func" >&5
67732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67733 if eval "test \"\${$as_ac_var+set}\" = set"; then
67734   echo $ECHO_N "(cached) $ECHO_C" >&6
67735 else
67736   if test x$gcc_no_link = xyes; then
67737   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67739    { (exit 1); exit 1; }; }
67740 fi
67741 cat >conftest.$ac_ext <<_ACEOF
67742 /* confdefs.h.  */
67743 _ACEOF
67744 cat confdefs.h >>conftest.$ac_ext
67745 cat >>conftest.$ac_ext <<_ACEOF
67746 /* end confdefs.h.  */
67747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67748    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67749 #define $ac_func innocuous_$ac_func
67750
67751 /* System header to define __stub macros and hopefully few prototypes,
67752     which can conflict with char $ac_func (); below.
67753     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67754     <limits.h> exists even on freestanding compilers.  */
67755
67756 #ifdef __STDC__
67757 # include <limits.h>
67758 #else
67759 # include <assert.h>
67760 #endif
67761
67762 #undef $ac_func
67763
67764 /* Override any gcc2 internal prototype to avoid an error.  */
67765 #ifdef __cplusplus
67766 extern "C"
67767 {
67768 #endif
67769 /* We use char because int might match the return type of a gcc2
67770    builtin and then its argument prototype would still apply.  */
67771 char $ac_func ();
67772 /* The GNU C library defines this for functions which it implements
67773     to always fail with ENOSYS.  Some functions are actually named
67774     something starting with __ and the normal name is an alias.  */
67775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67776 choke me
67777 #else
67778 char (*f) () = $ac_func;
67779 #endif
67780 #ifdef __cplusplus
67781 }
67782 #endif
67783
67784 int
67785 main ()
67786 {
67787 return f != $ac_func;
67788   ;
67789   return 0;
67790 }
67791 _ACEOF
67792 rm -f conftest.$ac_objext conftest$ac_exeext
67793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67794   (eval $ac_link) 2>conftest.er1
67795   ac_status=$?
67796   grep -v '^ *+' conftest.er1 >conftest.err
67797   rm -f conftest.er1
67798   cat conftest.err >&5
67799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67800   (exit $ac_status); } &&
67801          { ac_try='test -z "$ac_c_werror_flag"
67802                          || test ! -s conftest.err'
67803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67804   (eval $ac_try) 2>&5
67805   ac_status=$?
67806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67807   (exit $ac_status); }; } &&
67808          { ac_try='test -s conftest$ac_exeext'
67809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67810   (eval $ac_try) 2>&5
67811   ac_status=$?
67812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67813   (exit $ac_status); }; }; then
67814   eval "$as_ac_var=yes"
67815 else
67816   echo "$as_me: failed program was:" >&5
67817 sed 's/^/| /' conftest.$ac_ext >&5
67818
67819 eval "$as_ac_var=no"
67820 fi
67821 rm -f conftest.err conftest.$ac_objext \
67822       conftest$ac_exeext conftest.$ac_ext
67823 fi
67824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67826 if test `eval echo '${'$as_ac_var'}'` = yes; then
67827   cat >>confdefs.h <<_ACEOF
67828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67829 _ACEOF
67830
67831 fi
67832 done
67833
67834   else
67835     echo "$as_me:$LINENO: checking for _float round functions" >&5
67836 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
67837     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
67838   echo $ECHO_N "(cached) $ECHO_C" >&6
67839 else
67840
67841
67842
67843       ac_ext=cc
67844 ac_cpp='$CXXCPP $CPPFLAGS'
67845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67848
67849       cat >conftest.$ac_ext <<_ACEOF
67850 /* confdefs.h.  */
67851 _ACEOF
67852 cat confdefs.h >>conftest.$ac_ext
67853 cat >>conftest.$ac_ext <<_ACEOF
67854 /* end confdefs.h.  */
67855 #include <math.h>
67856 int
67857 main ()
67858 {
67859 _ceilf (0); _floorf (0);
67860   ;
67861   return 0;
67862 }
67863 _ACEOF
67864 rm -f conftest.$ac_objext
67865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67866   (eval $ac_compile) 2>conftest.er1
67867   ac_status=$?
67868   grep -v '^ *+' conftest.er1 >conftest.err
67869   rm -f conftest.er1
67870   cat conftest.err >&5
67871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67872   (exit $ac_status); } &&
67873          { ac_try='test -z "$ac_cxx_werror_flag"
67874                          || test ! -s conftest.err'
67875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67876   (eval $ac_try) 2>&5
67877   ac_status=$?
67878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67879   (exit $ac_status); }; } &&
67880          { ac_try='test -s conftest.$ac_objext'
67881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67882   (eval $ac_try) 2>&5
67883   ac_status=$?
67884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67885   (exit $ac_status); }; }; then
67886   glibcxx_cv_func__float_round_use=yes
67887 else
67888   echo "$as_me: failed program was:" >&5
67889 sed 's/^/| /' conftest.$ac_ext >&5
67890
67891 glibcxx_cv_func__float_round_use=no
67892 fi
67893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67894       ac_ext=c
67895 ac_cpp='$CPP $CPPFLAGS'
67896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67899
67900 fi
67901
67902     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
67903 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
67904     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67905
67906
67907 for ac_func in _ceilf _floorf
67908 do
67909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67910 echo "$as_me:$LINENO: checking for $ac_func" >&5
67911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67912 if eval "test \"\${$as_ac_var+set}\" = set"; then
67913   echo $ECHO_N "(cached) $ECHO_C" >&6
67914 else
67915   if test x$gcc_no_link = xyes; then
67916   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67918    { (exit 1); exit 1; }; }
67919 fi
67920 cat >conftest.$ac_ext <<_ACEOF
67921 /* confdefs.h.  */
67922 _ACEOF
67923 cat confdefs.h >>conftest.$ac_ext
67924 cat >>conftest.$ac_ext <<_ACEOF
67925 /* end confdefs.h.  */
67926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67927    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67928 #define $ac_func innocuous_$ac_func
67929
67930 /* System header to define __stub macros and hopefully few prototypes,
67931     which can conflict with char $ac_func (); below.
67932     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67933     <limits.h> exists even on freestanding compilers.  */
67934
67935 #ifdef __STDC__
67936 # include <limits.h>
67937 #else
67938 # include <assert.h>
67939 #endif
67940
67941 #undef $ac_func
67942
67943 /* Override any gcc2 internal prototype to avoid an error.  */
67944 #ifdef __cplusplus
67945 extern "C"
67946 {
67947 #endif
67948 /* We use char because int might match the return type of a gcc2
67949    builtin and then its argument prototype would still apply.  */
67950 char $ac_func ();
67951 /* The GNU C library defines this for functions which it implements
67952     to always fail with ENOSYS.  Some functions are actually named
67953     something starting with __ and the normal name is an alias.  */
67954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67955 choke me
67956 #else
67957 char (*f) () = $ac_func;
67958 #endif
67959 #ifdef __cplusplus
67960 }
67961 #endif
67962
67963 int
67964 main ()
67965 {
67966 return f != $ac_func;
67967   ;
67968   return 0;
67969 }
67970 _ACEOF
67971 rm -f conftest.$ac_objext conftest$ac_exeext
67972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67973   (eval $ac_link) 2>conftest.er1
67974   ac_status=$?
67975   grep -v '^ *+' conftest.er1 >conftest.err
67976   rm -f conftest.er1
67977   cat conftest.err >&5
67978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67979   (exit $ac_status); } &&
67980          { ac_try='test -z "$ac_c_werror_flag"
67981                          || test ! -s conftest.err'
67982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67983   (eval $ac_try) 2>&5
67984   ac_status=$?
67985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67986   (exit $ac_status); }; } &&
67987          { ac_try='test -s conftest$ac_exeext'
67988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67989   (eval $ac_try) 2>&5
67990   ac_status=$?
67991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67992   (exit $ac_status); }; }; then
67993   eval "$as_ac_var=yes"
67994 else
67995   echo "$as_me: failed program was:" >&5
67996 sed 's/^/| /' conftest.$ac_ext >&5
67997
67998 eval "$as_ac_var=no"
67999 fi
68000 rm -f conftest.err conftest.$ac_objext \
68001       conftest$ac_exeext conftest.$ac_ext
68002 fi
68003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68005 if test `eval echo '${'$as_ac_var'}'` = yes; then
68006   cat >>confdefs.h <<_ACEOF
68007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68008 _ACEOF
68009
68010 fi
68011 done
68012
68013     fi
68014   fi
68015
68016
68017
68018
68019
68020
68021
68022
68023   echo "$as_me:$LINENO: checking for expf declaration" >&5
68024 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
68025   if test x${glibcxx_cv_func_expf_use+set} != xset; then
68026     if test "${glibcxx_cv_func_expf_use+set}" = set; then
68027   echo $ECHO_N "(cached) $ECHO_C" >&6
68028 else
68029
68030
68031
68032       ac_ext=cc
68033 ac_cpp='$CXXCPP $CPPFLAGS'
68034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68037
68038       cat >conftest.$ac_ext <<_ACEOF
68039 /* confdefs.h.  */
68040 _ACEOF
68041 cat confdefs.h >>conftest.$ac_ext
68042 cat >>conftest.$ac_ext <<_ACEOF
68043 /* end confdefs.h.  */
68044 #include <math.h>
68045                       #ifdef HAVE_IEEEFP_H
68046                       #include <ieeefp.h>
68047                       #endif
68048
68049 int
68050 main ()
68051 {
68052  expf(0);
68053   ;
68054   return 0;
68055 }
68056 _ACEOF
68057 rm -f conftest.$ac_objext
68058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68059   (eval $ac_compile) 2>conftest.er1
68060   ac_status=$?
68061   grep -v '^ *+' conftest.er1 >conftest.err
68062   rm -f conftest.er1
68063   cat conftest.err >&5
68064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68065   (exit $ac_status); } &&
68066          { ac_try='test -z "$ac_cxx_werror_flag"
68067                          || test ! -s conftest.err'
68068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68069   (eval $ac_try) 2>&5
68070   ac_status=$?
68071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68072   (exit $ac_status); }; } &&
68073          { ac_try='test -s conftest.$ac_objext'
68074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68075   (eval $ac_try) 2>&5
68076   ac_status=$?
68077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68078   (exit $ac_status); }; }; then
68079   glibcxx_cv_func_expf_use=yes
68080 else
68081   echo "$as_me: failed program was:" >&5
68082 sed 's/^/| /' conftest.$ac_ext >&5
68083
68084 glibcxx_cv_func_expf_use=no
68085 fi
68086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68087       ac_ext=c
68088 ac_cpp='$CPP $CPPFLAGS'
68089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68092
68093
68094 fi
68095
68096   fi
68097   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
68098 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
68099
68100   if test x$glibcxx_cv_func_expf_use = x"yes"; then
68101
68102 for ac_func in expf
68103 do
68104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68105 echo "$as_me:$LINENO: checking for $ac_func" >&5
68106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68107 if eval "test \"\${$as_ac_var+set}\" = set"; then
68108   echo $ECHO_N "(cached) $ECHO_C" >&6
68109 else
68110   if test x$gcc_no_link = xyes; then
68111   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68113    { (exit 1); exit 1; }; }
68114 fi
68115 cat >conftest.$ac_ext <<_ACEOF
68116 /* confdefs.h.  */
68117 _ACEOF
68118 cat confdefs.h >>conftest.$ac_ext
68119 cat >>conftest.$ac_ext <<_ACEOF
68120 /* end confdefs.h.  */
68121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68122    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68123 #define $ac_func innocuous_$ac_func
68124
68125 /* System header to define __stub macros and hopefully few prototypes,
68126     which can conflict with char $ac_func (); below.
68127     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68128     <limits.h> exists even on freestanding compilers.  */
68129
68130 #ifdef __STDC__
68131 # include <limits.h>
68132 #else
68133 # include <assert.h>
68134 #endif
68135
68136 #undef $ac_func
68137
68138 /* Override any gcc2 internal prototype to avoid an error.  */
68139 #ifdef __cplusplus
68140 extern "C"
68141 {
68142 #endif
68143 /* We use char because int might match the return type of a gcc2
68144    builtin and then its argument prototype would still apply.  */
68145 char $ac_func ();
68146 /* The GNU C library defines this for functions which it implements
68147     to always fail with ENOSYS.  Some functions are actually named
68148     something starting with __ and the normal name is an alias.  */
68149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68150 choke me
68151 #else
68152 char (*f) () = $ac_func;
68153 #endif
68154 #ifdef __cplusplus
68155 }
68156 #endif
68157
68158 int
68159 main ()
68160 {
68161 return f != $ac_func;
68162   ;
68163   return 0;
68164 }
68165 _ACEOF
68166 rm -f conftest.$ac_objext conftest$ac_exeext
68167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68168   (eval $ac_link) 2>conftest.er1
68169   ac_status=$?
68170   grep -v '^ *+' conftest.er1 >conftest.err
68171   rm -f conftest.er1
68172   cat conftest.err >&5
68173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68174   (exit $ac_status); } &&
68175          { ac_try='test -z "$ac_c_werror_flag"
68176                          || test ! -s conftest.err'
68177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68178   (eval $ac_try) 2>&5
68179   ac_status=$?
68180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68181   (exit $ac_status); }; } &&
68182          { ac_try='test -s conftest$ac_exeext'
68183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68184   (eval $ac_try) 2>&5
68185   ac_status=$?
68186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68187   (exit $ac_status); }; }; then
68188   eval "$as_ac_var=yes"
68189 else
68190   echo "$as_me: failed program was:" >&5
68191 sed 's/^/| /' conftest.$ac_ext >&5
68192
68193 eval "$as_ac_var=no"
68194 fi
68195 rm -f conftest.err conftest.$ac_objext \
68196       conftest$ac_exeext conftest.$ac_ext
68197 fi
68198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68200 if test `eval echo '${'$as_ac_var'}'` = yes; then
68201   cat >>confdefs.h <<_ACEOF
68202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68203 _ACEOF
68204
68205 fi
68206 done
68207
68208   else
68209
68210   echo "$as_me:$LINENO: checking for _expf declaration" >&5
68211 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
68212   if test x${glibcxx_cv_func__expf_use+set} != xset; then
68213     if test "${glibcxx_cv_func__expf_use+set}" = set; then
68214   echo $ECHO_N "(cached) $ECHO_C" >&6
68215 else
68216
68217
68218
68219       ac_ext=cc
68220 ac_cpp='$CXXCPP $CPPFLAGS'
68221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68224
68225       cat >conftest.$ac_ext <<_ACEOF
68226 /* confdefs.h.  */
68227 _ACEOF
68228 cat confdefs.h >>conftest.$ac_ext
68229 cat >>conftest.$ac_ext <<_ACEOF
68230 /* end confdefs.h.  */
68231 #include <math.h>
68232                       #ifdef HAVE_IEEEFP_H
68233                       #include <ieeefp.h>
68234                       #endif
68235
68236 int
68237 main ()
68238 {
68239  _expf(0);
68240   ;
68241   return 0;
68242 }
68243 _ACEOF
68244 rm -f conftest.$ac_objext
68245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68246   (eval $ac_compile) 2>conftest.er1
68247   ac_status=$?
68248   grep -v '^ *+' conftest.er1 >conftest.err
68249   rm -f conftest.er1
68250   cat conftest.err >&5
68251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68252   (exit $ac_status); } &&
68253          { ac_try='test -z "$ac_cxx_werror_flag"
68254                          || test ! -s conftest.err'
68255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68256   (eval $ac_try) 2>&5
68257   ac_status=$?
68258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68259   (exit $ac_status); }; } &&
68260          { ac_try='test -s conftest.$ac_objext'
68261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68262   (eval $ac_try) 2>&5
68263   ac_status=$?
68264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68265   (exit $ac_status); }; }; then
68266   glibcxx_cv_func__expf_use=yes
68267 else
68268   echo "$as_me: failed program was:" >&5
68269 sed 's/^/| /' conftest.$ac_ext >&5
68270
68271 glibcxx_cv_func__expf_use=no
68272 fi
68273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68274       ac_ext=c
68275 ac_cpp='$CPP $CPPFLAGS'
68276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68279
68280
68281 fi
68282
68283   fi
68284   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
68285 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
68286
68287     if test x$glibcxx_cv_func__expf_use = x"yes"; then
68288
68289 for ac_func in _expf
68290 do
68291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68292 echo "$as_me:$LINENO: checking for $ac_func" >&5
68293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68294 if eval "test \"\${$as_ac_var+set}\" = set"; then
68295   echo $ECHO_N "(cached) $ECHO_C" >&6
68296 else
68297   if test x$gcc_no_link = xyes; then
68298   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68300    { (exit 1); exit 1; }; }
68301 fi
68302 cat >conftest.$ac_ext <<_ACEOF
68303 /* confdefs.h.  */
68304 _ACEOF
68305 cat confdefs.h >>conftest.$ac_ext
68306 cat >>conftest.$ac_ext <<_ACEOF
68307 /* end confdefs.h.  */
68308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68309    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68310 #define $ac_func innocuous_$ac_func
68311
68312 /* System header to define __stub macros and hopefully few prototypes,
68313     which can conflict with char $ac_func (); below.
68314     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68315     <limits.h> exists even on freestanding compilers.  */
68316
68317 #ifdef __STDC__
68318 # include <limits.h>
68319 #else
68320 # include <assert.h>
68321 #endif
68322
68323 #undef $ac_func
68324
68325 /* Override any gcc2 internal prototype to avoid an error.  */
68326 #ifdef __cplusplus
68327 extern "C"
68328 {
68329 #endif
68330 /* We use char because int might match the return type of a gcc2
68331    builtin and then its argument prototype would still apply.  */
68332 char $ac_func ();
68333 /* The GNU C library defines this for functions which it implements
68334     to always fail with ENOSYS.  Some functions are actually named
68335     something starting with __ and the normal name is an alias.  */
68336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68337 choke me
68338 #else
68339 char (*f) () = $ac_func;
68340 #endif
68341 #ifdef __cplusplus
68342 }
68343 #endif
68344
68345 int
68346 main ()
68347 {
68348 return f != $ac_func;
68349   ;
68350   return 0;
68351 }
68352 _ACEOF
68353 rm -f conftest.$ac_objext conftest$ac_exeext
68354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68355   (eval $ac_link) 2>conftest.er1
68356   ac_status=$?
68357   grep -v '^ *+' conftest.er1 >conftest.err
68358   rm -f conftest.er1
68359   cat conftest.err >&5
68360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68361   (exit $ac_status); } &&
68362          { ac_try='test -z "$ac_c_werror_flag"
68363                          || test ! -s conftest.err'
68364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68365   (eval $ac_try) 2>&5
68366   ac_status=$?
68367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68368   (exit $ac_status); }; } &&
68369          { ac_try='test -s conftest$ac_exeext'
68370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68371   (eval $ac_try) 2>&5
68372   ac_status=$?
68373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68374   (exit $ac_status); }; }; then
68375   eval "$as_ac_var=yes"
68376 else
68377   echo "$as_me: failed program was:" >&5
68378 sed 's/^/| /' conftest.$ac_ext >&5
68379
68380 eval "$as_ac_var=no"
68381 fi
68382 rm -f conftest.err conftest.$ac_objext \
68383       conftest$ac_exeext conftest.$ac_ext
68384 fi
68385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68387 if test `eval echo '${'$as_ac_var'}'` = yes; then
68388   cat >>confdefs.h <<_ACEOF
68389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68390 _ACEOF
68391
68392 fi
68393 done
68394
68395     fi
68396   fi
68397
68398
68399
68400
68401
68402
68403   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
68404 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
68405   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68406     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
68407   echo $ECHO_N "(cached) $ECHO_C" >&6
68408 else
68409
68410
68411
68412       ac_ext=cc
68413 ac_cpp='$CXXCPP $CPPFLAGS'
68414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68417
68418       cat >conftest.$ac_ext <<_ACEOF
68419 /* confdefs.h.  */
68420 _ACEOF
68421 cat confdefs.h >>conftest.$ac_ext
68422 cat >>conftest.$ac_ext <<_ACEOF
68423 /* end confdefs.h.  */
68424 #include <math.h>
68425                       #ifdef HAVE_IEEEFP_H
68426                       #include <ieeefp.h>
68427                       #endif
68428
68429 int
68430 main ()
68431 {
68432  isnanf(0);
68433   ;
68434   return 0;
68435 }
68436 _ACEOF
68437 rm -f conftest.$ac_objext
68438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68439   (eval $ac_compile) 2>conftest.er1
68440   ac_status=$?
68441   grep -v '^ *+' conftest.er1 >conftest.err
68442   rm -f conftest.er1
68443   cat conftest.err >&5
68444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68445   (exit $ac_status); } &&
68446          { ac_try='test -z "$ac_cxx_werror_flag"
68447                          || test ! -s conftest.err'
68448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68449   (eval $ac_try) 2>&5
68450   ac_status=$?
68451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68452   (exit $ac_status); }; } &&
68453          { ac_try='test -s conftest.$ac_objext'
68454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68455   (eval $ac_try) 2>&5
68456   ac_status=$?
68457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68458   (exit $ac_status); }; }; then
68459   glibcxx_cv_func_isnanf_use=yes
68460 else
68461   echo "$as_me: failed program was:" >&5
68462 sed 's/^/| /' conftest.$ac_ext >&5
68463
68464 glibcxx_cv_func_isnanf_use=no
68465 fi
68466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68467       ac_ext=c
68468 ac_cpp='$CPP $CPPFLAGS'
68469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68472
68473
68474 fi
68475
68476   fi
68477   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
68478 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
68479
68480   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68481
68482 for ac_func in isnanf
68483 do
68484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68485 echo "$as_me:$LINENO: checking for $ac_func" >&5
68486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68487 if eval "test \"\${$as_ac_var+set}\" = set"; then
68488   echo $ECHO_N "(cached) $ECHO_C" >&6
68489 else
68490   if test x$gcc_no_link = xyes; then
68491   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68493    { (exit 1); exit 1; }; }
68494 fi
68495 cat >conftest.$ac_ext <<_ACEOF
68496 /* confdefs.h.  */
68497 _ACEOF
68498 cat confdefs.h >>conftest.$ac_ext
68499 cat >>conftest.$ac_ext <<_ACEOF
68500 /* end confdefs.h.  */
68501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68502    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68503 #define $ac_func innocuous_$ac_func
68504
68505 /* System header to define __stub macros and hopefully few prototypes,
68506     which can conflict with char $ac_func (); below.
68507     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68508     <limits.h> exists even on freestanding compilers.  */
68509
68510 #ifdef __STDC__
68511 # include <limits.h>
68512 #else
68513 # include <assert.h>
68514 #endif
68515
68516 #undef $ac_func
68517
68518 /* Override any gcc2 internal prototype to avoid an error.  */
68519 #ifdef __cplusplus
68520 extern "C"
68521 {
68522 #endif
68523 /* We use char because int might match the return type of a gcc2
68524    builtin and then its argument prototype would still apply.  */
68525 char $ac_func ();
68526 /* The GNU C library defines this for functions which it implements
68527     to always fail with ENOSYS.  Some functions are actually named
68528     something starting with __ and the normal name is an alias.  */
68529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68530 choke me
68531 #else
68532 char (*f) () = $ac_func;
68533 #endif
68534 #ifdef __cplusplus
68535 }
68536 #endif
68537
68538 int
68539 main ()
68540 {
68541 return f != $ac_func;
68542   ;
68543   return 0;
68544 }
68545 _ACEOF
68546 rm -f conftest.$ac_objext conftest$ac_exeext
68547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68548   (eval $ac_link) 2>conftest.er1
68549   ac_status=$?
68550   grep -v '^ *+' conftest.er1 >conftest.err
68551   rm -f conftest.er1
68552   cat conftest.err >&5
68553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68554   (exit $ac_status); } &&
68555          { ac_try='test -z "$ac_c_werror_flag"
68556                          || test ! -s conftest.err'
68557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68558   (eval $ac_try) 2>&5
68559   ac_status=$?
68560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68561   (exit $ac_status); }; } &&
68562          { ac_try='test -s conftest$ac_exeext'
68563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68564   (eval $ac_try) 2>&5
68565   ac_status=$?
68566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68567   (exit $ac_status); }; }; then
68568   eval "$as_ac_var=yes"
68569 else
68570   echo "$as_me: failed program was:" >&5
68571 sed 's/^/| /' conftest.$ac_ext >&5
68572
68573 eval "$as_ac_var=no"
68574 fi
68575 rm -f conftest.err conftest.$ac_objext \
68576       conftest$ac_exeext conftest.$ac_ext
68577 fi
68578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68580 if test `eval echo '${'$as_ac_var'}'` = yes; then
68581   cat >>confdefs.h <<_ACEOF
68582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68583 _ACEOF
68584
68585 fi
68586 done
68587
68588   else
68589
68590   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
68591 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
68592   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68593     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
68594   echo $ECHO_N "(cached) $ECHO_C" >&6
68595 else
68596
68597
68598
68599       ac_ext=cc
68600 ac_cpp='$CXXCPP $CPPFLAGS'
68601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68604
68605       cat >conftest.$ac_ext <<_ACEOF
68606 /* confdefs.h.  */
68607 _ACEOF
68608 cat confdefs.h >>conftest.$ac_ext
68609 cat >>conftest.$ac_ext <<_ACEOF
68610 /* end confdefs.h.  */
68611 #include <math.h>
68612                       #ifdef HAVE_IEEEFP_H
68613                       #include <ieeefp.h>
68614                       #endif
68615
68616 int
68617 main ()
68618 {
68619  _isnanf(0);
68620   ;
68621   return 0;
68622 }
68623 _ACEOF
68624 rm -f conftest.$ac_objext
68625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68626   (eval $ac_compile) 2>conftest.er1
68627   ac_status=$?
68628   grep -v '^ *+' conftest.er1 >conftest.err
68629   rm -f conftest.er1
68630   cat conftest.err >&5
68631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68632   (exit $ac_status); } &&
68633          { ac_try='test -z "$ac_cxx_werror_flag"
68634                          || test ! -s conftest.err'
68635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68636   (eval $ac_try) 2>&5
68637   ac_status=$?
68638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68639   (exit $ac_status); }; } &&
68640          { ac_try='test -s conftest.$ac_objext'
68641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68642   (eval $ac_try) 2>&5
68643   ac_status=$?
68644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68645   (exit $ac_status); }; }; then
68646   glibcxx_cv_func__isnanf_use=yes
68647 else
68648   echo "$as_me: failed program was:" >&5
68649 sed 's/^/| /' conftest.$ac_ext >&5
68650
68651 glibcxx_cv_func__isnanf_use=no
68652 fi
68653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68654       ac_ext=c
68655 ac_cpp='$CPP $CPPFLAGS'
68656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68659
68660
68661 fi
68662
68663   fi
68664   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
68665 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
68666
68667     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68668
68669 for ac_func in _isnanf
68670 do
68671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68672 echo "$as_me:$LINENO: checking for $ac_func" >&5
68673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68674 if eval "test \"\${$as_ac_var+set}\" = set"; then
68675   echo $ECHO_N "(cached) $ECHO_C" >&6
68676 else
68677   if test x$gcc_no_link = xyes; then
68678   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68680    { (exit 1); exit 1; }; }
68681 fi
68682 cat >conftest.$ac_ext <<_ACEOF
68683 /* confdefs.h.  */
68684 _ACEOF
68685 cat confdefs.h >>conftest.$ac_ext
68686 cat >>conftest.$ac_ext <<_ACEOF
68687 /* end confdefs.h.  */
68688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68689    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68690 #define $ac_func innocuous_$ac_func
68691
68692 /* System header to define __stub macros and hopefully few prototypes,
68693     which can conflict with char $ac_func (); below.
68694     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68695     <limits.h> exists even on freestanding compilers.  */
68696
68697 #ifdef __STDC__
68698 # include <limits.h>
68699 #else
68700 # include <assert.h>
68701 #endif
68702
68703 #undef $ac_func
68704
68705 /* Override any gcc2 internal prototype to avoid an error.  */
68706 #ifdef __cplusplus
68707 extern "C"
68708 {
68709 #endif
68710 /* We use char because int might match the return type of a gcc2
68711    builtin and then its argument prototype would still apply.  */
68712 char $ac_func ();
68713 /* The GNU C library defines this for functions which it implements
68714     to always fail with ENOSYS.  Some functions are actually named
68715     something starting with __ and the normal name is an alias.  */
68716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68717 choke me
68718 #else
68719 char (*f) () = $ac_func;
68720 #endif
68721 #ifdef __cplusplus
68722 }
68723 #endif
68724
68725 int
68726 main ()
68727 {
68728 return f != $ac_func;
68729   ;
68730   return 0;
68731 }
68732 _ACEOF
68733 rm -f conftest.$ac_objext conftest$ac_exeext
68734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68735   (eval $ac_link) 2>conftest.er1
68736   ac_status=$?
68737   grep -v '^ *+' conftest.er1 >conftest.err
68738   rm -f conftest.er1
68739   cat conftest.err >&5
68740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68741   (exit $ac_status); } &&
68742          { ac_try='test -z "$ac_c_werror_flag"
68743                          || test ! -s conftest.err'
68744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68745   (eval $ac_try) 2>&5
68746   ac_status=$?
68747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68748   (exit $ac_status); }; } &&
68749          { ac_try='test -s conftest$ac_exeext'
68750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68751   (eval $ac_try) 2>&5
68752   ac_status=$?
68753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68754   (exit $ac_status); }; }; then
68755   eval "$as_ac_var=yes"
68756 else
68757   echo "$as_me: failed program was:" >&5
68758 sed 's/^/| /' conftest.$ac_ext >&5
68759
68760 eval "$as_ac_var=no"
68761 fi
68762 rm -f conftest.err conftest.$ac_objext \
68763       conftest$ac_exeext conftest.$ac_ext
68764 fi
68765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68767 if test `eval echo '${'$as_ac_var'}'` = yes; then
68768   cat >>confdefs.h <<_ACEOF
68769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68770 _ACEOF
68771
68772 fi
68773 done
68774
68775     fi
68776   fi
68777
68778
68779
68780
68781
68782
68783   echo "$as_me:$LINENO: checking for isinff declaration" >&5
68784 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
68785   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68786     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
68787   echo $ECHO_N "(cached) $ECHO_C" >&6
68788 else
68789
68790
68791
68792       ac_ext=cc
68793 ac_cpp='$CXXCPP $CPPFLAGS'
68794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68797
68798       cat >conftest.$ac_ext <<_ACEOF
68799 /* confdefs.h.  */
68800 _ACEOF
68801 cat confdefs.h >>conftest.$ac_ext
68802 cat >>conftest.$ac_ext <<_ACEOF
68803 /* end confdefs.h.  */
68804 #include <math.h>
68805                       #ifdef HAVE_IEEEFP_H
68806                       #include <ieeefp.h>
68807                       #endif
68808
68809 int
68810 main ()
68811 {
68812  isinff(0);
68813   ;
68814   return 0;
68815 }
68816 _ACEOF
68817 rm -f conftest.$ac_objext
68818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68819   (eval $ac_compile) 2>conftest.er1
68820   ac_status=$?
68821   grep -v '^ *+' conftest.er1 >conftest.err
68822   rm -f conftest.er1
68823   cat conftest.err >&5
68824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68825   (exit $ac_status); } &&
68826          { ac_try='test -z "$ac_cxx_werror_flag"
68827                          || test ! -s conftest.err'
68828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68829   (eval $ac_try) 2>&5
68830   ac_status=$?
68831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68832   (exit $ac_status); }; } &&
68833          { ac_try='test -s conftest.$ac_objext'
68834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68835   (eval $ac_try) 2>&5
68836   ac_status=$?
68837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68838   (exit $ac_status); }; }; then
68839   glibcxx_cv_func_isinff_use=yes
68840 else
68841   echo "$as_me: failed program was:" >&5
68842 sed 's/^/| /' conftest.$ac_ext >&5
68843
68844 glibcxx_cv_func_isinff_use=no
68845 fi
68846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68847       ac_ext=c
68848 ac_cpp='$CPP $CPPFLAGS'
68849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68852
68853
68854 fi
68855
68856   fi
68857   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
68858 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
68859
68860   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68861
68862 for ac_func in isinff
68863 do
68864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68865 echo "$as_me:$LINENO: checking for $ac_func" >&5
68866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68867 if eval "test \"\${$as_ac_var+set}\" = set"; then
68868   echo $ECHO_N "(cached) $ECHO_C" >&6
68869 else
68870   if test x$gcc_no_link = xyes; then
68871   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68873    { (exit 1); exit 1; }; }
68874 fi
68875 cat >conftest.$ac_ext <<_ACEOF
68876 /* confdefs.h.  */
68877 _ACEOF
68878 cat confdefs.h >>conftest.$ac_ext
68879 cat >>conftest.$ac_ext <<_ACEOF
68880 /* end confdefs.h.  */
68881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68882    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68883 #define $ac_func innocuous_$ac_func
68884
68885 /* System header to define __stub macros and hopefully few prototypes,
68886     which can conflict with char $ac_func (); below.
68887     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68888     <limits.h> exists even on freestanding compilers.  */
68889
68890 #ifdef __STDC__
68891 # include <limits.h>
68892 #else
68893 # include <assert.h>
68894 #endif
68895
68896 #undef $ac_func
68897
68898 /* Override any gcc2 internal prototype to avoid an error.  */
68899 #ifdef __cplusplus
68900 extern "C"
68901 {
68902 #endif
68903 /* We use char because int might match the return type of a gcc2
68904    builtin and then its argument prototype would still apply.  */
68905 char $ac_func ();
68906 /* The GNU C library defines this for functions which it implements
68907     to always fail with ENOSYS.  Some functions are actually named
68908     something starting with __ and the normal name is an alias.  */
68909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68910 choke me
68911 #else
68912 char (*f) () = $ac_func;
68913 #endif
68914 #ifdef __cplusplus
68915 }
68916 #endif
68917
68918 int
68919 main ()
68920 {
68921 return f != $ac_func;
68922   ;
68923   return 0;
68924 }
68925 _ACEOF
68926 rm -f conftest.$ac_objext conftest$ac_exeext
68927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68928   (eval $ac_link) 2>conftest.er1
68929   ac_status=$?
68930   grep -v '^ *+' conftest.er1 >conftest.err
68931   rm -f conftest.er1
68932   cat conftest.err >&5
68933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68934   (exit $ac_status); } &&
68935          { ac_try='test -z "$ac_c_werror_flag"
68936                          || test ! -s conftest.err'
68937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68938   (eval $ac_try) 2>&5
68939   ac_status=$?
68940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68941   (exit $ac_status); }; } &&
68942          { ac_try='test -s conftest$ac_exeext'
68943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68944   (eval $ac_try) 2>&5
68945   ac_status=$?
68946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68947   (exit $ac_status); }; }; then
68948   eval "$as_ac_var=yes"
68949 else
68950   echo "$as_me: failed program was:" >&5
68951 sed 's/^/| /' conftest.$ac_ext >&5
68952
68953 eval "$as_ac_var=no"
68954 fi
68955 rm -f conftest.err conftest.$ac_objext \
68956       conftest$ac_exeext conftest.$ac_ext
68957 fi
68958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68960 if test `eval echo '${'$as_ac_var'}'` = yes; then
68961   cat >>confdefs.h <<_ACEOF
68962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68963 _ACEOF
68964
68965 fi
68966 done
68967
68968   else
68969
68970   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
68971 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
68972   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68973     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
68974   echo $ECHO_N "(cached) $ECHO_C" >&6
68975 else
68976
68977
68978
68979       ac_ext=cc
68980 ac_cpp='$CXXCPP $CPPFLAGS'
68981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68984
68985       cat >conftest.$ac_ext <<_ACEOF
68986 /* confdefs.h.  */
68987 _ACEOF
68988 cat confdefs.h >>conftest.$ac_ext
68989 cat >>conftest.$ac_ext <<_ACEOF
68990 /* end confdefs.h.  */
68991 #include <math.h>
68992                       #ifdef HAVE_IEEEFP_H
68993                       #include <ieeefp.h>
68994                       #endif
68995
68996 int
68997 main ()
68998 {
68999  _isinff(0);
69000   ;
69001   return 0;
69002 }
69003 _ACEOF
69004 rm -f conftest.$ac_objext
69005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69006   (eval $ac_compile) 2>conftest.er1
69007   ac_status=$?
69008   grep -v '^ *+' conftest.er1 >conftest.err
69009   rm -f conftest.er1
69010   cat conftest.err >&5
69011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69012   (exit $ac_status); } &&
69013          { ac_try='test -z "$ac_cxx_werror_flag"
69014                          || test ! -s conftest.err'
69015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69016   (eval $ac_try) 2>&5
69017   ac_status=$?
69018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69019   (exit $ac_status); }; } &&
69020          { ac_try='test -s conftest.$ac_objext'
69021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69022   (eval $ac_try) 2>&5
69023   ac_status=$?
69024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69025   (exit $ac_status); }; }; then
69026   glibcxx_cv_func__isinff_use=yes
69027 else
69028   echo "$as_me: failed program was:" >&5
69029 sed 's/^/| /' conftest.$ac_ext >&5
69030
69031 glibcxx_cv_func__isinff_use=no
69032 fi
69033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69034       ac_ext=c
69035 ac_cpp='$CPP $CPPFLAGS'
69036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69039
69040
69041 fi
69042
69043   fi
69044   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
69045 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
69046
69047     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
69048
69049 for ac_func in _isinff
69050 do
69051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69052 echo "$as_me:$LINENO: checking for $ac_func" >&5
69053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69054 if eval "test \"\${$as_ac_var+set}\" = set"; then
69055   echo $ECHO_N "(cached) $ECHO_C" >&6
69056 else
69057   if test x$gcc_no_link = xyes; then
69058   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69060    { (exit 1); exit 1; }; }
69061 fi
69062 cat >conftest.$ac_ext <<_ACEOF
69063 /* confdefs.h.  */
69064 _ACEOF
69065 cat confdefs.h >>conftest.$ac_ext
69066 cat >>conftest.$ac_ext <<_ACEOF
69067 /* end confdefs.h.  */
69068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69069    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69070 #define $ac_func innocuous_$ac_func
69071
69072 /* System header to define __stub macros and hopefully few prototypes,
69073     which can conflict with char $ac_func (); below.
69074     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69075     <limits.h> exists even on freestanding compilers.  */
69076
69077 #ifdef __STDC__
69078 # include <limits.h>
69079 #else
69080 # include <assert.h>
69081 #endif
69082
69083 #undef $ac_func
69084
69085 /* Override any gcc2 internal prototype to avoid an error.  */
69086 #ifdef __cplusplus
69087 extern "C"
69088 {
69089 #endif
69090 /* We use char because int might match the return type of a gcc2
69091    builtin and then its argument prototype would still apply.  */
69092 char $ac_func ();
69093 /* The GNU C library defines this for functions which it implements
69094     to always fail with ENOSYS.  Some functions are actually named
69095     something starting with __ and the normal name is an alias.  */
69096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69097 choke me
69098 #else
69099 char (*f) () = $ac_func;
69100 #endif
69101 #ifdef __cplusplus
69102 }
69103 #endif
69104
69105 int
69106 main ()
69107 {
69108 return f != $ac_func;
69109   ;
69110   return 0;
69111 }
69112 _ACEOF
69113 rm -f conftest.$ac_objext conftest$ac_exeext
69114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69115   (eval $ac_link) 2>conftest.er1
69116   ac_status=$?
69117   grep -v '^ *+' conftest.er1 >conftest.err
69118   rm -f conftest.er1
69119   cat conftest.err >&5
69120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69121   (exit $ac_status); } &&
69122          { ac_try='test -z "$ac_c_werror_flag"
69123                          || test ! -s conftest.err'
69124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69125   (eval $ac_try) 2>&5
69126   ac_status=$?
69127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69128   (exit $ac_status); }; } &&
69129          { ac_try='test -s conftest$ac_exeext'
69130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69131   (eval $ac_try) 2>&5
69132   ac_status=$?
69133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69134   (exit $ac_status); }; }; then
69135   eval "$as_ac_var=yes"
69136 else
69137   echo "$as_me: failed program was:" >&5
69138 sed 's/^/| /' conftest.$ac_ext >&5
69139
69140 eval "$as_ac_var=no"
69141 fi
69142 rm -f conftest.err conftest.$ac_objext \
69143       conftest$ac_exeext conftest.$ac_ext
69144 fi
69145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69147 if test `eval echo '${'$as_ac_var'}'` = yes; then
69148   cat >>confdefs.h <<_ACEOF
69149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69150 _ACEOF
69151
69152 fi
69153 done
69154
69155     fi
69156   fi
69157
69158
69159
69160
69161
69162
69163   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
69164 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
69165   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
69166     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
69167   echo $ECHO_N "(cached) $ECHO_C" >&6
69168 else
69169
69170
69171
69172       ac_ext=cc
69173 ac_cpp='$CXXCPP $CPPFLAGS'
69174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69177
69178       cat >conftest.$ac_ext <<_ACEOF
69179 /* confdefs.h.  */
69180 _ACEOF
69181 cat confdefs.h >>conftest.$ac_ext
69182 cat >>conftest.$ac_ext <<_ACEOF
69183 /* end confdefs.h.  */
69184 #include <math.h>
69185 int
69186 main ()
69187 {
69188  atan2f(0, 0);
69189   ;
69190   return 0;
69191 }
69192 _ACEOF
69193 rm -f conftest.$ac_objext
69194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69195   (eval $ac_compile) 2>conftest.er1
69196   ac_status=$?
69197   grep -v '^ *+' conftest.er1 >conftest.err
69198   rm -f conftest.er1
69199   cat conftest.err >&5
69200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69201   (exit $ac_status); } &&
69202          { ac_try='test -z "$ac_cxx_werror_flag"
69203                          || test ! -s conftest.err'
69204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69205   (eval $ac_try) 2>&5
69206   ac_status=$?
69207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69208   (exit $ac_status); }; } &&
69209          { ac_try='test -s conftest.$ac_objext'
69210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69211   (eval $ac_try) 2>&5
69212   ac_status=$?
69213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69214   (exit $ac_status); }; }; then
69215   glibcxx_cv_func_atan2f_use=yes
69216 else
69217   echo "$as_me: failed program was:" >&5
69218 sed 's/^/| /' conftest.$ac_ext >&5
69219
69220 glibcxx_cv_func_atan2f_use=no
69221 fi
69222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69223       ac_ext=c
69224 ac_cpp='$CPP $CPPFLAGS'
69225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69228
69229
69230 fi
69231
69232   fi
69233   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
69234 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
69235
69236   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
69237
69238 for ac_func in atan2f
69239 do
69240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69241 echo "$as_me:$LINENO: checking for $ac_func" >&5
69242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69243 if eval "test \"\${$as_ac_var+set}\" = set"; then
69244   echo $ECHO_N "(cached) $ECHO_C" >&6
69245 else
69246   if test x$gcc_no_link = xyes; then
69247   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69249    { (exit 1); exit 1; }; }
69250 fi
69251 cat >conftest.$ac_ext <<_ACEOF
69252 /* confdefs.h.  */
69253 _ACEOF
69254 cat confdefs.h >>conftest.$ac_ext
69255 cat >>conftest.$ac_ext <<_ACEOF
69256 /* end confdefs.h.  */
69257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69258    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69259 #define $ac_func innocuous_$ac_func
69260
69261 /* System header to define __stub macros and hopefully few prototypes,
69262     which can conflict with char $ac_func (); below.
69263     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69264     <limits.h> exists even on freestanding compilers.  */
69265
69266 #ifdef __STDC__
69267 # include <limits.h>
69268 #else
69269 # include <assert.h>
69270 #endif
69271
69272 #undef $ac_func
69273
69274 /* Override any gcc2 internal prototype to avoid an error.  */
69275 #ifdef __cplusplus
69276 extern "C"
69277 {
69278 #endif
69279 /* We use char because int might match the return type of a gcc2
69280    builtin and then its argument prototype would still apply.  */
69281 char $ac_func ();
69282 /* The GNU C library defines this for functions which it implements
69283     to always fail with ENOSYS.  Some functions are actually named
69284     something starting with __ and the normal name is an alias.  */
69285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69286 choke me
69287 #else
69288 char (*f) () = $ac_func;
69289 #endif
69290 #ifdef __cplusplus
69291 }
69292 #endif
69293
69294 int
69295 main ()
69296 {
69297 return f != $ac_func;
69298   ;
69299   return 0;
69300 }
69301 _ACEOF
69302 rm -f conftest.$ac_objext conftest$ac_exeext
69303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69304   (eval $ac_link) 2>conftest.er1
69305   ac_status=$?
69306   grep -v '^ *+' conftest.er1 >conftest.err
69307   rm -f conftest.er1
69308   cat conftest.err >&5
69309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69310   (exit $ac_status); } &&
69311          { ac_try='test -z "$ac_c_werror_flag"
69312                          || test ! -s conftest.err'
69313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69314   (eval $ac_try) 2>&5
69315   ac_status=$?
69316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69317   (exit $ac_status); }; } &&
69318          { ac_try='test -s conftest$ac_exeext'
69319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69320   (eval $ac_try) 2>&5
69321   ac_status=$?
69322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69323   (exit $ac_status); }; }; then
69324   eval "$as_ac_var=yes"
69325 else
69326   echo "$as_me: failed program was:" >&5
69327 sed 's/^/| /' conftest.$ac_ext >&5
69328
69329 eval "$as_ac_var=no"
69330 fi
69331 rm -f conftest.err conftest.$ac_objext \
69332       conftest$ac_exeext conftest.$ac_ext
69333 fi
69334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69336 if test `eval echo '${'$as_ac_var'}'` = yes; then
69337   cat >>confdefs.h <<_ACEOF
69338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69339 _ACEOF
69340
69341 fi
69342 done
69343
69344   else
69345
69346   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
69347 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
69348   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
69349     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
69350   echo $ECHO_N "(cached) $ECHO_C" >&6
69351 else
69352
69353
69354
69355       ac_ext=cc
69356 ac_cpp='$CXXCPP $CPPFLAGS'
69357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69360
69361       cat >conftest.$ac_ext <<_ACEOF
69362 /* confdefs.h.  */
69363 _ACEOF
69364 cat confdefs.h >>conftest.$ac_ext
69365 cat >>conftest.$ac_ext <<_ACEOF
69366 /* end confdefs.h.  */
69367 #include <math.h>
69368 int
69369 main ()
69370 {
69371  _atan2f(0, 0);
69372   ;
69373   return 0;
69374 }
69375 _ACEOF
69376 rm -f conftest.$ac_objext
69377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69378   (eval $ac_compile) 2>conftest.er1
69379   ac_status=$?
69380   grep -v '^ *+' conftest.er1 >conftest.err
69381   rm -f conftest.er1
69382   cat conftest.err >&5
69383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69384   (exit $ac_status); } &&
69385          { ac_try='test -z "$ac_cxx_werror_flag"
69386                          || test ! -s conftest.err'
69387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69388   (eval $ac_try) 2>&5
69389   ac_status=$?
69390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69391   (exit $ac_status); }; } &&
69392          { ac_try='test -s conftest.$ac_objext'
69393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69394   (eval $ac_try) 2>&5
69395   ac_status=$?
69396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69397   (exit $ac_status); }; }; then
69398   glibcxx_cv_func__atan2f_use=yes
69399 else
69400   echo "$as_me: failed program was:" >&5
69401 sed 's/^/| /' conftest.$ac_ext >&5
69402
69403 glibcxx_cv_func__atan2f_use=no
69404 fi
69405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69406       ac_ext=c
69407 ac_cpp='$CPP $CPPFLAGS'
69408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69411
69412
69413 fi
69414
69415   fi
69416   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
69417 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
69418
69419     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
69420
69421 for ac_func in _atan2f
69422 do
69423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69424 echo "$as_me:$LINENO: checking for $ac_func" >&5
69425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69426 if eval "test \"\${$as_ac_var+set}\" = set"; then
69427   echo $ECHO_N "(cached) $ECHO_C" >&6
69428 else
69429   if test x$gcc_no_link = xyes; then
69430   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69432    { (exit 1); exit 1; }; }
69433 fi
69434 cat >conftest.$ac_ext <<_ACEOF
69435 /* confdefs.h.  */
69436 _ACEOF
69437 cat confdefs.h >>conftest.$ac_ext
69438 cat >>conftest.$ac_ext <<_ACEOF
69439 /* end confdefs.h.  */
69440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69441    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69442 #define $ac_func innocuous_$ac_func
69443
69444 /* System header to define __stub macros and hopefully few prototypes,
69445     which can conflict with char $ac_func (); below.
69446     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69447     <limits.h> exists even on freestanding compilers.  */
69448
69449 #ifdef __STDC__
69450 # include <limits.h>
69451 #else
69452 # include <assert.h>
69453 #endif
69454
69455 #undef $ac_func
69456
69457 /* Override any gcc2 internal prototype to avoid an error.  */
69458 #ifdef __cplusplus
69459 extern "C"
69460 {
69461 #endif
69462 /* We use char because int might match the return type of a gcc2
69463    builtin and then its argument prototype would still apply.  */
69464 char $ac_func ();
69465 /* The GNU C library defines this for functions which it implements
69466     to always fail with ENOSYS.  Some functions are actually named
69467     something starting with __ and the normal name is an alias.  */
69468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69469 choke me
69470 #else
69471 char (*f) () = $ac_func;
69472 #endif
69473 #ifdef __cplusplus
69474 }
69475 #endif
69476
69477 int
69478 main ()
69479 {
69480 return f != $ac_func;
69481   ;
69482   return 0;
69483 }
69484 _ACEOF
69485 rm -f conftest.$ac_objext conftest$ac_exeext
69486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69487   (eval $ac_link) 2>conftest.er1
69488   ac_status=$?
69489   grep -v '^ *+' conftest.er1 >conftest.err
69490   rm -f conftest.er1
69491   cat conftest.err >&5
69492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69493   (exit $ac_status); } &&
69494          { ac_try='test -z "$ac_c_werror_flag"
69495                          || test ! -s conftest.err'
69496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69497   (eval $ac_try) 2>&5
69498   ac_status=$?
69499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69500   (exit $ac_status); }; } &&
69501          { ac_try='test -s conftest$ac_exeext'
69502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69503   (eval $ac_try) 2>&5
69504   ac_status=$?
69505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69506   (exit $ac_status); }; }; then
69507   eval "$as_ac_var=yes"
69508 else
69509   echo "$as_me: failed program was:" >&5
69510 sed 's/^/| /' conftest.$ac_ext >&5
69511
69512 eval "$as_ac_var=no"
69513 fi
69514 rm -f conftest.err conftest.$ac_objext \
69515       conftest$ac_exeext conftest.$ac_ext
69516 fi
69517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69519 if test `eval echo '${'$as_ac_var'}'` = yes; then
69520   cat >>confdefs.h <<_ACEOF
69521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69522 _ACEOF
69523
69524 fi
69525 done
69526
69527     fi
69528   fi
69529
69530
69531
69532
69533
69534
69535   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
69536 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
69537   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
69538     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
69539   echo $ECHO_N "(cached) $ECHO_C" >&6
69540 else
69541
69542
69543
69544       ac_ext=cc
69545 ac_cpp='$CXXCPP $CPPFLAGS'
69546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69549
69550       cat >conftest.$ac_ext <<_ACEOF
69551 /* confdefs.h.  */
69552 _ACEOF
69553 cat confdefs.h >>conftest.$ac_ext
69554 cat >>conftest.$ac_ext <<_ACEOF
69555 /* end confdefs.h.  */
69556 #include <math.h>
69557                       #ifdef HAVE_IEEEFP_H
69558                       #include <ieeefp.h>
69559                       #endif
69560
69561 int
69562 main ()
69563 {
69564  fabsf(0);
69565   ;
69566   return 0;
69567 }
69568 _ACEOF
69569 rm -f conftest.$ac_objext
69570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69571   (eval $ac_compile) 2>conftest.er1
69572   ac_status=$?
69573   grep -v '^ *+' conftest.er1 >conftest.err
69574   rm -f conftest.er1
69575   cat conftest.err >&5
69576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69577   (exit $ac_status); } &&
69578          { ac_try='test -z "$ac_cxx_werror_flag"
69579                          || test ! -s conftest.err'
69580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69581   (eval $ac_try) 2>&5
69582   ac_status=$?
69583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69584   (exit $ac_status); }; } &&
69585          { ac_try='test -s conftest.$ac_objext'
69586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69587   (eval $ac_try) 2>&5
69588   ac_status=$?
69589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69590   (exit $ac_status); }; }; then
69591   glibcxx_cv_func_fabsf_use=yes
69592 else
69593   echo "$as_me: failed program was:" >&5
69594 sed 's/^/| /' conftest.$ac_ext >&5
69595
69596 glibcxx_cv_func_fabsf_use=no
69597 fi
69598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69599       ac_ext=c
69600 ac_cpp='$CPP $CPPFLAGS'
69601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69604
69605
69606 fi
69607
69608   fi
69609   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
69610 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
69611
69612   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
69613
69614 for ac_func in fabsf
69615 do
69616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69617 echo "$as_me:$LINENO: checking for $ac_func" >&5
69618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69619 if eval "test \"\${$as_ac_var+set}\" = set"; then
69620   echo $ECHO_N "(cached) $ECHO_C" >&6
69621 else
69622   if test x$gcc_no_link = xyes; then
69623   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69625    { (exit 1); exit 1; }; }
69626 fi
69627 cat >conftest.$ac_ext <<_ACEOF
69628 /* confdefs.h.  */
69629 _ACEOF
69630 cat confdefs.h >>conftest.$ac_ext
69631 cat >>conftest.$ac_ext <<_ACEOF
69632 /* end confdefs.h.  */
69633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69634    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69635 #define $ac_func innocuous_$ac_func
69636
69637 /* System header to define __stub macros and hopefully few prototypes,
69638     which can conflict with char $ac_func (); below.
69639     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69640     <limits.h> exists even on freestanding compilers.  */
69641
69642 #ifdef __STDC__
69643 # include <limits.h>
69644 #else
69645 # include <assert.h>
69646 #endif
69647
69648 #undef $ac_func
69649
69650 /* Override any gcc2 internal prototype to avoid an error.  */
69651 #ifdef __cplusplus
69652 extern "C"
69653 {
69654 #endif
69655 /* We use char because int might match the return type of a gcc2
69656    builtin and then its argument prototype would still apply.  */
69657 char $ac_func ();
69658 /* The GNU C library defines this for functions which it implements
69659     to always fail with ENOSYS.  Some functions are actually named
69660     something starting with __ and the normal name is an alias.  */
69661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69662 choke me
69663 #else
69664 char (*f) () = $ac_func;
69665 #endif
69666 #ifdef __cplusplus
69667 }
69668 #endif
69669
69670 int
69671 main ()
69672 {
69673 return f != $ac_func;
69674   ;
69675   return 0;
69676 }
69677 _ACEOF
69678 rm -f conftest.$ac_objext conftest$ac_exeext
69679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69680   (eval $ac_link) 2>conftest.er1
69681   ac_status=$?
69682   grep -v '^ *+' conftest.er1 >conftest.err
69683   rm -f conftest.er1
69684   cat conftest.err >&5
69685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69686   (exit $ac_status); } &&
69687          { ac_try='test -z "$ac_c_werror_flag"
69688                          || test ! -s conftest.err'
69689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69690   (eval $ac_try) 2>&5
69691   ac_status=$?
69692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69693   (exit $ac_status); }; } &&
69694          { ac_try='test -s conftest$ac_exeext'
69695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69696   (eval $ac_try) 2>&5
69697   ac_status=$?
69698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69699   (exit $ac_status); }; }; then
69700   eval "$as_ac_var=yes"
69701 else
69702   echo "$as_me: failed program was:" >&5
69703 sed 's/^/| /' conftest.$ac_ext >&5
69704
69705 eval "$as_ac_var=no"
69706 fi
69707 rm -f conftest.err conftest.$ac_objext \
69708       conftest$ac_exeext conftest.$ac_ext
69709 fi
69710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69712 if test `eval echo '${'$as_ac_var'}'` = yes; then
69713   cat >>confdefs.h <<_ACEOF
69714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69715 _ACEOF
69716
69717 fi
69718 done
69719
69720   else
69721
69722   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
69723 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
69724   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
69725     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
69726   echo $ECHO_N "(cached) $ECHO_C" >&6
69727 else
69728
69729
69730
69731       ac_ext=cc
69732 ac_cpp='$CXXCPP $CPPFLAGS'
69733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69736
69737       cat >conftest.$ac_ext <<_ACEOF
69738 /* confdefs.h.  */
69739 _ACEOF
69740 cat confdefs.h >>conftest.$ac_ext
69741 cat >>conftest.$ac_ext <<_ACEOF
69742 /* end confdefs.h.  */
69743 #include <math.h>
69744                       #ifdef HAVE_IEEEFP_H
69745                       #include <ieeefp.h>
69746                       #endif
69747
69748 int
69749 main ()
69750 {
69751  _fabsf(0);
69752   ;
69753   return 0;
69754 }
69755 _ACEOF
69756 rm -f conftest.$ac_objext
69757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69758   (eval $ac_compile) 2>conftest.er1
69759   ac_status=$?
69760   grep -v '^ *+' conftest.er1 >conftest.err
69761   rm -f conftest.er1
69762   cat conftest.err >&5
69763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69764   (exit $ac_status); } &&
69765          { ac_try='test -z "$ac_cxx_werror_flag"
69766                          || test ! -s conftest.err'
69767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69768   (eval $ac_try) 2>&5
69769   ac_status=$?
69770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69771   (exit $ac_status); }; } &&
69772          { ac_try='test -s conftest.$ac_objext'
69773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69774   (eval $ac_try) 2>&5
69775   ac_status=$?
69776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69777   (exit $ac_status); }; }; then
69778   glibcxx_cv_func__fabsf_use=yes
69779 else
69780   echo "$as_me: failed program was:" >&5
69781 sed 's/^/| /' conftest.$ac_ext >&5
69782
69783 glibcxx_cv_func__fabsf_use=no
69784 fi
69785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69786       ac_ext=c
69787 ac_cpp='$CPP $CPPFLAGS'
69788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69791
69792
69793 fi
69794
69795   fi
69796   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
69797 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
69798
69799     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
69800
69801 for ac_func in _fabsf
69802 do
69803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69804 echo "$as_me:$LINENO: checking for $ac_func" >&5
69805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69806 if eval "test \"\${$as_ac_var+set}\" = set"; then
69807   echo $ECHO_N "(cached) $ECHO_C" >&6
69808 else
69809   if test x$gcc_no_link = xyes; then
69810   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69812    { (exit 1); exit 1; }; }
69813 fi
69814 cat >conftest.$ac_ext <<_ACEOF
69815 /* confdefs.h.  */
69816 _ACEOF
69817 cat confdefs.h >>conftest.$ac_ext
69818 cat >>conftest.$ac_ext <<_ACEOF
69819 /* end confdefs.h.  */
69820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69821    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69822 #define $ac_func innocuous_$ac_func
69823
69824 /* System header to define __stub macros and hopefully few prototypes,
69825     which can conflict with char $ac_func (); below.
69826     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69827     <limits.h> exists even on freestanding compilers.  */
69828
69829 #ifdef __STDC__
69830 # include <limits.h>
69831 #else
69832 # include <assert.h>
69833 #endif
69834
69835 #undef $ac_func
69836
69837 /* Override any gcc2 internal prototype to avoid an error.  */
69838 #ifdef __cplusplus
69839 extern "C"
69840 {
69841 #endif
69842 /* We use char because int might match the return type of a gcc2
69843    builtin and then its argument prototype would still apply.  */
69844 char $ac_func ();
69845 /* The GNU C library defines this for functions which it implements
69846     to always fail with ENOSYS.  Some functions are actually named
69847     something starting with __ and the normal name is an alias.  */
69848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69849 choke me
69850 #else
69851 char (*f) () = $ac_func;
69852 #endif
69853 #ifdef __cplusplus
69854 }
69855 #endif
69856
69857 int
69858 main ()
69859 {
69860 return f != $ac_func;
69861   ;
69862   return 0;
69863 }
69864 _ACEOF
69865 rm -f conftest.$ac_objext conftest$ac_exeext
69866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69867   (eval $ac_link) 2>conftest.er1
69868   ac_status=$?
69869   grep -v '^ *+' conftest.er1 >conftest.err
69870   rm -f conftest.er1
69871   cat conftest.err >&5
69872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69873   (exit $ac_status); } &&
69874          { ac_try='test -z "$ac_c_werror_flag"
69875                          || test ! -s conftest.err'
69876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69877   (eval $ac_try) 2>&5
69878   ac_status=$?
69879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69880   (exit $ac_status); }; } &&
69881          { ac_try='test -s conftest$ac_exeext'
69882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69883   (eval $ac_try) 2>&5
69884   ac_status=$?
69885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69886   (exit $ac_status); }; }; then
69887   eval "$as_ac_var=yes"
69888 else
69889   echo "$as_me: failed program was:" >&5
69890 sed 's/^/| /' conftest.$ac_ext >&5
69891
69892 eval "$as_ac_var=no"
69893 fi
69894 rm -f conftest.err conftest.$ac_objext \
69895       conftest$ac_exeext conftest.$ac_ext
69896 fi
69897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69899 if test `eval echo '${'$as_ac_var'}'` = yes; then
69900   cat >>confdefs.h <<_ACEOF
69901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69902 _ACEOF
69903
69904 fi
69905 done
69906
69907     fi
69908   fi
69909
69910
69911
69912
69913
69914
69915   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
69916 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
69917   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
69918     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
69919   echo $ECHO_N "(cached) $ECHO_C" >&6
69920 else
69921
69922
69923
69924       ac_ext=cc
69925 ac_cpp='$CXXCPP $CPPFLAGS'
69926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69929
69930       cat >conftest.$ac_ext <<_ACEOF
69931 /* confdefs.h.  */
69932 _ACEOF
69933 cat confdefs.h >>conftest.$ac_ext
69934 cat >>conftest.$ac_ext <<_ACEOF
69935 /* end confdefs.h.  */
69936 #include <math.h>
69937 int
69938 main ()
69939 {
69940  fmodf(0, 0);
69941   ;
69942   return 0;
69943 }
69944 _ACEOF
69945 rm -f conftest.$ac_objext
69946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69947   (eval $ac_compile) 2>conftest.er1
69948   ac_status=$?
69949   grep -v '^ *+' conftest.er1 >conftest.err
69950   rm -f conftest.er1
69951   cat conftest.err >&5
69952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69953   (exit $ac_status); } &&
69954          { ac_try='test -z "$ac_cxx_werror_flag"
69955                          || test ! -s conftest.err'
69956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69957   (eval $ac_try) 2>&5
69958   ac_status=$?
69959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69960   (exit $ac_status); }; } &&
69961          { ac_try='test -s conftest.$ac_objext'
69962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69963   (eval $ac_try) 2>&5
69964   ac_status=$?
69965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69966   (exit $ac_status); }; }; then
69967   glibcxx_cv_func_fmodf_use=yes
69968 else
69969   echo "$as_me: failed program was:" >&5
69970 sed 's/^/| /' conftest.$ac_ext >&5
69971
69972 glibcxx_cv_func_fmodf_use=no
69973 fi
69974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69975       ac_ext=c
69976 ac_cpp='$CPP $CPPFLAGS'
69977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69980
69981
69982 fi
69983
69984   fi
69985   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
69986 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
69987
69988   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
69989
69990 for ac_func in fmodf
69991 do
69992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69993 echo "$as_me:$LINENO: checking for $ac_func" >&5
69994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69995 if eval "test \"\${$as_ac_var+set}\" = set"; then
69996   echo $ECHO_N "(cached) $ECHO_C" >&6
69997 else
69998   if test x$gcc_no_link = xyes; then
69999   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70001    { (exit 1); exit 1; }; }
70002 fi
70003 cat >conftest.$ac_ext <<_ACEOF
70004 /* confdefs.h.  */
70005 _ACEOF
70006 cat confdefs.h >>conftest.$ac_ext
70007 cat >>conftest.$ac_ext <<_ACEOF
70008 /* end confdefs.h.  */
70009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70010    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70011 #define $ac_func innocuous_$ac_func
70012
70013 /* System header to define __stub macros and hopefully few prototypes,
70014     which can conflict with char $ac_func (); below.
70015     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70016     <limits.h> exists even on freestanding compilers.  */
70017
70018 #ifdef __STDC__
70019 # include <limits.h>
70020 #else
70021 # include <assert.h>
70022 #endif
70023
70024 #undef $ac_func
70025
70026 /* Override any gcc2 internal prototype to avoid an error.  */
70027 #ifdef __cplusplus
70028 extern "C"
70029 {
70030 #endif
70031 /* We use char because int might match the return type of a gcc2
70032    builtin and then its argument prototype would still apply.  */
70033 char $ac_func ();
70034 /* The GNU C library defines this for functions which it implements
70035     to always fail with ENOSYS.  Some functions are actually named
70036     something starting with __ and the normal name is an alias.  */
70037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70038 choke me
70039 #else
70040 char (*f) () = $ac_func;
70041 #endif
70042 #ifdef __cplusplus
70043 }
70044 #endif
70045
70046 int
70047 main ()
70048 {
70049 return f != $ac_func;
70050   ;
70051   return 0;
70052 }
70053 _ACEOF
70054 rm -f conftest.$ac_objext conftest$ac_exeext
70055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70056   (eval $ac_link) 2>conftest.er1
70057   ac_status=$?
70058   grep -v '^ *+' conftest.er1 >conftest.err
70059   rm -f conftest.er1
70060   cat conftest.err >&5
70061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70062   (exit $ac_status); } &&
70063          { ac_try='test -z "$ac_c_werror_flag"
70064                          || test ! -s conftest.err'
70065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70066   (eval $ac_try) 2>&5
70067   ac_status=$?
70068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70069   (exit $ac_status); }; } &&
70070          { ac_try='test -s conftest$ac_exeext'
70071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70072   (eval $ac_try) 2>&5
70073   ac_status=$?
70074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70075   (exit $ac_status); }; }; then
70076   eval "$as_ac_var=yes"
70077 else
70078   echo "$as_me: failed program was:" >&5
70079 sed 's/^/| /' conftest.$ac_ext >&5
70080
70081 eval "$as_ac_var=no"
70082 fi
70083 rm -f conftest.err conftest.$ac_objext \
70084       conftest$ac_exeext conftest.$ac_ext
70085 fi
70086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70088 if test `eval echo '${'$as_ac_var'}'` = yes; then
70089   cat >>confdefs.h <<_ACEOF
70090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70091 _ACEOF
70092
70093 fi
70094 done
70095
70096   else
70097
70098   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
70099 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
70100   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
70101     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
70102   echo $ECHO_N "(cached) $ECHO_C" >&6
70103 else
70104
70105
70106
70107       ac_ext=cc
70108 ac_cpp='$CXXCPP $CPPFLAGS'
70109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70112
70113       cat >conftest.$ac_ext <<_ACEOF
70114 /* confdefs.h.  */
70115 _ACEOF
70116 cat confdefs.h >>conftest.$ac_ext
70117 cat >>conftest.$ac_ext <<_ACEOF
70118 /* end confdefs.h.  */
70119 #include <math.h>
70120 int
70121 main ()
70122 {
70123  _fmodf(0, 0);
70124   ;
70125   return 0;
70126 }
70127 _ACEOF
70128 rm -f conftest.$ac_objext
70129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70130   (eval $ac_compile) 2>conftest.er1
70131   ac_status=$?
70132   grep -v '^ *+' conftest.er1 >conftest.err
70133   rm -f conftest.er1
70134   cat conftest.err >&5
70135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70136   (exit $ac_status); } &&
70137          { ac_try='test -z "$ac_cxx_werror_flag"
70138                          || test ! -s conftest.err'
70139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70140   (eval $ac_try) 2>&5
70141   ac_status=$?
70142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70143   (exit $ac_status); }; } &&
70144          { ac_try='test -s conftest.$ac_objext'
70145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70146   (eval $ac_try) 2>&5
70147   ac_status=$?
70148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70149   (exit $ac_status); }; }; then
70150   glibcxx_cv_func__fmodf_use=yes
70151 else
70152   echo "$as_me: failed program was:" >&5
70153 sed 's/^/| /' conftest.$ac_ext >&5
70154
70155 glibcxx_cv_func__fmodf_use=no
70156 fi
70157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70158       ac_ext=c
70159 ac_cpp='$CPP $CPPFLAGS'
70160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70163
70164
70165 fi
70166
70167   fi
70168   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
70169 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
70170
70171     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
70172
70173 for ac_func in _fmodf
70174 do
70175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70176 echo "$as_me:$LINENO: checking for $ac_func" >&5
70177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70178 if eval "test \"\${$as_ac_var+set}\" = set"; then
70179   echo $ECHO_N "(cached) $ECHO_C" >&6
70180 else
70181   if test x$gcc_no_link = xyes; then
70182   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70184    { (exit 1); exit 1; }; }
70185 fi
70186 cat >conftest.$ac_ext <<_ACEOF
70187 /* confdefs.h.  */
70188 _ACEOF
70189 cat confdefs.h >>conftest.$ac_ext
70190 cat >>conftest.$ac_ext <<_ACEOF
70191 /* end confdefs.h.  */
70192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70193    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70194 #define $ac_func innocuous_$ac_func
70195
70196 /* System header to define __stub macros and hopefully few prototypes,
70197     which can conflict with char $ac_func (); below.
70198     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70199     <limits.h> exists even on freestanding compilers.  */
70200
70201 #ifdef __STDC__
70202 # include <limits.h>
70203 #else
70204 # include <assert.h>
70205 #endif
70206
70207 #undef $ac_func
70208
70209 /* Override any gcc2 internal prototype to avoid an error.  */
70210 #ifdef __cplusplus
70211 extern "C"
70212 {
70213 #endif
70214 /* We use char because int might match the return type of a gcc2
70215    builtin and then its argument prototype would still apply.  */
70216 char $ac_func ();
70217 /* The GNU C library defines this for functions which it implements
70218     to always fail with ENOSYS.  Some functions are actually named
70219     something starting with __ and the normal name is an alias.  */
70220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70221 choke me
70222 #else
70223 char (*f) () = $ac_func;
70224 #endif
70225 #ifdef __cplusplus
70226 }
70227 #endif
70228
70229 int
70230 main ()
70231 {
70232 return f != $ac_func;
70233   ;
70234   return 0;
70235 }
70236 _ACEOF
70237 rm -f conftest.$ac_objext conftest$ac_exeext
70238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70239   (eval $ac_link) 2>conftest.er1
70240   ac_status=$?
70241   grep -v '^ *+' conftest.er1 >conftest.err
70242   rm -f conftest.er1
70243   cat conftest.err >&5
70244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70245   (exit $ac_status); } &&
70246          { ac_try='test -z "$ac_c_werror_flag"
70247                          || test ! -s conftest.err'
70248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70249   (eval $ac_try) 2>&5
70250   ac_status=$?
70251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70252   (exit $ac_status); }; } &&
70253          { ac_try='test -s conftest$ac_exeext'
70254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70255   (eval $ac_try) 2>&5
70256   ac_status=$?
70257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70258   (exit $ac_status); }; }; then
70259   eval "$as_ac_var=yes"
70260 else
70261   echo "$as_me: failed program was:" >&5
70262 sed 's/^/| /' conftest.$ac_ext >&5
70263
70264 eval "$as_ac_var=no"
70265 fi
70266 rm -f conftest.err conftest.$ac_objext \
70267       conftest$ac_exeext conftest.$ac_ext
70268 fi
70269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70271 if test `eval echo '${'$as_ac_var'}'` = yes; then
70272   cat >>confdefs.h <<_ACEOF
70273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70274 _ACEOF
70275
70276 fi
70277 done
70278
70279     fi
70280   fi
70281
70282
70283
70284
70285
70286
70287   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
70288 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
70289   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
70290     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
70291   echo $ECHO_N "(cached) $ECHO_C" >&6
70292 else
70293
70294
70295
70296       ac_ext=cc
70297 ac_cpp='$CXXCPP $CPPFLAGS'
70298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70301
70302       cat >conftest.$ac_ext <<_ACEOF
70303 /* confdefs.h.  */
70304 _ACEOF
70305 cat confdefs.h >>conftest.$ac_ext
70306 cat >>conftest.$ac_ext <<_ACEOF
70307 /* end confdefs.h.  */
70308 #include <math.h>
70309 int
70310 main ()
70311 {
70312  frexpf(0, 0);
70313   ;
70314   return 0;
70315 }
70316 _ACEOF
70317 rm -f conftest.$ac_objext
70318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70319   (eval $ac_compile) 2>conftest.er1
70320   ac_status=$?
70321   grep -v '^ *+' conftest.er1 >conftest.err
70322   rm -f conftest.er1
70323   cat conftest.err >&5
70324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70325   (exit $ac_status); } &&
70326          { ac_try='test -z "$ac_cxx_werror_flag"
70327                          || test ! -s conftest.err'
70328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70329   (eval $ac_try) 2>&5
70330   ac_status=$?
70331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70332   (exit $ac_status); }; } &&
70333          { ac_try='test -s conftest.$ac_objext'
70334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70335   (eval $ac_try) 2>&5
70336   ac_status=$?
70337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70338   (exit $ac_status); }; }; then
70339   glibcxx_cv_func_frexpf_use=yes
70340 else
70341   echo "$as_me: failed program was:" >&5
70342 sed 's/^/| /' conftest.$ac_ext >&5
70343
70344 glibcxx_cv_func_frexpf_use=no
70345 fi
70346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70347       ac_ext=c
70348 ac_cpp='$CPP $CPPFLAGS'
70349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70352
70353
70354 fi
70355
70356   fi
70357   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
70358 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
70359
70360   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
70361
70362 for ac_func in frexpf
70363 do
70364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70365 echo "$as_me:$LINENO: checking for $ac_func" >&5
70366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70367 if eval "test \"\${$as_ac_var+set}\" = set"; then
70368   echo $ECHO_N "(cached) $ECHO_C" >&6
70369 else
70370   if test x$gcc_no_link = xyes; then
70371   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70373    { (exit 1); exit 1; }; }
70374 fi
70375 cat >conftest.$ac_ext <<_ACEOF
70376 /* confdefs.h.  */
70377 _ACEOF
70378 cat confdefs.h >>conftest.$ac_ext
70379 cat >>conftest.$ac_ext <<_ACEOF
70380 /* end confdefs.h.  */
70381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70382    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70383 #define $ac_func innocuous_$ac_func
70384
70385 /* System header to define __stub macros and hopefully few prototypes,
70386     which can conflict with char $ac_func (); below.
70387     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70388     <limits.h> exists even on freestanding compilers.  */
70389
70390 #ifdef __STDC__
70391 # include <limits.h>
70392 #else
70393 # include <assert.h>
70394 #endif
70395
70396 #undef $ac_func
70397
70398 /* Override any gcc2 internal prototype to avoid an error.  */
70399 #ifdef __cplusplus
70400 extern "C"
70401 {
70402 #endif
70403 /* We use char because int might match the return type of a gcc2
70404    builtin and then its argument prototype would still apply.  */
70405 char $ac_func ();
70406 /* The GNU C library defines this for functions which it implements
70407     to always fail with ENOSYS.  Some functions are actually named
70408     something starting with __ and the normal name is an alias.  */
70409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70410 choke me
70411 #else
70412 char (*f) () = $ac_func;
70413 #endif
70414 #ifdef __cplusplus
70415 }
70416 #endif
70417
70418 int
70419 main ()
70420 {
70421 return f != $ac_func;
70422   ;
70423   return 0;
70424 }
70425 _ACEOF
70426 rm -f conftest.$ac_objext conftest$ac_exeext
70427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70428   (eval $ac_link) 2>conftest.er1
70429   ac_status=$?
70430   grep -v '^ *+' conftest.er1 >conftest.err
70431   rm -f conftest.er1
70432   cat conftest.err >&5
70433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70434   (exit $ac_status); } &&
70435          { ac_try='test -z "$ac_c_werror_flag"
70436                          || test ! -s conftest.err'
70437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70438   (eval $ac_try) 2>&5
70439   ac_status=$?
70440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70441   (exit $ac_status); }; } &&
70442          { ac_try='test -s conftest$ac_exeext'
70443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70444   (eval $ac_try) 2>&5
70445   ac_status=$?
70446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70447   (exit $ac_status); }; }; then
70448   eval "$as_ac_var=yes"
70449 else
70450   echo "$as_me: failed program was:" >&5
70451 sed 's/^/| /' conftest.$ac_ext >&5
70452
70453 eval "$as_ac_var=no"
70454 fi
70455 rm -f conftest.err conftest.$ac_objext \
70456       conftest$ac_exeext conftest.$ac_ext
70457 fi
70458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70460 if test `eval echo '${'$as_ac_var'}'` = yes; then
70461   cat >>confdefs.h <<_ACEOF
70462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70463 _ACEOF
70464
70465 fi
70466 done
70467
70468   else
70469
70470   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
70471 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
70472   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
70473     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
70474   echo $ECHO_N "(cached) $ECHO_C" >&6
70475 else
70476
70477
70478
70479       ac_ext=cc
70480 ac_cpp='$CXXCPP $CPPFLAGS'
70481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70484
70485       cat >conftest.$ac_ext <<_ACEOF
70486 /* confdefs.h.  */
70487 _ACEOF
70488 cat confdefs.h >>conftest.$ac_ext
70489 cat >>conftest.$ac_ext <<_ACEOF
70490 /* end confdefs.h.  */
70491 #include <math.h>
70492 int
70493 main ()
70494 {
70495  _frexpf(0, 0);
70496   ;
70497   return 0;
70498 }
70499 _ACEOF
70500 rm -f conftest.$ac_objext
70501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70502   (eval $ac_compile) 2>conftest.er1
70503   ac_status=$?
70504   grep -v '^ *+' conftest.er1 >conftest.err
70505   rm -f conftest.er1
70506   cat conftest.err >&5
70507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70508   (exit $ac_status); } &&
70509          { ac_try='test -z "$ac_cxx_werror_flag"
70510                          || test ! -s conftest.err'
70511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70512   (eval $ac_try) 2>&5
70513   ac_status=$?
70514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70515   (exit $ac_status); }; } &&
70516          { ac_try='test -s conftest.$ac_objext'
70517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70518   (eval $ac_try) 2>&5
70519   ac_status=$?
70520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70521   (exit $ac_status); }; }; then
70522   glibcxx_cv_func__frexpf_use=yes
70523 else
70524   echo "$as_me: failed program was:" >&5
70525 sed 's/^/| /' conftest.$ac_ext >&5
70526
70527 glibcxx_cv_func__frexpf_use=no
70528 fi
70529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70530       ac_ext=c
70531 ac_cpp='$CPP $CPPFLAGS'
70532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70535
70536
70537 fi
70538
70539   fi
70540   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
70541 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
70542
70543     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
70544
70545 for ac_func in _frexpf
70546 do
70547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70548 echo "$as_me:$LINENO: checking for $ac_func" >&5
70549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70550 if eval "test \"\${$as_ac_var+set}\" = set"; then
70551   echo $ECHO_N "(cached) $ECHO_C" >&6
70552 else
70553   if test x$gcc_no_link = xyes; then
70554   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70556    { (exit 1); exit 1; }; }
70557 fi
70558 cat >conftest.$ac_ext <<_ACEOF
70559 /* confdefs.h.  */
70560 _ACEOF
70561 cat confdefs.h >>conftest.$ac_ext
70562 cat >>conftest.$ac_ext <<_ACEOF
70563 /* end confdefs.h.  */
70564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70565    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70566 #define $ac_func innocuous_$ac_func
70567
70568 /* System header to define __stub macros and hopefully few prototypes,
70569     which can conflict with char $ac_func (); below.
70570     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70571     <limits.h> exists even on freestanding compilers.  */
70572
70573 #ifdef __STDC__
70574 # include <limits.h>
70575 #else
70576 # include <assert.h>
70577 #endif
70578
70579 #undef $ac_func
70580
70581 /* Override any gcc2 internal prototype to avoid an error.  */
70582 #ifdef __cplusplus
70583 extern "C"
70584 {
70585 #endif
70586 /* We use char because int might match the return type of a gcc2
70587    builtin and then its argument prototype would still apply.  */
70588 char $ac_func ();
70589 /* The GNU C library defines this for functions which it implements
70590     to always fail with ENOSYS.  Some functions are actually named
70591     something starting with __ and the normal name is an alias.  */
70592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70593 choke me
70594 #else
70595 char (*f) () = $ac_func;
70596 #endif
70597 #ifdef __cplusplus
70598 }
70599 #endif
70600
70601 int
70602 main ()
70603 {
70604 return f != $ac_func;
70605   ;
70606   return 0;
70607 }
70608 _ACEOF
70609 rm -f conftest.$ac_objext conftest$ac_exeext
70610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70611   (eval $ac_link) 2>conftest.er1
70612   ac_status=$?
70613   grep -v '^ *+' conftest.er1 >conftest.err
70614   rm -f conftest.er1
70615   cat conftest.err >&5
70616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70617   (exit $ac_status); } &&
70618          { ac_try='test -z "$ac_c_werror_flag"
70619                          || test ! -s conftest.err'
70620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70621   (eval $ac_try) 2>&5
70622   ac_status=$?
70623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70624   (exit $ac_status); }; } &&
70625          { ac_try='test -s conftest$ac_exeext'
70626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70627   (eval $ac_try) 2>&5
70628   ac_status=$?
70629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70630   (exit $ac_status); }; }; then
70631   eval "$as_ac_var=yes"
70632 else
70633   echo "$as_me: failed program was:" >&5
70634 sed 's/^/| /' conftest.$ac_ext >&5
70635
70636 eval "$as_ac_var=no"
70637 fi
70638 rm -f conftest.err conftest.$ac_objext \
70639       conftest$ac_exeext conftest.$ac_ext
70640 fi
70641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70643 if test `eval echo '${'$as_ac_var'}'` = yes; then
70644   cat >>confdefs.h <<_ACEOF
70645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70646 _ACEOF
70647
70648 fi
70649 done
70650
70651     fi
70652   fi
70653
70654
70655
70656
70657
70658
70659   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
70660 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
70661   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
70662     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
70663   echo $ECHO_N "(cached) $ECHO_C" >&6
70664 else
70665
70666
70667
70668       ac_ext=cc
70669 ac_cpp='$CXXCPP $CPPFLAGS'
70670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70673
70674       cat >conftest.$ac_ext <<_ACEOF
70675 /* confdefs.h.  */
70676 _ACEOF
70677 cat confdefs.h >>conftest.$ac_ext
70678 cat >>conftest.$ac_ext <<_ACEOF
70679 /* end confdefs.h.  */
70680 #include <math.h>
70681 int
70682 main ()
70683 {
70684  hypotf(0, 0);
70685   ;
70686   return 0;
70687 }
70688 _ACEOF
70689 rm -f conftest.$ac_objext
70690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70691   (eval $ac_compile) 2>conftest.er1
70692   ac_status=$?
70693   grep -v '^ *+' conftest.er1 >conftest.err
70694   rm -f conftest.er1
70695   cat conftest.err >&5
70696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70697   (exit $ac_status); } &&
70698          { ac_try='test -z "$ac_cxx_werror_flag"
70699                          || test ! -s conftest.err'
70700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70701   (eval $ac_try) 2>&5
70702   ac_status=$?
70703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70704   (exit $ac_status); }; } &&
70705          { ac_try='test -s conftest.$ac_objext'
70706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70707   (eval $ac_try) 2>&5
70708   ac_status=$?
70709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70710   (exit $ac_status); }; }; then
70711   glibcxx_cv_func_hypotf_use=yes
70712 else
70713   echo "$as_me: failed program was:" >&5
70714 sed 's/^/| /' conftest.$ac_ext >&5
70715
70716 glibcxx_cv_func_hypotf_use=no
70717 fi
70718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70719       ac_ext=c
70720 ac_cpp='$CPP $CPPFLAGS'
70721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70724
70725
70726 fi
70727
70728   fi
70729   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
70730 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
70731
70732   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
70733
70734 for ac_func in hypotf
70735 do
70736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70737 echo "$as_me:$LINENO: checking for $ac_func" >&5
70738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70739 if eval "test \"\${$as_ac_var+set}\" = set"; then
70740   echo $ECHO_N "(cached) $ECHO_C" >&6
70741 else
70742   if test x$gcc_no_link = xyes; then
70743   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70745    { (exit 1); exit 1; }; }
70746 fi
70747 cat >conftest.$ac_ext <<_ACEOF
70748 /* confdefs.h.  */
70749 _ACEOF
70750 cat confdefs.h >>conftest.$ac_ext
70751 cat >>conftest.$ac_ext <<_ACEOF
70752 /* end confdefs.h.  */
70753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70754    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70755 #define $ac_func innocuous_$ac_func
70756
70757 /* System header to define __stub macros and hopefully few prototypes,
70758     which can conflict with char $ac_func (); below.
70759     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70760     <limits.h> exists even on freestanding compilers.  */
70761
70762 #ifdef __STDC__
70763 # include <limits.h>
70764 #else
70765 # include <assert.h>
70766 #endif
70767
70768 #undef $ac_func
70769
70770 /* Override any gcc2 internal prototype to avoid an error.  */
70771 #ifdef __cplusplus
70772 extern "C"
70773 {
70774 #endif
70775 /* We use char because int might match the return type of a gcc2
70776    builtin and then its argument prototype would still apply.  */
70777 char $ac_func ();
70778 /* The GNU C library defines this for functions which it implements
70779     to always fail with ENOSYS.  Some functions are actually named
70780     something starting with __ and the normal name is an alias.  */
70781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70782 choke me
70783 #else
70784 char (*f) () = $ac_func;
70785 #endif
70786 #ifdef __cplusplus
70787 }
70788 #endif
70789
70790 int
70791 main ()
70792 {
70793 return f != $ac_func;
70794   ;
70795   return 0;
70796 }
70797 _ACEOF
70798 rm -f conftest.$ac_objext conftest$ac_exeext
70799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70800   (eval $ac_link) 2>conftest.er1
70801   ac_status=$?
70802   grep -v '^ *+' conftest.er1 >conftest.err
70803   rm -f conftest.er1
70804   cat conftest.err >&5
70805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70806   (exit $ac_status); } &&
70807          { ac_try='test -z "$ac_c_werror_flag"
70808                          || test ! -s conftest.err'
70809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70810   (eval $ac_try) 2>&5
70811   ac_status=$?
70812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70813   (exit $ac_status); }; } &&
70814          { ac_try='test -s conftest$ac_exeext'
70815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70816   (eval $ac_try) 2>&5
70817   ac_status=$?
70818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70819   (exit $ac_status); }; }; then
70820   eval "$as_ac_var=yes"
70821 else
70822   echo "$as_me: failed program was:" >&5
70823 sed 's/^/| /' conftest.$ac_ext >&5
70824
70825 eval "$as_ac_var=no"
70826 fi
70827 rm -f conftest.err conftest.$ac_objext \
70828       conftest$ac_exeext conftest.$ac_ext
70829 fi
70830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70832 if test `eval echo '${'$as_ac_var'}'` = yes; then
70833   cat >>confdefs.h <<_ACEOF
70834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70835 _ACEOF
70836
70837 fi
70838 done
70839
70840   else
70841
70842   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
70843 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
70844   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
70845     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
70846   echo $ECHO_N "(cached) $ECHO_C" >&6
70847 else
70848
70849
70850
70851       ac_ext=cc
70852 ac_cpp='$CXXCPP $CPPFLAGS'
70853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70856
70857       cat >conftest.$ac_ext <<_ACEOF
70858 /* confdefs.h.  */
70859 _ACEOF
70860 cat confdefs.h >>conftest.$ac_ext
70861 cat >>conftest.$ac_ext <<_ACEOF
70862 /* end confdefs.h.  */
70863 #include <math.h>
70864 int
70865 main ()
70866 {
70867  _hypotf(0, 0);
70868   ;
70869   return 0;
70870 }
70871 _ACEOF
70872 rm -f conftest.$ac_objext
70873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70874   (eval $ac_compile) 2>conftest.er1
70875   ac_status=$?
70876   grep -v '^ *+' conftest.er1 >conftest.err
70877   rm -f conftest.er1
70878   cat conftest.err >&5
70879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70880   (exit $ac_status); } &&
70881          { ac_try='test -z "$ac_cxx_werror_flag"
70882                          || test ! -s conftest.err'
70883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70884   (eval $ac_try) 2>&5
70885   ac_status=$?
70886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70887   (exit $ac_status); }; } &&
70888          { ac_try='test -s conftest.$ac_objext'
70889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70890   (eval $ac_try) 2>&5
70891   ac_status=$?
70892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70893   (exit $ac_status); }; }; then
70894   glibcxx_cv_func__hypotf_use=yes
70895 else
70896   echo "$as_me: failed program was:" >&5
70897 sed 's/^/| /' conftest.$ac_ext >&5
70898
70899 glibcxx_cv_func__hypotf_use=no
70900 fi
70901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70902       ac_ext=c
70903 ac_cpp='$CPP $CPPFLAGS'
70904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70907
70908
70909 fi
70910
70911   fi
70912   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
70913 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
70914
70915     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
70916
70917 for ac_func in _hypotf
70918 do
70919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70920 echo "$as_me:$LINENO: checking for $ac_func" >&5
70921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70922 if eval "test \"\${$as_ac_var+set}\" = set"; then
70923   echo $ECHO_N "(cached) $ECHO_C" >&6
70924 else
70925   if test x$gcc_no_link = xyes; then
70926   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70928    { (exit 1); exit 1; }; }
70929 fi
70930 cat >conftest.$ac_ext <<_ACEOF
70931 /* confdefs.h.  */
70932 _ACEOF
70933 cat confdefs.h >>conftest.$ac_ext
70934 cat >>conftest.$ac_ext <<_ACEOF
70935 /* end confdefs.h.  */
70936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70937    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70938 #define $ac_func innocuous_$ac_func
70939
70940 /* System header to define __stub macros and hopefully few prototypes,
70941     which can conflict with char $ac_func (); below.
70942     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70943     <limits.h> exists even on freestanding compilers.  */
70944
70945 #ifdef __STDC__
70946 # include <limits.h>
70947 #else
70948 # include <assert.h>
70949 #endif
70950
70951 #undef $ac_func
70952
70953 /* Override any gcc2 internal prototype to avoid an error.  */
70954 #ifdef __cplusplus
70955 extern "C"
70956 {
70957 #endif
70958 /* We use char because int might match the return type of a gcc2
70959    builtin and then its argument prototype would still apply.  */
70960 char $ac_func ();
70961 /* The GNU C library defines this for functions which it implements
70962     to always fail with ENOSYS.  Some functions are actually named
70963     something starting with __ and the normal name is an alias.  */
70964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70965 choke me
70966 #else
70967 char (*f) () = $ac_func;
70968 #endif
70969 #ifdef __cplusplus
70970 }
70971 #endif
70972
70973 int
70974 main ()
70975 {
70976 return f != $ac_func;
70977   ;
70978   return 0;
70979 }
70980 _ACEOF
70981 rm -f conftest.$ac_objext conftest$ac_exeext
70982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70983   (eval $ac_link) 2>conftest.er1
70984   ac_status=$?
70985   grep -v '^ *+' conftest.er1 >conftest.err
70986   rm -f conftest.er1
70987   cat conftest.err >&5
70988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70989   (exit $ac_status); } &&
70990          { ac_try='test -z "$ac_c_werror_flag"
70991                          || test ! -s conftest.err'
70992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70993   (eval $ac_try) 2>&5
70994   ac_status=$?
70995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70996   (exit $ac_status); }; } &&
70997          { ac_try='test -s conftest$ac_exeext'
70998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70999   (eval $ac_try) 2>&5
71000   ac_status=$?
71001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71002   (exit $ac_status); }; }; then
71003   eval "$as_ac_var=yes"
71004 else
71005   echo "$as_me: failed program was:" >&5
71006 sed 's/^/| /' conftest.$ac_ext >&5
71007
71008 eval "$as_ac_var=no"
71009 fi
71010 rm -f conftest.err conftest.$ac_objext \
71011       conftest$ac_exeext conftest.$ac_ext
71012 fi
71013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71015 if test `eval echo '${'$as_ac_var'}'` = yes; then
71016   cat >>confdefs.h <<_ACEOF
71017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71018 _ACEOF
71019
71020 fi
71021 done
71022
71023     fi
71024   fi
71025
71026
71027
71028
71029
71030
71031   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
71032 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
71033   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
71034     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
71035   echo $ECHO_N "(cached) $ECHO_C" >&6
71036 else
71037
71038
71039
71040       ac_ext=cc
71041 ac_cpp='$CXXCPP $CPPFLAGS'
71042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71045
71046       cat >conftest.$ac_ext <<_ACEOF
71047 /* confdefs.h.  */
71048 _ACEOF
71049 cat confdefs.h >>conftest.$ac_ext
71050 cat >>conftest.$ac_ext <<_ACEOF
71051 /* end confdefs.h.  */
71052 #include <math.h>
71053 int
71054 main ()
71055 {
71056  ldexpf(0, 0);
71057   ;
71058   return 0;
71059 }
71060 _ACEOF
71061 rm -f conftest.$ac_objext
71062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71063   (eval $ac_compile) 2>conftest.er1
71064   ac_status=$?
71065   grep -v '^ *+' conftest.er1 >conftest.err
71066   rm -f conftest.er1
71067   cat conftest.err >&5
71068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71069   (exit $ac_status); } &&
71070          { ac_try='test -z "$ac_cxx_werror_flag"
71071                          || test ! -s conftest.err'
71072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71073   (eval $ac_try) 2>&5
71074   ac_status=$?
71075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71076   (exit $ac_status); }; } &&
71077          { ac_try='test -s conftest.$ac_objext'
71078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71079   (eval $ac_try) 2>&5
71080   ac_status=$?
71081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71082   (exit $ac_status); }; }; then
71083   glibcxx_cv_func_ldexpf_use=yes
71084 else
71085   echo "$as_me: failed program was:" >&5
71086 sed 's/^/| /' conftest.$ac_ext >&5
71087
71088 glibcxx_cv_func_ldexpf_use=no
71089 fi
71090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71091       ac_ext=c
71092 ac_cpp='$CPP $CPPFLAGS'
71093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71096
71097
71098 fi
71099
71100   fi
71101   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
71102 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
71103
71104   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
71105
71106 for ac_func in ldexpf
71107 do
71108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71109 echo "$as_me:$LINENO: checking for $ac_func" >&5
71110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71111 if eval "test \"\${$as_ac_var+set}\" = set"; then
71112   echo $ECHO_N "(cached) $ECHO_C" >&6
71113 else
71114   if test x$gcc_no_link = xyes; then
71115   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71117    { (exit 1); exit 1; }; }
71118 fi
71119 cat >conftest.$ac_ext <<_ACEOF
71120 /* confdefs.h.  */
71121 _ACEOF
71122 cat confdefs.h >>conftest.$ac_ext
71123 cat >>conftest.$ac_ext <<_ACEOF
71124 /* end confdefs.h.  */
71125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71126    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71127 #define $ac_func innocuous_$ac_func
71128
71129 /* System header to define __stub macros and hopefully few prototypes,
71130     which can conflict with char $ac_func (); below.
71131     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71132     <limits.h> exists even on freestanding compilers.  */
71133
71134 #ifdef __STDC__
71135 # include <limits.h>
71136 #else
71137 # include <assert.h>
71138 #endif
71139
71140 #undef $ac_func
71141
71142 /* Override any gcc2 internal prototype to avoid an error.  */
71143 #ifdef __cplusplus
71144 extern "C"
71145 {
71146 #endif
71147 /* We use char because int might match the return type of a gcc2
71148    builtin and then its argument prototype would still apply.  */
71149 char $ac_func ();
71150 /* The GNU C library defines this for functions which it implements
71151     to always fail with ENOSYS.  Some functions are actually named
71152     something starting with __ and the normal name is an alias.  */
71153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71154 choke me
71155 #else
71156 char (*f) () = $ac_func;
71157 #endif
71158 #ifdef __cplusplus
71159 }
71160 #endif
71161
71162 int
71163 main ()
71164 {
71165 return f != $ac_func;
71166   ;
71167   return 0;
71168 }
71169 _ACEOF
71170 rm -f conftest.$ac_objext conftest$ac_exeext
71171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71172   (eval $ac_link) 2>conftest.er1
71173   ac_status=$?
71174   grep -v '^ *+' conftest.er1 >conftest.err
71175   rm -f conftest.er1
71176   cat conftest.err >&5
71177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71178   (exit $ac_status); } &&
71179          { ac_try='test -z "$ac_c_werror_flag"
71180                          || test ! -s conftest.err'
71181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71182   (eval $ac_try) 2>&5
71183   ac_status=$?
71184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71185   (exit $ac_status); }; } &&
71186          { ac_try='test -s conftest$ac_exeext'
71187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71188   (eval $ac_try) 2>&5
71189   ac_status=$?
71190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71191   (exit $ac_status); }; }; then
71192   eval "$as_ac_var=yes"
71193 else
71194   echo "$as_me: failed program was:" >&5
71195 sed 's/^/| /' conftest.$ac_ext >&5
71196
71197 eval "$as_ac_var=no"
71198 fi
71199 rm -f conftest.err conftest.$ac_objext \
71200       conftest$ac_exeext conftest.$ac_ext
71201 fi
71202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71204 if test `eval echo '${'$as_ac_var'}'` = yes; then
71205   cat >>confdefs.h <<_ACEOF
71206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71207 _ACEOF
71208
71209 fi
71210 done
71211
71212   else
71213
71214   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
71215 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
71216   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
71217     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
71218   echo $ECHO_N "(cached) $ECHO_C" >&6
71219 else
71220
71221
71222
71223       ac_ext=cc
71224 ac_cpp='$CXXCPP $CPPFLAGS'
71225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71228
71229       cat >conftest.$ac_ext <<_ACEOF
71230 /* confdefs.h.  */
71231 _ACEOF
71232 cat confdefs.h >>conftest.$ac_ext
71233 cat >>conftest.$ac_ext <<_ACEOF
71234 /* end confdefs.h.  */
71235 #include <math.h>
71236 int
71237 main ()
71238 {
71239  _ldexpf(0, 0);
71240   ;
71241   return 0;
71242 }
71243 _ACEOF
71244 rm -f conftest.$ac_objext
71245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71246   (eval $ac_compile) 2>conftest.er1
71247   ac_status=$?
71248   grep -v '^ *+' conftest.er1 >conftest.err
71249   rm -f conftest.er1
71250   cat conftest.err >&5
71251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71252   (exit $ac_status); } &&
71253          { ac_try='test -z "$ac_cxx_werror_flag"
71254                          || test ! -s conftest.err'
71255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71256   (eval $ac_try) 2>&5
71257   ac_status=$?
71258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71259   (exit $ac_status); }; } &&
71260          { ac_try='test -s conftest.$ac_objext'
71261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71262   (eval $ac_try) 2>&5
71263   ac_status=$?
71264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71265   (exit $ac_status); }; }; then
71266   glibcxx_cv_func__ldexpf_use=yes
71267 else
71268   echo "$as_me: failed program was:" >&5
71269 sed 's/^/| /' conftest.$ac_ext >&5
71270
71271 glibcxx_cv_func__ldexpf_use=no
71272 fi
71273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71274       ac_ext=c
71275 ac_cpp='$CPP $CPPFLAGS'
71276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71279
71280
71281 fi
71282
71283   fi
71284   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
71285 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
71286
71287     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
71288
71289 for ac_func in _ldexpf
71290 do
71291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71292 echo "$as_me:$LINENO: checking for $ac_func" >&5
71293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71294 if eval "test \"\${$as_ac_var+set}\" = set"; then
71295   echo $ECHO_N "(cached) $ECHO_C" >&6
71296 else
71297   if test x$gcc_no_link = xyes; then
71298   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71300    { (exit 1); exit 1; }; }
71301 fi
71302 cat >conftest.$ac_ext <<_ACEOF
71303 /* confdefs.h.  */
71304 _ACEOF
71305 cat confdefs.h >>conftest.$ac_ext
71306 cat >>conftest.$ac_ext <<_ACEOF
71307 /* end confdefs.h.  */
71308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71309    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71310 #define $ac_func innocuous_$ac_func
71311
71312 /* System header to define __stub macros and hopefully few prototypes,
71313     which can conflict with char $ac_func (); below.
71314     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71315     <limits.h> exists even on freestanding compilers.  */
71316
71317 #ifdef __STDC__
71318 # include <limits.h>
71319 #else
71320 # include <assert.h>
71321 #endif
71322
71323 #undef $ac_func
71324
71325 /* Override any gcc2 internal prototype to avoid an error.  */
71326 #ifdef __cplusplus
71327 extern "C"
71328 {
71329 #endif
71330 /* We use char because int might match the return type of a gcc2
71331    builtin and then its argument prototype would still apply.  */
71332 char $ac_func ();
71333 /* The GNU C library defines this for functions which it implements
71334     to always fail with ENOSYS.  Some functions are actually named
71335     something starting with __ and the normal name is an alias.  */
71336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71337 choke me
71338 #else
71339 char (*f) () = $ac_func;
71340 #endif
71341 #ifdef __cplusplus
71342 }
71343 #endif
71344
71345 int
71346 main ()
71347 {
71348 return f != $ac_func;
71349   ;
71350   return 0;
71351 }
71352 _ACEOF
71353 rm -f conftest.$ac_objext conftest$ac_exeext
71354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71355   (eval $ac_link) 2>conftest.er1
71356   ac_status=$?
71357   grep -v '^ *+' conftest.er1 >conftest.err
71358   rm -f conftest.er1
71359   cat conftest.err >&5
71360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71361   (exit $ac_status); } &&
71362          { ac_try='test -z "$ac_c_werror_flag"
71363                          || test ! -s conftest.err'
71364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71365   (eval $ac_try) 2>&5
71366   ac_status=$?
71367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71368   (exit $ac_status); }; } &&
71369          { ac_try='test -s conftest$ac_exeext'
71370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71371   (eval $ac_try) 2>&5
71372   ac_status=$?
71373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71374   (exit $ac_status); }; }; then
71375   eval "$as_ac_var=yes"
71376 else
71377   echo "$as_me: failed program was:" >&5
71378 sed 's/^/| /' conftest.$ac_ext >&5
71379
71380 eval "$as_ac_var=no"
71381 fi
71382 rm -f conftest.err conftest.$ac_objext \
71383       conftest$ac_exeext conftest.$ac_ext
71384 fi
71385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71387 if test `eval echo '${'$as_ac_var'}'` = yes; then
71388   cat >>confdefs.h <<_ACEOF
71389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71390 _ACEOF
71391
71392 fi
71393 done
71394
71395     fi
71396   fi
71397
71398
71399
71400
71401
71402
71403   echo "$as_me:$LINENO: checking for logf declaration" >&5
71404 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
71405   if test x${glibcxx_cv_func_logf_use+set} != xset; then
71406     if test "${glibcxx_cv_func_logf_use+set}" = set; then
71407   echo $ECHO_N "(cached) $ECHO_C" >&6
71408 else
71409
71410
71411
71412       ac_ext=cc
71413 ac_cpp='$CXXCPP $CPPFLAGS'
71414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71417
71418       cat >conftest.$ac_ext <<_ACEOF
71419 /* confdefs.h.  */
71420 _ACEOF
71421 cat confdefs.h >>conftest.$ac_ext
71422 cat >>conftest.$ac_ext <<_ACEOF
71423 /* end confdefs.h.  */
71424 #include <math.h>
71425                       #ifdef HAVE_IEEEFP_H
71426                       #include <ieeefp.h>
71427                       #endif
71428
71429 int
71430 main ()
71431 {
71432  logf(0);
71433   ;
71434   return 0;
71435 }
71436 _ACEOF
71437 rm -f conftest.$ac_objext
71438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71439   (eval $ac_compile) 2>conftest.er1
71440   ac_status=$?
71441   grep -v '^ *+' conftest.er1 >conftest.err
71442   rm -f conftest.er1
71443   cat conftest.err >&5
71444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71445   (exit $ac_status); } &&
71446          { ac_try='test -z "$ac_cxx_werror_flag"
71447                          || test ! -s conftest.err'
71448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71449   (eval $ac_try) 2>&5
71450   ac_status=$?
71451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71452   (exit $ac_status); }; } &&
71453          { ac_try='test -s conftest.$ac_objext'
71454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71455   (eval $ac_try) 2>&5
71456   ac_status=$?
71457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71458   (exit $ac_status); }; }; then
71459   glibcxx_cv_func_logf_use=yes
71460 else
71461   echo "$as_me: failed program was:" >&5
71462 sed 's/^/| /' conftest.$ac_ext >&5
71463
71464 glibcxx_cv_func_logf_use=no
71465 fi
71466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71467       ac_ext=c
71468 ac_cpp='$CPP $CPPFLAGS'
71469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71472
71473
71474 fi
71475
71476   fi
71477   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
71478 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
71479
71480   if test x$glibcxx_cv_func_logf_use = x"yes"; then
71481
71482 for ac_func in logf
71483 do
71484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71485 echo "$as_me:$LINENO: checking for $ac_func" >&5
71486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71487 if eval "test \"\${$as_ac_var+set}\" = set"; then
71488   echo $ECHO_N "(cached) $ECHO_C" >&6
71489 else
71490   if test x$gcc_no_link = xyes; then
71491   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71493    { (exit 1); exit 1; }; }
71494 fi
71495 cat >conftest.$ac_ext <<_ACEOF
71496 /* confdefs.h.  */
71497 _ACEOF
71498 cat confdefs.h >>conftest.$ac_ext
71499 cat >>conftest.$ac_ext <<_ACEOF
71500 /* end confdefs.h.  */
71501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71502    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71503 #define $ac_func innocuous_$ac_func
71504
71505 /* System header to define __stub macros and hopefully few prototypes,
71506     which can conflict with char $ac_func (); below.
71507     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71508     <limits.h> exists even on freestanding compilers.  */
71509
71510 #ifdef __STDC__
71511 # include <limits.h>
71512 #else
71513 # include <assert.h>
71514 #endif
71515
71516 #undef $ac_func
71517
71518 /* Override any gcc2 internal prototype to avoid an error.  */
71519 #ifdef __cplusplus
71520 extern "C"
71521 {
71522 #endif
71523 /* We use char because int might match the return type of a gcc2
71524    builtin and then its argument prototype would still apply.  */
71525 char $ac_func ();
71526 /* The GNU C library defines this for functions which it implements
71527     to always fail with ENOSYS.  Some functions are actually named
71528     something starting with __ and the normal name is an alias.  */
71529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71530 choke me
71531 #else
71532 char (*f) () = $ac_func;
71533 #endif
71534 #ifdef __cplusplus
71535 }
71536 #endif
71537
71538 int
71539 main ()
71540 {
71541 return f != $ac_func;
71542   ;
71543   return 0;
71544 }
71545 _ACEOF
71546 rm -f conftest.$ac_objext conftest$ac_exeext
71547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71548   (eval $ac_link) 2>conftest.er1
71549   ac_status=$?
71550   grep -v '^ *+' conftest.er1 >conftest.err
71551   rm -f conftest.er1
71552   cat conftest.err >&5
71553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71554   (exit $ac_status); } &&
71555          { ac_try='test -z "$ac_c_werror_flag"
71556                          || test ! -s conftest.err'
71557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71558   (eval $ac_try) 2>&5
71559   ac_status=$?
71560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71561   (exit $ac_status); }; } &&
71562          { ac_try='test -s conftest$ac_exeext'
71563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71564   (eval $ac_try) 2>&5
71565   ac_status=$?
71566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71567   (exit $ac_status); }; }; then
71568   eval "$as_ac_var=yes"
71569 else
71570   echo "$as_me: failed program was:" >&5
71571 sed 's/^/| /' conftest.$ac_ext >&5
71572
71573 eval "$as_ac_var=no"
71574 fi
71575 rm -f conftest.err conftest.$ac_objext \
71576       conftest$ac_exeext conftest.$ac_ext
71577 fi
71578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71580 if test `eval echo '${'$as_ac_var'}'` = yes; then
71581   cat >>confdefs.h <<_ACEOF
71582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71583 _ACEOF
71584
71585 fi
71586 done
71587
71588   else
71589
71590   echo "$as_me:$LINENO: checking for _logf declaration" >&5
71591 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
71592   if test x${glibcxx_cv_func__logf_use+set} != xset; then
71593     if test "${glibcxx_cv_func__logf_use+set}" = set; then
71594   echo $ECHO_N "(cached) $ECHO_C" >&6
71595 else
71596
71597
71598
71599       ac_ext=cc
71600 ac_cpp='$CXXCPP $CPPFLAGS'
71601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71604
71605       cat >conftest.$ac_ext <<_ACEOF
71606 /* confdefs.h.  */
71607 _ACEOF
71608 cat confdefs.h >>conftest.$ac_ext
71609 cat >>conftest.$ac_ext <<_ACEOF
71610 /* end confdefs.h.  */
71611 #include <math.h>
71612                       #ifdef HAVE_IEEEFP_H
71613                       #include <ieeefp.h>
71614                       #endif
71615
71616 int
71617 main ()
71618 {
71619  _logf(0);
71620   ;
71621   return 0;
71622 }
71623 _ACEOF
71624 rm -f conftest.$ac_objext
71625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71626   (eval $ac_compile) 2>conftest.er1
71627   ac_status=$?
71628   grep -v '^ *+' conftest.er1 >conftest.err
71629   rm -f conftest.er1
71630   cat conftest.err >&5
71631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71632   (exit $ac_status); } &&
71633          { ac_try='test -z "$ac_cxx_werror_flag"
71634                          || test ! -s conftest.err'
71635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71636   (eval $ac_try) 2>&5
71637   ac_status=$?
71638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71639   (exit $ac_status); }; } &&
71640          { ac_try='test -s conftest.$ac_objext'
71641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71642   (eval $ac_try) 2>&5
71643   ac_status=$?
71644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71645   (exit $ac_status); }; }; then
71646   glibcxx_cv_func__logf_use=yes
71647 else
71648   echo "$as_me: failed program was:" >&5
71649 sed 's/^/| /' conftest.$ac_ext >&5
71650
71651 glibcxx_cv_func__logf_use=no
71652 fi
71653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71654       ac_ext=c
71655 ac_cpp='$CPP $CPPFLAGS'
71656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71659
71660
71661 fi
71662
71663   fi
71664   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
71665 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
71666
71667     if test x$glibcxx_cv_func__logf_use = x"yes"; then
71668
71669 for ac_func in _logf
71670 do
71671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71672 echo "$as_me:$LINENO: checking for $ac_func" >&5
71673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71674 if eval "test \"\${$as_ac_var+set}\" = set"; then
71675   echo $ECHO_N "(cached) $ECHO_C" >&6
71676 else
71677   if test x$gcc_no_link = xyes; then
71678   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71680    { (exit 1); exit 1; }; }
71681 fi
71682 cat >conftest.$ac_ext <<_ACEOF
71683 /* confdefs.h.  */
71684 _ACEOF
71685 cat confdefs.h >>conftest.$ac_ext
71686 cat >>conftest.$ac_ext <<_ACEOF
71687 /* end confdefs.h.  */
71688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71689    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71690 #define $ac_func innocuous_$ac_func
71691
71692 /* System header to define __stub macros and hopefully few prototypes,
71693     which can conflict with char $ac_func (); below.
71694     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71695     <limits.h> exists even on freestanding compilers.  */
71696
71697 #ifdef __STDC__
71698 # include <limits.h>
71699 #else
71700 # include <assert.h>
71701 #endif
71702
71703 #undef $ac_func
71704
71705 /* Override any gcc2 internal prototype to avoid an error.  */
71706 #ifdef __cplusplus
71707 extern "C"
71708 {
71709 #endif
71710 /* We use char because int might match the return type of a gcc2
71711    builtin and then its argument prototype would still apply.  */
71712 char $ac_func ();
71713 /* The GNU C library defines this for functions which it implements
71714     to always fail with ENOSYS.  Some functions are actually named
71715     something starting with __ and the normal name is an alias.  */
71716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71717 choke me
71718 #else
71719 char (*f) () = $ac_func;
71720 #endif
71721 #ifdef __cplusplus
71722 }
71723 #endif
71724
71725 int
71726 main ()
71727 {
71728 return f != $ac_func;
71729   ;
71730   return 0;
71731 }
71732 _ACEOF
71733 rm -f conftest.$ac_objext conftest$ac_exeext
71734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71735   (eval $ac_link) 2>conftest.er1
71736   ac_status=$?
71737   grep -v '^ *+' conftest.er1 >conftest.err
71738   rm -f conftest.er1
71739   cat conftest.err >&5
71740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71741   (exit $ac_status); } &&
71742          { ac_try='test -z "$ac_c_werror_flag"
71743                          || test ! -s conftest.err'
71744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71745   (eval $ac_try) 2>&5
71746   ac_status=$?
71747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71748   (exit $ac_status); }; } &&
71749          { ac_try='test -s conftest$ac_exeext'
71750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71751   (eval $ac_try) 2>&5
71752   ac_status=$?
71753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71754   (exit $ac_status); }; }; then
71755   eval "$as_ac_var=yes"
71756 else
71757   echo "$as_me: failed program was:" >&5
71758 sed 's/^/| /' conftest.$ac_ext >&5
71759
71760 eval "$as_ac_var=no"
71761 fi
71762 rm -f conftest.err conftest.$ac_objext \
71763       conftest$ac_exeext conftest.$ac_ext
71764 fi
71765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71767 if test `eval echo '${'$as_ac_var'}'` = yes; then
71768   cat >>confdefs.h <<_ACEOF
71769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71770 _ACEOF
71771
71772 fi
71773 done
71774
71775     fi
71776   fi
71777
71778
71779
71780
71781
71782
71783   echo "$as_me:$LINENO: checking for log10f declaration" >&5
71784 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
71785   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
71786     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
71787   echo $ECHO_N "(cached) $ECHO_C" >&6
71788 else
71789
71790
71791
71792       ac_ext=cc
71793 ac_cpp='$CXXCPP $CPPFLAGS'
71794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71797
71798       cat >conftest.$ac_ext <<_ACEOF
71799 /* confdefs.h.  */
71800 _ACEOF
71801 cat confdefs.h >>conftest.$ac_ext
71802 cat >>conftest.$ac_ext <<_ACEOF
71803 /* end confdefs.h.  */
71804 #include <math.h>
71805                       #ifdef HAVE_IEEEFP_H
71806                       #include <ieeefp.h>
71807                       #endif
71808
71809 int
71810 main ()
71811 {
71812  log10f(0);
71813   ;
71814   return 0;
71815 }
71816 _ACEOF
71817 rm -f conftest.$ac_objext
71818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71819   (eval $ac_compile) 2>conftest.er1
71820   ac_status=$?
71821   grep -v '^ *+' conftest.er1 >conftest.err
71822   rm -f conftest.er1
71823   cat conftest.err >&5
71824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71825   (exit $ac_status); } &&
71826          { ac_try='test -z "$ac_cxx_werror_flag"
71827                          || test ! -s conftest.err'
71828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71829   (eval $ac_try) 2>&5
71830   ac_status=$?
71831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71832   (exit $ac_status); }; } &&
71833          { ac_try='test -s conftest.$ac_objext'
71834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71835   (eval $ac_try) 2>&5
71836   ac_status=$?
71837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71838   (exit $ac_status); }; }; then
71839   glibcxx_cv_func_log10f_use=yes
71840 else
71841   echo "$as_me: failed program was:" >&5
71842 sed 's/^/| /' conftest.$ac_ext >&5
71843
71844 glibcxx_cv_func_log10f_use=no
71845 fi
71846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71847       ac_ext=c
71848 ac_cpp='$CPP $CPPFLAGS'
71849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71852
71853
71854 fi
71855
71856   fi
71857   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
71858 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
71859
71860   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
71861
71862 for ac_func in log10f
71863 do
71864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71865 echo "$as_me:$LINENO: checking for $ac_func" >&5
71866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71867 if eval "test \"\${$as_ac_var+set}\" = set"; then
71868   echo $ECHO_N "(cached) $ECHO_C" >&6
71869 else
71870   if test x$gcc_no_link = xyes; then
71871   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71873    { (exit 1); exit 1; }; }
71874 fi
71875 cat >conftest.$ac_ext <<_ACEOF
71876 /* confdefs.h.  */
71877 _ACEOF
71878 cat confdefs.h >>conftest.$ac_ext
71879 cat >>conftest.$ac_ext <<_ACEOF
71880 /* end confdefs.h.  */
71881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71882    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71883 #define $ac_func innocuous_$ac_func
71884
71885 /* System header to define __stub macros and hopefully few prototypes,
71886     which can conflict with char $ac_func (); below.
71887     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71888     <limits.h> exists even on freestanding compilers.  */
71889
71890 #ifdef __STDC__
71891 # include <limits.h>
71892 #else
71893 # include <assert.h>
71894 #endif
71895
71896 #undef $ac_func
71897
71898 /* Override any gcc2 internal prototype to avoid an error.  */
71899 #ifdef __cplusplus
71900 extern "C"
71901 {
71902 #endif
71903 /* We use char because int might match the return type of a gcc2
71904    builtin and then its argument prototype would still apply.  */
71905 char $ac_func ();
71906 /* The GNU C library defines this for functions which it implements
71907     to always fail with ENOSYS.  Some functions are actually named
71908     something starting with __ and the normal name is an alias.  */
71909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71910 choke me
71911 #else
71912 char (*f) () = $ac_func;
71913 #endif
71914 #ifdef __cplusplus
71915 }
71916 #endif
71917
71918 int
71919 main ()
71920 {
71921 return f != $ac_func;
71922   ;
71923   return 0;
71924 }
71925 _ACEOF
71926 rm -f conftest.$ac_objext conftest$ac_exeext
71927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71928   (eval $ac_link) 2>conftest.er1
71929   ac_status=$?
71930   grep -v '^ *+' conftest.er1 >conftest.err
71931   rm -f conftest.er1
71932   cat conftest.err >&5
71933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71934   (exit $ac_status); } &&
71935          { ac_try='test -z "$ac_c_werror_flag"
71936                          || test ! -s conftest.err'
71937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71938   (eval $ac_try) 2>&5
71939   ac_status=$?
71940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71941   (exit $ac_status); }; } &&
71942          { ac_try='test -s conftest$ac_exeext'
71943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71944   (eval $ac_try) 2>&5
71945   ac_status=$?
71946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71947   (exit $ac_status); }; }; then
71948   eval "$as_ac_var=yes"
71949 else
71950   echo "$as_me: failed program was:" >&5
71951 sed 's/^/| /' conftest.$ac_ext >&5
71952
71953 eval "$as_ac_var=no"
71954 fi
71955 rm -f conftest.err conftest.$ac_objext \
71956       conftest$ac_exeext conftest.$ac_ext
71957 fi
71958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71960 if test `eval echo '${'$as_ac_var'}'` = yes; then
71961   cat >>confdefs.h <<_ACEOF
71962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71963 _ACEOF
71964
71965 fi
71966 done
71967
71968   else
71969
71970   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
71971 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
71972   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
71973     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
71974   echo $ECHO_N "(cached) $ECHO_C" >&6
71975 else
71976
71977
71978
71979       ac_ext=cc
71980 ac_cpp='$CXXCPP $CPPFLAGS'
71981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71984
71985       cat >conftest.$ac_ext <<_ACEOF
71986 /* confdefs.h.  */
71987 _ACEOF
71988 cat confdefs.h >>conftest.$ac_ext
71989 cat >>conftest.$ac_ext <<_ACEOF
71990 /* end confdefs.h.  */
71991 #include <math.h>
71992                       #ifdef HAVE_IEEEFP_H
71993                       #include <ieeefp.h>
71994                       #endif
71995
71996 int
71997 main ()
71998 {
71999  _log10f(0);
72000   ;
72001   return 0;
72002 }
72003 _ACEOF
72004 rm -f conftest.$ac_objext
72005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72006   (eval $ac_compile) 2>conftest.er1
72007   ac_status=$?
72008   grep -v '^ *+' conftest.er1 >conftest.err
72009   rm -f conftest.er1
72010   cat conftest.err >&5
72011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72012   (exit $ac_status); } &&
72013          { ac_try='test -z "$ac_cxx_werror_flag"
72014                          || test ! -s conftest.err'
72015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72016   (eval $ac_try) 2>&5
72017   ac_status=$?
72018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72019   (exit $ac_status); }; } &&
72020          { ac_try='test -s conftest.$ac_objext'
72021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72022   (eval $ac_try) 2>&5
72023   ac_status=$?
72024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72025   (exit $ac_status); }; }; then
72026   glibcxx_cv_func__log10f_use=yes
72027 else
72028   echo "$as_me: failed program was:" >&5
72029 sed 's/^/| /' conftest.$ac_ext >&5
72030
72031 glibcxx_cv_func__log10f_use=no
72032 fi
72033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72034       ac_ext=c
72035 ac_cpp='$CPP $CPPFLAGS'
72036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72039
72040
72041 fi
72042
72043   fi
72044   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
72045 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
72046
72047     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
72048
72049 for ac_func in _log10f
72050 do
72051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72052 echo "$as_me:$LINENO: checking for $ac_func" >&5
72053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72054 if eval "test \"\${$as_ac_var+set}\" = set"; then
72055   echo $ECHO_N "(cached) $ECHO_C" >&6
72056 else
72057   if test x$gcc_no_link = xyes; then
72058   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72060    { (exit 1); exit 1; }; }
72061 fi
72062 cat >conftest.$ac_ext <<_ACEOF
72063 /* confdefs.h.  */
72064 _ACEOF
72065 cat confdefs.h >>conftest.$ac_ext
72066 cat >>conftest.$ac_ext <<_ACEOF
72067 /* end confdefs.h.  */
72068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72069    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72070 #define $ac_func innocuous_$ac_func
72071
72072 /* System header to define __stub macros and hopefully few prototypes,
72073     which can conflict with char $ac_func (); below.
72074     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72075     <limits.h> exists even on freestanding compilers.  */
72076
72077 #ifdef __STDC__
72078 # include <limits.h>
72079 #else
72080 # include <assert.h>
72081 #endif
72082
72083 #undef $ac_func
72084
72085 /* Override any gcc2 internal prototype to avoid an error.  */
72086 #ifdef __cplusplus
72087 extern "C"
72088 {
72089 #endif
72090 /* We use char because int might match the return type of a gcc2
72091    builtin and then its argument prototype would still apply.  */
72092 char $ac_func ();
72093 /* The GNU C library defines this for functions which it implements
72094     to always fail with ENOSYS.  Some functions are actually named
72095     something starting with __ and the normal name is an alias.  */
72096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72097 choke me
72098 #else
72099 char (*f) () = $ac_func;
72100 #endif
72101 #ifdef __cplusplus
72102 }
72103 #endif
72104
72105 int
72106 main ()
72107 {
72108 return f != $ac_func;
72109   ;
72110   return 0;
72111 }
72112 _ACEOF
72113 rm -f conftest.$ac_objext conftest$ac_exeext
72114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72115   (eval $ac_link) 2>conftest.er1
72116   ac_status=$?
72117   grep -v '^ *+' conftest.er1 >conftest.err
72118   rm -f conftest.er1
72119   cat conftest.err >&5
72120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72121   (exit $ac_status); } &&
72122          { ac_try='test -z "$ac_c_werror_flag"
72123                          || test ! -s conftest.err'
72124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72125   (eval $ac_try) 2>&5
72126   ac_status=$?
72127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72128   (exit $ac_status); }; } &&
72129          { ac_try='test -s conftest$ac_exeext'
72130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72131   (eval $ac_try) 2>&5
72132   ac_status=$?
72133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72134   (exit $ac_status); }; }; then
72135   eval "$as_ac_var=yes"
72136 else
72137   echo "$as_me: failed program was:" >&5
72138 sed 's/^/| /' conftest.$ac_ext >&5
72139
72140 eval "$as_ac_var=no"
72141 fi
72142 rm -f conftest.err conftest.$ac_objext \
72143       conftest$ac_exeext conftest.$ac_ext
72144 fi
72145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72147 if test `eval echo '${'$as_ac_var'}'` = yes; then
72148   cat >>confdefs.h <<_ACEOF
72149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72150 _ACEOF
72151
72152 fi
72153 done
72154
72155     fi
72156   fi
72157
72158
72159
72160
72161
72162
72163   echo "$as_me:$LINENO: checking for modff declaration" >&5
72164 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
72165   if test x${glibcxx_cv_func_modff_use+set} != xset; then
72166     if test "${glibcxx_cv_func_modff_use+set}" = set; then
72167   echo $ECHO_N "(cached) $ECHO_C" >&6
72168 else
72169
72170
72171
72172       ac_ext=cc
72173 ac_cpp='$CXXCPP $CPPFLAGS'
72174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72177
72178       cat >conftest.$ac_ext <<_ACEOF
72179 /* confdefs.h.  */
72180 _ACEOF
72181 cat confdefs.h >>conftest.$ac_ext
72182 cat >>conftest.$ac_ext <<_ACEOF
72183 /* end confdefs.h.  */
72184 #include <math.h>
72185 int
72186 main ()
72187 {
72188  modff(0, 0);
72189   ;
72190   return 0;
72191 }
72192 _ACEOF
72193 rm -f conftest.$ac_objext
72194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72195   (eval $ac_compile) 2>conftest.er1
72196   ac_status=$?
72197   grep -v '^ *+' conftest.er1 >conftest.err
72198   rm -f conftest.er1
72199   cat conftest.err >&5
72200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72201   (exit $ac_status); } &&
72202          { ac_try='test -z "$ac_cxx_werror_flag"
72203                          || test ! -s conftest.err'
72204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72205   (eval $ac_try) 2>&5
72206   ac_status=$?
72207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72208   (exit $ac_status); }; } &&
72209          { ac_try='test -s conftest.$ac_objext'
72210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72211   (eval $ac_try) 2>&5
72212   ac_status=$?
72213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72214   (exit $ac_status); }; }; then
72215   glibcxx_cv_func_modff_use=yes
72216 else
72217   echo "$as_me: failed program was:" >&5
72218 sed 's/^/| /' conftest.$ac_ext >&5
72219
72220 glibcxx_cv_func_modff_use=no
72221 fi
72222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72223       ac_ext=c
72224 ac_cpp='$CPP $CPPFLAGS'
72225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72228
72229
72230 fi
72231
72232   fi
72233   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
72234 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
72235
72236   if test x$glibcxx_cv_func_modff_use = x"yes"; then
72237
72238 for ac_func in modff
72239 do
72240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72241 echo "$as_me:$LINENO: checking for $ac_func" >&5
72242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72243 if eval "test \"\${$as_ac_var+set}\" = set"; then
72244   echo $ECHO_N "(cached) $ECHO_C" >&6
72245 else
72246   if test x$gcc_no_link = xyes; then
72247   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72249    { (exit 1); exit 1; }; }
72250 fi
72251 cat >conftest.$ac_ext <<_ACEOF
72252 /* confdefs.h.  */
72253 _ACEOF
72254 cat confdefs.h >>conftest.$ac_ext
72255 cat >>conftest.$ac_ext <<_ACEOF
72256 /* end confdefs.h.  */
72257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72258    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72259 #define $ac_func innocuous_$ac_func
72260
72261 /* System header to define __stub macros and hopefully few prototypes,
72262     which can conflict with char $ac_func (); below.
72263     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72264     <limits.h> exists even on freestanding compilers.  */
72265
72266 #ifdef __STDC__
72267 # include <limits.h>
72268 #else
72269 # include <assert.h>
72270 #endif
72271
72272 #undef $ac_func
72273
72274 /* Override any gcc2 internal prototype to avoid an error.  */
72275 #ifdef __cplusplus
72276 extern "C"
72277 {
72278 #endif
72279 /* We use char because int might match the return type of a gcc2
72280    builtin and then its argument prototype would still apply.  */
72281 char $ac_func ();
72282 /* The GNU C library defines this for functions which it implements
72283     to always fail with ENOSYS.  Some functions are actually named
72284     something starting with __ and the normal name is an alias.  */
72285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72286 choke me
72287 #else
72288 char (*f) () = $ac_func;
72289 #endif
72290 #ifdef __cplusplus
72291 }
72292 #endif
72293
72294 int
72295 main ()
72296 {
72297 return f != $ac_func;
72298   ;
72299   return 0;
72300 }
72301 _ACEOF
72302 rm -f conftest.$ac_objext conftest$ac_exeext
72303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72304   (eval $ac_link) 2>conftest.er1
72305   ac_status=$?
72306   grep -v '^ *+' conftest.er1 >conftest.err
72307   rm -f conftest.er1
72308   cat conftest.err >&5
72309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72310   (exit $ac_status); } &&
72311          { ac_try='test -z "$ac_c_werror_flag"
72312                          || test ! -s conftest.err'
72313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72314   (eval $ac_try) 2>&5
72315   ac_status=$?
72316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72317   (exit $ac_status); }; } &&
72318          { ac_try='test -s conftest$ac_exeext'
72319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72320   (eval $ac_try) 2>&5
72321   ac_status=$?
72322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72323   (exit $ac_status); }; }; then
72324   eval "$as_ac_var=yes"
72325 else
72326   echo "$as_me: failed program was:" >&5
72327 sed 's/^/| /' conftest.$ac_ext >&5
72328
72329 eval "$as_ac_var=no"
72330 fi
72331 rm -f conftest.err conftest.$ac_objext \
72332       conftest$ac_exeext conftest.$ac_ext
72333 fi
72334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72336 if test `eval echo '${'$as_ac_var'}'` = yes; then
72337   cat >>confdefs.h <<_ACEOF
72338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72339 _ACEOF
72340
72341 fi
72342 done
72343
72344   else
72345
72346   echo "$as_me:$LINENO: checking for _modff declaration" >&5
72347 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
72348   if test x${glibcxx_cv_func__modff_use+set} != xset; then
72349     if test "${glibcxx_cv_func__modff_use+set}" = set; then
72350   echo $ECHO_N "(cached) $ECHO_C" >&6
72351 else
72352
72353
72354
72355       ac_ext=cc
72356 ac_cpp='$CXXCPP $CPPFLAGS'
72357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72360
72361       cat >conftest.$ac_ext <<_ACEOF
72362 /* confdefs.h.  */
72363 _ACEOF
72364 cat confdefs.h >>conftest.$ac_ext
72365 cat >>conftest.$ac_ext <<_ACEOF
72366 /* end confdefs.h.  */
72367 #include <math.h>
72368 int
72369 main ()
72370 {
72371  _modff(0, 0);
72372   ;
72373   return 0;
72374 }
72375 _ACEOF
72376 rm -f conftest.$ac_objext
72377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72378   (eval $ac_compile) 2>conftest.er1
72379   ac_status=$?
72380   grep -v '^ *+' conftest.er1 >conftest.err
72381   rm -f conftest.er1
72382   cat conftest.err >&5
72383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72384   (exit $ac_status); } &&
72385          { ac_try='test -z "$ac_cxx_werror_flag"
72386                          || test ! -s conftest.err'
72387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72388   (eval $ac_try) 2>&5
72389   ac_status=$?
72390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72391   (exit $ac_status); }; } &&
72392          { ac_try='test -s conftest.$ac_objext'
72393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72394   (eval $ac_try) 2>&5
72395   ac_status=$?
72396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72397   (exit $ac_status); }; }; then
72398   glibcxx_cv_func__modff_use=yes
72399 else
72400   echo "$as_me: failed program was:" >&5
72401 sed 's/^/| /' conftest.$ac_ext >&5
72402
72403 glibcxx_cv_func__modff_use=no
72404 fi
72405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72406       ac_ext=c
72407 ac_cpp='$CPP $CPPFLAGS'
72408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72411
72412
72413 fi
72414
72415   fi
72416   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
72417 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
72418
72419     if test x$glibcxx_cv_func__modff_use = x"yes"; then
72420
72421 for ac_func in _modff
72422 do
72423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72424 echo "$as_me:$LINENO: checking for $ac_func" >&5
72425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72426 if eval "test \"\${$as_ac_var+set}\" = set"; then
72427   echo $ECHO_N "(cached) $ECHO_C" >&6
72428 else
72429   if test x$gcc_no_link = xyes; then
72430   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72432    { (exit 1); exit 1; }; }
72433 fi
72434 cat >conftest.$ac_ext <<_ACEOF
72435 /* confdefs.h.  */
72436 _ACEOF
72437 cat confdefs.h >>conftest.$ac_ext
72438 cat >>conftest.$ac_ext <<_ACEOF
72439 /* end confdefs.h.  */
72440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72441    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72442 #define $ac_func innocuous_$ac_func
72443
72444 /* System header to define __stub macros and hopefully few prototypes,
72445     which can conflict with char $ac_func (); below.
72446     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72447     <limits.h> exists even on freestanding compilers.  */
72448
72449 #ifdef __STDC__
72450 # include <limits.h>
72451 #else
72452 # include <assert.h>
72453 #endif
72454
72455 #undef $ac_func
72456
72457 /* Override any gcc2 internal prototype to avoid an error.  */
72458 #ifdef __cplusplus
72459 extern "C"
72460 {
72461 #endif
72462 /* We use char because int might match the return type of a gcc2
72463    builtin and then its argument prototype would still apply.  */
72464 char $ac_func ();
72465 /* The GNU C library defines this for functions which it implements
72466     to always fail with ENOSYS.  Some functions are actually named
72467     something starting with __ and the normal name is an alias.  */
72468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72469 choke me
72470 #else
72471 char (*f) () = $ac_func;
72472 #endif
72473 #ifdef __cplusplus
72474 }
72475 #endif
72476
72477 int
72478 main ()
72479 {
72480 return f != $ac_func;
72481   ;
72482   return 0;
72483 }
72484 _ACEOF
72485 rm -f conftest.$ac_objext conftest$ac_exeext
72486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72487   (eval $ac_link) 2>conftest.er1
72488   ac_status=$?
72489   grep -v '^ *+' conftest.er1 >conftest.err
72490   rm -f conftest.er1
72491   cat conftest.err >&5
72492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72493   (exit $ac_status); } &&
72494          { ac_try='test -z "$ac_c_werror_flag"
72495                          || test ! -s conftest.err'
72496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72497   (eval $ac_try) 2>&5
72498   ac_status=$?
72499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72500   (exit $ac_status); }; } &&
72501          { ac_try='test -s conftest$ac_exeext'
72502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72503   (eval $ac_try) 2>&5
72504   ac_status=$?
72505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72506   (exit $ac_status); }; }; then
72507   eval "$as_ac_var=yes"
72508 else
72509   echo "$as_me: failed program was:" >&5
72510 sed 's/^/| /' conftest.$ac_ext >&5
72511
72512 eval "$as_ac_var=no"
72513 fi
72514 rm -f conftest.err conftest.$ac_objext \
72515       conftest$ac_exeext conftest.$ac_ext
72516 fi
72517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72519 if test `eval echo '${'$as_ac_var'}'` = yes; then
72520   cat >>confdefs.h <<_ACEOF
72521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72522 _ACEOF
72523
72524 fi
72525 done
72526
72527     fi
72528   fi
72529
72530
72531
72532
72533
72534
72535   echo "$as_me:$LINENO: checking for modf declaration" >&5
72536 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
72537   if test x${glibcxx_cv_func_modf_use+set} != xset; then
72538     if test "${glibcxx_cv_func_modf_use+set}" = set; then
72539   echo $ECHO_N "(cached) $ECHO_C" >&6
72540 else
72541
72542
72543
72544       ac_ext=cc
72545 ac_cpp='$CXXCPP $CPPFLAGS'
72546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72549
72550       cat >conftest.$ac_ext <<_ACEOF
72551 /* confdefs.h.  */
72552 _ACEOF
72553 cat confdefs.h >>conftest.$ac_ext
72554 cat >>conftest.$ac_ext <<_ACEOF
72555 /* end confdefs.h.  */
72556 #include <math.h>
72557 int
72558 main ()
72559 {
72560  modf(0, 0);
72561   ;
72562   return 0;
72563 }
72564 _ACEOF
72565 rm -f conftest.$ac_objext
72566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72567   (eval $ac_compile) 2>conftest.er1
72568   ac_status=$?
72569   grep -v '^ *+' conftest.er1 >conftest.err
72570   rm -f conftest.er1
72571   cat conftest.err >&5
72572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72573   (exit $ac_status); } &&
72574          { ac_try='test -z "$ac_cxx_werror_flag"
72575                          || test ! -s conftest.err'
72576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72577   (eval $ac_try) 2>&5
72578   ac_status=$?
72579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72580   (exit $ac_status); }; } &&
72581          { ac_try='test -s conftest.$ac_objext'
72582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72583   (eval $ac_try) 2>&5
72584   ac_status=$?
72585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72586   (exit $ac_status); }; }; then
72587   glibcxx_cv_func_modf_use=yes
72588 else
72589   echo "$as_me: failed program was:" >&5
72590 sed 's/^/| /' conftest.$ac_ext >&5
72591
72592 glibcxx_cv_func_modf_use=no
72593 fi
72594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72595       ac_ext=c
72596 ac_cpp='$CPP $CPPFLAGS'
72597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72600
72601
72602 fi
72603
72604   fi
72605   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
72606 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
72607
72608   if test x$glibcxx_cv_func_modf_use = x"yes"; then
72609
72610 for ac_func in modf
72611 do
72612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72613 echo "$as_me:$LINENO: checking for $ac_func" >&5
72614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72615 if eval "test \"\${$as_ac_var+set}\" = set"; then
72616   echo $ECHO_N "(cached) $ECHO_C" >&6
72617 else
72618   if test x$gcc_no_link = xyes; then
72619   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72621    { (exit 1); exit 1; }; }
72622 fi
72623 cat >conftest.$ac_ext <<_ACEOF
72624 /* confdefs.h.  */
72625 _ACEOF
72626 cat confdefs.h >>conftest.$ac_ext
72627 cat >>conftest.$ac_ext <<_ACEOF
72628 /* end confdefs.h.  */
72629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72630    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72631 #define $ac_func innocuous_$ac_func
72632
72633 /* System header to define __stub macros and hopefully few prototypes,
72634     which can conflict with char $ac_func (); below.
72635     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72636     <limits.h> exists even on freestanding compilers.  */
72637
72638 #ifdef __STDC__
72639 # include <limits.h>
72640 #else
72641 # include <assert.h>
72642 #endif
72643
72644 #undef $ac_func
72645
72646 /* Override any gcc2 internal prototype to avoid an error.  */
72647 #ifdef __cplusplus
72648 extern "C"
72649 {
72650 #endif
72651 /* We use char because int might match the return type of a gcc2
72652    builtin and then its argument prototype would still apply.  */
72653 char $ac_func ();
72654 /* The GNU C library defines this for functions which it implements
72655     to always fail with ENOSYS.  Some functions are actually named
72656     something starting with __ and the normal name is an alias.  */
72657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72658 choke me
72659 #else
72660 char (*f) () = $ac_func;
72661 #endif
72662 #ifdef __cplusplus
72663 }
72664 #endif
72665
72666 int
72667 main ()
72668 {
72669 return f != $ac_func;
72670   ;
72671   return 0;
72672 }
72673 _ACEOF
72674 rm -f conftest.$ac_objext conftest$ac_exeext
72675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72676   (eval $ac_link) 2>conftest.er1
72677   ac_status=$?
72678   grep -v '^ *+' conftest.er1 >conftest.err
72679   rm -f conftest.er1
72680   cat conftest.err >&5
72681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72682   (exit $ac_status); } &&
72683          { ac_try='test -z "$ac_c_werror_flag"
72684                          || test ! -s conftest.err'
72685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72686   (eval $ac_try) 2>&5
72687   ac_status=$?
72688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72689   (exit $ac_status); }; } &&
72690          { ac_try='test -s conftest$ac_exeext'
72691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72692   (eval $ac_try) 2>&5
72693   ac_status=$?
72694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72695   (exit $ac_status); }; }; then
72696   eval "$as_ac_var=yes"
72697 else
72698   echo "$as_me: failed program was:" >&5
72699 sed 's/^/| /' conftest.$ac_ext >&5
72700
72701 eval "$as_ac_var=no"
72702 fi
72703 rm -f conftest.err conftest.$ac_objext \
72704       conftest$ac_exeext conftest.$ac_ext
72705 fi
72706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72708 if test `eval echo '${'$as_ac_var'}'` = yes; then
72709   cat >>confdefs.h <<_ACEOF
72710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72711 _ACEOF
72712
72713 fi
72714 done
72715
72716   else
72717
72718   echo "$as_me:$LINENO: checking for _modf declaration" >&5
72719 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
72720   if test x${glibcxx_cv_func__modf_use+set} != xset; then
72721     if test "${glibcxx_cv_func__modf_use+set}" = set; then
72722   echo $ECHO_N "(cached) $ECHO_C" >&6
72723 else
72724
72725
72726
72727       ac_ext=cc
72728 ac_cpp='$CXXCPP $CPPFLAGS'
72729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72732
72733       cat >conftest.$ac_ext <<_ACEOF
72734 /* confdefs.h.  */
72735 _ACEOF
72736 cat confdefs.h >>conftest.$ac_ext
72737 cat >>conftest.$ac_ext <<_ACEOF
72738 /* end confdefs.h.  */
72739 #include <math.h>
72740 int
72741 main ()
72742 {
72743  _modf(0, 0);
72744   ;
72745   return 0;
72746 }
72747 _ACEOF
72748 rm -f conftest.$ac_objext
72749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72750   (eval $ac_compile) 2>conftest.er1
72751   ac_status=$?
72752   grep -v '^ *+' conftest.er1 >conftest.err
72753   rm -f conftest.er1
72754   cat conftest.err >&5
72755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72756   (exit $ac_status); } &&
72757          { ac_try='test -z "$ac_cxx_werror_flag"
72758                          || test ! -s conftest.err'
72759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72760   (eval $ac_try) 2>&5
72761   ac_status=$?
72762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72763   (exit $ac_status); }; } &&
72764          { ac_try='test -s conftest.$ac_objext'
72765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72766   (eval $ac_try) 2>&5
72767   ac_status=$?
72768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72769   (exit $ac_status); }; }; then
72770   glibcxx_cv_func__modf_use=yes
72771 else
72772   echo "$as_me: failed program was:" >&5
72773 sed 's/^/| /' conftest.$ac_ext >&5
72774
72775 glibcxx_cv_func__modf_use=no
72776 fi
72777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72778       ac_ext=c
72779 ac_cpp='$CPP $CPPFLAGS'
72780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72783
72784
72785 fi
72786
72787   fi
72788   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
72789 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
72790
72791     if test x$glibcxx_cv_func__modf_use = x"yes"; then
72792
72793 for ac_func in _modf
72794 do
72795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72796 echo "$as_me:$LINENO: checking for $ac_func" >&5
72797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72798 if eval "test \"\${$as_ac_var+set}\" = set"; then
72799   echo $ECHO_N "(cached) $ECHO_C" >&6
72800 else
72801   if test x$gcc_no_link = xyes; then
72802   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72804    { (exit 1); exit 1; }; }
72805 fi
72806 cat >conftest.$ac_ext <<_ACEOF
72807 /* confdefs.h.  */
72808 _ACEOF
72809 cat confdefs.h >>conftest.$ac_ext
72810 cat >>conftest.$ac_ext <<_ACEOF
72811 /* end confdefs.h.  */
72812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72813    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72814 #define $ac_func innocuous_$ac_func
72815
72816 /* System header to define __stub macros and hopefully few prototypes,
72817     which can conflict with char $ac_func (); below.
72818     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72819     <limits.h> exists even on freestanding compilers.  */
72820
72821 #ifdef __STDC__
72822 # include <limits.h>
72823 #else
72824 # include <assert.h>
72825 #endif
72826
72827 #undef $ac_func
72828
72829 /* Override any gcc2 internal prototype to avoid an error.  */
72830 #ifdef __cplusplus
72831 extern "C"
72832 {
72833 #endif
72834 /* We use char because int might match the return type of a gcc2
72835    builtin and then its argument prototype would still apply.  */
72836 char $ac_func ();
72837 /* The GNU C library defines this for functions which it implements
72838     to always fail with ENOSYS.  Some functions are actually named
72839     something starting with __ and the normal name is an alias.  */
72840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72841 choke me
72842 #else
72843 char (*f) () = $ac_func;
72844 #endif
72845 #ifdef __cplusplus
72846 }
72847 #endif
72848
72849 int
72850 main ()
72851 {
72852 return f != $ac_func;
72853   ;
72854   return 0;
72855 }
72856 _ACEOF
72857 rm -f conftest.$ac_objext conftest$ac_exeext
72858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72859   (eval $ac_link) 2>conftest.er1
72860   ac_status=$?
72861   grep -v '^ *+' conftest.er1 >conftest.err
72862   rm -f conftest.er1
72863   cat conftest.err >&5
72864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72865   (exit $ac_status); } &&
72866          { ac_try='test -z "$ac_c_werror_flag"
72867                          || test ! -s conftest.err'
72868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72869   (eval $ac_try) 2>&5
72870   ac_status=$?
72871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72872   (exit $ac_status); }; } &&
72873          { ac_try='test -s conftest$ac_exeext'
72874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72875   (eval $ac_try) 2>&5
72876   ac_status=$?
72877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72878   (exit $ac_status); }; }; then
72879   eval "$as_ac_var=yes"
72880 else
72881   echo "$as_me: failed program was:" >&5
72882 sed 's/^/| /' conftest.$ac_ext >&5
72883
72884 eval "$as_ac_var=no"
72885 fi
72886 rm -f conftest.err conftest.$ac_objext \
72887       conftest$ac_exeext conftest.$ac_ext
72888 fi
72889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72891 if test `eval echo '${'$as_ac_var'}'` = yes; then
72892   cat >>confdefs.h <<_ACEOF
72893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72894 _ACEOF
72895
72896 fi
72897 done
72898
72899     fi
72900   fi
72901
72902
72903
72904
72905
72906
72907   echo "$as_me:$LINENO: checking for powf declaration" >&5
72908 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
72909   if test x${glibcxx_cv_func_powf_use+set} != xset; then
72910     if test "${glibcxx_cv_func_powf_use+set}" = set; then
72911   echo $ECHO_N "(cached) $ECHO_C" >&6
72912 else
72913
72914
72915
72916       ac_ext=cc
72917 ac_cpp='$CXXCPP $CPPFLAGS'
72918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72921
72922       cat >conftest.$ac_ext <<_ACEOF
72923 /* confdefs.h.  */
72924 _ACEOF
72925 cat confdefs.h >>conftest.$ac_ext
72926 cat >>conftest.$ac_ext <<_ACEOF
72927 /* end confdefs.h.  */
72928 #include <math.h>
72929 int
72930 main ()
72931 {
72932  powf(0, 0);
72933   ;
72934   return 0;
72935 }
72936 _ACEOF
72937 rm -f conftest.$ac_objext
72938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72939   (eval $ac_compile) 2>conftest.er1
72940   ac_status=$?
72941   grep -v '^ *+' conftest.er1 >conftest.err
72942   rm -f conftest.er1
72943   cat conftest.err >&5
72944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72945   (exit $ac_status); } &&
72946          { ac_try='test -z "$ac_cxx_werror_flag"
72947                          || test ! -s conftest.err'
72948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72949   (eval $ac_try) 2>&5
72950   ac_status=$?
72951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72952   (exit $ac_status); }; } &&
72953          { ac_try='test -s conftest.$ac_objext'
72954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72955   (eval $ac_try) 2>&5
72956   ac_status=$?
72957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72958   (exit $ac_status); }; }; then
72959   glibcxx_cv_func_powf_use=yes
72960 else
72961   echo "$as_me: failed program was:" >&5
72962 sed 's/^/| /' conftest.$ac_ext >&5
72963
72964 glibcxx_cv_func_powf_use=no
72965 fi
72966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72967       ac_ext=c
72968 ac_cpp='$CPP $CPPFLAGS'
72969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72972
72973
72974 fi
72975
72976   fi
72977   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
72978 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
72979
72980   if test x$glibcxx_cv_func_powf_use = x"yes"; then
72981
72982 for ac_func in powf
72983 do
72984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72985 echo "$as_me:$LINENO: checking for $ac_func" >&5
72986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72987 if eval "test \"\${$as_ac_var+set}\" = set"; then
72988   echo $ECHO_N "(cached) $ECHO_C" >&6
72989 else
72990   if test x$gcc_no_link = xyes; then
72991   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72993    { (exit 1); exit 1; }; }
72994 fi
72995 cat >conftest.$ac_ext <<_ACEOF
72996 /* confdefs.h.  */
72997 _ACEOF
72998 cat confdefs.h >>conftest.$ac_ext
72999 cat >>conftest.$ac_ext <<_ACEOF
73000 /* end confdefs.h.  */
73001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73002    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73003 #define $ac_func innocuous_$ac_func
73004
73005 /* System header to define __stub macros and hopefully few prototypes,
73006     which can conflict with char $ac_func (); below.
73007     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73008     <limits.h> exists even on freestanding compilers.  */
73009
73010 #ifdef __STDC__
73011 # include <limits.h>
73012 #else
73013 # include <assert.h>
73014 #endif
73015
73016 #undef $ac_func
73017
73018 /* Override any gcc2 internal prototype to avoid an error.  */
73019 #ifdef __cplusplus
73020 extern "C"
73021 {
73022 #endif
73023 /* We use char because int might match the return type of a gcc2
73024    builtin and then its argument prototype would still apply.  */
73025 char $ac_func ();
73026 /* The GNU C library defines this for functions which it implements
73027     to always fail with ENOSYS.  Some functions are actually named
73028     something starting with __ and the normal name is an alias.  */
73029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73030 choke me
73031 #else
73032 char (*f) () = $ac_func;
73033 #endif
73034 #ifdef __cplusplus
73035 }
73036 #endif
73037
73038 int
73039 main ()
73040 {
73041 return f != $ac_func;
73042   ;
73043   return 0;
73044 }
73045 _ACEOF
73046 rm -f conftest.$ac_objext conftest$ac_exeext
73047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73048   (eval $ac_link) 2>conftest.er1
73049   ac_status=$?
73050   grep -v '^ *+' conftest.er1 >conftest.err
73051   rm -f conftest.er1
73052   cat conftest.err >&5
73053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73054   (exit $ac_status); } &&
73055          { ac_try='test -z "$ac_c_werror_flag"
73056                          || test ! -s conftest.err'
73057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73058   (eval $ac_try) 2>&5
73059   ac_status=$?
73060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73061   (exit $ac_status); }; } &&
73062          { ac_try='test -s conftest$ac_exeext'
73063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73064   (eval $ac_try) 2>&5
73065   ac_status=$?
73066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73067   (exit $ac_status); }; }; then
73068   eval "$as_ac_var=yes"
73069 else
73070   echo "$as_me: failed program was:" >&5
73071 sed 's/^/| /' conftest.$ac_ext >&5
73072
73073 eval "$as_ac_var=no"
73074 fi
73075 rm -f conftest.err conftest.$ac_objext \
73076       conftest$ac_exeext conftest.$ac_ext
73077 fi
73078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73080 if test `eval echo '${'$as_ac_var'}'` = yes; then
73081   cat >>confdefs.h <<_ACEOF
73082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73083 _ACEOF
73084
73085 fi
73086 done
73087
73088   else
73089
73090   echo "$as_me:$LINENO: checking for _powf declaration" >&5
73091 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
73092   if test x${glibcxx_cv_func__powf_use+set} != xset; then
73093     if test "${glibcxx_cv_func__powf_use+set}" = set; then
73094   echo $ECHO_N "(cached) $ECHO_C" >&6
73095 else
73096
73097
73098
73099       ac_ext=cc
73100 ac_cpp='$CXXCPP $CPPFLAGS'
73101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73104
73105       cat >conftest.$ac_ext <<_ACEOF
73106 /* confdefs.h.  */
73107 _ACEOF
73108 cat confdefs.h >>conftest.$ac_ext
73109 cat >>conftest.$ac_ext <<_ACEOF
73110 /* end confdefs.h.  */
73111 #include <math.h>
73112 int
73113 main ()
73114 {
73115  _powf(0, 0);
73116   ;
73117   return 0;
73118 }
73119 _ACEOF
73120 rm -f conftest.$ac_objext
73121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73122   (eval $ac_compile) 2>conftest.er1
73123   ac_status=$?
73124   grep -v '^ *+' conftest.er1 >conftest.err
73125   rm -f conftest.er1
73126   cat conftest.err >&5
73127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73128   (exit $ac_status); } &&
73129          { ac_try='test -z "$ac_cxx_werror_flag"
73130                          || test ! -s conftest.err'
73131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73132   (eval $ac_try) 2>&5
73133   ac_status=$?
73134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73135   (exit $ac_status); }; } &&
73136          { ac_try='test -s conftest.$ac_objext'
73137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73138   (eval $ac_try) 2>&5
73139   ac_status=$?
73140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73141   (exit $ac_status); }; }; then
73142   glibcxx_cv_func__powf_use=yes
73143 else
73144   echo "$as_me: failed program was:" >&5
73145 sed 's/^/| /' conftest.$ac_ext >&5
73146
73147 glibcxx_cv_func__powf_use=no
73148 fi
73149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73150       ac_ext=c
73151 ac_cpp='$CPP $CPPFLAGS'
73152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73155
73156
73157 fi
73158
73159   fi
73160   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
73161 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
73162
73163     if test x$glibcxx_cv_func__powf_use = x"yes"; then
73164
73165 for ac_func in _powf
73166 do
73167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73168 echo "$as_me:$LINENO: checking for $ac_func" >&5
73169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73170 if eval "test \"\${$as_ac_var+set}\" = set"; then
73171   echo $ECHO_N "(cached) $ECHO_C" >&6
73172 else
73173   if test x$gcc_no_link = xyes; then
73174   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73176    { (exit 1); exit 1; }; }
73177 fi
73178 cat >conftest.$ac_ext <<_ACEOF
73179 /* confdefs.h.  */
73180 _ACEOF
73181 cat confdefs.h >>conftest.$ac_ext
73182 cat >>conftest.$ac_ext <<_ACEOF
73183 /* end confdefs.h.  */
73184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73185    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73186 #define $ac_func innocuous_$ac_func
73187
73188 /* System header to define __stub macros and hopefully few prototypes,
73189     which can conflict with char $ac_func (); below.
73190     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73191     <limits.h> exists even on freestanding compilers.  */
73192
73193 #ifdef __STDC__
73194 # include <limits.h>
73195 #else
73196 # include <assert.h>
73197 #endif
73198
73199 #undef $ac_func
73200
73201 /* Override any gcc2 internal prototype to avoid an error.  */
73202 #ifdef __cplusplus
73203 extern "C"
73204 {
73205 #endif
73206 /* We use char because int might match the return type of a gcc2
73207    builtin and then its argument prototype would still apply.  */
73208 char $ac_func ();
73209 /* The GNU C library defines this for functions which it implements
73210     to always fail with ENOSYS.  Some functions are actually named
73211     something starting with __ and the normal name is an alias.  */
73212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73213 choke me
73214 #else
73215 char (*f) () = $ac_func;
73216 #endif
73217 #ifdef __cplusplus
73218 }
73219 #endif
73220
73221 int
73222 main ()
73223 {
73224 return f != $ac_func;
73225   ;
73226   return 0;
73227 }
73228 _ACEOF
73229 rm -f conftest.$ac_objext conftest$ac_exeext
73230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73231   (eval $ac_link) 2>conftest.er1
73232   ac_status=$?
73233   grep -v '^ *+' conftest.er1 >conftest.err
73234   rm -f conftest.er1
73235   cat conftest.err >&5
73236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73237   (exit $ac_status); } &&
73238          { ac_try='test -z "$ac_c_werror_flag"
73239                          || test ! -s conftest.err'
73240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73241   (eval $ac_try) 2>&5
73242   ac_status=$?
73243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73244   (exit $ac_status); }; } &&
73245          { ac_try='test -s conftest$ac_exeext'
73246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73247   (eval $ac_try) 2>&5
73248   ac_status=$?
73249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73250   (exit $ac_status); }; }; then
73251   eval "$as_ac_var=yes"
73252 else
73253   echo "$as_me: failed program was:" >&5
73254 sed 's/^/| /' conftest.$ac_ext >&5
73255
73256 eval "$as_ac_var=no"
73257 fi
73258 rm -f conftest.err conftest.$ac_objext \
73259       conftest$ac_exeext conftest.$ac_ext
73260 fi
73261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73263 if test `eval echo '${'$as_ac_var'}'` = yes; then
73264   cat >>confdefs.h <<_ACEOF
73265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73266 _ACEOF
73267
73268 fi
73269 done
73270
73271     fi
73272   fi
73273
73274
73275
73276
73277
73278
73279   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
73280 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
73281   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
73282     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
73283   echo $ECHO_N "(cached) $ECHO_C" >&6
73284 else
73285
73286
73287
73288       ac_ext=cc
73289 ac_cpp='$CXXCPP $CPPFLAGS'
73290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73293
73294       cat >conftest.$ac_ext <<_ACEOF
73295 /* confdefs.h.  */
73296 _ACEOF
73297 cat confdefs.h >>conftest.$ac_ext
73298 cat >>conftest.$ac_ext <<_ACEOF
73299 /* end confdefs.h.  */
73300 #include <math.h>
73301                       #ifdef HAVE_IEEEFP_H
73302                       #include <ieeefp.h>
73303                       #endif
73304
73305 int
73306 main ()
73307 {
73308  sqrtf(0);
73309   ;
73310   return 0;
73311 }
73312 _ACEOF
73313 rm -f conftest.$ac_objext
73314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73315   (eval $ac_compile) 2>conftest.er1
73316   ac_status=$?
73317   grep -v '^ *+' conftest.er1 >conftest.err
73318   rm -f conftest.er1
73319   cat conftest.err >&5
73320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73321   (exit $ac_status); } &&
73322          { ac_try='test -z "$ac_cxx_werror_flag"
73323                          || test ! -s conftest.err'
73324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73325   (eval $ac_try) 2>&5
73326   ac_status=$?
73327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73328   (exit $ac_status); }; } &&
73329          { ac_try='test -s conftest.$ac_objext'
73330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73331   (eval $ac_try) 2>&5
73332   ac_status=$?
73333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73334   (exit $ac_status); }; }; then
73335   glibcxx_cv_func_sqrtf_use=yes
73336 else
73337   echo "$as_me: failed program was:" >&5
73338 sed 's/^/| /' conftest.$ac_ext >&5
73339
73340 glibcxx_cv_func_sqrtf_use=no
73341 fi
73342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73343       ac_ext=c
73344 ac_cpp='$CPP $CPPFLAGS'
73345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73348
73349
73350 fi
73351
73352   fi
73353   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
73354 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
73355
73356   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
73357
73358 for ac_func in sqrtf
73359 do
73360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73361 echo "$as_me:$LINENO: checking for $ac_func" >&5
73362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73363 if eval "test \"\${$as_ac_var+set}\" = set"; then
73364   echo $ECHO_N "(cached) $ECHO_C" >&6
73365 else
73366   if test x$gcc_no_link = xyes; then
73367   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73369    { (exit 1); exit 1; }; }
73370 fi
73371 cat >conftest.$ac_ext <<_ACEOF
73372 /* confdefs.h.  */
73373 _ACEOF
73374 cat confdefs.h >>conftest.$ac_ext
73375 cat >>conftest.$ac_ext <<_ACEOF
73376 /* end confdefs.h.  */
73377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73378    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73379 #define $ac_func innocuous_$ac_func
73380
73381 /* System header to define __stub macros and hopefully few prototypes,
73382     which can conflict with char $ac_func (); below.
73383     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73384     <limits.h> exists even on freestanding compilers.  */
73385
73386 #ifdef __STDC__
73387 # include <limits.h>
73388 #else
73389 # include <assert.h>
73390 #endif
73391
73392 #undef $ac_func
73393
73394 /* Override any gcc2 internal prototype to avoid an error.  */
73395 #ifdef __cplusplus
73396 extern "C"
73397 {
73398 #endif
73399 /* We use char because int might match the return type of a gcc2
73400    builtin and then its argument prototype would still apply.  */
73401 char $ac_func ();
73402 /* The GNU C library defines this for functions which it implements
73403     to always fail with ENOSYS.  Some functions are actually named
73404     something starting with __ and the normal name is an alias.  */
73405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73406 choke me
73407 #else
73408 char (*f) () = $ac_func;
73409 #endif
73410 #ifdef __cplusplus
73411 }
73412 #endif
73413
73414 int
73415 main ()
73416 {
73417 return f != $ac_func;
73418   ;
73419   return 0;
73420 }
73421 _ACEOF
73422 rm -f conftest.$ac_objext conftest$ac_exeext
73423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73424   (eval $ac_link) 2>conftest.er1
73425   ac_status=$?
73426   grep -v '^ *+' conftest.er1 >conftest.err
73427   rm -f conftest.er1
73428   cat conftest.err >&5
73429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73430   (exit $ac_status); } &&
73431          { ac_try='test -z "$ac_c_werror_flag"
73432                          || test ! -s conftest.err'
73433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73434   (eval $ac_try) 2>&5
73435   ac_status=$?
73436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73437   (exit $ac_status); }; } &&
73438          { ac_try='test -s conftest$ac_exeext'
73439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73440   (eval $ac_try) 2>&5
73441   ac_status=$?
73442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73443   (exit $ac_status); }; }; then
73444   eval "$as_ac_var=yes"
73445 else
73446   echo "$as_me: failed program was:" >&5
73447 sed 's/^/| /' conftest.$ac_ext >&5
73448
73449 eval "$as_ac_var=no"
73450 fi
73451 rm -f conftest.err conftest.$ac_objext \
73452       conftest$ac_exeext conftest.$ac_ext
73453 fi
73454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73456 if test `eval echo '${'$as_ac_var'}'` = yes; then
73457   cat >>confdefs.h <<_ACEOF
73458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73459 _ACEOF
73460
73461 fi
73462 done
73463
73464   else
73465
73466   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
73467 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
73468   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
73469     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
73470   echo $ECHO_N "(cached) $ECHO_C" >&6
73471 else
73472
73473
73474
73475       ac_ext=cc
73476 ac_cpp='$CXXCPP $CPPFLAGS'
73477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73480
73481       cat >conftest.$ac_ext <<_ACEOF
73482 /* confdefs.h.  */
73483 _ACEOF
73484 cat confdefs.h >>conftest.$ac_ext
73485 cat >>conftest.$ac_ext <<_ACEOF
73486 /* end confdefs.h.  */
73487 #include <math.h>
73488                       #ifdef HAVE_IEEEFP_H
73489                       #include <ieeefp.h>
73490                       #endif
73491
73492 int
73493 main ()
73494 {
73495  _sqrtf(0);
73496   ;
73497   return 0;
73498 }
73499 _ACEOF
73500 rm -f conftest.$ac_objext
73501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73502   (eval $ac_compile) 2>conftest.er1
73503   ac_status=$?
73504   grep -v '^ *+' conftest.er1 >conftest.err
73505   rm -f conftest.er1
73506   cat conftest.err >&5
73507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73508   (exit $ac_status); } &&
73509          { ac_try='test -z "$ac_cxx_werror_flag"
73510                          || test ! -s conftest.err'
73511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73512   (eval $ac_try) 2>&5
73513   ac_status=$?
73514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73515   (exit $ac_status); }; } &&
73516          { ac_try='test -s conftest.$ac_objext'
73517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73518   (eval $ac_try) 2>&5
73519   ac_status=$?
73520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73521   (exit $ac_status); }; }; then
73522   glibcxx_cv_func__sqrtf_use=yes
73523 else
73524   echo "$as_me: failed program was:" >&5
73525 sed 's/^/| /' conftest.$ac_ext >&5
73526
73527 glibcxx_cv_func__sqrtf_use=no
73528 fi
73529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73530       ac_ext=c
73531 ac_cpp='$CPP $CPPFLAGS'
73532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73535
73536
73537 fi
73538
73539   fi
73540   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
73541 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
73542
73543     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
73544
73545 for ac_func in _sqrtf
73546 do
73547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73548 echo "$as_me:$LINENO: checking for $ac_func" >&5
73549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73550 if eval "test \"\${$as_ac_var+set}\" = set"; then
73551   echo $ECHO_N "(cached) $ECHO_C" >&6
73552 else
73553   if test x$gcc_no_link = xyes; then
73554   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73556    { (exit 1); exit 1; }; }
73557 fi
73558 cat >conftest.$ac_ext <<_ACEOF
73559 /* confdefs.h.  */
73560 _ACEOF
73561 cat confdefs.h >>conftest.$ac_ext
73562 cat >>conftest.$ac_ext <<_ACEOF
73563 /* end confdefs.h.  */
73564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73565    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73566 #define $ac_func innocuous_$ac_func
73567
73568 /* System header to define __stub macros and hopefully few prototypes,
73569     which can conflict with char $ac_func (); below.
73570     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73571     <limits.h> exists even on freestanding compilers.  */
73572
73573 #ifdef __STDC__
73574 # include <limits.h>
73575 #else
73576 # include <assert.h>
73577 #endif
73578
73579 #undef $ac_func
73580
73581 /* Override any gcc2 internal prototype to avoid an error.  */
73582 #ifdef __cplusplus
73583 extern "C"
73584 {
73585 #endif
73586 /* We use char because int might match the return type of a gcc2
73587    builtin and then its argument prototype would still apply.  */
73588 char $ac_func ();
73589 /* The GNU C library defines this for functions which it implements
73590     to always fail with ENOSYS.  Some functions are actually named
73591     something starting with __ and the normal name is an alias.  */
73592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73593 choke me
73594 #else
73595 char (*f) () = $ac_func;
73596 #endif
73597 #ifdef __cplusplus
73598 }
73599 #endif
73600
73601 int
73602 main ()
73603 {
73604 return f != $ac_func;
73605   ;
73606   return 0;
73607 }
73608 _ACEOF
73609 rm -f conftest.$ac_objext conftest$ac_exeext
73610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73611   (eval $ac_link) 2>conftest.er1
73612   ac_status=$?
73613   grep -v '^ *+' conftest.er1 >conftest.err
73614   rm -f conftest.er1
73615   cat conftest.err >&5
73616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73617   (exit $ac_status); } &&
73618          { ac_try='test -z "$ac_c_werror_flag"
73619                          || test ! -s conftest.err'
73620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73621   (eval $ac_try) 2>&5
73622   ac_status=$?
73623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73624   (exit $ac_status); }; } &&
73625          { ac_try='test -s conftest$ac_exeext'
73626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73627   (eval $ac_try) 2>&5
73628   ac_status=$?
73629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73630   (exit $ac_status); }; }; then
73631   eval "$as_ac_var=yes"
73632 else
73633   echo "$as_me: failed program was:" >&5
73634 sed 's/^/| /' conftest.$ac_ext >&5
73635
73636 eval "$as_ac_var=no"
73637 fi
73638 rm -f conftest.err conftest.$ac_objext \
73639       conftest$ac_exeext conftest.$ac_ext
73640 fi
73641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73643 if test `eval echo '${'$as_ac_var'}'` = yes; then
73644   cat >>confdefs.h <<_ACEOF
73645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73646 _ACEOF
73647
73648 fi
73649 done
73650
73651     fi
73652   fi
73653
73654
73655
73656
73657
73658
73659   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
73660 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
73661   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
73662     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
73663   echo $ECHO_N "(cached) $ECHO_C" >&6
73664 else
73665
73666
73667
73668       ac_ext=cc
73669 ac_cpp='$CXXCPP $CPPFLAGS'
73670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73673
73674       cat >conftest.$ac_ext <<_ACEOF
73675 /* confdefs.h.  */
73676 _ACEOF
73677 cat confdefs.h >>conftest.$ac_ext
73678 cat >>conftest.$ac_ext <<_ACEOF
73679 /* end confdefs.h.  */
73680 #include <math.h>
73681 int
73682 main ()
73683 {
73684  sincosf(0, 0, 0);
73685   ;
73686   return 0;
73687 }
73688 _ACEOF
73689 rm -f conftest.$ac_objext
73690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73691   (eval $ac_compile) 2>conftest.er1
73692   ac_status=$?
73693   grep -v '^ *+' conftest.er1 >conftest.err
73694   rm -f conftest.er1
73695   cat conftest.err >&5
73696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73697   (exit $ac_status); } &&
73698          { ac_try='test -z "$ac_cxx_werror_flag"
73699                          || test ! -s conftest.err'
73700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73701   (eval $ac_try) 2>&5
73702   ac_status=$?
73703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73704   (exit $ac_status); }; } &&
73705          { ac_try='test -s conftest.$ac_objext'
73706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73707   (eval $ac_try) 2>&5
73708   ac_status=$?
73709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73710   (exit $ac_status); }; }; then
73711   glibcxx_cv_func_sincosf_use=yes
73712 else
73713   echo "$as_me: failed program was:" >&5
73714 sed 's/^/| /' conftest.$ac_ext >&5
73715
73716 glibcxx_cv_func_sincosf_use=no
73717 fi
73718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73719       ac_ext=c
73720 ac_cpp='$CPP $CPPFLAGS'
73721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73724
73725
73726 fi
73727
73728   fi
73729   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
73730 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
73731
73732   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
73733
73734 for ac_func in sincosf
73735 do
73736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73737 echo "$as_me:$LINENO: checking for $ac_func" >&5
73738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73739 if eval "test \"\${$as_ac_var+set}\" = set"; then
73740   echo $ECHO_N "(cached) $ECHO_C" >&6
73741 else
73742   if test x$gcc_no_link = xyes; then
73743   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73745    { (exit 1); exit 1; }; }
73746 fi
73747 cat >conftest.$ac_ext <<_ACEOF
73748 /* confdefs.h.  */
73749 _ACEOF
73750 cat confdefs.h >>conftest.$ac_ext
73751 cat >>conftest.$ac_ext <<_ACEOF
73752 /* end confdefs.h.  */
73753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73754    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73755 #define $ac_func innocuous_$ac_func
73756
73757 /* System header to define __stub macros and hopefully few prototypes,
73758     which can conflict with char $ac_func (); below.
73759     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73760     <limits.h> exists even on freestanding compilers.  */
73761
73762 #ifdef __STDC__
73763 # include <limits.h>
73764 #else
73765 # include <assert.h>
73766 #endif
73767
73768 #undef $ac_func
73769
73770 /* Override any gcc2 internal prototype to avoid an error.  */
73771 #ifdef __cplusplus
73772 extern "C"
73773 {
73774 #endif
73775 /* We use char because int might match the return type of a gcc2
73776    builtin and then its argument prototype would still apply.  */
73777 char $ac_func ();
73778 /* The GNU C library defines this for functions which it implements
73779     to always fail with ENOSYS.  Some functions are actually named
73780     something starting with __ and the normal name is an alias.  */
73781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73782 choke me
73783 #else
73784 char (*f) () = $ac_func;
73785 #endif
73786 #ifdef __cplusplus
73787 }
73788 #endif
73789
73790 int
73791 main ()
73792 {
73793 return f != $ac_func;
73794   ;
73795   return 0;
73796 }
73797 _ACEOF
73798 rm -f conftest.$ac_objext conftest$ac_exeext
73799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73800   (eval $ac_link) 2>conftest.er1
73801   ac_status=$?
73802   grep -v '^ *+' conftest.er1 >conftest.err
73803   rm -f conftest.er1
73804   cat conftest.err >&5
73805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73806   (exit $ac_status); } &&
73807          { ac_try='test -z "$ac_c_werror_flag"
73808                          || test ! -s conftest.err'
73809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73810   (eval $ac_try) 2>&5
73811   ac_status=$?
73812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73813   (exit $ac_status); }; } &&
73814          { ac_try='test -s conftest$ac_exeext'
73815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73816   (eval $ac_try) 2>&5
73817   ac_status=$?
73818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73819   (exit $ac_status); }; }; then
73820   eval "$as_ac_var=yes"
73821 else
73822   echo "$as_me: failed program was:" >&5
73823 sed 's/^/| /' conftest.$ac_ext >&5
73824
73825 eval "$as_ac_var=no"
73826 fi
73827 rm -f conftest.err conftest.$ac_objext \
73828       conftest$ac_exeext conftest.$ac_ext
73829 fi
73830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73832 if test `eval echo '${'$as_ac_var'}'` = yes; then
73833   cat >>confdefs.h <<_ACEOF
73834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73835 _ACEOF
73836
73837 fi
73838 done
73839
73840   else
73841
73842   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
73843 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
73844   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
73845     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
73846   echo $ECHO_N "(cached) $ECHO_C" >&6
73847 else
73848
73849
73850
73851       ac_ext=cc
73852 ac_cpp='$CXXCPP $CPPFLAGS'
73853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73856
73857       cat >conftest.$ac_ext <<_ACEOF
73858 /* confdefs.h.  */
73859 _ACEOF
73860 cat confdefs.h >>conftest.$ac_ext
73861 cat >>conftest.$ac_ext <<_ACEOF
73862 /* end confdefs.h.  */
73863 #include <math.h>
73864 int
73865 main ()
73866 {
73867  _sincosf(0, 0, 0);
73868   ;
73869   return 0;
73870 }
73871 _ACEOF
73872 rm -f conftest.$ac_objext
73873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73874   (eval $ac_compile) 2>conftest.er1
73875   ac_status=$?
73876   grep -v '^ *+' conftest.er1 >conftest.err
73877   rm -f conftest.er1
73878   cat conftest.err >&5
73879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73880   (exit $ac_status); } &&
73881          { ac_try='test -z "$ac_cxx_werror_flag"
73882                          || test ! -s conftest.err'
73883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73884   (eval $ac_try) 2>&5
73885   ac_status=$?
73886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73887   (exit $ac_status); }; } &&
73888          { ac_try='test -s conftest.$ac_objext'
73889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73890   (eval $ac_try) 2>&5
73891   ac_status=$?
73892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73893   (exit $ac_status); }; }; then
73894   glibcxx_cv_func__sincosf_use=yes
73895 else
73896   echo "$as_me: failed program was:" >&5
73897 sed 's/^/| /' conftest.$ac_ext >&5
73898
73899 glibcxx_cv_func__sincosf_use=no
73900 fi
73901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73902       ac_ext=c
73903 ac_cpp='$CPP $CPPFLAGS'
73904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73907
73908
73909 fi
73910
73911   fi
73912   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
73913 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
73914
73915     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
73916
73917 for ac_func in _sincosf
73918 do
73919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73920 echo "$as_me:$LINENO: checking for $ac_func" >&5
73921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73922 if eval "test \"\${$as_ac_var+set}\" = set"; then
73923   echo $ECHO_N "(cached) $ECHO_C" >&6
73924 else
73925   if test x$gcc_no_link = xyes; then
73926   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73928    { (exit 1); exit 1; }; }
73929 fi
73930 cat >conftest.$ac_ext <<_ACEOF
73931 /* confdefs.h.  */
73932 _ACEOF
73933 cat confdefs.h >>conftest.$ac_ext
73934 cat >>conftest.$ac_ext <<_ACEOF
73935 /* end confdefs.h.  */
73936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73937    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73938 #define $ac_func innocuous_$ac_func
73939
73940 /* System header to define __stub macros and hopefully few prototypes,
73941     which can conflict with char $ac_func (); below.
73942     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73943     <limits.h> exists even on freestanding compilers.  */
73944
73945 #ifdef __STDC__
73946 # include <limits.h>
73947 #else
73948 # include <assert.h>
73949 #endif
73950
73951 #undef $ac_func
73952
73953 /* Override any gcc2 internal prototype to avoid an error.  */
73954 #ifdef __cplusplus
73955 extern "C"
73956 {
73957 #endif
73958 /* We use char because int might match the return type of a gcc2
73959    builtin and then its argument prototype would still apply.  */
73960 char $ac_func ();
73961 /* The GNU C library defines this for functions which it implements
73962     to always fail with ENOSYS.  Some functions are actually named
73963     something starting with __ and the normal name is an alias.  */
73964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73965 choke me
73966 #else
73967 char (*f) () = $ac_func;
73968 #endif
73969 #ifdef __cplusplus
73970 }
73971 #endif
73972
73973 int
73974 main ()
73975 {
73976 return f != $ac_func;
73977   ;
73978   return 0;
73979 }
73980 _ACEOF
73981 rm -f conftest.$ac_objext conftest$ac_exeext
73982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73983   (eval $ac_link) 2>conftest.er1
73984   ac_status=$?
73985   grep -v '^ *+' conftest.er1 >conftest.err
73986   rm -f conftest.er1
73987   cat conftest.err >&5
73988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73989   (exit $ac_status); } &&
73990          { ac_try='test -z "$ac_c_werror_flag"
73991                          || test ! -s conftest.err'
73992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73993   (eval $ac_try) 2>&5
73994   ac_status=$?
73995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73996   (exit $ac_status); }; } &&
73997          { ac_try='test -s conftest$ac_exeext'
73998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73999   (eval $ac_try) 2>&5
74000   ac_status=$?
74001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74002   (exit $ac_status); }; }; then
74003   eval "$as_ac_var=yes"
74004 else
74005   echo "$as_me: failed program was:" >&5
74006 sed 's/^/| /' conftest.$ac_ext >&5
74007
74008 eval "$as_ac_var=no"
74009 fi
74010 rm -f conftest.err conftest.$ac_objext \
74011       conftest$ac_exeext conftest.$ac_ext
74012 fi
74013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74015 if test `eval echo '${'$as_ac_var'}'` = yes; then
74016   cat >>confdefs.h <<_ACEOF
74017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74018 _ACEOF
74019
74020 fi
74021 done
74022
74023     fi
74024   fi
74025
74026
74027
74028
74029
74030
74031   echo "$as_me:$LINENO: checking for finitef declaration" >&5
74032 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
74033   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74034     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
74035   echo $ECHO_N "(cached) $ECHO_C" >&6
74036 else
74037
74038
74039
74040       ac_ext=cc
74041 ac_cpp='$CXXCPP $CPPFLAGS'
74042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74045
74046       cat >conftest.$ac_ext <<_ACEOF
74047 /* confdefs.h.  */
74048 _ACEOF
74049 cat confdefs.h >>conftest.$ac_ext
74050 cat >>conftest.$ac_ext <<_ACEOF
74051 /* end confdefs.h.  */
74052 #include <math.h>
74053                       #ifdef HAVE_IEEEFP_H
74054                       #include <ieeefp.h>
74055                       #endif
74056
74057 int
74058 main ()
74059 {
74060  finitef(0);
74061   ;
74062   return 0;
74063 }
74064 _ACEOF
74065 rm -f conftest.$ac_objext
74066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74067   (eval $ac_compile) 2>conftest.er1
74068   ac_status=$?
74069   grep -v '^ *+' conftest.er1 >conftest.err
74070   rm -f conftest.er1
74071   cat conftest.err >&5
74072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74073   (exit $ac_status); } &&
74074          { ac_try='test -z "$ac_cxx_werror_flag"
74075                          || test ! -s conftest.err'
74076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74077   (eval $ac_try) 2>&5
74078   ac_status=$?
74079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74080   (exit $ac_status); }; } &&
74081          { ac_try='test -s conftest.$ac_objext'
74082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74083   (eval $ac_try) 2>&5
74084   ac_status=$?
74085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74086   (exit $ac_status); }; }; then
74087   glibcxx_cv_func_finitef_use=yes
74088 else
74089   echo "$as_me: failed program was:" >&5
74090 sed 's/^/| /' conftest.$ac_ext >&5
74091
74092 glibcxx_cv_func_finitef_use=no
74093 fi
74094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74095       ac_ext=c
74096 ac_cpp='$CPP $CPPFLAGS'
74097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74100
74101
74102 fi
74103
74104   fi
74105   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
74106 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
74107
74108   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74109
74110 for ac_func in finitef
74111 do
74112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74113 echo "$as_me:$LINENO: checking for $ac_func" >&5
74114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74115 if eval "test \"\${$as_ac_var+set}\" = set"; then
74116   echo $ECHO_N "(cached) $ECHO_C" >&6
74117 else
74118   if test x$gcc_no_link = xyes; then
74119   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74121    { (exit 1); exit 1; }; }
74122 fi
74123 cat >conftest.$ac_ext <<_ACEOF
74124 /* confdefs.h.  */
74125 _ACEOF
74126 cat confdefs.h >>conftest.$ac_ext
74127 cat >>conftest.$ac_ext <<_ACEOF
74128 /* end confdefs.h.  */
74129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74130    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74131 #define $ac_func innocuous_$ac_func
74132
74133 /* System header to define __stub macros and hopefully few prototypes,
74134     which can conflict with char $ac_func (); below.
74135     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74136     <limits.h> exists even on freestanding compilers.  */
74137
74138 #ifdef __STDC__
74139 # include <limits.h>
74140 #else
74141 # include <assert.h>
74142 #endif
74143
74144 #undef $ac_func
74145
74146 /* Override any gcc2 internal prototype to avoid an error.  */
74147 #ifdef __cplusplus
74148 extern "C"
74149 {
74150 #endif
74151 /* We use char because int might match the return type of a gcc2
74152    builtin and then its argument prototype would still apply.  */
74153 char $ac_func ();
74154 /* The GNU C library defines this for functions which it implements
74155     to always fail with ENOSYS.  Some functions are actually named
74156     something starting with __ and the normal name is an alias.  */
74157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74158 choke me
74159 #else
74160 char (*f) () = $ac_func;
74161 #endif
74162 #ifdef __cplusplus
74163 }
74164 #endif
74165
74166 int
74167 main ()
74168 {
74169 return f != $ac_func;
74170   ;
74171   return 0;
74172 }
74173 _ACEOF
74174 rm -f conftest.$ac_objext conftest$ac_exeext
74175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74176   (eval $ac_link) 2>conftest.er1
74177   ac_status=$?
74178   grep -v '^ *+' conftest.er1 >conftest.err
74179   rm -f conftest.er1
74180   cat conftest.err >&5
74181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74182   (exit $ac_status); } &&
74183          { ac_try='test -z "$ac_c_werror_flag"
74184                          || test ! -s conftest.err'
74185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74186   (eval $ac_try) 2>&5
74187   ac_status=$?
74188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74189   (exit $ac_status); }; } &&
74190          { ac_try='test -s conftest$ac_exeext'
74191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74192   (eval $ac_try) 2>&5
74193   ac_status=$?
74194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74195   (exit $ac_status); }; }; then
74196   eval "$as_ac_var=yes"
74197 else
74198   echo "$as_me: failed program was:" >&5
74199 sed 's/^/| /' conftest.$ac_ext >&5
74200
74201 eval "$as_ac_var=no"
74202 fi
74203 rm -f conftest.err conftest.$ac_objext \
74204       conftest$ac_exeext conftest.$ac_ext
74205 fi
74206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74208 if test `eval echo '${'$as_ac_var'}'` = yes; then
74209   cat >>confdefs.h <<_ACEOF
74210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74211 _ACEOF
74212
74213 fi
74214 done
74215
74216   else
74217
74218   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
74219 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
74220   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74221     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
74222   echo $ECHO_N "(cached) $ECHO_C" >&6
74223 else
74224
74225
74226
74227       ac_ext=cc
74228 ac_cpp='$CXXCPP $CPPFLAGS'
74229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74232
74233       cat >conftest.$ac_ext <<_ACEOF
74234 /* confdefs.h.  */
74235 _ACEOF
74236 cat confdefs.h >>conftest.$ac_ext
74237 cat >>conftest.$ac_ext <<_ACEOF
74238 /* end confdefs.h.  */
74239 #include <math.h>
74240                       #ifdef HAVE_IEEEFP_H
74241                       #include <ieeefp.h>
74242                       #endif
74243
74244 int
74245 main ()
74246 {
74247  _finitef(0);
74248   ;
74249   return 0;
74250 }
74251 _ACEOF
74252 rm -f conftest.$ac_objext
74253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74254   (eval $ac_compile) 2>conftest.er1
74255   ac_status=$?
74256   grep -v '^ *+' conftest.er1 >conftest.err
74257   rm -f conftest.er1
74258   cat conftest.err >&5
74259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74260   (exit $ac_status); } &&
74261          { ac_try='test -z "$ac_cxx_werror_flag"
74262                          || test ! -s conftest.err'
74263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74264   (eval $ac_try) 2>&5
74265   ac_status=$?
74266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74267   (exit $ac_status); }; } &&
74268          { ac_try='test -s conftest.$ac_objext'
74269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74270   (eval $ac_try) 2>&5
74271   ac_status=$?
74272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74273   (exit $ac_status); }; }; then
74274   glibcxx_cv_func__finitef_use=yes
74275 else
74276   echo "$as_me: failed program was:" >&5
74277 sed 's/^/| /' conftest.$ac_ext >&5
74278
74279 glibcxx_cv_func__finitef_use=no
74280 fi
74281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74282       ac_ext=c
74283 ac_cpp='$CPP $CPPFLAGS'
74284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74287
74288
74289 fi
74290
74291   fi
74292   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
74293 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
74294
74295     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74296
74297 for ac_func in _finitef
74298 do
74299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74300 echo "$as_me:$LINENO: checking for $ac_func" >&5
74301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74302 if eval "test \"\${$as_ac_var+set}\" = set"; then
74303   echo $ECHO_N "(cached) $ECHO_C" >&6
74304 else
74305   if test x$gcc_no_link = xyes; then
74306   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74308    { (exit 1); exit 1; }; }
74309 fi
74310 cat >conftest.$ac_ext <<_ACEOF
74311 /* confdefs.h.  */
74312 _ACEOF
74313 cat confdefs.h >>conftest.$ac_ext
74314 cat >>conftest.$ac_ext <<_ACEOF
74315 /* end confdefs.h.  */
74316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74317    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74318 #define $ac_func innocuous_$ac_func
74319
74320 /* System header to define __stub macros and hopefully few prototypes,
74321     which can conflict with char $ac_func (); below.
74322     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74323     <limits.h> exists even on freestanding compilers.  */
74324
74325 #ifdef __STDC__
74326 # include <limits.h>
74327 #else
74328 # include <assert.h>
74329 #endif
74330
74331 #undef $ac_func
74332
74333 /* Override any gcc2 internal prototype to avoid an error.  */
74334 #ifdef __cplusplus
74335 extern "C"
74336 {
74337 #endif
74338 /* We use char because int might match the return type of a gcc2
74339    builtin and then its argument prototype would still apply.  */
74340 char $ac_func ();
74341 /* The GNU C library defines this for functions which it implements
74342     to always fail with ENOSYS.  Some functions are actually named
74343     something starting with __ and the normal name is an alias.  */
74344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74345 choke me
74346 #else
74347 char (*f) () = $ac_func;
74348 #endif
74349 #ifdef __cplusplus
74350 }
74351 #endif
74352
74353 int
74354 main ()
74355 {
74356 return f != $ac_func;
74357   ;
74358   return 0;
74359 }
74360 _ACEOF
74361 rm -f conftest.$ac_objext conftest$ac_exeext
74362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74363   (eval $ac_link) 2>conftest.er1
74364   ac_status=$?
74365   grep -v '^ *+' conftest.er1 >conftest.err
74366   rm -f conftest.er1
74367   cat conftest.err >&5
74368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74369   (exit $ac_status); } &&
74370          { ac_try='test -z "$ac_c_werror_flag"
74371                          || test ! -s conftest.err'
74372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74373   (eval $ac_try) 2>&5
74374   ac_status=$?
74375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74376   (exit $ac_status); }; } &&
74377          { ac_try='test -s conftest$ac_exeext'
74378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74379   (eval $ac_try) 2>&5
74380   ac_status=$?
74381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74382   (exit $ac_status); }; }; then
74383   eval "$as_ac_var=yes"
74384 else
74385   echo "$as_me: failed program was:" >&5
74386 sed 's/^/| /' conftest.$ac_ext >&5
74387
74388 eval "$as_ac_var=no"
74389 fi
74390 rm -f conftest.err conftest.$ac_objext \
74391       conftest$ac_exeext conftest.$ac_ext
74392 fi
74393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74395 if test `eval echo '${'$as_ac_var'}'` = yes; then
74396   cat >>confdefs.h <<_ACEOF
74397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74398 _ACEOF
74399
74400 fi
74401 done
74402
74403     fi
74404   fi
74405
74406
74407
74408
74409
74410
74411     echo "$as_me:$LINENO: checking for long double trig functions" >&5
74412 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
74413   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
74414   echo $ECHO_N "(cached) $ECHO_C" >&6
74415 else
74416
74417
74418
74419     ac_ext=cc
74420 ac_cpp='$CXXCPP $CPPFLAGS'
74421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74424
74425     cat >conftest.$ac_ext <<_ACEOF
74426 /* confdefs.h.  */
74427 _ACEOF
74428 cat confdefs.h >>conftest.$ac_ext
74429 cat >>conftest.$ac_ext <<_ACEOF
74430 /* end confdefs.h.  */
74431 #include <math.h>
74432 int
74433 main ()
74434 {
74435 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74436   ;
74437   return 0;
74438 }
74439 _ACEOF
74440 rm -f conftest.$ac_objext
74441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74442   (eval $ac_compile) 2>conftest.er1
74443   ac_status=$?
74444   grep -v '^ *+' conftest.er1 >conftest.err
74445   rm -f conftest.er1
74446   cat conftest.err >&5
74447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74448   (exit $ac_status); } &&
74449          { ac_try='test -z "$ac_cxx_werror_flag"
74450                          || test ! -s conftest.err'
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); }; } &&
74456          { ac_try='test -s conftest.$ac_objext'
74457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74458   (eval $ac_try) 2>&5
74459   ac_status=$?
74460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74461   (exit $ac_status); }; }; then
74462   glibcxx_cv_func_long_double_trig_use=yes
74463 else
74464   echo "$as_me: failed program was:" >&5
74465 sed 's/^/| /' conftest.$ac_ext >&5
74466
74467 glibcxx_cv_func_long_double_trig_use=no
74468 fi
74469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74470     ac_ext=c
74471 ac_cpp='$CPP $CPPFLAGS'
74472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74475
74476 fi
74477
74478   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
74479 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
74480   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74481
74482
74483
74484
74485
74486
74487
74488
74489
74490 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74491 do
74492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74493 echo "$as_me:$LINENO: checking for $ac_func" >&5
74494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74495 if eval "test \"\${$as_ac_var+set}\" = set"; then
74496   echo $ECHO_N "(cached) $ECHO_C" >&6
74497 else
74498   if test x$gcc_no_link = xyes; then
74499   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74501    { (exit 1); exit 1; }; }
74502 fi
74503 cat >conftest.$ac_ext <<_ACEOF
74504 /* confdefs.h.  */
74505 _ACEOF
74506 cat confdefs.h >>conftest.$ac_ext
74507 cat >>conftest.$ac_ext <<_ACEOF
74508 /* end confdefs.h.  */
74509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74510    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74511 #define $ac_func innocuous_$ac_func
74512
74513 /* System header to define __stub macros and hopefully few prototypes,
74514     which can conflict with char $ac_func (); below.
74515     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74516     <limits.h> exists even on freestanding compilers.  */
74517
74518 #ifdef __STDC__
74519 # include <limits.h>
74520 #else
74521 # include <assert.h>
74522 #endif
74523
74524 #undef $ac_func
74525
74526 /* Override any gcc2 internal prototype to avoid an error.  */
74527 #ifdef __cplusplus
74528 extern "C"
74529 {
74530 #endif
74531 /* We use char because int might match the return type of a gcc2
74532    builtin and then its argument prototype would still apply.  */
74533 char $ac_func ();
74534 /* The GNU C library defines this for functions which it implements
74535     to always fail with ENOSYS.  Some functions are actually named
74536     something starting with __ and the normal name is an alias.  */
74537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74538 choke me
74539 #else
74540 char (*f) () = $ac_func;
74541 #endif
74542 #ifdef __cplusplus
74543 }
74544 #endif
74545
74546 int
74547 main ()
74548 {
74549 return f != $ac_func;
74550   ;
74551   return 0;
74552 }
74553 _ACEOF
74554 rm -f conftest.$ac_objext conftest$ac_exeext
74555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74556   (eval $ac_link) 2>conftest.er1
74557   ac_status=$?
74558   grep -v '^ *+' conftest.er1 >conftest.err
74559   rm -f conftest.er1
74560   cat conftest.err >&5
74561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74562   (exit $ac_status); } &&
74563          { ac_try='test -z "$ac_c_werror_flag"
74564                          || test ! -s conftest.err'
74565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74566   (eval $ac_try) 2>&5
74567   ac_status=$?
74568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74569   (exit $ac_status); }; } &&
74570          { ac_try='test -s conftest$ac_exeext'
74571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74572   (eval $ac_try) 2>&5
74573   ac_status=$?
74574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74575   (exit $ac_status); }; }; then
74576   eval "$as_ac_var=yes"
74577 else
74578   echo "$as_me: failed program was:" >&5
74579 sed 's/^/| /' conftest.$ac_ext >&5
74580
74581 eval "$as_ac_var=no"
74582 fi
74583 rm -f conftest.err conftest.$ac_objext \
74584       conftest$ac_exeext conftest.$ac_ext
74585 fi
74586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74588 if test `eval echo '${'$as_ac_var'}'` = yes; then
74589   cat >>confdefs.h <<_ACEOF
74590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74591 _ACEOF
74592
74593 fi
74594 done
74595
74596   else
74597     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
74598 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
74599     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
74600   echo $ECHO_N "(cached) $ECHO_C" >&6
74601 else
74602
74603
74604
74605       ac_ext=cc
74606 ac_cpp='$CXXCPP $CPPFLAGS'
74607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74610
74611       cat >conftest.$ac_ext <<_ACEOF
74612 /* confdefs.h.  */
74613 _ACEOF
74614 cat confdefs.h >>conftest.$ac_ext
74615 cat >>conftest.$ac_ext <<_ACEOF
74616 /* end confdefs.h.  */
74617 #include <math.h>
74618 int
74619 main ()
74620 {
74621 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74622   ;
74623   return 0;
74624 }
74625 _ACEOF
74626 rm -f conftest.$ac_objext
74627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74628   (eval $ac_compile) 2>conftest.er1
74629   ac_status=$?
74630   grep -v '^ *+' conftest.er1 >conftest.err
74631   rm -f conftest.er1
74632   cat conftest.err >&5
74633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74634   (exit $ac_status); } &&
74635          { ac_try='test -z "$ac_cxx_werror_flag"
74636                          || test ! -s conftest.err'
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); }; } &&
74642          { ac_try='test -s conftest.$ac_objext'
74643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74644   (eval $ac_try) 2>&5
74645   ac_status=$?
74646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74647   (exit $ac_status); }; }; then
74648   glibcxx_cv_func__long_double_trig_use=yes
74649 else
74650   echo "$as_me: failed program was:" >&5
74651 sed 's/^/| /' conftest.$ac_ext >&5
74652
74653 glibcxx_cv_func__long_double_trig_use=no
74654 fi
74655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74656       ac_ext=c
74657 ac_cpp='$CPP $CPPFLAGS'
74658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74661
74662 fi
74663
74664     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
74665 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
74666     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74667
74668
74669
74670
74671
74672
74673
74674
74675
74676 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74677 do
74678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74679 echo "$as_me:$LINENO: checking for $ac_func" >&5
74680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74681 if eval "test \"\${$as_ac_var+set}\" = set"; then
74682   echo $ECHO_N "(cached) $ECHO_C" >&6
74683 else
74684   if test x$gcc_no_link = xyes; then
74685   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74687    { (exit 1); exit 1; }; }
74688 fi
74689 cat >conftest.$ac_ext <<_ACEOF
74690 /* confdefs.h.  */
74691 _ACEOF
74692 cat confdefs.h >>conftest.$ac_ext
74693 cat >>conftest.$ac_ext <<_ACEOF
74694 /* end confdefs.h.  */
74695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74696    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74697 #define $ac_func innocuous_$ac_func
74698
74699 /* System header to define __stub macros and hopefully few prototypes,
74700     which can conflict with char $ac_func (); below.
74701     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74702     <limits.h> exists even on freestanding compilers.  */
74703
74704 #ifdef __STDC__
74705 # include <limits.h>
74706 #else
74707 # include <assert.h>
74708 #endif
74709
74710 #undef $ac_func
74711
74712 /* Override any gcc2 internal prototype to avoid an error.  */
74713 #ifdef __cplusplus
74714 extern "C"
74715 {
74716 #endif
74717 /* We use char because int might match the return type of a gcc2
74718    builtin and then its argument prototype would still apply.  */
74719 char $ac_func ();
74720 /* The GNU C library defines this for functions which it implements
74721     to always fail with ENOSYS.  Some functions are actually named
74722     something starting with __ and the normal name is an alias.  */
74723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74724 choke me
74725 #else
74726 char (*f) () = $ac_func;
74727 #endif
74728 #ifdef __cplusplus
74729 }
74730 #endif
74731
74732 int
74733 main ()
74734 {
74735 return f != $ac_func;
74736   ;
74737   return 0;
74738 }
74739 _ACEOF
74740 rm -f conftest.$ac_objext conftest$ac_exeext
74741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74742   (eval $ac_link) 2>conftest.er1
74743   ac_status=$?
74744   grep -v '^ *+' conftest.er1 >conftest.err
74745   rm -f conftest.er1
74746   cat conftest.err >&5
74747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74748   (exit $ac_status); } &&
74749          { ac_try='test -z "$ac_c_werror_flag"
74750                          || test ! -s conftest.err'
74751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74752   (eval $ac_try) 2>&5
74753   ac_status=$?
74754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74755   (exit $ac_status); }; } &&
74756          { ac_try='test -s conftest$ac_exeext'
74757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74758   (eval $ac_try) 2>&5
74759   ac_status=$?
74760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74761   (exit $ac_status); }; }; then
74762   eval "$as_ac_var=yes"
74763 else
74764   echo "$as_me: failed program was:" >&5
74765 sed 's/^/| /' conftest.$ac_ext >&5
74766
74767 eval "$as_ac_var=no"
74768 fi
74769 rm -f conftest.err conftest.$ac_objext \
74770       conftest$ac_exeext conftest.$ac_ext
74771 fi
74772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74774 if test `eval echo '${'$as_ac_var'}'` = yes; then
74775   cat >>confdefs.h <<_ACEOF
74776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74777 _ACEOF
74778
74779 fi
74780 done
74781
74782     fi
74783   fi
74784
74785
74786
74787
74788
74789
74790
74791
74792
74793
74794
74795
74796
74797
74798     echo "$as_me:$LINENO: checking for long double round functions" >&5
74799 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
74800   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
74801   echo $ECHO_N "(cached) $ECHO_C" >&6
74802 else
74803
74804
74805
74806     ac_ext=cc
74807 ac_cpp='$CXXCPP $CPPFLAGS'
74808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74811
74812     cat >conftest.$ac_ext <<_ACEOF
74813 /* confdefs.h.  */
74814 _ACEOF
74815 cat confdefs.h >>conftest.$ac_ext
74816 cat >>conftest.$ac_ext <<_ACEOF
74817 /* end confdefs.h.  */
74818 #include <math.h>
74819 int
74820 main ()
74821 {
74822 ceill (0); floorl (0);
74823   ;
74824   return 0;
74825 }
74826 _ACEOF
74827 rm -f conftest.$ac_objext
74828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74829   (eval $ac_compile) 2>conftest.er1
74830   ac_status=$?
74831   grep -v '^ *+' conftest.er1 >conftest.err
74832   rm -f conftest.er1
74833   cat conftest.err >&5
74834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74835   (exit $ac_status); } &&
74836          { ac_try='test -z "$ac_cxx_werror_flag"
74837                          || test ! -s conftest.err'
74838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74839   (eval $ac_try) 2>&5
74840   ac_status=$?
74841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74842   (exit $ac_status); }; } &&
74843          { ac_try='test -s conftest.$ac_objext'
74844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74845   (eval $ac_try) 2>&5
74846   ac_status=$?
74847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74848   (exit $ac_status); }; }; then
74849   glibcxx_cv_func_long_double_round_use=yes
74850 else
74851   echo "$as_me: failed program was:" >&5
74852 sed 's/^/| /' conftest.$ac_ext >&5
74853
74854 glibcxx_cv_func_long_double_round_use=no
74855 fi
74856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74857     ac_ext=c
74858 ac_cpp='$CPP $CPPFLAGS'
74859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74862
74863 fi
74864
74865   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
74866 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
74867   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74868
74869
74870 for ac_func in ceill floorl
74871 do
74872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74873 echo "$as_me:$LINENO: checking for $ac_func" >&5
74874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74875 if eval "test \"\${$as_ac_var+set}\" = set"; then
74876   echo $ECHO_N "(cached) $ECHO_C" >&6
74877 else
74878   if test x$gcc_no_link = xyes; then
74879   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74881    { (exit 1); exit 1; }; }
74882 fi
74883 cat >conftest.$ac_ext <<_ACEOF
74884 /* confdefs.h.  */
74885 _ACEOF
74886 cat confdefs.h >>conftest.$ac_ext
74887 cat >>conftest.$ac_ext <<_ACEOF
74888 /* end confdefs.h.  */
74889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74890    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74891 #define $ac_func innocuous_$ac_func
74892
74893 /* System header to define __stub macros and hopefully few prototypes,
74894     which can conflict with char $ac_func (); below.
74895     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74896     <limits.h> exists even on freestanding compilers.  */
74897
74898 #ifdef __STDC__
74899 # include <limits.h>
74900 #else
74901 # include <assert.h>
74902 #endif
74903
74904 #undef $ac_func
74905
74906 /* Override any gcc2 internal prototype to avoid an error.  */
74907 #ifdef __cplusplus
74908 extern "C"
74909 {
74910 #endif
74911 /* We use char because int might match the return type of a gcc2
74912    builtin and then its argument prototype would still apply.  */
74913 char $ac_func ();
74914 /* The GNU C library defines this for functions which it implements
74915     to always fail with ENOSYS.  Some functions are actually named
74916     something starting with __ and the normal name is an alias.  */
74917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74918 choke me
74919 #else
74920 char (*f) () = $ac_func;
74921 #endif
74922 #ifdef __cplusplus
74923 }
74924 #endif
74925
74926 int
74927 main ()
74928 {
74929 return f != $ac_func;
74930   ;
74931   return 0;
74932 }
74933 _ACEOF
74934 rm -f conftest.$ac_objext conftest$ac_exeext
74935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74936   (eval $ac_link) 2>conftest.er1
74937   ac_status=$?
74938   grep -v '^ *+' conftest.er1 >conftest.err
74939   rm -f conftest.er1
74940   cat conftest.err >&5
74941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74942   (exit $ac_status); } &&
74943          { ac_try='test -z "$ac_c_werror_flag"
74944                          || test ! -s conftest.err'
74945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74946   (eval $ac_try) 2>&5
74947   ac_status=$?
74948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74949   (exit $ac_status); }; } &&
74950          { ac_try='test -s conftest$ac_exeext'
74951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74952   (eval $ac_try) 2>&5
74953   ac_status=$?
74954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74955   (exit $ac_status); }; }; then
74956   eval "$as_ac_var=yes"
74957 else
74958   echo "$as_me: failed program was:" >&5
74959 sed 's/^/| /' conftest.$ac_ext >&5
74960
74961 eval "$as_ac_var=no"
74962 fi
74963 rm -f conftest.err conftest.$ac_objext \
74964       conftest$ac_exeext conftest.$ac_ext
74965 fi
74966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74968 if test `eval echo '${'$as_ac_var'}'` = yes; then
74969   cat >>confdefs.h <<_ACEOF
74970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74971 _ACEOF
74972
74973 fi
74974 done
74975
74976   else
74977     echo "$as_me:$LINENO: checking for _long double round functions" >&5
74978 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
74979     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
74980   echo $ECHO_N "(cached) $ECHO_C" >&6
74981 else
74982
74983
74984
74985       ac_ext=cc
74986 ac_cpp='$CXXCPP $CPPFLAGS'
74987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74990
74991       cat >conftest.$ac_ext <<_ACEOF
74992 /* confdefs.h.  */
74993 _ACEOF
74994 cat confdefs.h >>conftest.$ac_ext
74995 cat >>conftest.$ac_ext <<_ACEOF
74996 /* end confdefs.h.  */
74997 #include <math.h>
74998 int
74999 main ()
75000 {
75001 _ceill (0); _floorl (0);
75002   ;
75003   return 0;
75004 }
75005 _ACEOF
75006 rm -f conftest.$ac_objext
75007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75008   (eval $ac_compile) 2>conftest.er1
75009   ac_status=$?
75010   grep -v '^ *+' conftest.er1 >conftest.err
75011   rm -f conftest.er1
75012   cat conftest.err >&5
75013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75014   (exit $ac_status); } &&
75015          { ac_try='test -z "$ac_cxx_werror_flag"
75016                          || test ! -s conftest.err'
75017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75018   (eval $ac_try) 2>&5
75019   ac_status=$?
75020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75021   (exit $ac_status); }; } &&
75022          { ac_try='test -s conftest.$ac_objext'
75023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75024   (eval $ac_try) 2>&5
75025   ac_status=$?
75026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75027   (exit $ac_status); }; }; then
75028   glibcxx_cv_func__long_double_round_use=yes
75029 else
75030   echo "$as_me: failed program was:" >&5
75031 sed 's/^/| /' conftest.$ac_ext >&5
75032
75033 glibcxx_cv_func__long_double_round_use=no
75034 fi
75035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75036       ac_ext=c
75037 ac_cpp='$CPP $CPPFLAGS'
75038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75041
75042 fi
75043
75044     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
75045 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
75046     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75047
75048
75049 for ac_func in _ceill _floorl
75050 do
75051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75052 echo "$as_me:$LINENO: checking for $ac_func" >&5
75053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75054 if eval "test \"\${$as_ac_var+set}\" = set"; then
75055   echo $ECHO_N "(cached) $ECHO_C" >&6
75056 else
75057   if test x$gcc_no_link = xyes; then
75058   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75060    { (exit 1); exit 1; }; }
75061 fi
75062 cat >conftest.$ac_ext <<_ACEOF
75063 /* confdefs.h.  */
75064 _ACEOF
75065 cat confdefs.h >>conftest.$ac_ext
75066 cat >>conftest.$ac_ext <<_ACEOF
75067 /* end confdefs.h.  */
75068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75069    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75070 #define $ac_func innocuous_$ac_func
75071
75072 /* System header to define __stub macros and hopefully few prototypes,
75073     which can conflict with char $ac_func (); below.
75074     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75075     <limits.h> exists even on freestanding compilers.  */
75076
75077 #ifdef __STDC__
75078 # include <limits.h>
75079 #else
75080 # include <assert.h>
75081 #endif
75082
75083 #undef $ac_func
75084
75085 /* Override any gcc2 internal prototype to avoid an error.  */
75086 #ifdef __cplusplus
75087 extern "C"
75088 {
75089 #endif
75090 /* We use char because int might match the return type of a gcc2
75091    builtin and then its argument prototype would still apply.  */
75092 char $ac_func ();
75093 /* The GNU C library defines this for functions which it implements
75094     to always fail with ENOSYS.  Some functions are actually named
75095     something starting with __ and the normal name is an alias.  */
75096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75097 choke me
75098 #else
75099 char (*f) () = $ac_func;
75100 #endif
75101 #ifdef __cplusplus
75102 }
75103 #endif
75104
75105 int
75106 main ()
75107 {
75108 return f != $ac_func;
75109   ;
75110   return 0;
75111 }
75112 _ACEOF
75113 rm -f conftest.$ac_objext conftest$ac_exeext
75114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75115   (eval $ac_link) 2>conftest.er1
75116   ac_status=$?
75117   grep -v '^ *+' conftest.er1 >conftest.err
75118   rm -f conftest.er1
75119   cat conftest.err >&5
75120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75121   (exit $ac_status); } &&
75122          { ac_try='test -z "$ac_c_werror_flag"
75123                          || test ! -s conftest.err'
75124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75125   (eval $ac_try) 2>&5
75126   ac_status=$?
75127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75128   (exit $ac_status); }; } &&
75129          { ac_try='test -s conftest$ac_exeext'
75130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75131   (eval $ac_try) 2>&5
75132   ac_status=$?
75133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75134   (exit $ac_status); }; }; then
75135   eval "$as_ac_var=yes"
75136 else
75137   echo "$as_me: failed program was:" >&5
75138 sed 's/^/| /' conftest.$ac_ext >&5
75139
75140 eval "$as_ac_var=no"
75141 fi
75142 rm -f conftest.err conftest.$ac_objext \
75143       conftest$ac_exeext conftest.$ac_ext
75144 fi
75145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75147 if test `eval echo '${'$as_ac_var'}'` = yes; then
75148   cat >>confdefs.h <<_ACEOF
75149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75150 _ACEOF
75151
75152 fi
75153 done
75154
75155     fi
75156   fi
75157
75158
75159
75160
75161
75162
75163
75164
75165   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
75166 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
75167   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75168     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
75169   echo $ECHO_N "(cached) $ECHO_C" >&6
75170 else
75171
75172
75173
75174       ac_ext=cc
75175 ac_cpp='$CXXCPP $CPPFLAGS'
75176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75179
75180       cat >conftest.$ac_ext <<_ACEOF
75181 /* confdefs.h.  */
75182 _ACEOF
75183 cat confdefs.h >>conftest.$ac_ext
75184 cat >>conftest.$ac_ext <<_ACEOF
75185 /* end confdefs.h.  */
75186 #include <math.h>
75187                       #ifdef HAVE_IEEEFP_H
75188                       #include <ieeefp.h>
75189                       #endif
75190
75191 int
75192 main ()
75193 {
75194  isnanl(0);
75195   ;
75196   return 0;
75197 }
75198 _ACEOF
75199 rm -f conftest.$ac_objext
75200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75201   (eval $ac_compile) 2>conftest.er1
75202   ac_status=$?
75203   grep -v '^ *+' conftest.er1 >conftest.err
75204   rm -f conftest.er1
75205   cat conftest.err >&5
75206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75207   (exit $ac_status); } &&
75208          { ac_try='test -z "$ac_cxx_werror_flag"
75209                          || test ! -s conftest.err'
75210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75211   (eval $ac_try) 2>&5
75212   ac_status=$?
75213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75214   (exit $ac_status); }; } &&
75215          { ac_try='test -s conftest.$ac_objext'
75216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75217   (eval $ac_try) 2>&5
75218   ac_status=$?
75219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75220   (exit $ac_status); }; }; then
75221   glibcxx_cv_func_isnanl_use=yes
75222 else
75223   echo "$as_me: failed program was:" >&5
75224 sed 's/^/| /' conftest.$ac_ext >&5
75225
75226 glibcxx_cv_func_isnanl_use=no
75227 fi
75228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75229       ac_ext=c
75230 ac_cpp='$CPP $CPPFLAGS'
75231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75234
75235
75236 fi
75237
75238   fi
75239   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
75240 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
75241
75242   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75243
75244 for ac_func in isnanl
75245 do
75246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75247 echo "$as_me:$LINENO: checking for $ac_func" >&5
75248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75249 if eval "test \"\${$as_ac_var+set}\" = set"; then
75250   echo $ECHO_N "(cached) $ECHO_C" >&6
75251 else
75252   if test x$gcc_no_link = xyes; then
75253   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75255    { (exit 1); exit 1; }; }
75256 fi
75257 cat >conftest.$ac_ext <<_ACEOF
75258 /* confdefs.h.  */
75259 _ACEOF
75260 cat confdefs.h >>conftest.$ac_ext
75261 cat >>conftest.$ac_ext <<_ACEOF
75262 /* end confdefs.h.  */
75263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75264    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75265 #define $ac_func innocuous_$ac_func
75266
75267 /* System header to define __stub macros and hopefully few prototypes,
75268     which can conflict with char $ac_func (); below.
75269     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75270     <limits.h> exists even on freestanding compilers.  */
75271
75272 #ifdef __STDC__
75273 # include <limits.h>
75274 #else
75275 # include <assert.h>
75276 #endif
75277
75278 #undef $ac_func
75279
75280 /* Override any gcc2 internal prototype to avoid an error.  */
75281 #ifdef __cplusplus
75282 extern "C"
75283 {
75284 #endif
75285 /* We use char because int might match the return type of a gcc2
75286    builtin and then its argument prototype would still apply.  */
75287 char $ac_func ();
75288 /* The GNU C library defines this for functions which it implements
75289     to always fail with ENOSYS.  Some functions are actually named
75290     something starting with __ and the normal name is an alias.  */
75291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75292 choke me
75293 #else
75294 char (*f) () = $ac_func;
75295 #endif
75296 #ifdef __cplusplus
75297 }
75298 #endif
75299
75300 int
75301 main ()
75302 {
75303 return f != $ac_func;
75304   ;
75305   return 0;
75306 }
75307 _ACEOF
75308 rm -f conftest.$ac_objext conftest$ac_exeext
75309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75310   (eval $ac_link) 2>conftest.er1
75311   ac_status=$?
75312   grep -v '^ *+' conftest.er1 >conftest.err
75313   rm -f conftest.er1
75314   cat conftest.err >&5
75315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75316   (exit $ac_status); } &&
75317          { ac_try='test -z "$ac_c_werror_flag"
75318                          || test ! -s conftest.err'
75319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75320   (eval $ac_try) 2>&5
75321   ac_status=$?
75322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75323   (exit $ac_status); }; } &&
75324          { ac_try='test -s conftest$ac_exeext'
75325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75326   (eval $ac_try) 2>&5
75327   ac_status=$?
75328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75329   (exit $ac_status); }; }; then
75330   eval "$as_ac_var=yes"
75331 else
75332   echo "$as_me: failed program was:" >&5
75333 sed 's/^/| /' conftest.$ac_ext >&5
75334
75335 eval "$as_ac_var=no"
75336 fi
75337 rm -f conftest.err conftest.$ac_objext \
75338       conftest$ac_exeext conftest.$ac_ext
75339 fi
75340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75342 if test `eval echo '${'$as_ac_var'}'` = yes; then
75343   cat >>confdefs.h <<_ACEOF
75344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75345 _ACEOF
75346
75347 fi
75348 done
75349
75350   else
75351
75352   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
75353 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
75354   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75355     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
75356   echo $ECHO_N "(cached) $ECHO_C" >&6
75357 else
75358
75359
75360
75361       ac_ext=cc
75362 ac_cpp='$CXXCPP $CPPFLAGS'
75363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75366
75367       cat >conftest.$ac_ext <<_ACEOF
75368 /* confdefs.h.  */
75369 _ACEOF
75370 cat confdefs.h >>conftest.$ac_ext
75371 cat >>conftest.$ac_ext <<_ACEOF
75372 /* end confdefs.h.  */
75373 #include <math.h>
75374                       #ifdef HAVE_IEEEFP_H
75375                       #include <ieeefp.h>
75376                       #endif
75377
75378 int
75379 main ()
75380 {
75381  _isnanl(0);
75382   ;
75383   return 0;
75384 }
75385 _ACEOF
75386 rm -f conftest.$ac_objext
75387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75388   (eval $ac_compile) 2>conftest.er1
75389   ac_status=$?
75390   grep -v '^ *+' conftest.er1 >conftest.err
75391   rm -f conftest.er1
75392   cat conftest.err >&5
75393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75394   (exit $ac_status); } &&
75395          { ac_try='test -z "$ac_cxx_werror_flag"
75396                          || test ! -s conftest.err'
75397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75398   (eval $ac_try) 2>&5
75399   ac_status=$?
75400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75401   (exit $ac_status); }; } &&
75402          { ac_try='test -s conftest.$ac_objext'
75403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75404   (eval $ac_try) 2>&5
75405   ac_status=$?
75406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75407   (exit $ac_status); }; }; then
75408   glibcxx_cv_func__isnanl_use=yes
75409 else
75410   echo "$as_me: failed program was:" >&5
75411 sed 's/^/| /' conftest.$ac_ext >&5
75412
75413 glibcxx_cv_func__isnanl_use=no
75414 fi
75415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75416       ac_ext=c
75417 ac_cpp='$CPP $CPPFLAGS'
75418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75421
75422
75423 fi
75424
75425   fi
75426   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
75427 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
75428
75429     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
75430
75431 for ac_func in _isnanl
75432 do
75433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75434 echo "$as_me:$LINENO: checking for $ac_func" >&5
75435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75436 if eval "test \"\${$as_ac_var+set}\" = set"; then
75437   echo $ECHO_N "(cached) $ECHO_C" >&6
75438 else
75439   if test x$gcc_no_link = xyes; then
75440   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75442    { (exit 1); exit 1; }; }
75443 fi
75444 cat >conftest.$ac_ext <<_ACEOF
75445 /* confdefs.h.  */
75446 _ACEOF
75447 cat confdefs.h >>conftest.$ac_ext
75448 cat >>conftest.$ac_ext <<_ACEOF
75449 /* end confdefs.h.  */
75450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75451    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75452 #define $ac_func innocuous_$ac_func
75453
75454 /* System header to define __stub macros and hopefully few prototypes,
75455     which can conflict with char $ac_func (); below.
75456     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75457     <limits.h> exists even on freestanding compilers.  */
75458
75459 #ifdef __STDC__
75460 # include <limits.h>
75461 #else
75462 # include <assert.h>
75463 #endif
75464
75465 #undef $ac_func
75466
75467 /* Override any gcc2 internal prototype to avoid an error.  */
75468 #ifdef __cplusplus
75469 extern "C"
75470 {
75471 #endif
75472 /* We use char because int might match the return type of a gcc2
75473    builtin and then its argument prototype would still apply.  */
75474 char $ac_func ();
75475 /* The GNU C library defines this for functions which it implements
75476     to always fail with ENOSYS.  Some functions are actually named
75477     something starting with __ and the normal name is an alias.  */
75478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75479 choke me
75480 #else
75481 char (*f) () = $ac_func;
75482 #endif
75483 #ifdef __cplusplus
75484 }
75485 #endif
75486
75487 int
75488 main ()
75489 {
75490 return f != $ac_func;
75491   ;
75492   return 0;
75493 }
75494 _ACEOF
75495 rm -f conftest.$ac_objext conftest$ac_exeext
75496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75497   (eval $ac_link) 2>conftest.er1
75498   ac_status=$?
75499   grep -v '^ *+' conftest.er1 >conftest.err
75500   rm -f conftest.er1
75501   cat conftest.err >&5
75502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75503   (exit $ac_status); } &&
75504          { ac_try='test -z "$ac_c_werror_flag"
75505                          || test ! -s conftest.err'
75506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75507   (eval $ac_try) 2>&5
75508   ac_status=$?
75509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75510   (exit $ac_status); }; } &&
75511          { ac_try='test -s conftest$ac_exeext'
75512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75513   (eval $ac_try) 2>&5
75514   ac_status=$?
75515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75516   (exit $ac_status); }; }; then
75517   eval "$as_ac_var=yes"
75518 else
75519   echo "$as_me: failed program was:" >&5
75520 sed 's/^/| /' conftest.$ac_ext >&5
75521
75522 eval "$as_ac_var=no"
75523 fi
75524 rm -f conftest.err conftest.$ac_objext \
75525       conftest$ac_exeext conftest.$ac_ext
75526 fi
75527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75529 if test `eval echo '${'$as_ac_var'}'` = yes; then
75530   cat >>confdefs.h <<_ACEOF
75531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75532 _ACEOF
75533
75534 fi
75535 done
75536
75537     fi
75538   fi
75539
75540
75541
75542
75543
75544
75545   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
75546 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
75547   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75548     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
75549   echo $ECHO_N "(cached) $ECHO_C" >&6
75550 else
75551
75552
75553
75554       ac_ext=cc
75555 ac_cpp='$CXXCPP $CPPFLAGS'
75556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75559
75560       cat >conftest.$ac_ext <<_ACEOF
75561 /* confdefs.h.  */
75562 _ACEOF
75563 cat confdefs.h >>conftest.$ac_ext
75564 cat >>conftest.$ac_ext <<_ACEOF
75565 /* end confdefs.h.  */
75566 #include <math.h>
75567                       #ifdef HAVE_IEEEFP_H
75568                       #include <ieeefp.h>
75569                       #endif
75570
75571 int
75572 main ()
75573 {
75574  isinfl(0);
75575   ;
75576   return 0;
75577 }
75578 _ACEOF
75579 rm -f conftest.$ac_objext
75580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75581   (eval $ac_compile) 2>conftest.er1
75582   ac_status=$?
75583   grep -v '^ *+' conftest.er1 >conftest.err
75584   rm -f conftest.er1
75585   cat conftest.err >&5
75586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75587   (exit $ac_status); } &&
75588          { ac_try='test -z "$ac_cxx_werror_flag"
75589                          || test ! -s conftest.err'
75590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75591   (eval $ac_try) 2>&5
75592   ac_status=$?
75593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75594   (exit $ac_status); }; } &&
75595          { ac_try='test -s conftest.$ac_objext'
75596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75597   (eval $ac_try) 2>&5
75598   ac_status=$?
75599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75600   (exit $ac_status); }; }; then
75601   glibcxx_cv_func_isinfl_use=yes
75602 else
75603   echo "$as_me: failed program was:" >&5
75604 sed 's/^/| /' conftest.$ac_ext >&5
75605
75606 glibcxx_cv_func_isinfl_use=no
75607 fi
75608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75609       ac_ext=c
75610 ac_cpp='$CPP $CPPFLAGS'
75611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75614
75615
75616 fi
75617
75618   fi
75619   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
75620 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
75621
75622   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75623
75624 for ac_func in isinfl
75625 do
75626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75627 echo "$as_me:$LINENO: checking for $ac_func" >&5
75628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75629 if eval "test \"\${$as_ac_var+set}\" = set"; then
75630   echo $ECHO_N "(cached) $ECHO_C" >&6
75631 else
75632   if test x$gcc_no_link = xyes; then
75633   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75635    { (exit 1); exit 1; }; }
75636 fi
75637 cat >conftest.$ac_ext <<_ACEOF
75638 /* confdefs.h.  */
75639 _ACEOF
75640 cat confdefs.h >>conftest.$ac_ext
75641 cat >>conftest.$ac_ext <<_ACEOF
75642 /* end confdefs.h.  */
75643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75644    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75645 #define $ac_func innocuous_$ac_func
75646
75647 /* System header to define __stub macros and hopefully few prototypes,
75648     which can conflict with char $ac_func (); below.
75649     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75650     <limits.h> exists even on freestanding compilers.  */
75651
75652 #ifdef __STDC__
75653 # include <limits.h>
75654 #else
75655 # include <assert.h>
75656 #endif
75657
75658 #undef $ac_func
75659
75660 /* Override any gcc2 internal prototype to avoid an error.  */
75661 #ifdef __cplusplus
75662 extern "C"
75663 {
75664 #endif
75665 /* We use char because int might match the return type of a gcc2
75666    builtin and then its argument prototype would still apply.  */
75667 char $ac_func ();
75668 /* The GNU C library defines this for functions which it implements
75669     to always fail with ENOSYS.  Some functions are actually named
75670     something starting with __ and the normal name is an alias.  */
75671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75672 choke me
75673 #else
75674 char (*f) () = $ac_func;
75675 #endif
75676 #ifdef __cplusplus
75677 }
75678 #endif
75679
75680 int
75681 main ()
75682 {
75683 return f != $ac_func;
75684   ;
75685   return 0;
75686 }
75687 _ACEOF
75688 rm -f conftest.$ac_objext conftest$ac_exeext
75689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75690   (eval $ac_link) 2>conftest.er1
75691   ac_status=$?
75692   grep -v '^ *+' conftest.er1 >conftest.err
75693   rm -f conftest.er1
75694   cat conftest.err >&5
75695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75696   (exit $ac_status); } &&
75697          { ac_try='test -z "$ac_c_werror_flag"
75698                          || test ! -s conftest.err'
75699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75700   (eval $ac_try) 2>&5
75701   ac_status=$?
75702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75703   (exit $ac_status); }; } &&
75704          { ac_try='test -s conftest$ac_exeext'
75705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75706   (eval $ac_try) 2>&5
75707   ac_status=$?
75708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75709   (exit $ac_status); }; }; then
75710   eval "$as_ac_var=yes"
75711 else
75712   echo "$as_me: failed program was:" >&5
75713 sed 's/^/| /' conftest.$ac_ext >&5
75714
75715 eval "$as_ac_var=no"
75716 fi
75717 rm -f conftest.err conftest.$ac_objext \
75718       conftest$ac_exeext conftest.$ac_ext
75719 fi
75720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75722 if test `eval echo '${'$as_ac_var'}'` = yes; then
75723   cat >>confdefs.h <<_ACEOF
75724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75725 _ACEOF
75726
75727 fi
75728 done
75729
75730   else
75731
75732   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
75733 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
75734   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75735     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
75736   echo $ECHO_N "(cached) $ECHO_C" >&6
75737 else
75738
75739
75740
75741       ac_ext=cc
75742 ac_cpp='$CXXCPP $CPPFLAGS'
75743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75746
75747       cat >conftest.$ac_ext <<_ACEOF
75748 /* confdefs.h.  */
75749 _ACEOF
75750 cat confdefs.h >>conftest.$ac_ext
75751 cat >>conftest.$ac_ext <<_ACEOF
75752 /* end confdefs.h.  */
75753 #include <math.h>
75754                       #ifdef HAVE_IEEEFP_H
75755                       #include <ieeefp.h>
75756                       #endif
75757
75758 int
75759 main ()
75760 {
75761  _isinfl(0);
75762   ;
75763   return 0;
75764 }
75765 _ACEOF
75766 rm -f conftest.$ac_objext
75767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75768   (eval $ac_compile) 2>conftest.er1
75769   ac_status=$?
75770   grep -v '^ *+' conftest.er1 >conftest.err
75771   rm -f conftest.er1
75772   cat conftest.err >&5
75773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75774   (exit $ac_status); } &&
75775          { ac_try='test -z "$ac_cxx_werror_flag"
75776                          || test ! -s conftest.err'
75777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75778   (eval $ac_try) 2>&5
75779   ac_status=$?
75780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75781   (exit $ac_status); }; } &&
75782          { ac_try='test -s conftest.$ac_objext'
75783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75784   (eval $ac_try) 2>&5
75785   ac_status=$?
75786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75787   (exit $ac_status); }; }; then
75788   glibcxx_cv_func__isinfl_use=yes
75789 else
75790   echo "$as_me: failed program was:" >&5
75791 sed 's/^/| /' conftest.$ac_ext >&5
75792
75793 glibcxx_cv_func__isinfl_use=no
75794 fi
75795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75796       ac_ext=c
75797 ac_cpp='$CPP $CPPFLAGS'
75798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75801
75802
75803 fi
75804
75805   fi
75806   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
75807 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
75808
75809     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75810
75811 for ac_func in _isinfl
75812 do
75813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75814 echo "$as_me:$LINENO: checking for $ac_func" >&5
75815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75816 if eval "test \"\${$as_ac_var+set}\" = set"; then
75817   echo $ECHO_N "(cached) $ECHO_C" >&6
75818 else
75819   if test x$gcc_no_link = xyes; then
75820   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75822    { (exit 1); exit 1; }; }
75823 fi
75824 cat >conftest.$ac_ext <<_ACEOF
75825 /* confdefs.h.  */
75826 _ACEOF
75827 cat confdefs.h >>conftest.$ac_ext
75828 cat >>conftest.$ac_ext <<_ACEOF
75829 /* end confdefs.h.  */
75830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75831    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75832 #define $ac_func innocuous_$ac_func
75833
75834 /* System header to define __stub macros and hopefully few prototypes,
75835     which can conflict with char $ac_func (); below.
75836     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75837     <limits.h> exists even on freestanding compilers.  */
75838
75839 #ifdef __STDC__
75840 # include <limits.h>
75841 #else
75842 # include <assert.h>
75843 #endif
75844
75845 #undef $ac_func
75846
75847 /* Override any gcc2 internal prototype to avoid an error.  */
75848 #ifdef __cplusplus
75849 extern "C"
75850 {
75851 #endif
75852 /* We use char because int might match the return type of a gcc2
75853    builtin and then its argument prototype would still apply.  */
75854 char $ac_func ();
75855 /* The GNU C library defines this for functions which it implements
75856     to always fail with ENOSYS.  Some functions are actually named
75857     something starting with __ and the normal name is an alias.  */
75858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75859 choke me
75860 #else
75861 char (*f) () = $ac_func;
75862 #endif
75863 #ifdef __cplusplus
75864 }
75865 #endif
75866
75867 int
75868 main ()
75869 {
75870 return f != $ac_func;
75871   ;
75872   return 0;
75873 }
75874 _ACEOF
75875 rm -f conftest.$ac_objext conftest$ac_exeext
75876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75877   (eval $ac_link) 2>conftest.er1
75878   ac_status=$?
75879   grep -v '^ *+' conftest.er1 >conftest.err
75880   rm -f conftest.er1
75881   cat conftest.err >&5
75882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75883   (exit $ac_status); } &&
75884          { ac_try='test -z "$ac_c_werror_flag"
75885                          || test ! -s conftest.err'
75886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75887   (eval $ac_try) 2>&5
75888   ac_status=$?
75889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75890   (exit $ac_status); }; } &&
75891          { ac_try='test -s conftest$ac_exeext'
75892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75893   (eval $ac_try) 2>&5
75894   ac_status=$?
75895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75896   (exit $ac_status); }; }; then
75897   eval "$as_ac_var=yes"
75898 else
75899   echo "$as_me: failed program was:" >&5
75900 sed 's/^/| /' conftest.$ac_ext >&5
75901
75902 eval "$as_ac_var=no"
75903 fi
75904 rm -f conftest.err conftest.$ac_objext \
75905       conftest$ac_exeext conftest.$ac_ext
75906 fi
75907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75909 if test `eval echo '${'$as_ac_var'}'` = yes; then
75910   cat >>confdefs.h <<_ACEOF
75911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75912 _ACEOF
75913
75914 fi
75915 done
75916
75917     fi
75918   fi
75919
75920
75921
75922
75923
75924
75925   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
75926 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
75927   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
75928     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
75929   echo $ECHO_N "(cached) $ECHO_C" >&6
75930 else
75931
75932
75933
75934       ac_ext=cc
75935 ac_cpp='$CXXCPP $CPPFLAGS'
75936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75939
75940       cat >conftest.$ac_ext <<_ACEOF
75941 /* confdefs.h.  */
75942 _ACEOF
75943 cat confdefs.h >>conftest.$ac_ext
75944 cat >>conftest.$ac_ext <<_ACEOF
75945 /* end confdefs.h.  */
75946 #include <math.h>
75947 int
75948 main ()
75949 {
75950  copysignl(0, 0);
75951   ;
75952   return 0;
75953 }
75954 _ACEOF
75955 rm -f conftest.$ac_objext
75956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75957   (eval $ac_compile) 2>conftest.er1
75958   ac_status=$?
75959   grep -v '^ *+' conftest.er1 >conftest.err
75960   rm -f conftest.er1
75961   cat conftest.err >&5
75962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75963   (exit $ac_status); } &&
75964          { ac_try='test -z "$ac_cxx_werror_flag"
75965                          || test ! -s conftest.err'
75966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75967   (eval $ac_try) 2>&5
75968   ac_status=$?
75969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75970   (exit $ac_status); }; } &&
75971          { ac_try='test -s conftest.$ac_objext'
75972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75973   (eval $ac_try) 2>&5
75974   ac_status=$?
75975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75976   (exit $ac_status); }; }; then
75977   glibcxx_cv_func_copysignl_use=yes
75978 else
75979   echo "$as_me: failed program was:" >&5
75980 sed 's/^/| /' conftest.$ac_ext >&5
75981
75982 glibcxx_cv_func_copysignl_use=no
75983 fi
75984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75985       ac_ext=c
75986 ac_cpp='$CPP $CPPFLAGS'
75987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75990
75991
75992 fi
75993
75994   fi
75995   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
75996 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
75997
75998   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
75999
76000 for ac_func in copysignl
76001 do
76002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76003 echo "$as_me:$LINENO: checking for $ac_func" >&5
76004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76005 if eval "test \"\${$as_ac_var+set}\" = set"; then
76006   echo $ECHO_N "(cached) $ECHO_C" >&6
76007 else
76008   if test x$gcc_no_link = xyes; then
76009   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76011    { (exit 1); exit 1; }; }
76012 fi
76013 cat >conftest.$ac_ext <<_ACEOF
76014 /* confdefs.h.  */
76015 _ACEOF
76016 cat confdefs.h >>conftest.$ac_ext
76017 cat >>conftest.$ac_ext <<_ACEOF
76018 /* end confdefs.h.  */
76019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76020    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76021 #define $ac_func innocuous_$ac_func
76022
76023 /* System header to define __stub macros and hopefully few prototypes,
76024     which can conflict with char $ac_func (); below.
76025     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76026     <limits.h> exists even on freestanding compilers.  */
76027
76028 #ifdef __STDC__
76029 # include <limits.h>
76030 #else
76031 # include <assert.h>
76032 #endif
76033
76034 #undef $ac_func
76035
76036 /* Override any gcc2 internal prototype to avoid an error.  */
76037 #ifdef __cplusplus
76038 extern "C"
76039 {
76040 #endif
76041 /* We use char because int might match the return type of a gcc2
76042    builtin and then its argument prototype would still apply.  */
76043 char $ac_func ();
76044 /* The GNU C library defines this for functions which it implements
76045     to always fail with ENOSYS.  Some functions are actually named
76046     something starting with __ and the normal name is an alias.  */
76047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76048 choke me
76049 #else
76050 char (*f) () = $ac_func;
76051 #endif
76052 #ifdef __cplusplus
76053 }
76054 #endif
76055
76056 int
76057 main ()
76058 {
76059 return f != $ac_func;
76060   ;
76061   return 0;
76062 }
76063 _ACEOF
76064 rm -f conftest.$ac_objext conftest$ac_exeext
76065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76066   (eval $ac_link) 2>conftest.er1
76067   ac_status=$?
76068   grep -v '^ *+' conftest.er1 >conftest.err
76069   rm -f conftest.er1
76070   cat conftest.err >&5
76071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76072   (exit $ac_status); } &&
76073          { ac_try='test -z "$ac_c_werror_flag"
76074                          || test ! -s conftest.err'
76075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76076   (eval $ac_try) 2>&5
76077   ac_status=$?
76078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76079   (exit $ac_status); }; } &&
76080          { ac_try='test -s conftest$ac_exeext'
76081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76082   (eval $ac_try) 2>&5
76083   ac_status=$?
76084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76085   (exit $ac_status); }; }; then
76086   eval "$as_ac_var=yes"
76087 else
76088   echo "$as_me: failed program was:" >&5
76089 sed 's/^/| /' conftest.$ac_ext >&5
76090
76091 eval "$as_ac_var=no"
76092 fi
76093 rm -f conftest.err conftest.$ac_objext \
76094       conftest$ac_exeext conftest.$ac_ext
76095 fi
76096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76098 if test `eval echo '${'$as_ac_var'}'` = yes; then
76099   cat >>confdefs.h <<_ACEOF
76100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76101 _ACEOF
76102
76103 fi
76104 done
76105
76106   else
76107
76108   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
76109 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
76110   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
76111     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
76112   echo $ECHO_N "(cached) $ECHO_C" >&6
76113 else
76114
76115
76116
76117       ac_ext=cc
76118 ac_cpp='$CXXCPP $CPPFLAGS'
76119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76122
76123       cat >conftest.$ac_ext <<_ACEOF
76124 /* confdefs.h.  */
76125 _ACEOF
76126 cat confdefs.h >>conftest.$ac_ext
76127 cat >>conftest.$ac_ext <<_ACEOF
76128 /* end confdefs.h.  */
76129 #include <math.h>
76130 int
76131 main ()
76132 {
76133  _copysignl(0, 0);
76134   ;
76135   return 0;
76136 }
76137 _ACEOF
76138 rm -f conftest.$ac_objext
76139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76140   (eval $ac_compile) 2>conftest.er1
76141   ac_status=$?
76142   grep -v '^ *+' conftest.er1 >conftest.err
76143   rm -f conftest.er1
76144   cat conftest.err >&5
76145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76146   (exit $ac_status); } &&
76147          { ac_try='test -z "$ac_cxx_werror_flag"
76148                          || test ! -s conftest.err'
76149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76150   (eval $ac_try) 2>&5
76151   ac_status=$?
76152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76153   (exit $ac_status); }; } &&
76154          { ac_try='test -s conftest.$ac_objext'
76155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76156   (eval $ac_try) 2>&5
76157   ac_status=$?
76158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76159   (exit $ac_status); }; }; then
76160   glibcxx_cv_func__copysignl_use=yes
76161 else
76162   echo "$as_me: failed program was:" >&5
76163 sed 's/^/| /' conftest.$ac_ext >&5
76164
76165 glibcxx_cv_func__copysignl_use=no
76166 fi
76167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76168       ac_ext=c
76169 ac_cpp='$CPP $CPPFLAGS'
76170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76173
76174
76175 fi
76176
76177   fi
76178   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
76179 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
76180
76181     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
76182
76183 for ac_func in _copysignl
76184 do
76185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76186 echo "$as_me:$LINENO: checking for $ac_func" >&5
76187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76188 if eval "test \"\${$as_ac_var+set}\" = set"; then
76189   echo $ECHO_N "(cached) $ECHO_C" >&6
76190 else
76191   if test x$gcc_no_link = xyes; then
76192   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76194    { (exit 1); exit 1; }; }
76195 fi
76196 cat >conftest.$ac_ext <<_ACEOF
76197 /* confdefs.h.  */
76198 _ACEOF
76199 cat confdefs.h >>conftest.$ac_ext
76200 cat >>conftest.$ac_ext <<_ACEOF
76201 /* end confdefs.h.  */
76202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76203    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76204 #define $ac_func innocuous_$ac_func
76205
76206 /* System header to define __stub macros and hopefully few prototypes,
76207     which can conflict with char $ac_func (); below.
76208     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76209     <limits.h> exists even on freestanding compilers.  */
76210
76211 #ifdef __STDC__
76212 # include <limits.h>
76213 #else
76214 # include <assert.h>
76215 #endif
76216
76217 #undef $ac_func
76218
76219 /* Override any gcc2 internal prototype to avoid an error.  */
76220 #ifdef __cplusplus
76221 extern "C"
76222 {
76223 #endif
76224 /* We use char because int might match the return type of a gcc2
76225    builtin and then its argument prototype would still apply.  */
76226 char $ac_func ();
76227 /* The GNU C library defines this for functions which it implements
76228     to always fail with ENOSYS.  Some functions are actually named
76229     something starting with __ and the normal name is an alias.  */
76230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76231 choke me
76232 #else
76233 char (*f) () = $ac_func;
76234 #endif
76235 #ifdef __cplusplus
76236 }
76237 #endif
76238
76239 int
76240 main ()
76241 {
76242 return f != $ac_func;
76243   ;
76244   return 0;
76245 }
76246 _ACEOF
76247 rm -f conftest.$ac_objext conftest$ac_exeext
76248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76249   (eval $ac_link) 2>conftest.er1
76250   ac_status=$?
76251   grep -v '^ *+' conftest.er1 >conftest.err
76252   rm -f conftest.er1
76253   cat conftest.err >&5
76254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76255   (exit $ac_status); } &&
76256          { ac_try='test -z "$ac_c_werror_flag"
76257                          || test ! -s conftest.err'
76258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76259   (eval $ac_try) 2>&5
76260   ac_status=$?
76261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76262   (exit $ac_status); }; } &&
76263          { ac_try='test -s conftest$ac_exeext'
76264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76265   (eval $ac_try) 2>&5
76266   ac_status=$?
76267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76268   (exit $ac_status); }; }; then
76269   eval "$as_ac_var=yes"
76270 else
76271   echo "$as_me: failed program was:" >&5
76272 sed 's/^/| /' conftest.$ac_ext >&5
76273
76274 eval "$as_ac_var=no"
76275 fi
76276 rm -f conftest.err conftest.$ac_objext \
76277       conftest$ac_exeext conftest.$ac_ext
76278 fi
76279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76281 if test `eval echo '${'$as_ac_var'}'` = yes; then
76282   cat >>confdefs.h <<_ACEOF
76283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76284 _ACEOF
76285
76286 fi
76287 done
76288
76289     fi
76290   fi
76291
76292
76293
76294
76295
76296
76297   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
76298 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
76299   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76300     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
76301   echo $ECHO_N "(cached) $ECHO_C" >&6
76302 else
76303
76304
76305
76306       ac_ext=cc
76307 ac_cpp='$CXXCPP $CPPFLAGS'
76308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76311
76312       cat >conftest.$ac_ext <<_ACEOF
76313 /* confdefs.h.  */
76314 _ACEOF
76315 cat confdefs.h >>conftest.$ac_ext
76316 cat >>conftest.$ac_ext <<_ACEOF
76317 /* end confdefs.h.  */
76318 #include <math.h>
76319 int
76320 main ()
76321 {
76322  atan2l(0, 0);
76323   ;
76324   return 0;
76325 }
76326 _ACEOF
76327 rm -f conftest.$ac_objext
76328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76329   (eval $ac_compile) 2>conftest.er1
76330   ac_status=$?
76331   grep -v '^ *+' conftest.er1 >conftest.err
76332   rm -f conftest.er1
76333   cat conftest.err >&5
76334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76335   (exit $ac_status); } &&
76336          { ac_try='test -z "$ac_cxx_werror_flag"
76337                          || test ! -s conftest.err'
76338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76339   (eval $ac_try) 2>&5
76340   ac_status=$?
76341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76342   (exit $ac_status); }; } &&
76343          { ac_try='test -s conftest.$ac_objext'
76344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76345   (eval $ac_try) 2>&5
76346   ac_status=$?
76347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76348   (exit $ac_status); }; }; then
76349   glibcxx_cv_func_atan2l_use=yes
76350 else
76351   echo "$as_me: failed program was:" >&5
76352 sed 's/^/| /' conftest.$ac_ext >&5
76353
76354 glibcxx_cv_func_atan2l_use=no
76355 fi
76356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76357       ac_ext=c
76358 ac_cpp='$CPP $CPPFLAGS'
76359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76362
76363
76364 fi
76365
76366   fi
76367   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
76368 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
76369
76370   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76371
76372 for ac_func in atan2l
76373 do
76374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76375 echo "$as_me:$LINENO: checking for $ac_func" >&5
76376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76377 if eval "test \"\${$as_ac_var+set}\" = set"; then
76378   echo $ECHO_N "(cached) $ECHO_C" >&6
76379 else
76380   if test x$gcc_no_link = xyes; then
76381   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76383    { (exit 1); exit 1; }; }
76384 fi
76385 cat >conftest.$ac_ext <<_ACEOF
76386 /* confdefs.h.  */
76387 _ACEOF
76388 cat confdefs.h >>conftest.$ac_ext
76389 cat >>conftest.$ac_ext <<_ACEOF
76390 /* end confdefs.h.  */
76391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76392    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76393 #define $ac_func innocuous_$ac_func
76394
76395 /* System header to define __stub macros and hopefully few prototypes,
76396     which can conflict with char $ac_func (); below.
76397     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76398     <limits.h> exists even on freestanding compilers.  */
76399
76400 #ifdef __STDC__
76401 # include <limits.h>
76402 #else
76403 # include <assert.h>
76404 #endif
76405
76406 #undef $ac_func
76407
76408 /* Override any gcc2 internal prototype to avoid an error.  */
76409 #ifdef __cplusplus
76410 extern "C"
76411 {
76412 #endif
76413 /* We use char because int might match the return type of a gcc2
76414    builtin and then its argument prototype would still apply.  */
76415 char $ac_func ();
76416 /* The GNU C library defines this for functions which it implements
76417     to always fail with ENOSYS.  Some functions are actually named
76418     something starting with __ and the normal name is an alias.  */
76419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76420 choke me
76421 #else
76422 char (*f) () = $ac_func;
76423 #endif
76424 #ifdef __cplusplus
76425 }
76426 #endif
76427
76428 int
76429 main ()
76430 {
76431 return f != $ac_func;
76432   ;
76433   return 0;
76434 }
76435 _ACEOF
76436 rm -f conftest.$ac_objext conftest$ac_exeext
76437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76438   (eval $ac_link) 2>conftest.er1
76439   ac_status=$?
76440   grep -v '^ *+' conftest.er1 >conftest.err
76441   rm -f conftest.er1
76442   cat conftest.err >&5
76443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76444   (exit $ac_status); } &&
76445          { ac_try='test -z "$ac_c_werror_flag"
76446                          || test ! -s conftest.err'
76447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76448   (eval $ac_try) 2>&5
76449   ac_status=$?
76450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76451   (exit $ac_status); }; } &&
76452          { ac_try='test -s conftest$ac_exeext'
76453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76454   (eval $ac_try) 2>&5
76455   ac_status=$?
76456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76457   (exit $ac_status); }; }; then
76458   eval "$as_ac_var=yes"
76459 else
76460   echo "$as_me: failed program was:" >&5
76461 sed 's/^/| /' conftest.$ac_ext >&5
76462
76463 eval "$as_ac_var=no"
76464 fi
76465 rm -f conftest.err conftest.$ac_objext \
76466       conftest$ac_exeext conftest.$ac_ext
76467 fi
76468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76470 if test `eval echo '${'$as_ac_var'}'` = yes; then
76471   cat >>confdefs.h <<_ACEOF
76472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76473 _ACEOF
76474
76475 fi
76476 done
76477
76478   else
76479
76480   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
76481 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
76482   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76483     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
76484   echo $ECHO_N "(cached) $ECHO_C" >&6
76485 else
76486
76487
76488
76489       ac_ext=cc
76490 ac_cpp='$CXXCPP $CPPFLAGS'
76491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76494
76495       cat >conftest.$ac_ext <<_ACEOF
76496 /* confdefs.h.  */
76497 _ACEOF
76498 cat confdefs.h >>conftest.$ac_ext
76499 cat >>conftest.$ac_ext <<_ACEOF
76500 /* end confdefs.h.  */
76501 #include <math.h>
76502 int
76503 main ()
76504 {
76505  _atan2l(0, 0);
76506   ;
76507   return 0;
76508 }
76509 _ACEOF
76510 rm -f conftest.$ac_objext
76511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76512   (eval $ac_compile) 2>conftest.er1
76513   ac_status=$?
76514   grep -v '^ *+' conftest.er1 >conftest.err
76515   rm -f conftest.er1
76516   cat conftest.err >&5
76517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76518   (exit $ac_status); } &&
76519          { ac_try='test -z "$ac_cxx_werror_flag"
76520                          || test ! -s conftest.err'
76521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76522   (eval $ac_try) 2>&5
76523   ac_status=$?
76524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76525   (exit $ac_status); }; } &&
76526          { ac_try='test -s conftest.$ac_objext'
76527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76528   (eval $ac_try) 2>&5
76529   ac_status=$?
76530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76531   (exit $ac_status); }; }; then
76532   glibcxx_cv_func__atan2l_use=yes
76533 else
76534   echo "$as_me: failed program was:" >&5
76535 sed 's/^/| /' conftest.$ac_ext >&5
76536
76537 glibcxx_cv_func__atan2l_use=no
76538 fi
76539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76540       ac_ext=c
76541 ac_cpp='$CPP $CPPFLAGS'
76542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76545
76546
76547 fi
76548
76549   fi
76550   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
76551 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
76552
76553     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76554
76555 for ac_func in _atan2l
76556 do
76557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76558 echo "$as_me:$LINENO: checking for $ac_func" >&5
76559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76560 if eval "test \"\${$as_ac_var+set}\" = set"; then
76561   echo $ECHO_N "(cached) $ECHO_C" >&6
76562 else
76563   if test x$gcc_no_link = xyes; then
76564   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76566    { (exit 1); exit 1; }; }
76567 fi
76568 cat >conftest.$ac_ext <<_ACEOF
76569 /* confdefs.h.  */
76570 _ACEOF
76571 cat confdefs.h >>conftest.$ac_ext
76572 cat >>conftest.$ac_ext <<_ACEOF
76573 /* end confdefs.h.  */
76574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76575    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76576 #define $ac_func innocuous_$ac_func
76577
76578 /* System header to define __stub macros and hopefully few prototypes,
76579     which can conflict with char $ac_func (); below.
76580     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76581     <limits.h> exists even on freestanding compilers.  */
76582
76583 #ifdef __STDC__
76584 # include <limits.h>
76585 #else
76586 # include <assert.h>
76587 #endif
76588
76589 #undef $ac_func
76590
76591 /* Override any gcc2 internal prototype to avoid an error.  */
76592 #ifdef __cplusplus
76593 extern "C"
76594 {
76595 #endif
76596 /* We use char because int might match the return type of a gcc2
76597    builtin and then its argument prototype would still apply.  */
76598 char $ac_func ();
76599 /* The GNU C library defines this for functions which it implements
76600     to always fail with ENOSYS.  Some functions are actually named
76601     something starting with __ and the normal name is an alias.  */
76602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76603 choke me
76604 #else
76605 char (*f) () = $ac_func;
76606 #endif
76607 #ifdef __cplusplus
76608 }
76609 #endif
76610
76611 int
76612 main ()
76613 {
76614 return f != $ac_func;
76615   ;
76616   return 0;
76617 }
76618 _ACEOF
76619 rm -f conftest.$ac_objext conftest$ac_exeext
76620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76621   (eval $ac_link) 2>conftest.er1
76622   ac_status=$?
76623   grep -v '^ *+' conftest.er1 >conftest.err
76624   rm -f conftest.er1
76625   cat conftest.err >&5
76626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76627   (exit $ac_status); } &&
76628          { ac_try='test -z "$ac_c_werror_flag"
76629                          || test ! -s conftest.err'
76630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76631   (eval $ac_try) 2>&5
76632   ac_status=$?
76633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76634   (exit $ac_status); }; } &&
76635          { ac_try='test -s conftest$ac_exeext'
76636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76637   (eval $ac_try) 2>&5
76638   ac_status=$?
76639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76640   (exit $ac_status); }; }; then
76641   eval "$as_ac_var=yes"
76642 else
76643   echo "$as_me: failed program was:" >&5
76644 sed 's/^/| /' conftest.$ac_ext >&5
76645
76646 eval "$as_ac_var=no"
76647 fi
76648 rm -f conftest.err conftest.$ac_objext \
76649       conftest$ac_exeext conftest.$ac_ext
76650 fi
76651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76653 if test `eval echo '${'$as_ac_var'}'` = yes; then
76654   cat >>confdefs.h <<_ACEOF
76655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76656 _ACEOF
76657
76658 fi
76659 done
76660
76661     fi
76662   fi
76663
76664
76665
76666
76667
76668
76669   echo "$as_me:$LINENO: checking for expl declaration" >&5
76670 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
76671   if test x${glibcxx_cv_func_expl_use+set} != xset; then
76672     if test "${glibcxx_cv_func_expl_use+set}" = set; then
76673   echo $ECHO_N "(cached) $ECHO_C" >&6
76674 else
76675
76676
76677
76678       ac_ext=cc
76679 ac_cpp='$CXXCPP $CPPFLAGS'
76680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76683
76684       cat >conftest.$ac_ext <<_ACEOF
76685 /* confdefs.h.  */
76686 _ACEOF
76687 cat confdefs.h >>conftest.$ac_ext
76688 cat >>conftest.$ac_ext <<_ACEOF
76689 /* end confdefs.h.  */
76690 #include <math.h>
76691                       #ifdef HAVE_IEEEFP_H
76692                       #include <ieeefp.h>
76693                       #endif
76694
76695 int
76696 main ()
76697 {
76698  expl(0);
76699   ;
76700   return 0;
76701 }
76702 _ACEOF
76703 rm -f conftest.$ac_objext
76704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76705   (eval $ac_compile) 2>conftest.er1
76706   ac_status=$?
76707   grep -v '^ *+' conftest.er1 >conftest.err
76708   rm -f conftest.er1
76709   cat conftest.err >&5
76710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76711   (exit $ac_status); } &&
76712          { ac_try='test -z "$ac_cxx_werror_flag"
76713                          || test ! -s conftest.err'
76714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76715   (eval $ac_try) 2>&5
76716   ac_status=$?
76717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76718   (exit $ac_status); }; } &&
76719          { ac_try='test -s conftest.$ac_objext'
76720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76721   (eval $ac_try) 2>&5
76722   ac_status=$?
76723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76724   (exit $ac_status); }; }; then
76725   glibcxx_cv_func_expl_use=yes
76726 else
76727   echo "$as_me: failed program was:" >&5
76728 sed 's/^/| /' conftest.$ac_ext >&5
76729
76730 glibcxx_cv_func_expl_use=no
76731 fi
76732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76733       ac_ext=c
76734 ac_cpp='$CPP $CPPFLAGS'
76735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76738
76739
76740 fi
76741
76742   fi
76743   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
76744 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
76745
76746   if test x$glibcxx_cv_func_expl_use = x"yes"; then
76747
76748 for ac_func in expl
76749 do
76750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76751 echo "$as_me:$LINENO: checking for $ac_func" >&5
76752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76753 if eval "test \"\${$as_ac_var+set}\" = set"; then
76754   echo $ECHO_N "(cached) $ECHO_C" >&6
76755 else
76756   if test x$gcc_no_link = xyes; then
76757   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76759    { (exit 1); exit 1; }; }
76760 fi
76761 cat >conftest.$ac_ext <<_ACEOF
76762 /* confdefs.h.  */
76763 _ACEOF
76764 cat confdefs.h >>conftest.$ac_ext
76765 cat >>conftest.$ac_ext <<_ACEOF
76766 /* end confdefs.h.  */
76767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76768    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76769 #define $ac_func innocuous_$ac_func
76770
76771 /* System header to define __stub macros and hopefully few prototypes,
76772     which can conflict with char $ac_func (); below.
76773     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76774     <limits.h> exists even on freestanding compilers.  */
76775
76776 #ifdef __STDC__
76777 # include <limits.h>
76778 #else
76779 # include <assert.h>
76780 #endif
76781
76782 #undef $ac_func
76783
76784 /* Override any gcc2 internal prototype to avoid an error.  */
76785 #ifdef __cplusplus
76786 extern "C"
76787 {
76788 #endif
76789 /* We use char because int might match the return type of a gcc2
76790    builtin and then its argument prototype would still apply.  */
76791 char $ac_func ();
76792 /* The GNU C library defines this for functions which it implements
76793     to always fail with ENOSYS.  Some functions are actually named
76794     something starting with __ and the normal name is an alias.  */
76795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76796 choke me
76797 #else
76798 char (*f) () = $ac_func;
76799 #endif
76800 #ifdef __cplusplus
76801 }
76802 #endif
76803
76804 int
76805 main ()
76806 {
76807 return f != $ac_func;
76808   ;
76809   return 0;
76810 }
76811 _ACEOF
76812 rm -f conftest.$ac_objext conftest$ac_exeext
76813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76814   (eval $ac_link) 2>conftest.er1
76815   ac_status=$?
76816   grep -v '^ *+' conftest.er1 >conftest.err
76817   rm -f conftest.er1
76818   cat conftest.err >&5
76819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76820   (exit $ac_status); } &&
76821          { ac_try='test -z "$ac_c_werror_flag"
76822                          || test ! -s conftest.err'
76823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76824   (eval $ac_try) 2>&5
76825   ac_status=$?
76826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76827   (exit $ac_status); }; } &&
76828          { ac_try='test -s conftest$ac_exeext'
76829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76830   (eval $ac_try) 2>&5
76831   ac_status=$?
76832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76833   (exit $ac_status); }; }; then
76834   eval "$as_ac_var=yes"
76835 else
76836   echo "$as_me: failed program was:" >&5
76837 sed 's/^/| /' conftest.$ac_ext >&5
76838
76839 eval "$as_ac_var=no"
76840 fi
76841 rm -f conftest.err conftest.$ac_objext \
76842       conftest$ac_exeext conftest.$ac_ext
76843 fi
76844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76846 if test `eval echo '${'$as_ac_var'}'` = yes; then
76847   cat >>confdefs.h <<_ACEOF
76848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76849 _ACEOF
76850
76851 fi
76852 done
76853
76854   else
76855
76856   echo "$as_me:$LINENO: checking for _expl declaration" >&5
76857 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
76858   if test x${glibcxx_cv_func__expl_use+set} != xset; then
76859     if test "${glibcxx_cv_func__expl_use+set}" = set; then
76860   echo $ECHO_N "(cached) $ECHO_C" >&6
76861 else
76862
76863
76864
76865       ac_ext=cc
76866 ac_cpp='$CXXCPP $CPPFLAGS'
76867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76870
76871       cat >conftest.$ac_ext <<_ACEOF
76872 /* confdefs.h.  */
76873 _ACEOF
76874 cat confdefs.h >>conftest.$ac_ext
76875 cat >>conftest.$ac_ext <<_ACEOF
76876 /* end confdefs.h.  */
76877 #include <math.h>
76878                       #ifdef HAVE_IEEEFP_H
76879                       #include <ieeefp.h>
76880                       #endif
76881
76882 int
76883 main ()
76884 {
76885  _expl(0);
76886   ;
76887   return 0;
76888 }
76889 _ACEOF
76890 rm -f conftest.$ac_objext
76891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76892   (eval $ac_compile) 2>conftest.er1
76893   ac_status=$?
76894   grep -v '^ *+' conftest.er1 >conftest.err
76895   rm -f conftest.er1
76896   cat conftest.err >&5
76897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76898   (exit $ac_status); } &&
76899          { ac_try='test -z "$ac_cxx_werror_flag"
76900                          || test ! -s conftest.err'
76901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76902   (eval $ac_try) 2>&5
76903   ac_status=$?
76904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76905   (exit $ac_status); }; } &&
76906          { ac_try='test -s conftest.$ac_objext'
76907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76908   (eval $ac_try) 2>&5
76909   ac_status=$?
76910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76911   (exit $ac_status); }; }; then
76912   glibcxx_cv_func__expl_use=yes
76913 else
76914   echo "$as_me: failed program was:" >&5
76915 sed 's/^/| /' conftest.$ac_ext >&5
76916
76917 glibcxx_cv_func__expl_use=no
76918 fi
76919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76920       ac_ext=c
76921 ac_cpp='$CPP $CPPFLAGS'
76922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76925
76926
76927 fi
76928
76929   fi
76930   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
76931 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
76932
76933     if test x$glibcxx_cv_func__expl_use = x"yes"; then
76934
76935 for ac_func in _expl
76936 do
76937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76938 echo "$as_me:$LINENO: checking for $ac_func" >&5
76939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76940 if eval "test \"\${$as_ac_var+set}\" = set"; then
76941   echo $ECHO_N "(cached) $ECHO_C" >&6
76942 else
76943   if test x$gcc_no_link = xyes; then
76944   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76946    { (exit 1); exit 1; }; }
76947 fi
76948 cat >conftest.$ac_ext <<_ACEOF
76949 /* confdefs.h.  */
76950 _ACEOF
76951 cat confdefs.h >>conftest.$ac_ext
76952 cat >>conftest.$ac_ext <<_ACEOF
76953 /* end confdefs.h.  */
76954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76955    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76956 #define $ac_func innocuous_$ac_func
76957
76958 /* System header to define __stub macros and hopefully few prototypes,
76959     which can conflict with char $ac_func (); below.
76960     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76961     <limits.h> exists even on freestanding compilers.  */
76962
76963 #ifdef __STDC__
76964 # include <limits.h>
76965 #else
76966 # include <assert.h>
76967 #endif
76968
76969 #undef $ac_func
76970
76971 /* Override any gcc2 internal prototype to avoid an error.  */
76972 #ifdef __cplusplus
76973 extern "C"
76974 {
76975 #endif
76976 /* We use char because int might match the return type of a gcc2
76977    builtin and then its argument prototype would still apply.  */
76978 char $ac_func ();
76979 /* The GNU C library defines this for functions which it implements
76980     to always fail with ENOSYS.  Some functions are actually named
76981     something starting with __ and the normal name is an alias.  */
76982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76983 choke me
76984 #else
76985 char (*f) () = $ac_func;
76986 #endif
76987 #ifdef __cplusplus
76988 }
76989 #endif
76990
76991 int
76992 main ()
76993 {
76994 return f != $ac_func;
76995   ;
76996   return 0;
76997 }
76998 _ACEOF
76999 rm -f conftest.$ac_objext conftest$ac_exeext
77000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77001   (eval $ac_link) 2>conftest.er1
77002   ac_status=$?
77003   grep -v '^ *+' conftest.er1 >conftest.err
77004   rm -f conftest.er1
77005   cat conftest.err >&5
77006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77007   (exit $ac_status); } &&
77008          { ac_try='test -z "$ac_c_werror_flag"
77009                          || test ! -s conftest.err'
77010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77011   (eval $ac_try) 2>&5
77012   ac_status=$?
77013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77014   (exit $ac_status); }; } &&
77015          { ac_try='test -s conftest$ac_exeext'
77016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77017   (eval $ac_try) 2>&5
77018   ac_status=$?
77019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77020   (exit $ac_status); }; }; then
77021   eval "$as_ac_var=yes"
77022 else
77023   echo "$as_me: failed program was:" >&5
77024 sed 's/^/| /' conftest.$ac_ext >&5
77025
77026 eval "$as_ac_var=no"
77027 fi
77028 rm -f conftest.err conftest.$ac_objext \
77029       conftest$ac_exeext conftest.$ac_ext
77030 fi
77031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77033 if test `eval echo '${'$as_ac_var'}'` = yes; then
77034   cat >>confdefs.h <<_ACEOF
77035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77036 _ACEOF
77037
77038 fi
77039 done
77040
77041     fi
77042   fi
77043
77044
77045
77046
77047
77048
77049   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
77050 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
77051   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
77052     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
77053   echo $ECHO_N "(cached) $ECHO_C" >&6
77054 else
77055
77056
77057
77058       ac_ext=cc
77059 ac_cpp='$CXXCPP $CPPFLAGS'
77060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77063
77064       cat >conftest.$ac_ext <<_ACEOF
77065 /* confdefs.h.  */
77066 _ACEOF
77067 cat confdefs.h >>conftest.$ac_ext
77068 cat >>conftest.$ac_ext <<_ACEOF
77069 /* end confdefs.h.  */
77070 #include <math.h>
77071                       #ifdef HAVE_IEEEFP_H
77072                       #include <ieeefp.h>
77073                       #endif
77074
77075 int
77076 main ()
77077 {
77078  fabsl(0);
77079   ;
77080   return 0;
77081 }
77082 _ACEOF
77083 rm -f conftest.$ac_objext
77084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77085   (eval $ac_compile) 2>conftest.er1
77086   ac_status=$?
77087   grep -v '^ *+' conftest.er1 >conftest.err
77088   rm -f conftest.er1
77089   cat conftest.err >&5
77090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77091   (exit $ac_status); } &&
77092          { ac_try='test -z "$ac_cxx_werror_flag"
77093                          || test ! -s conftest.err'
77094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77095   (eval $ac_try) 2>&5
77096   ac_status=$?
77097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77098   (exit $ac_status); }; } &&
77099          { ac_try='test -s conftest.$ac_objext'
77100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77101   (eval $ac_try) 2>&5
77102   ac_status=$?
77103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77104   (exit $ac_status); }; }; then
77105   glibcxx_cv_func_fabsl_use=yes
77106 else
77107   echo "$as_me: failed program was:" >&5
77108 sed 's/^/| /' conftest.$ac_ext >&5
77109
77110 glibcxx_cv_func_fabsl_use=no
77111 fi
77112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77113       ac_ext=c
77114 ac_cpp='$CPP $CPPFLAGS'
77115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77118
77119
77120 fi
77121
77122   fi
77123   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
77124 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
77125
77126   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
77127
77128 for ac_func in fabsl
77129 do
77130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77131 echo "$as_me:$LINENO: checking for $ac_func" >&5
77132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77133 if eval "test \"\${$as_ac_var+set}\" = set"; then
77134   echo $ECHO_N "(cached) $ECHO_C" >&6
77135 else
77136   if test x$gcc_no_link = xyes; then
77137   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77139    { (exit 1); exit 1; }; }
77140 fi
77141 cat >conftest.$ac_ext <<_ACEOF
77142 /* confdefs.h.  */
77143 _ACEOF
77144 cat confdefs.h >>conftest.$ac_ext
77145 cat >>conftest.$ac_ext <<_ACEOF
77146 /* end confdefs.h.  */
77147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77148    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77149 #define $ac_func innocuous_$ac_func
77150
77151 /* System header to define __stub macros and hopefully few prototypes,
77152     which can conflict with char $ac_func (); below.
77153     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77154     <limits.h> exists even on freestanding compilers.  */
77155
77156 #ifdef __STDC__
77157 # include <limits.h>
77158 #else
77159 # include <assert.h>
77160 #endif
77161
77162 #undef $ac_func
77163
77164 /* Override any gcc2 internal prototype to avoid an error.  */
77165 #ifdef __cplusplus
77166 extern "C"
77167 {
77168 #endif
77169 /* We use char because int might match the return type of a gcc2
77170    builtin and then its argument prototype would still apply.  */
77171 char $ac_func ();
77172 /* The GNU C library defines this for functions which it implements
77173     to always fail with ENOSYS.  Some functions are actually named
77174     something starting with __ and the normal name is an alias.  */
77175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77176 choke me
77177 #else
77178 char (*f) () = $ac_func;
77179 #endif
77180 #ifdef __cplusplus
77181 }
77182 #endif
77183
77184 int
77185 main ()
77186 {
77187 return f != $ac_func;
77188   ;
77189   return 0;
77190 }
77191 _ACEOF
77192 rm -f conftest.$ac_objext conftest$ac_exeext
77193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77194   (eval $ac_link) 2>conftest.er1
77195   ac_status=$?
77196   grep -v '^ *+' conftest.er1 >conftest.err
77197   rm -f conftest.er1
77198   cat conftest.err >&5
77199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77200   (exit $ac_status); } &&
77201          { ac_try='test -z "$ac_c_werror_flag"
77202                          || test ! -s conftest.err'
77203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77204   (eval $ac_try) 2>&5
77205   ac_status=$?
77206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77207   (exit $ac_status); }; } &&
77208          { ac_try='test -s conftest$ac_exeext'
77209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77210   (eval $ac_try) 2>&5
77211   ac_status=$?
77212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77213   (exit $ac_status); }; }; then
77214   eval "$as_ac_var=yes"
77215 else
77216   echo "$as_me: failed program was:" >&5
77217 sed 's/^/| /' conftest.$ac_ext >&5
77218
77219 eval "$as_ac_var=no"
77220 fi
77221 rm -f conftest.err conftest.$ac_objext \
77222       conftest$ac_exeext conftest.$ac_ext
77223 fi
77224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77226 if test `eval echo '${'$as_ac_var'}'` = yes; then
77227   cat >>confdefs.h <<_ACEOF
77228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77229 _ACEOF
77230
77231 fi
77232 done
77233
77234   else
77235
77236   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
77237 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
77238   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
77239     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
77240   echo $ECHO_N "(cached) $ECHO_C" >&6
77241 else
77242
77243
77244
77245       ac_ext=cc
77246 ac_cpp='$CXXCPP $CPPFLAGS'
77247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77250
77251       cat >conftest.$ac_ext <<_ACEOF
77252 /* confdefs.h.  */
77253 _ACEOF
77254 cat confdefs.h >>conftest.$ac_ext
77255 cat >>conftest.$ac_ext <<_ACEOF
77256 /* end confdefs.h.  */
77257 #include <math.h>
77258                       #ifdef HAVE_IEEEFP_H
77259                       #include <ieeefp.h>
77260                       #endif
77261
77262 int
77263 main ()
77264 {
77265  _fabsl(0);
77266   ;
77267   return 0;
77268 }
77269 _ACEOF
77270 rm -f conftest.$ac_objext
77271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77272   (eval $ac_compile) 2>conftest.er1
77273   ac_status=$?
77274   grep -v '^ *+' conftest.er1 >conftest.err
77275   rm -f conftest.er1
77276   cat conftest.err >&5
77277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77278   (exit $ac_status); } &&
77279          { ac_try='test -z "$ac_cxx_werror_flag"
77280                          || test ! -s conftest.err'
77281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77282   (eval $ac_try) 2>&5
77283   ac_status=$?
77284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77285   (exit $ac_status); }; } &&
77286          { ac_try='test -s conftest.$ac_objext'
77287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77288   (eval $ac_try) 2>&5
77289   ac_status=$?
77290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77291   (exit $ac_status); }; }; then
77292   glibcxx_cv_func__fabsl_use=yes
77293 else
77294   echo "$as_me: failed program was:" >&5
77295 sed 's/^/| /' conftest.$ac_ext >&5
77296
77297 glibcxx_cv_func__fabsl_use=no
77298 fi
77299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77300       ac_ext=c
77301 ac_cpp='$CPP $CPPFLAGS'
77302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77305
77306
77307 fi
77308
77309   fi
77310   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
77311 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
77312
77313     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
77314
77315 for ac_func in _fabsl
77316 do
77317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77318 echo "$as_me:$LINENO: checking for $ac_func" >&5
77319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77320 if eval "test \"\${$as_ac_var+set}\" = set"; then
77321   echo $ECHO_N "(cached) $ECHO_C" >&6
77322 else
77323   if test x$gcc_no_link = xyes; then
77324   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77326    { (exit 1); exit 1; }; }
77327 fi
77328 cat >conftest.$ac_ext <<_ACEOF
77329 /* confdefs.h.  */
77330 _ACEOF
77331 cat confdefs.h >>conftest.$ac_ext
77332 cat >>conftest.$ac_ext <<_ACEOF
77333 /* end confdefs.h.  */
77334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77335    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77336 #define $ac_func innocuous_$ac_func
77337
77338 /* System header to define __stub macros and hopefully few prototypes,
77339     which can conflict with char $ac_func (); below.
77340     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77341     <limits.h> exists even on freestanding compilers.  */
77342
77343 #ifdef __STDC__
77344 # include <limits.h>
77345 #else
77346 # include <assert.h>
77347 #endif
77348
77349 #undef $ac_func
77350
77351 /* Override any gcc2 internal prototype to avoid an error.  */
77352 #ifdef __cplusplus
77353 extern "C"
77354 {
77355 #endif
77356 /* We use char because int might match the return type of a gcc2
77357    builtin and then its argument prototype would still apply.  */
77358 char $ac_func ();
77359 /* The GNU C library defines this for functions which it implements
77360     to always fail with ENOSYS.  Some functions are actually named
77361     something starting with __ and the normal name is an alias.  */
77362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77363 choke me
77364 #else
77365 char (*f) () = $ac_func;
77366 #endif
77367 #ifdef __cplusplus
77368 }
77369 #endif
77370
77371 int
77372 main ()
77373 {
77374 return f != $ac_func;
77375   ;
77376   return 0;
77377 }
77378 _ACEOF
77379 rm -f conftest.$ac_objext conftest$ac_exeext
77380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77381   (eval $ac_link) 2>conftest.er1
77382   ac_status=$?
77383   grep -v '^ *+' conftest.er1 >conftest.err
77384   rm -f conftest.er1
77385   cat conftest.err >&5
77386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77387   (exit $ac_status); } &&
77388          { ac_try='test -z "$ac_c_werror_flag"
77389                          || test ! -s conftest.err'
77390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77391   (eval $ac_try) 2>&5
77392   ac_status=$?
77393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77394   (exit $ac_status); }; } &&
77395          { ac_try='test -s conftest$ac_exeext'
77396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77397   (eval $ac_try) 2>&5
77398   ac_status=$?
77399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77400   (exit $ac_status); }; }; then
77401   eval "$as_ac_var=yes"
77402 else
77403   echo "$as_me: failed program was:" >&5
77404 sed 's/^/| /' conftest.$ac_ext >&5
77405
77406 eval "$as_ac_var=no"
77407 fi
77408 rm -f conftest.err conftest.$ac_objext \
77409       conftest$ac_exeext conftest.$ac_ext
77410 fi
77411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77413 if test `eval echo '${'$as_ac_var'}'` = yes; then
77414   cat >>confdefs.h <<_ACEOF
77415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77416 _ACEOF
77417
77418 fi
77419 done
77420
77421     fi
77422   fi
77423
77424
77425
77426
77427
77428
77429   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
77430 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
77431   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
77432     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
77433   echo $ECHO_N "(cached) $ECHO_C" >&6
77434 else
77435
77436
77437
77438       ac_ext=cc
77439 ac_cpp='$CXXCPP $CPPFLAGS'
77440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77443
77444       cat >conftest.$ac_ext <<_ACEOF
77445 /* confdefs.h.  */
77446 _ACEOF
77447 cat confdefs.h >>conftest.$ac_ext
77448 cat >>conftest.$ac_ext <<_ACEOF
77449 /* end confdefs.h.  */
77450 #include <math.h>
77451 int
77452 main ()
77453 {
77454  fmodl(0, 0);
77455   ;
77456   return 0;
77457 }
77458 _ACEOF
77459 rm -f conftest.$ac_objext
77460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77461   (eval $ac_compile) 2>conftest.er1
77462   ac_status=$?
77463   grep -v '^ *+' conftest.er1 >conftest.err
77464   rm -f conftest.er1
77465   cat conftest.err >&5
77466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77467   (exit $ac_status); } &&
77468          { ac_try='test -z "$ac_cxx_werror_flag"
77469                          || test ! -s conftest.err'
77470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77471   (eval $ac_try) 2>&5
77472   ac_status=$?
77473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77474   (exit $ac_status); }; } &&
77475          { ac_try='test -s conftest.$ac_objext'
77476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77477   (eval $ac_try) 2>&5
77478   ac_status=$?
77479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77480   (exit $ac_status); }; }; then
77481   glibcxx_cv_func_fmodl_use=yes
77482 else
77483   echo "$as_me: failed program was:" >&5
77484 sed 's/^/| /' conftest.$ac_ext >&5
77485
77486 glibcxx_cv_func_fmodl_use=no
77487 fi
77488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77489       ac_ext=c
77490 ac_cpp='$CPP $CPPFLAGS'
77491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77494
77495
77496 fi
77497
77498   fi
77499   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
77500 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
77501
77502   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
77503
77504 for ac_func in fmodl
77505 do
77506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77507 echo "$as_me:$LINENO: checking for $ac_func" >&5
77508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77509 if eval "test \"\${$as_ac_var+set}\" = set"; then
77510   echo $ECHO_N "(cached) $ECHO_C" >&6
77511 else
77512   if test x$gcc_no_link = xyes; then
77513   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77515    { (exit 1); exit 1; }; }
77516 fi
77517 cat >conftest.$ac_ext <<_ACEOF
77518 /* confdefs.h.  */
77519 _ACEOF
77520 cat confdefs.h >>conftest.$ac_ext
77521 cat >>conftest.$ac_ext <<_ACEOF
77522 /* end confdefs.h.  */
77523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77524    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77525 #define $ac_func innocuous_$ac_func
77526
77527 /* System header to define __stub macros and hopefully few prototypes,
77528     which can conflict with char $ac_func (); below.
77529     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77530     <limits.h> exists even on freestanding compilers.  */
77531
77532 #ifdef __STDC__
77533 # include <limits.h>
77534 #else
77535 # include <assert.h>
77536 #endif
77537
77538 #undef $ac_func
77539
77540 /* Override any gcc2 internal prototype to avoid an error.  */
77541 #ifdef __cplusplus
77542 extern "C"
77543 {
77544 #endif
77545 /* We use char because int might match the return type of a gcc2
77546    builtin and then its argument prototype would still apply.  */
77547 char $ac_func ();
77548 /* The GNU C library defines this for functions which it implements
77549     to always fail with ENOSYS.  Some functions are actually named
77550     something starting with __ and the normal name is an alias.  */
77551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77552 choke me
77553 #else
77554 char (*f) () = $ac_func;
77555 #endif
77556 #ifdef __cplusplus
77557 }
77558 #endif
77559
77560 int
77561 main ()
77562 {
77563 return f != $ac_func;
77564   ;
77565   return 0;
77566 }
77567 _ACEOF
77568 rm -f conftest.$ac_objext conftest$ac_exeext
77569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77570   (eval $ac_link) 2>conftest.er1
77571   ac_status=$?
77572   grep -v '^ *+' conftest.er1 >conftest.err
77573   rm -f conftest.er1
77574   cat conftest.err >&5
77575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77576   (exit $ac_status); } &&
77577          { ac_try='test -z "$ac_c_werror_flag"
77578                          || test ! -s conftest.err'
77579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77580   (eval $ac_try) 2>&5
77581   ac_status=$?
77582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77583   (exit $ac_status); }; } &&
77584          { ac_try='test -s conftest$ac_exeext'
77585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77586   (eval $ac_try) 2>&5
77587   ac_status=$?
77588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77589   (exit $ac_status); }; }; then
77590   eval "$as_ac_var=yes"
77591 else
77592   echo "$as_me: failed program was:" >&5
77593 sed 's/^/| /' conftest.$ac_ext >&5
77594
77595 eval "$as_ac_var=no"
77596 fi
77597 rm -f conftest.err conftest.$ac_objext \
77598       conftest$ac_exeext conftest.$ac_ext
77599 fi
77600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77602 if test `eval echo '${'$as_ac_var'}'` = yes; then
77603   cat >>confdefs.h <<_ACEOF
77604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77605 _ACEOF
77606
77607 fi
77608 done
77609
77610   else
77611
77612   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
77613 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
77614   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
77615     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
77616   echo $ECHO_N "(cached) $ECHO_C" >&6
77617 else
77618
77619
77620
77621       ac_ext=cc
77622 ac_cpp='$CXXCPP $CPPFLAGS'
77623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77626
77627       cat >conftest.$ac_ext <<_ACEOF
77628 /* confdefs.h.  */
77629 _ACEOF
77630 cat confdefs.h >>conftest.$ac_ext
77631 cat >>conftest.$ac_ext <<_ACEOF
77632 /* end confdefs.h.  */
77633 #include <math.h>
77634 int
77635 main ()
77636 {
77637  _fmodl(0, 0);
77638   ;
77639   return 0;
77640 }
77641 _ACEOF
77642 rm -f conftest.$ac_objext
77643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77644   (eval $ac_compile) 2>conftest.er1
77645   ac_status=$?
77646   grep -v '^ *+' conftest.er1 >conftest.err
77647   rm -f conftest.er1
77648   cat conftest.err >&5
77649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77650   (exit $ac_status); } &&
77651          { ac_try='test -z "$ac_cxx_werror_flag"
77652                          || test ! -s conftest.err'
77653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77654   (eval $ac_try) 2>&5
77655   ac_status=$?
77656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77657   (exit $ac_status); }; } &&
77658          { ac_try='test -s conftest.$ac_objext'
77659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77660   (eval $ac_try) 2>&5
77661   ac_status=$?
77662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77663   (exit $ac_status); }; }; then
77664   glibcxx_cv_func__fmodl_use=yes
77665 else
77666   echo "$as_me: failed program was:" >&5
77667 sed 's/^/| /' conftest.$ac_ext >&5
77668
77669 glibcxx_cv_func__fmodl_use=no
77670 fi
77671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77672       ac_ext=c
77673 ac_cpp='$CPP $CPPFLAGS'
77674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77677
77678
77679 fi
77680
77681   fi
77682   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
77683 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
77684
77685     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
77686
77687 for ac_func in _fmodl
77688 do
77689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77690 echo "$as_me:$LINENO: checking for $ac_func" >&5
77691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77692 if eval "test \"\${$as_ac_var+set}\" = set"; then
77693   echo $ECHO_N "(cached) $ECHO_C" >&6
77694 else
77695   if test x$gcc_no_link = xyes; then
77696   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77698    { (exit 1); exit 1; }; }
77699 fi
77700 cat >conftest.$ac_ext <<_ACEOF
77701 /* confdefs.h.  */
77702 _ACEOF
77703 cat confdefs.h >>conftest.$ac_ext
77704 cat >>conftest.$ac_ext <<_ACEOF
77705 /* end confdefs.h.  */
77706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77707    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77708 #define $ac_func innocuous_$ac_func
77709
77710 /* System header to define __stub macros and hopefully few prototypes,
77711     which can conflict with char $ac_func (); below.
77712     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77713     <limits.h> exists even on freestanding compilers.  */
77714
77715 #ifdef __STDC__
77716 # include <limits.h>
77717 #else
77718 # include <assert.h>
77719 #endif
77720
77721 #undef $ac_func
77722
77723 /* Override any gcc2 internal prototype to avoid an error.  */
77724 #ifdef __cplusplus
77725 extern "C"
77726 {
77727 #endif
77728 /* We use char because int might match the return type of a gcc2
77729    builtin and then its argument prototype would still apply.  */
77730 char $ac_func ();
77731 /* The GNU C library defines this for functions which it implements
77732     to always fail with ENOSYS.  Some functions are actually named
77733     something starting with __ and the normal name is an alias.  */
77734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77735 choke me
77736 #else
77737 char (*f) () = $ac_func;
77738 #endif
77739 #ifdef __cplusplus
77740 }
77741 #endif
77742
77743 int
77744 main ()
77745 {
77746 return f != $ac_func;
77747   ;
77748   return 0;
77749 }
77750 _ACEOF
77751 rm -f conftest.$ac_objext conftest$ac_exeext
77752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77753   (eval $ac_link) 2>conftest.er1
77754   ac_status=$?
77755   grep -v '^ *+' conftest.er1 >conftest.err
77756   rm -f conftest.er1
77757   cat conftest.err >&5
77758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77759   (exit $ac_status); } &&
77760          { ac_try='test -z "$ac_c_werror_flag"
77761                          || test ! -s conftest.err'
77762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77763   (eval $ac_try) 2>&5
77764   ac_status=$?
77765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77766   (exit $ac_status); }; } &&
77767          { ac_try='test -s conftest$ac_exeext'
77768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77769   (eval $ac_try) 2>&5
77770   ac_status=$?
77771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77772   (exit $ac_status); }; }; then
77773   eval "$as_ac_var=yes"
77774 else
77775   echo "$as_me: failed program was:" >&5
77776 sed 's/^/| /' conftest.$ac_ext >&5
77777
77778 eval "$as_ac_var=no"
77779 fi
77780 rm -f conftest.err conftest.$ac_objext \
77781       conftest$ac_exeext conftest.$ac_ext
77782 fi
77783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77785 if test `eval echo '${'$as_ac_var'}'` = yes; then
77786   cat >>confdefs.h <<_ACEOF
77787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77788 _ACEOF
77789
77790 fi
77791 done
77792
77793     fi
77794   fi
77795
77796
77797
77798
77799
77800
77801   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
77802 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
77803   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
77804     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
77805   echo $ECHO_N "(cached) $ECHO_C" >&6
77806 else
77807
77808
77809
77810       ac_ext=cc
77811 ac_cpp='$CXXCPP $CPPFLAGS'
77812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77815
77816       cat >conftest.$ac_ext <<_ACEOF
77817 /* confdefs.h.  */
77818 _ACEOF
77819 cat confdefs.h >>conftest.$ac_ext
77820 cat >>conftest.$ac_ext <<_ACEOF
77821 /* end confdefs.h.  */
77822 #include <math.h>
77823 int
77824 main ()
77825 {
77826  frexpl(0, 0);
77827   ;
77828   return 0;
77829 }
77830 _ACEOF
77831 rm -f conftest.$ac_objext
77832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77833   (eval $ac_compile) 2>conftest.er1
77834   ac_status=$?
77835   grep -v '^ *+' conftest.er1 >conftest.err
77836   rm -f conftest.er1
77837   cat conftest.err >&5
77838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77839   (exit $ac_status); } &&
77840          { ac_try='test -z "$ac_cxx_werror_flag"
77841                          || test ! -s conftest.err'
77842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77843   (eval $ac_try) 2>&5
77844   ac_status=$?
77845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77846   (exit $ac_status); }; } &&
77847          { ac_try='test -s conftest.$ac_objext'
77848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77849   (eval $ac_try) 2>&5
77850   ac_status=$?
77851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77852   (exit $ac_status); }; }; then
77853   glibcxx_cv_func_frexpl_use=yes
77854 else
77855   echo "$as_me: failed program was:" >&5
77856 sed 's/^/| /' conftest.$ac_ext >&5
77857
77858 glibcxx_cv_func_frexpl_use=no
77859 fi
77860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77861       ac_ext=c
77862 ac_cpp='$CPP $CPPFLAGS'
77863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77866
77867
77868 fi
77869
77870   fi
77871   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
77872 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
77873
77874   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
77875
77876 for ac_func in frexpl
77877 do
77878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77879 echo "$as_me:$LINENO: checking for $ac_func" >&5
77880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77881 if eval "test \"\${$as_ac_var+set}\" = set"; then
77882   echo $ECHO_N "(cached) $ECHO_C" >&6
77883 else
77884   if test x$gcc_no_link = xyes; then
77885   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77887    { (exit 1); exit 1; }; }
77888 fi
77889 cat >conftest.$ac_ext <<_ACEOF
77890 /* confdefs.h.  */
77891 _ACEOF
77892 cat confdefs.h >>conftest.$ac_ext
77893 cat >>conftest.$ac_ext <<_ACEOF
77894 /* end confdefs.h.  */
77895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77896    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77897 #define $ac_func innocuous_$ac_func
77898
77899 /* System header to define __stub macros and hopefully few prototypes,
77900     which can conflict with char $ac_func (); below.
77901     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77902     <limits.h> exists even on freestanding compilers.  */
77903
77904 #ifdef __STDC__
77905 # include <limits.h>
77906 #else
77907 # include <assert.h>
77908 #endif
77909
77910 #undef $ac_func
77911
77912 /* Override any gcc2 internal prototype to avoid an error.  */
77913 #ifdef __cplusplus
77914 extern "C"
77915 {
77916 #endif
77917 /* We use char because int might match the return type of a gcc2
77918    builtin and then its argument prototype would still apply.  */
77919 char $ac_func ();
77920 /* The GNU C library defines this for functions which it implements
77921     to always fail with ENOSYS.  Some functions are actually named
77922     something starting with __ and the normal name is an alias.  */
77923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77924 choke me
77925 #else
77926 char (*f) () = $ac_func;
77927 #endif
77928 #ifdef __cplusplus
77929 }
77930 #endif
77931
77932 int
77933 main ()
77934 {
77935 return f != $ac_func;
77936   ;
77937   return 0;
77938 }
77939 _ACEOF
77940 rm -f conftest.$ac_objext conftest$ac_exeext
77941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77942   (eval $ac_link) 2>conftest.er1
77943   ac_status=$?
77944   grep -v '^ *+' conftest.er1 >conftest.err
77945   rm -f conftest.er1
77946   cat conftest.err >&5
77947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77948   (exit $ac_status); } &&
77949          { ac_try='test -z "$ac_c_werror_flag"
77950                          || test ! -s conftest.err'
77951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77952   (eval $ac_try) 2>&5
77953   ac_status=$?
77954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77955   (exit $ac_status); }; } &&
77956          { ac_try='test -s conftest$ac_exeext'
77957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77958   (eval $ac_try) 2>&5
77959   ac_status=$?
77960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77961   (exit $ac_status); }; }; then
77962   eval "$as_ac_var=yes"
77963 else
77964   echo "$as_me: failed program was:" >&5
77965 sed 's/^/| /' conftest.$ac_ext >&5
77966
77967 eval "$as_ac_var=no"
77968 fi
77969 rm -f conftest.err conftest.$ac_objext \
77970       conftest$ac_exeext conftest.$ac_ext
77971 fi
77972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77974 if test `eval echo '${'$as_ac_var'}'` = yes; then
77975   cat >>confdefs.h <<_ACEOF
77976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77977 _ACEOF
77978
77979 fi
77980 done
77981
77982   else
77983
77984   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
77985 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
77986   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
77987     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
77988   echo $ECHO_N "(cached) $ECHO_C" >&6
77989 else
77990
77991
77992
77993       ac_ext=cc
77994 ac_cpp='$CXXCPP $CPPFLAGS'
77995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77998
77999       cat >conftest.$ac_ext <<_ACEOF
78000 /* confdefs.h.  */
78001 _ACEOF
78002 cat confdefs.h >>conftest.$ac_ext
78003 cat >>conftest.$ac_ext <<_ACEOF
78004 /* end confdefs.h.  */
78005 #include <math.h>
78006 int
78007 main ()
78008 {
78009  _frexpl(0, 0);
78010   ;
78011   return 0;
78012 }
78013 _ACEOF
78014 rm -f conftest.$ac_objext
78015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78016   (eval $ac_compile) 2>conftest.er1
78017   ac_status=$?
78018   grep -v '^ *+' conftest.er1 >conftest.err
78019   rm -f conftest.er1
78020   cat conftest.err >&5
78021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78022   (exit $ac_status); } &&
78023          { ac_try='test -z "$ac_cxx_werror_flag"
78024                          || test ! -s conftest.err'
78025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78026   (eval $ac_try) 2>&5
78027   ac_status=$?
78028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78029   (exit $ac_status); }; } &&
78030          { ac_try='test -s conftest.$ac_objext'
78031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78032   (eval $ac_try) 2>&5
78033   ac_status=$?
78034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78035   (exit $ac_status); }; }; then
78036   glibcxx_cv_func__frexpl_use=yes
78037 else
78038   echo "$as_me: failed program was:" >&5
78039 sed 's/^/| /' conftest.$ac_ext >&5
78040
78041 glibcxx_cv_func__frexpl_use=no
78042 fi
78043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78044       ac_ext=c
78045 ac_cpp='$CPP $CPPFLAGS'
78046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78049
78050
78051 fi
78052
78053   fi
78054   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
78055 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
78056
78057     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
78058
78059 for ac_func in _frexpl
78060 do
78061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78062 echo "$as_me:$LINENO: checking for $ac_func" >&5
78063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78064 if eval "test \"\${$as_ac_var+set}\" = set"; then
78065   echo $ECHO_N "(cached) $ECHO_C" >&6
78066 else
78067   if test x$gcc_no_link = xyes; then
78068   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78070    { (exit 1); exit 1; }; }
78071 fi
78072 cat >conftest.$ac_ext <<_ACEOF
78073 /* confdefs.h.  */
78074 _ACEOF
78075 cat confdefs.h >>conftest.$ac_ext
78076 cat >>conftest.$ac_ext <<_ACEOF
78077 /* end confdefs.h.  */
78078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78079    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78080 #define $ac_func innocuous_$ac_func
78081
78082 /* System header to define __stub macros and hopefully few prototypes,
78083     which can conflict with char $ac_func (); below.
78084     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78085     <limits.h> exists even on freestanding compilers.  */
78086
78087 #ifdef __STDC__
78088 # include <limits.h>
78089 #else
78090 # include <assert.h>
78091 #endif
78092
78093 #undef $ac_func
78094
78095 /* Override any gcc2 internal prototype to avoid an error.  */
78096 #ifdef __cplusplus
78097 extern "C"
78098 {
78099 #endif
78100 /* We use char because int might match the return type of a gcc2
78101    builtin and then its argument prototype would still apply.  */
78102 char $ac_func ();
78103 /* The GNU C library defines this for functions which it implements
78104     to always fail with ENOSYS.  Some functions are actually named
78105     something starting with __ and the normal name is an alias.  */
78106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78107 choke me
78108 #else
78109 char (*f) () = $ac_func;
78110 #endif
78111 #ifdef __cplusplus
78112 }
78113 #endif
78114
78115 int
78116 main ()
78117 {
78118 return f != $ac_func;
78119   ;
78120   return 0;
78121 }
78122 _ACEOF
78123 rm -f conftest.$ac_objext conftest$ac_exeext
78124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78125   (eval $ac_link) 2>conftest.er1
78126   ac_status=$?
78127   grep -v '^ *+' conftest.er1 >conftest.err
78128   rm -f conftest.er1
78129   cat conftest.err >&5
78130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78131   (exit $ac_status); } &&
78132          { ac_try='test -z "$ac_c_werror_flag"
78133                          || test ! -s conftest.err'
78134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78135   (eval $ac_try) 2>&5
78136   ac_status=$?
78137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78138   (exit $ac_status); }; } &&
78139          { ac_try='test -s conftest$ac_exeext'
78140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78141   (eval $ac_try) 2>&5
78142   ac_status=$?
78143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78144   (exit $ac_status); }; }; then
78145   eval "$as_ac_var=yes"
78146 else
78147   echo "$as_me: failed program was:" >&5
78148 sed 's/^/| /' conftest.$ac_ext >&5
78149
78150 eval "$as_ac_var=no"
78151 fi
78152 rm -f conftest.err conftest.$ac_objext \
78153       conftest$ac_exeext conftest.$ac_ext
78154 fi
78155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78157 if test `eval echo '${'$as_ac_var'}'` = yes; then
78158   cat >>confdefs.h <<_ACEOF
78159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78160 _ACEOF
78161
78162 fi
78163 done
78164
78165     fi
78166   fi
78167
78168
78169
78170
78171
78172
78173   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
78174 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
78175   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
78176     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
78177   echo $ECHO_N "(cached) $ECHO_C" >&6
78178 else
78179
78180
78181
78182       ac_ext=cc
78183 ac_cpp='$CXXCPP $CPPFLAGS'
78184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78187
78188       cat >conftest.$ac_ext <<_ACEOF
78189 /* confdefs.h.  */
78190 _ACEOF
78191 cat confdefs.h >>conftest.$ac_ext
78192 cat >>conftest.$ac_ext <<_ACEOF
78193 /* end confdefs.h.  */
78194 #include <math.h>
78195 int
78196 main ()
78197 {
78198  hypotl(0, 0);
78199   ;
78200   return 0;
78201 }
78202 _ACEOF
78203 rm -f conftest.$ac_objext
78204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78205   (eval $ac_compile) 2>conftest.er1
78206   ac_status=$?
78207   grep -v '^ *+' conftest.er1 >conftest.err
78208   rm -f conftest.er1
78209   cat conftest.err >&5
78210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78211   (exit $ac_status); } &&
78212          { ac_try='test -z "$ac_cxx_werror_flag"
78213                          || test ! -s conftest.err'
78214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78215   (eval $ac_try) 2>&5
78216   ac_status=$?
78217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78218   (exit $ac_status); }; } &&
78219          { ac_try='test -s conftest.$ac_objext'
78220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78221   (eval $ac_try) 2>&5
78222   ac_status=$?
78223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78224   (exit $ac_status); }; }; then
78225   glibcxx_cv_func_hypotl_use=yes
78226 else
78227   echo "$as_me: failed program was:" >&5
78228 sed 's/^/| /' conftest.$ac_ext >&5
78229
78230 glibcxx_cv_func_hypotl_use=no
78231 fi
78232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78233       ac_ext=c
78234 ac_cpp='$CPP $CPPFLAGS'
78235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78238
78239
78240 fi
78241
78242   fi
78243   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
78244 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
78245
78246   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
78247
78248 for ac_func in hypotl
78249 do
78250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78251 echo "$as_me:$LINENO: checking for $ac_func" >&5
78252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78253 if eval "test \"\${$as_ac_var+set}\" = set"; then
78254   echo $ECHO_N "(cached) $ECHO_C" >&6
78255 else
78256   if test x$gcc_no_link = xyes; then
78257   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78259    { (exit 1); exit 1; }; }
78260 fi
78261 cat >conftest.$ac_ext <<_ACEOF
78262 /* confdefs.h.  */
78263 _ACEOF
78264 cat confdefs.h >>conftest.$ac_ext
78265 cat >>conftest.$ac_ext <<_ACEOF
78266 /* end confdefs.h.  */
78267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78268    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78269 #define $ac_func innocuous_$ac_func
78270
78271 /* System header to define __stub macros and hopefully few prototypes,
78272     which can conflict with char $ac_func (); below.
78273     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78274     <limits.h> exists even on freestanding compilers.  */
78275
78276 #ifdef __STDC__
78277 # include <limits.h>
78278 #else
78279 # include <assert.h>
78280 #endif
78281
78282 #undef $ac_func
78283
78284 /* Override any gcc2 internal prototype to avoid an error.  */
78285 #ifdef __cplusplus
78286 extern "C"
78287 {
78288 #endif
78289 /* We use char because int might match the return type of a gcc2
78290    builtin and then its argument prototype would still apply.  */
78291 char $ac_func ();
78292 /* The GNU C library defines this for functions which it implements
78293     to always fail with ENOSYS.  Some functions are actually named
78294     something starting with __ and the normal name is an alias.  */
78295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78296 choke me
78297 #else
78298 char (*f) () = $ac_func;
78299 #endif
78300 #ifdef __cplusplus
78301 }
78302 #endif
78303
78304 int
78305 main ()
78306 {
78307 return f != $ac_func;
78308   ;
78309   return 0;
78310 }
78311 _ACEOF
78312 rm -f conftest.$ac_objext conftest$ac_exeext
78313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78314   (eval $ac_link) 2>conftest.er1
78315   ac_status=$?
78316   grep -v '^ *+' conftest.er1 >conftest.err
78317   rm -f conftest.er1
78318   cat conftest.err >&5
78319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78320   (exit $ac_status); } &&
78321          { ac_try='test -z "$ac_c_werror_flag"
78322                          || test ! -s conftest.err'
78323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78324   (eval $ac_try) 2>&5
78325   ac_status=$?
78326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78327   (exit $ac_status); }; } &&
78328          { ac_try='test -s conftest$ac_exeext'
78329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78330   (eval $ac_try) 2>&5
78331   ac_status=$?
78332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78333   (exit $ac_status); }; }; then
78334   eval "$as_ac_var=yes"
78335 else
78336   echo "$as_me: failed program was:" >&5
78337 sed 's/^/| /' conftest.$ac_ext >&5
78338
78339 eval "$as_ac_var=no"
78340 fi
78341 rm -f conftest.err conftest.$ac_objext \
78342       conftest$ac_exeext conftest.$ac_ext
78343 fi
78344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78346 if test `eval echo '${'$as_ac_var'}'` = yes; then
78347   cat >>confdefs.h <<_ACEOF
78348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78349 _ACEOF
78350
78351 fi
78352 done
78353
78354   else
78355
78356   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
78357 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
78358   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
78359     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
78360   echo $ECHO_N "(cached) $ECHO_C" >&6
78361 else
78362
78363
78364
78365       ac_ext=cc
78366 ac_cpp='$CXXCPP $CPPFLAGS'
78367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78370
78371       cat >conftest.$ac_ext <<_ACEOF
78372 /* confdefs.h.  */
78373 _ACEOF
78374 cat confdefs.h >>conftest.$ac_ext
78375 cat >>conftest.$ac_ext <<_ACEOF
78376 /* end confdefs.h.  */
78377 #include <math.h>
78378 int
78379 main ()
78380 {
78381  _hypotl(0, 0);
78382   ;
78383   return 0;
78384 }
78385 _ACEOF
78386 rm -f conftest.$ac_objext
78387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78388   (eval $ac_compile) 2>conftest.er1
78389   ac_status=$?
78390   grep -v '^ *+' conftest.er1 >conftest.err
78391   rm -f conftest.er1
78392   cat conftest.err >&5
78393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78394   (exit $ac_status); } &&
78395          { ac_try='test -z "$ac_cxx_werror_flag"
78396                          || test ! -s conftest.err'
78397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78398   (eval $ac_try) 2>&5
78399   ac_status=$?
78400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78401   (exit $ac_status); }; } &&
78402          { ac_try='test -s conftest.$ac_objext'
78403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78404   (eval $ac_try) 2>&5
78405   ac_status=$?
78406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78407   (exit $ac_status); }; }; then
78408   glibcxx_cv_func__hypotl_use=yes
78409 else
78410   echo "$as_me: failed program was:" >&5
78411 sed 's/^/| /' conftest.$ac_ext >&5
78412
78413 glibcxx_cv_func__hypotl_use=no
78414 fi
78415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78416       ac_ext=c
78417 ac_cpp='$CPP $CPPFLAGS'
78418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78421
78422
78423 fi
78424
78425   fi
78426   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
78427 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
78428
78429     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
78430
78431 for ac_func in _hypotl
78432 do
78433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78434 echo "$as_me:$LINENO: checking for $ac_func" >&5
78435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78436 if eval "test \"\${$as_ac_var+set}\" = set"; then
78437   echo $ECHO_N "(cached) $ECHO_C" >&6
78438 else
78439   if test x$gcc_no_link = xyes; then
78440   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78442    { (exit 1); exit 1; }; }
78443 fi
78444 cat >conftest.$ac_ext <<_ACEOF
78445 /* confdefs.h.  */
78446 _ACEOF
78447 cat confdefs.h >>conftest.$ac_ext
78448 cat >>conftest.$ac_ext <<_ACEOF
78449 /* end confdefs.h.  */
78450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78451    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78452 #define $ac_func innocuous_$ac_func
78453
78454 /* System header to define __stub macros and hopefully few prototypes,
78455     which can conflict with char $ac_func (); below.
78456     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78457     <limits.h> exists even on freestanding compilers.  */
78458
78459 #ifdef __STDC__
78460 # include <limits.h>
78461 #else
78462 # include <assert.h>
78463 #endif
78464
78465 #undef $ac_func
78466
78467 /* Override any gcc2 internal prototype to avoid an error.  */
78468 #ifdef __cplusplus
78469 extern "C"
78470 {
78471 #endif
78472 /* We use char because int might match the return type of a gcc2
78473    builtin and then its argument prototype would still apply.  */
78474 char $ac_func ();
78475 /* The GNU C library defines this for functions which it implements
78476     to always fail with ENOSYS.  Some functions are actually named
78477     something starting with __ and the normal name is an alias.  */
78478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78479 choke me
78480 #else
78481 char (*f) () = $ac_func;
78482 #endif
78483 #ifdef __cplusplus
78484 }
78485 #endif
78486
78487 int
78488 main ()
78489 {
78490 return f != $ac_func;
78491   ;
78492   return 0;
78493 }
78494 _ACEOF
78495 rm -f conftest.$ac_objext conftest$ac_exeext
78496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78497   (eval $ac_link) 2>conftest.er1
78498   ac_status=$?
78499   grep -v '^ *+' conftest.er1 >conftest.err
78500   rm -f conftest.er1
78501   cat conftest.err >&5
78502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78503   (exit $ac_status); } &&
78504          { ac_try='test -z "$ac_c_werror_flag"
78505                          || test ! -s conftest.err'
78506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78507   (eval $ac_try) 2>&5
78508   ac_status=$?
78509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78510   (exit $ac_status); }; } &&
78511          { ac_try='test -s conftest$ac_exeext'
78512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78513   (eval $ac_try) 2>&5
78514   ac_status=$?
78515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78516   (exit $ac_status); }; }; then
78517   eval "$as_ac_var=yes"
78518 else
78519   echo "$as_me: failed program was:" >&5
78520 sed 's/^/| /' conftest.$ac_ext >&5
78521
78522 eval "$as_ac_var=no"
78523 fi
78524 rm -f conftest.err conftest.$ac_objext \
78525       conftest$ac_exeext conftest.$ac_ext
78526 fi
78527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78529 if test `eval echo '${'$as_ac_var'}'` = yes; then
78530   cat >>confdefs.h <<_ACEOF
78531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78532 _ACEOF
78533
78534 fi
78535 done
78536
78537     fi
78538   fi
78539
78540
78541
78542
78543
78544
78545   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
78546 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
78547   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
78548     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
78549   echo $ECHO_N "(cached) $ECHO_C" >&6
78550 else
78551
78552
78553
78554       ac_ext=cc
78555 ac_cpp='$CXXCPP $CPPFLAGS'
78556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78559
78560       cat >conftest.$ac_ext <<_ACEOF
78561 /* confdefs.h.  */
78562 _ACEOF
78563 cat confdefs.h >>conftest.$ac_ext
78564 cat >>conftest.$ac_ext <<_ACEOF
78565 /* end confdefs.h.  */
78566 #include <math.h>
78567 int
78568 main ()
78569 {
78570  ldexpl(0, 0);
78571   ;
78572   return 0;
78573 }
78574 _ACEOF
78575 rm -f conftest.$ac_objext
78576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78577   (eval $ac_compile) 2>conftest.er1
78578   ac_status=$?
78579   grep -v '^ *+' conftest.er1 >conftest.err
78580   rm -f conftest.er1
78581   cat conftest.err >&5
78582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78583   (exit $ac_status); } &&
78584          { ac_try='test -z "$ac_cxx_werror_flag"
78585                          || test ! -s conftest.err'
78586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78587   (eval $ac_try) 2>&5
78588   ac_status=$?
78589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78590   (exit $ac_status); }; } &&
78591          { ac_try='test -s conftest.$ac_objext'
78592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78593   (eval $ac_try) 2>&5
78594   ac_status=$?
78595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78596   (exit $ac_status); }; }; then
78597   glibcxx_cv_func_ldexpl_use=yes
78598 else
78599   echo "$as_me: failed program was:" >&5
78600 sed 's/^/| /' conftest.$ac_ext >&5
78601
78602 glibcxx_cv_func_ldexpl_use=no
78603 fi
78604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78605       ac_ext=c
78606 ac_cpp='$CPP $CPPFLAGS'
78607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78610
78611
78612 fi
78613
78614   fi
78615   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
78616 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
78617
78618   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
78619
78620 for ac_func in ldexpl
78621 do
78622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78623 echo "$as_me:$LINENO: checking for $ac_func" >&5
78624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78625 if eval "test \"\${$as_ac_var+set}\" = set"; then
78626   echo $ECHO_N "(cached) $ECHO_C" >&6
78627 else
78628   if test x$gcc_no_link = xyes; then
78629   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78631    { (exit 1); exit 1; }; }
78632 fi
78633 cat >conftest.$ac_ext <<_ACEOF
78634 /* confdefs.h.  */
78635 _ACEOF
78636 cat confdefs.h >>conftest.$ac_ext
78637 cat >>conftest.$ac_ext <<_ACEOF
78638 /* end confdefs.h.  */
78639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78640    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78641 #define $ac_func innocuous_$ac_func
78642
78643 /* System header to define __stub macros and hopefully few prototypes,
78644     which can conflict with char $ac_func (); below.
78645     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78646     <limits.h> exists even on freestanding compilers.  */
78647
78648 #ifdef __STDC__
78649 # include <limits.h>
78650 #else
78651 # include <assert.h>
78652 #endif
78653
78654 #undef $ac_func
78655
78656 /* Override any gcc2 internal prototype to avoid an error.  */
78657 #ifdef __cplusplus
78658 extern "C"
78659 {
78660 #endif
78661 /* We use char because int might match the return type of a gcc2
78662    builtin and then its argument prototype would still apply.  */
78663 char $ac_func ();
78664 /* The GNU C library defines this for functions which it implements
78665     to always fail with ENOSYS.  Some functions are actually named
78666     something starting with __ and the normal name is an alias.  */
78667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78668 choke me
78669 #else
78670 char (*f) () = $ac_func;
78671 #endif
78672 #ifdef __cplusplus
78673 }
78674 #endif
78675
78676 int
78677 main ()
78678 {
78679 return f != $ac_func;
78680   ;
78681   return 0;
78682 }
78683 _ACEOF
78684 rm -f conftest.$ac_objext conftest$ac_exeext
78685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78686   (eval $ac_link) 2>conftest.er1
78687   ac_status=$?
78688   grep -v '^ *+' conftest.er1 >conftest.err
78689   rm -f conftest.er1
78690   cat conftest.err >&5
78691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78692   (exit $ac_status); } &&
78693          { ac_try='test -z "$ac_c_werror_flag"
78694                          || test ! -s conftest.err'
78695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78696   (eval $ac_try) 2>&5
78697   ac_status=$?
78698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78699   (exit $ac_status); }; } &&
78700          { ac_try='test -s conftest$ac_exeext'
78701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78702   (eval $ac_try) 2>&5
78703   ac_status=$?
78704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78705   (exit $ac_status); }; }; then
78706   eval "$as_ac_var=yes"
78707 else
78708   echo "$as_me: failed program was:" >&5
78709 sed 's/^/| /' conftest.$ac_ext >&5
78710
78711 eval "$as_ac_var=no"
78712 fi
78713 rm -f conftest.err conftest.$ac_objext \
78714       conftest$ac_exeext conftest.$ac_ext
78715 fi
78716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78718 if test `eval echo '${'$as_ac_var'}'` = yes; then
78719   cat >>confdefs.h <<_ACEOF
78720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78721 _ACEOF
78722
78723 fi
78724 done
78725
78726   else
78727
78728   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
78729 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
78730   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
78731     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
78732   echo $ECHO_N "(cached) $ECHO_C" >&6
78733 else
78734
78735
78736
78737       ac_ext=cc
78738 ac_cpp='$CXXCPP $CPPFLAGS'
78739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78742
78743       cat >conftest.$ac_ext <<_ACEOF
78744 /* confdefs.h.  */
78745 _ACEOF
78746 cat confdefs.h >>conftest.$ac_ext
78747 cat >>conftest.$ac_ext <<_ACEOF
78748 /* end confdefs.h.  */
78749 #include <math.h>
78750 int
78751 main ()
78752 {
78753  _ldexpl(0, 0);
78754   ;
78755   return 0;
78756 }
78757 _ACEOF
78758 rm -f conftest.$ac_objext
78759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78760   (eval $ac_compile) 2>conftest.er1
78761   ac_status=$?
78762   grep -v '^ *+' conftest.er1 >conftest.err
78763   rm -f conftest.er1
78764   cat conftest.err >&5
78765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78766   (exit $ac_status); } &&
78767          { ac_try='test -z "$ac_cxx_werror_flag"
78768                          || test ! -s conftest.err'
78769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78770   (eval $ac_try) 2>&5
78771   ac_status=$?
78772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78773   (exit $ac_status); }; } &&
78774          { ac_try='test -s conftest.$ac_objext'
78775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78776   (eval $ac_try) 2>&5
78777   ac_status=$?
78778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78779   (exit $ac_status); }; }; then
78780   glibcxx_cv_func__ldexpl_use=yes
78781 else
78782   echo "$as_me: failed program was:" >&5
78783 sed 's/^/| /' conftest.$ac_ext >&5
78784
78785 glibcxx_cv_func__ldexpl_use=no
78786 fi
78787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78788       ac_ext=c
78789 ac_cpp='$CPP $CPPFLAGS'
78790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78793
78794
78795 fi
78796
78797   fi
78798   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
78799 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
78800
78801     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
78802
78803 for ac_func in _ldexpl
78804 do
78805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78806 echo "$as_me:$LINENO: checking for $ac_func" >&5
78807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78808 if eval "test \"\${$as_ac_var+set}\" = set"; then
78809   echo $ECHO_N "(cached) $ECHO_C" >&6
78810 else
78811   if test x$gcc_no_link = xyes; then
78812   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78814    { (exit 1); exit 1; }; }
78815 fi
78816 cat >conftest.$ac_ext <<_ACEOF
78817 /* confdefs.h.  */
78818 _ACEOF
78819 cat confdefs.h >>conftest.$ac_ext
78820 cat >>conftest.$ac_ext <<_ACEOF
78821 /* end confdefs.h.  */
78822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78823    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78824 #define $ac_func innocuous_$ac_func
78825
78826 /* System header to define __stub macros and hopefully few prototypes,
78827     which can conflict with char $ac_func (); below.
78828     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78829     <limits.h> exists even on freestanding compilers.  */
78830
78831 #ifdef __STDC__
78832 # include <limits.h>
78833 #else
78834 # include <assert.h>
78835 #endif
78836
78837 #undef $ac_func
78838
78839 /* Override any gcc2 internal prototype to avoid an error.  */
78840 #ifdef __cplusplus
78841 extern "C"
78842 {
78843 #endif
78844 /* We use char because int might match the return type of a gcc2
78845    builtin and then its argument prototype would still apply.  */
78846 char $ac_func ();
78847 /* The GNU C library defines this for functions which it implements
78848     to always fail with ENOSYS.  Some functions are actually named
78849     something starting with __ and the normal name is an alias.  */
78850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78851 choke me
78852 #else
78853 char (*f) () = $ac_func;
78854 #endif
78855 #ifdef __cplusplus
78856 }
78857 #endif
78858
78859 int
78860 main ()
78861 {
78862 return f != $ac_func;
78863   ;
78864   return 0;
78865 }
78866 _ACEOF
78867 rm -f conftest.$ac_objext conftest$ac_exeext
78868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78869   (eval $ac_link) 2>conftest.er1
78870   ac_status=$?
78871   grep -v '^ *+' conftest.er1 >conftest.err
78872   rm -f conftest.er1
78873   cat conftest.err >&5
78874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78875   (exit $ac_status); } &&
78876          { ac_try='test -z "$ac_c_werror_flag"
78877                          || test ! -s conftest.err'
78878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78879   (eval $ac_try) 2>&5
78880   ac_status=$?
78881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78882   (exit $ac_status); }; } &&
78883          { ac_try='test -s conftest$ac_exeext'
78884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78885   (eval $ac_try) 2>&5
78886   ac_status=$?
78887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78888   (exit $ac_status); }; }; then
78889   eval "$as_ac_var=yes"
78890 else
78891   echo "$as_me: failed program was:" >&5
78892 sed 's/^/| /' conftest.$ac_ext >&5
78893
78894 eval "$as_ac_var=no"
78895 fi
78896 rm -f conftest.err conftest.$ac_objext \
78897       conftest$ac_exeext conftest.$ac_ext
78898 fi
78899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78901 if test `eval echo '${'$as_ac_var'}'` = yes; then
78902   cat >>confdefs.h <<_ACEOF
78903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78904 _ACEOF
78905
78906 fi
78907 done
78908
78909     fi
78910   fi
78911
78912
78913
78914
78915
78916
78917   echo "$as_me:$LINENO: checking for logl declaration" >&5
78918 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
78919   if test x${glibcxx_cv_func_logl_use+set} != xset; then
78920     if test "${glibcxx_cv_func_logl_use+set}" = set; then
78921   echo $ECHO_N "(cached) $ECHO_C" >&6
78922 else
78923
78924
78925
78926       ac_ext=cc
78927 ac_cpp='$CXXCPP $CPPFLAGS'
78928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78931
78932       cat >conftest.$ac_ext <<_ACEOF
78933 /* confdefs.h.  */
78934 _ACEOF
78935 cat confdefs.h >>conftest.$ac_ext
78936 cat >>conftest.$ac_ext <<_ACEOF
78937 /* end confdefs.h.  */
78938 #include <math.h>
78939                       #ifdef HAVE_IEEEFP_H
78940                       #include <ieeefp.h>
78941                       #endif
78942
78943 int
78944 main ()
78945 {
78946  logl(0);
78947   ;
78948   return 0;
78949 }
78950 _ACEOF
78951 rm -f conftest.$ac_objext
78952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78953   (eval $ac_compile) 2>conftest.er1
78954   ac_status=$?
78955   grep -v '^ *+' conftest.er1 >conftest.err
78956   rm -f conftest.er1
78957   cat conftest.err >&5
78958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78959   (exit $ac_status); } &&
78960          { ac_try='test -z "$ac_cxx_werror_flag"
78961                          || test ! -s conftest.err'
78962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78963   (eval $ac_try) 2>&5
78964   ac_status=$?
78965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78966   (exit $ac_status); }; } &&
78967          { ac_try='test -s conftest.$ac_objext'
78968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78969   (eval $ac_try) 2>&5
78970   ac_status=$?
78971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78972   (exit $ac_status); }; }; then
78973   glibcxx_cv_func_logl_use=yes
78974 else
78975   echo "$as_me: failed program was:" >&5
78976 sed 's/^/| /' conftest.$ac_ext >&5
78977
78978 glibcxx_cv_func_logl_use=no
78979 fi
78980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78981       ac_ext=c
78982 ac_cpp='$CPP $CPPFLAGS'
78983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78986
78987
78988 fi
78989
78990   fi
78991   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
78992 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
78993
78994   if test x$glibcxx_cv_func_logl_use = x"yes"; then
78995
78996 for ac_func in logl
78997 do
78998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78999 echo "$as_me:$LINENO: checking for $ac_func" >&5
79000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79001 if eval "test \"\${$as_ac_var+set}\" = set"; then
79002   echo $ECHO_N "(cached) $ECHO_C" >&6
79003 else
79004   if test x$gcc_no_link = xyes; then
79005   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79007    { (exit 1); exit 1; }; }
79008 fi
79009 cat >conftest.$ac_ext <<_ACEOF
79010 /* confdefs.h.  */
79011 _ACEOF
79012 cat confdefs.h >>conftest.$ac_ext
79013 cat >>conftest.$ac_ext <<_ACEOF
79014 /* end confdefs.h.  */
79015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79016    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79017 #define $ac_func innocuous_$ac_func
79018
79019 /* System header to define __stub macros and hopefully few prototypes,
79020     which can conflict with char $ac_func (); below.
79021     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79022     <limits.h> exists even on freestanding compilers.  */
79023
79024 #ifdef __STDC__
79025 # include <limits.h>
79026 #else
79027 # include <assert.h>
79028 #endif
79029
79030 #undef $ac_func
79031
79032 /* Override any gcc2 internal prototype to avoid an error.  */
79033 #ifdef __cplusplus
79034 extern "C"
79035 {
79036 #endif
79037 /* We use char because int might match the return type of a gcc2
79038    builtin and then its argument prototype would still apply.  */
79039 char $ac_func ();
79040 /* The GNU C library defines this for functions which it implements
79041     to always fail with ENOSYS.  Some functions are actually named
79042     something starting with __ and the normal name is an alias.  */
79043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79044 choke me
79045 #else
79046 char (*f) () = $ac_func;
79047 #endif
79048 #ifdef __cplusplus
79049 }
79050 #endif
79051
79052 int
79053 main ()
79054 {
79055 return f != $ac_func;
79056   ;
79057   return 0;
79058 }
79059 _ACEOF
79060 rm -f conftest.$ac_objext conftest$ac_exeext
79061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79062   (eval $ac_link) 2>conftest.er1
79063   ac_status=$?
79064   grep -v '^ *+' conftest.er1 >conftest.err
79065   rm -f conftest.er1
79066   cat conftest.err >&5
79067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79068   (exit $ac_status); } &&
79069          { ac_try='test -z "$ac_c_werror_flag"
79070                          || test ! -s conftest.err'
79071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79072   (eval $ac_try) 2>&5
79073   ac_status=$?
79074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79075   (exit $ac_status); }; } &&
79076          { ac_try='test -s conftest$ac_exeext'
79077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79078   (eval $ac_try) 2>&5
79079   ac_status=$?
79080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79081   (exit $ac_status); }; }; then
79082   eval "$as_ac_var=yes"
79083 else
79084   echo "$as_me: failed program was:" >&5
79085 sed 's/^/| /' conftest.$ac_ext >&5
79086
79087 eval "$as_ac_var=no"
79088 fi
79089 rm -f conftest.err conftest.$ac_objext \
79090       conftest$ac_exeext conftest.$ac_ext
79091 fi
79092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79094 if test `eval echo '${'$as_ac_var'}'` = yes; then
79095   cat >>confdefs.h <<_ACEOF
79096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79097 _ACEOF
79098
79099 fi
79100 done
79101
79102   else
79103
79104   echo "$as_me:$LINENO: checking for _logl declaration" >&5
79105 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
79106   if test x${glibcxx_cv_func__logl_use+set} != xset; then
79107     if test "${glibcxx_cv_func__logl_use+set}" = set; then
79108   echo $ECHO_N "(cached) $ECHO_C" >&6
79109 else
79110
79111
79112
79113       ac_ext=cc
79114 ac_cpp='$CXXCPP $CPPFLAGS'
79115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79118
79119       cat >conftest.$ac_ext <<_ACEOF
79120 /* confdefs.h.  */
79121 _ACEOF
79122 cat confdefs.h >>conftest.$ac_ext
79123 cat >>conftest.$ac_ext <<_ACEOF
79124 /* end confdefs.h.  */
79125 #include <math.h>
79126                       #ifdef HAVE_IEEEFP_H
79127                       #include <ieeefp.h>
79128                       #endif
79129
79130 int
79131 main ()
79132 {
79133  _logl(0);
79134   ;
79135   return 0;
79136 }
79137 _ACEOF
79138 rm -f conftest.$ac_objext
79139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79140   (eval $ac_compile) 2>conftest.er1
79141   ac_status=$?
79142   grep -v '^ *+' conftest.er1 >conftest.err
79143   rm -f conftest.er1
79144   cat conftest.err >&5
79145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79146   (exit $ac_status); } &&
79147          { ac_try='test -z "$ac_cxx_werror_flag"
79148                          || test ! -s conftest.err'
79149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79150   (eval $ac_try) 2>&5
79151   ac_status=$?
79152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79153   (exit $ac_status); }; } &&
79154          { ac_try='test -s conftest.$ac_objext'
79155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79156   (eval $ac_try) 2>&5
79157   ac_status=$?
79158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79159   (exit $ac_status); }; }; then
79160   glibcxx_cv_func__logl_use=yes
79161 else
79162   echo "$as_me: failed program was:" >&5
79163 sed 's/^/| /' conftest.$ac_ext >&5
79164
79165 glibcxx_cv_func__logl_use=no
79166 fi
79167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79168       ac_ext=c
79169 ac_cpp='$CPP $CPPFLAGS'
79170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79173
79174
79175 fi
79176
79177   fi
79178   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
79179 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
79180
79181     if test x$glibcxx_cv_func__logl_use = x"yes"; then
79182
79183 for ac_func in _logl
79184 do
79185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79186 echo "$as_me:$LINENO: checking for $ac_func" >&5
79187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79188 if eval "test \"\${$as_ac_var+set}\" = set"; then
79189   echo $ECHO_N "(cached) $ECHO_C" >&6
79190 else
79191   if test x$gcc_no_link = xyes; then
79192   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79194    { (exit 1); exit 1; }; }
79195 fi
79196 cat >conftest.$ac_ext <<_ACEOF
79197 /* confdefs.h.  */
79198 _ACEOF
79199 cat confdefs.h >>conftest.$ac_ext
79200 cat >>conftest.$ac_ext <<_ACEOF
79201 /* end confdefs.h.  */
79202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79203    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79204 #define $ac_func innocuous_$ac_func
79205
79206 /* System header to define __stub macros and hopefully few prototypes,
79207     which can conflict with char $ac_func (); below.
79208     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79209     <limits.h> exists even on freestanding compilers.  */
79210
79211 #ifdef __STDC__
79212 # include <limits.h>
79213 #else
79214 # include <assert.h>
79215 #endif
79216
79217 #undef $ac_func
79218
79219 /* Override any gcc2 internal prototype to avoid an error.  */
79220 #ifdef __cplusplus
79221 extern "C"
79222 {
79223 #endif
79224 /* We use char because int might match the return type of a gcc2
79225    builtin and then its argument prototype would still apply.  */
79226 char $ac_func ();
79227 /* The GNU C library defines this for functions which it implements
79228     to always fail with ENOSYS.  Some functions are actually named
79229     something starting with __ and the normal name is an alias.  */
79230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79231 choke me
79232 #else
79233 char (*f) () = $ac_func;
79234 #endif
79235 #ifdef __cplusplus
79236 }
79237 #endif
79238
79239 int
79240 main ()
79241 {
79242 return f != $ac_func;
79243   ;
79244   return 0;
79245 }
79246 _ACEOF
79247 rm -f conftest.$ac_objext conftest$ac_exeext
79248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79249   (eval $ac_link) 2>conftest.er1
79250   ac_status=$?
79251   grep -v '^ *+' conftest.er1 >conftest.err
79252   rm -f conftest.er1
79253   cat conftest.err >&5
79254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79255   (exit $ac_status); } &&
79256          { ac_try='test -z "$ac_c_werror_flag"
79257                          || test ! -s conftest.err'
79258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79259   (eval $ac_try) 2>&5
79260   ac_status=$?
79261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79262   (exit $ac_status); }; } &&
79263          { ac_try='test -s conftest$ac_exeext'
79264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79265   (eval $ac_try) 2>&5
79266   ac_status=$?
79267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79268   (exit $ac_status); }; }; then
79269   eval "$as_ac_var=yes"
79270 else
79271   echo "$as_me: failed program was:" >&5
79272 sed 's/^/| /' conftest.$ac_ext >&5
79273
79274 eval "$as_ac_var=no"
79275 fi
79276 rm -f conftest.err conftest.$ac_objext \
79277       conftest$ac_exeext conftest.$ac_ext
79278 fi
79279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79281 if test `eval echo '${'$as_ac_var'}'` = yes; then
79282   cat >>confdefs.h <<_ACEOF
79283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79284 _ACEOF
79285
79286 fi
79287 done
79288
79289     fi
79290   fi
79291
79292
79293
79294
79295
79296
79297   echo "$as_me:$LINENO: checking for log10l declaration" >&5
79298 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
79299   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
79300     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
79301   echo $ECHO_N "(cached) $ECHO_C" >&6
79302 else
79303
79304
79305
79306       ac_ext=cc
79307 ac_cpp='$CXXCPP $CPPFLAGS'
79308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79311
79312       cat >conftest.$ac_ext <<_ACEOF
79313 /* confdefs.h.  */
79314 _ACEOF
79315 cat confdefs.h >>conftest.$ac_ext
79316 cat >>conftest.$ac_ext <<_ACEOF
79317 /* end confdefs.h.  */
79318 #include <math.h>
79319                       #ifdef HAVE_IEEEFP_H
79320                       #include <ieeefp.h>
79321                       #endif
79322
79323 int
79324 main ()
79325 {
79326  log10l(0);
79327   ;
79328   return 0;
79329 }
79330 _ACEOF
79331 rm -f conftest.$ac_objext
79332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79333   (eval $ac_compile) 2>conftest.er1
79334   ac_status=$?
79335   grep -v '^ *+' conftest.er1 >conftest.err
79336   rm -f conftest.er1
79337   cat conftest.err >&5
79338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79339   (exit $ac_status); } &&
79340          { ac_try='test -z "$ac_cxx_werror_flag"
79341                          || test ! -s conftest.err'
79342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79343   (eval $ac_try) 2>&5
79344   ac_status=$?
79345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79346   (exit $ac_status); }; } &&
79347          { ac_try='test -s conftest.$ac_objext'
79348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79349   (eval $ac_try) 2>&5
79350   ac_status=$?
79351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79352   (exit $ac_status); }; }; then
79353   glibcxx_cv_func_log10l_use=yes
79354 else
79355   echo "$as_me: failed program was:" >&5
79356 sed 's/^/| /' conftest.$ac_ext >&5
79357
79358 glibcxx_cv_func_log10l_use=no
79359 fi
79360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79361       ac_ext=c
79362 ac_cpp='$CPP $CPPFLAGS'
79363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79366
79367
79368 fi
79369
79370   fi
79371   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
79372 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
79373
79374   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
79375
79376 for ac_func in log10l
79377 do
79378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79379 echo "$as_me:$LINENO: checking for $ac_func" >&5
79380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79381 if eval "test \"\${$as_ac_var+set}\" = set"; then
79382   echo $ECHO_N "(cached) $ECHO_C" >&6
79383 else
79384   if test x$gcc_no_link = xyes; then
79385   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79387    { (exit 1); exit 1; }; }
79388 fi
79389 cat >conftest.$ac_ext <<_ACEOF
79390 /* confdefs.h.  */
79391 _ACEOF
79392 cat confdefs.h >>conftest.$ac_ext
79393 cat >>conftest.$ac_ext <<_ACEOF
79394 /* end confdefs.h.  */
79395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79396    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79397 #define $ac_func innocuous_$ac_func
79398
79399 /* System header to define __stub macros and hopefully few prototypes,
79400     which can conflict with char $ac_func (); below.
79401     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79402     <limits.h> exists even on freestanding compilers.  */
79403
79404 #ifdef __STDC__
79405 # include <limits.h>
79406 #else
79407 # include <assert.h>
79408 #endif
79409
79410 #undef $ac_func
79411
79412 /* Override any gcc2 internal prototype to avoid an error.  */
79413 #ifdef __cplusplus
79414 extern "C"
79415 {
79416 #endif
79417 /* We use char because int might match the return type of a gcc2
79418    builtin and then its argument prototype would still apply.  */
79419 char $ac_func ();
79420 /* The GNU C library defines this for functions which it implements
79421     to always fail with ENOSYS.  Some functions are actually named
79422     something starting with __ and the normal name is an alias.  */
79423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79424 choke me
79425 #else
79426 char (*f) () = $ac_func;
79427 #endif
79428 #ifdef __cplusplus
79429 }
79430 #endif
79431
79432 int
79433 main ()
79434 {
79435 return f != $ac_func;
79436   ;
79437   return 0;
79438 }
79439 _ACEOF
79440 rm -f conftest.$ac_objext conftest$ac_exeext
79441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79442   (eval $ac_link) 2>conftest.er1
79443   ac_status=$?
79444   grep -v '^ *+' conftest.er1 >conftest.err
79445   rm -f conftest.er1
79446   cat conftest.err >&5
79447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79448   (exit $ac_status); } &&
79449          { ac_try='test -z "$ac_c_werror_flag"
79450                          || test ! -s conftest.err'
79451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79452   (eval $ac_try) 2>&5
79453   ac_status=$?
79454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79455   (exit $ac_status); }; } &&
79456          { ac_try='test -s conftest$ac_exeext'
79457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79458   (eval $ac_try) 2>&5
79459   ac_status=$?
79460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79461   (exit $ac_status); }; }; then
79462   eval "$as_ac_var=yes"
79463 else
79464   echo "$as_me: failed program was:" >&5
79465 sed 's/^/| /' conftest.$ac_ext >&5
79466
79467 eval "$as_ac_var=no"
79468 fi
79469 rm -f conftest.err conftest.$ac_objext \
79470       conftest$ac_exeext conftest.$ac_ext
79471 fi
79472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79474 if test `eval echo '${'$as_ac_var'}'` = yes; then
79475   cat >>confdefs.h <<_ACEOF
79476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79477 _ACEOF
79478
79479 fi
79480 done
79481
79482   else
79483
79484   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
79485 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
79486   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
79487     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
79488   echo $ECHO_N "(cached) $ECHO_C" >&6
79489 else
79490
79491
79492
79493       ac_ext=cc
79494 ac_cpp='$CXXCPP $CPPFLAGS'
79495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79498
79499       cat >conftest.$ac_ext <<_ACEOF
79500 /* confdefs.h.  */
79501 _ACEOF
79502 cat confdefs.h >>conftest.$ac_ext
79503 cat >>conftest.$ac_ext <<_ACEOF
79504 /* end confdefs.h.  */
79505 #include <math.h>
79506                       #ifdef HAVE_IEEEFP_H
79507                       #include <ieeefp.h>
79508                       #endif
79509
79510 int
79511 main ()
79512 {
79513  _log10l(0);
79514   ;
79515   return 0;
79516 }
79517 _ACEOF
79518 rm -f conftest.$ac_objext
79519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79520   (eval $ac_compile) 2>conftest.er1
79521   ac_status=$?
79522   grep -v '^ *+' conftest.er1 >conftest.err
79523   rm -f conftest.er1
79524   cat conftest.err >&5
79525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79526   (exit $ac_status); } &&
79527          { ac_try='test -z "$ac_cxx_werror_flag"
79528                          || test ! -s conftest.err'
79529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79530   (eval $ac_try) 2>&5
79531   ac_status=$?
79532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79533   (exit $ac_status); }; } &&
79534          { ac_try='test -s conftest.$ac_objext'
79535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79536   (eval $ac_try) 2>&5
79537   ac_status=$?
79538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79539   (exit $ac_status); }; }; then
79540   glibcxx_cv_func__log10l_use=yes
79541 else
79542   echo "$as_me: failed program was:" >&5
79543 sed 's/^/| /' conftest.$ac_ext >&5
79544
79545 glibcxx_cv_func__log10l_use=no
79546 fi
79547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79548       ac_ext=c
79549 ac_cpp='$CPP $CPPFLAGS'
79550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79553
79554
79555 fi
79556
79557   fi
79558   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
79559 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
79560
79561     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
79562
79563 for ac_func in _log10l
79564 do
79565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79566 echo "$as_me:$LINENO: checking for $ac_func" >&5
79567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79568 if eval "test \"\${$as_ac_var+set}\" = set"; then
79569   echo $ECHO_N "(cached) $ECHO_C" >&6
79570 else
79571   if test x$gcc_no_link = xyes; then
79572   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79574    { (exit 1); exit 1; }; }
79575 fi
79576 cat >conftest.$ac_ext <<_ACEOF
79577 /* confdefs.h.  */
79578 _ACEOF
79579 cat confdefs.h >>conftest.$ac_ext
79580 cat >>conftest.$ac_ext <<_ACEOF
79581 /* end confdefs.h.  */
79582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79583    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79584 #define $ac_func innocuous_$ac_func
79585
79586 /* System header to define __stub macros and hopefully few prototypes,
79587     which can conflict with char $ac_func (); below.
79588     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79589     <limits.h> exists even on freestanding compilers.  */
79590
79591 #ifdef __STDC__
79592 # include <limits.h>
79593 #else
79594 # include <assert.h>
79595 #endif
79596
79597 #undef $ac_func
79598
79599 /* Override any gcc2 internal prototype to avoid an error.  */
79600 #ifdef __cplusplus
79601 extern "C"
79602 {
79603 #endif
79604 /* We use char because int might match the return type of a gcc2
79605    builtin and then its argument prototype would still apply.  */
79606 char $ac_func ();
79607 /* The GNU C library defines this for functions which it implements
79608     to always fail with ENOSYS.  Some functions are actually named
79609     something starting with __ and the normal name is an alias.  */
79610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79611 choke me
79612 #else
79613 char (*f) () = $ac_func;
79614 #endif
79615 #ifdef __cplusplus
79616 }
79617 #endif
79618
79619 int
79620 main ()
79621 {
79622 return f != $ac_func;
79623   ;
79624   return 0;
79625 }
79626 _ACEOF
79627 rm -f conftest.$ac_objext conftest$ac_exeext
79628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79629   (eval $ac_link) 2>conftest.er1
79630   ac_status=$?
79631   grep -v '^ *+' conftest.er1 >conftest.err
79632   rm -f conftest.er1
79633   cat conftest.err >&5
79634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79635   (exit $ac_status); } &&
79636          { ac_try='test -z "$ac_c_werror_flag"
79637                          || test ! -s conftest.err'
79638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79639   (eval $ac_try) 2>&5
79640   ac_status=$?
79641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79642   (exit $ac_status); }; } &&
79643          { ac_try='test -s conftest$ac_exeext'
79644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79645   (eval $ac_try) 2>&5
79646   ac_status=$?
79647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79648   (exit $ac_status); }; }; then
79649   eval "$as_ac_var=yes"
79650 else
79651   echo "$as_me: failed program was:" >&5
79652 sed 's/^/| /' conftest.$ac_ext >&5
79653
79654 eval "$as_ac_var=no"
79655 fi
79656 rm -f conftest.err conftest.$ac_objext \
79657       conftest$ac_exeext conftest.$ac_ext
79658 fi
79659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79661 if test `eval echo '${'$as_ac_var'}'` = yes; then
79662   cat >>confdefs.h <<_ACEOF
79663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79664 _ACEOF
79665
79666 fi
79667 done
79668
79669     fi
79670   fi
79671
79672
79673
79674
79675
79676
79677   echo "$as_me:$LINENO: checking for modfl declaration" >&5
79678 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
79679   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
79680     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
79681   echo $ECHO_N "(cached) $ECHO_C" >&6
79682 else
79683
79684
79685
79686       ac_ext=cc
79687 ac_cpp='$CXXCPP $CPPFLAGS'
79688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79691
79692       cat >conftest.$ac_ext <<_ACEOF
79693 /* confdefs.h.  */
79694 _ACEOF
79695 cat confdefs.h >>conftest.$ac_ext
79696 cat >>conftest.$ac_ext <<_ACEOF
79697 /* end confdefs.h.  */
79698 #include <math.h>
79699 int
79700 main ()
79701 {
79702  modfl(0, 0);
79703   ;
79704   return 0;
79705 }
79706 _ACEOF
79707 rm -f conftest.$ac_objext
79708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79709   (eval $ac_compile) 2>conftest.er1
79710   ac_status=$?
79711   grep -v '^ *+' conftest.er1 >conftest.err
79712   rm -f conftest.er1
79713   cat conftest.err >&5
79714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79715   (exit $ac_status); } &&
79716          { ac_try='test -z "$ac_cxx_werror_flag"
79717                          || test ! -s conftest.err'
79718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79719   (eval $ac_try) 2>&5
79720   ac_status=$?
79721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79722   (exit $ac_status); }; } &&
79723          { ac_try='test -s conftest.$ac_objext'
79724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79725   (eval $ac_try) 2>&5
79726   ac_status=$?
79727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79728   (exit $ac_status); }; }; then
79729   glibcxx_cv_func_modfl_use=yes
79730 else
79731   echo "$as_me: failed program was:" >&5
79732 sed 's/^/| /' conftest.$ac_ext >&5
79733
79734 glibcxx_cv_func_modfl_use=no
79735 fi
79736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79737       ac_ext=c
79738 ac_cpp='$CPP $CPPFLAGS'
79739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79742
79743
79744 fi
79745
79746   fi
79747   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
79748 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
79749
79750   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
79751
79752 for ac_func in modfl
79753 do
79754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79755 echo "$as_me:$LINENO: checking for $ac_func" >&5
79756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79757 if eval "test \"\${$as_ac_var+set}\" = set"; then
79758   echo $ECHO_N "(cached) $ECHO_C" >&6
79759 else
79760   if test x$gcc_no_link = xyes; then
79761   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79763    { (exit 1); exit 1; }; }
79764 fi
79765 cat >conftest.$ac_ext <<_ACEOF
79766 /* confdefs.h.  */
79767 _ACEOF
79768 cat confdefs.h >>conftest.$ac_ext
79769 cat >>conftest.$ac_ext <<_ACEOF
79770 /* end confdefs.h.  */
79771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79772    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79773 #define $ac_func innocuous_$ac_func
79774
79775 /* System header to define __stub macros and hopefully few prototypes,
79776     which can conflict with char $ac_func (); below.
79777     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79778     <limits.h> exists even on freestanding compilers.  */
79779
79780 #ifdef __STDC__
79781 # include <limits.h>
79782 #else
79783 # include <assert.h>
79784 #endif
79785
79786 #undef $ac_func
79787
79788 /* Override any gcc2 internal prototype to avoid an error.  */
79789 #ifdef __cplusplus
79790 extern "C"
79791 {
79792 #endif
79793 /* We use char because int might match the return type of a gcc2
79794    builtin and then its argument prototype would still apply.  */
79795 char $ac_func ();
79796 /* The GNU C library defines this for functions which it implements
79797     to always fail with ENOSYS.  Some functions are actually named
79798     something starting with __ and the normal name is an alias.  */
79799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79800 choke me
79801 #else
79802 char (*f) () = $ac_func;
79803 #endif
79804 #ifdef __cplusplus
79805 }
79806 #endif
79807
79808 int
79809 main ()
79810 {
79811 return f != $ac_func;
79812   ;
79813   return 0;
79814 }
79815 _ACEOF
79816 rm -f conftest.$ac_objext conftest$ac_exeext
79817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79818   (eval $ac_link) 2>conftest.er1
79819   ac_status=$?
79820   grep -v '^ *+' conftest.er1 >conftest.err
79821   rm -f conftest.er1
79822   cat conftest.err >&5
79823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79824   (exit $ac_status); } &&
79825          { ac_try='test -z "$ac_c_werror_flag"
79826                          || test ! -s conftest.err'
79827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79828   (eval $ac_try) 2>&5
79829   ac_status=$?
79830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79831   (exit $ac_status); }; } &&
79832          { ac_try='test -s conftest$ac_exeext'
79833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79834   (eval $ac_try) 2>&5
79835   ac_status=$?
79836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79837   (exit $ac_status); }; }; then
79838   eval "$as_ac_var=yes"
79839 else
79840   echo "$as_me: failed program was:" >&5
79841 sed 's/^/| /' conftest.$ac_ext >&5
79842
79843 eval "$as_ac_var=no"
79844 fi
79845 rm -f conftest.err conftest.$ac_objext \
79846       conftest$ac_exeext conftest.$ac_ext
79847 fi
79848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79850 if test `eval echo '${'$as_ac_var'}'` = yes; then
79851   cat >>confdefs.h <<_ACEOF
79852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79853 _ACEOF
79854
79855 fi
79856 done
79857
79858   else
79859
79860   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
79861 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
79862   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
79863     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
79864   echo $ECHO_N "(cached) $ECHO_C" >&6
79865 else
79866
79867
79868
79869       ac_ext=cc
79870 ac_cpp='$CXXCPP $CPPFLAGS'
79871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79874
79875       cat >conftest.$ac_ext <<_ACEOF
79876 /* confdefs.h.  */
79877 _ACEOF
79878 cat confdefs.h >>conftest.$ac_ext
79879 cat >>conftest.$ac_ext <<_ACEOF
79880 /* end confdefs.h.  */
79881 #include <math.h>
79882 int
79883 main ()
79884 {
79885  _modfl(0, 0);
79886   ;
79887   return 0;
79888 }
79889 _ACEOF
79890 rm -f conftest.$ac_objext
79891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79892   (eval $ac_compile) 2>conftest.er1
79893   ac_status=$?
79894   grep -v '^ *+' conftest.er1 >conftest.err
79895   rm -f conftest.er1
79896   cat conftest.err >&5
79897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79898   (exit $ac_status); } &&
79899          { ac_try='test -z "$ac_cxx_werror_flag"
79900                          || test ! -s conftest.err'
79901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79902   (eval $ac_try) 2>&5
79903   ac_status=$?
79904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79905   (exit $ac_status); }; } &&
79906          { ac_try='test -s conftest.$ac_objext'
79907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79908   (eval $ac_try) 2>&5
79909   ac_status=$?
79910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79911   (exit $ac_status); }; }; then
79912   glibcxx_cv_func__modfl_use=yes
79913 else
79914   echo "$as_me: failed program was:" >&5
79915 sed 's/^/| /' conftest.$ac_ext >&5
79916
79917 glibcxx_cv_func__modfl_use=no
79918 fi
79919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79920       ac_ext=c
79921 ac_cpp='$CPP $CPPFLAGS'
79922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79925
79926
79927 fi
79928
79929   fi
79930   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
79931 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
79932
79933     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
79934
79935 for ac_func in _modfl
79936 do
79937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79938 echo "$as_me:$LINENO: checking for $ac_func" >&5
79939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79940 if eval "test \"\${$as_ac_var+set}\" = set"; then
79941   echo $ECHO_N "(cached) $ECHO_C" >&6
79942 else
79943   if test x$gcc_no_link = xyes; then
79944   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79946    { (exit 1); exit 1; }; }
79947 fi
79948 cat >conftest.$ac_ext <<_ACEOF
79949 /* confdefs.h.  */
79950 _ACEOF
79951 cat confdefs.h >>conftest.$ac_ext
79952 cat >>conftest.$ac_ext <<_ACEOF
79953 /* end confdefs.h.  */
79954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79955    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79956 #define $ac_func innocuous_$ac_func
79957
79958 /* System header to define __stub macros and hopefully few prototypes,
79959     which can conflict with char $ac_func (); below.
79960     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79961     <limits.h> exists even on freestanding compilers.  */
79962
79963 #ifdef __STDC__
79964 # include <limits.h>
79965 #else
79966 # include <assert.h>
79967 #endif
79968
79969 #undef $ac_func
79970
79971 /* Override any gcc2 internal prototype to avoid an error.  */
79972 #ifdef __cplusplus
79973 extern "C"
79974 {
79975 #endif
79976 /* We use char because int might match the return type of a gcc2
79977    builtin and then its argument prototype would still apply.  */
79978 char $ac_func ();
79979 /* The GNU C library defines this for functions which it implements
79980     to always fail with ENOSYS.  Some functions are actually named
79981     something starting with __ and the normal name is an alias.  */
79982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79983 choke me
79984 #else
79985 char (*f) () = $ac_func;
79986 #endif
79987 #ifdef __cplusplus
79988 }
79989 #endif
79990
79991 int
79992 main ()
79993 {
79994 return f != $ac_func;
79995   ;
79996   return 0;
79997 }
79998 _ACEOF
79999 rm -f conftest.$ac_objext conftest$ac_exeext
80000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80001   (eval $ac_link) 2>conftest.er1
80002   ac_status=$?
80003   grep -v '^ *+' conftest.er1 >conftest.err
80004   rm -f conftest.er1
80005   cat conftest.err >&5
80006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80007   (exit $ac_status); } &&
80008          { ac_try='test -z "$ac_c_werror_flag"
80009                          || test ! -s conftest.err'
80010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80011   (eval $ac_try) 2>&5
80012   ac_status=$?
80013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80014   (exit $ac_status); }; } &&
80015          { ac_try='test -s conftest$ac_exeext'
80016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80017   (eval $ac_try) 2>&5
80018   ac_status=$?
80019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80020   (exit $ac_status); }; }; then
80021   eval "$as_ac_var=yes"
80022 else
80023   echo "$as_me: failed program was:" >&5
80024 sed 's/^/| /' conftest.$ac_ext >&5
80025
80026 eval "$as_ac_var=no"
80027 fi
80028 rm -f conftest.err conftest.$ac_objext \
80029       conftest$ac_exeext conftest.$ac_ext
80030 fi
80031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80033 if test `eval echo '${'$as_ac_var'}'` = yes; then
80034   cat >>confdefs.h <<_ACEOF
80035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80036 _ACEOF
80037
80038 fi
80039 done
80040
80041     fi
80042   fi
80043
80044
80045
80046
80047
80048
80049   echo "$as_me:$LINENO: checking for powl declaration" >&5
80050 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
80051   if test x${glibcxx_cv_func_powl_use+set} != xset; then
80052     if test "${glibcxx_cv_func_powl_use+set}" = set; then
80053   echo $ECHO_N "(cached) $ECHO_C" >&6
80054 else
80055
80056
80057
80058       ac_ext=cc
80059 ac_cpp='$CXXCPP $CPPFLAGS'
80060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80063
80064       cat >conftest.$ac_ext <<_ACEOF
80065 /* confdefs.h.  */
80066 _ACEOF
80067 cat confdefs.h >>conftest.$ac_ext
80068 cat >>conftest.$ac_ext <<_ACEOF
80069 /* end confdefs.h.  */
80070 #include <math.h>
80071 int
80072 main ()
80073 {
80074  powl(0, 0);
80075   ;
80076   return 0;
80077 }
80078 _ACEOF
80079 rm -f conftest.$ac_objext
80080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80081   (eval $ac_compile) 2>conftest.er1
80082   ac_status=$?
80083   grep -v '^ *+' conftest.er1 >conftest.err
80084   rm -f conftest.er1
80085   cat conftest.err >&5
80086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80087   (exit $ac_status); } &&
80088          { ac_try='test -z "$ac_cxx_werror_flag"
80089                          || test ! -s conftest.err'
80090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80091   (eval $ac_try) 2>&5
80092   ac_status=$?
80093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80094   (exit $ac_status); }; } &&
80095          { ac_try='test -s conftest.$ac_objext'
80096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80097   (eval $ac_try) 2>&5
80098   ac_status=$?
80099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80100   (exit $ac_status); }; }; then
80101   glibcxx_cv_func_powl_use=yes
80102 else
80103   echo "$as_me: failed program was:" >&5
80104 sed 's/^/| /' conftest.$ac_ext >&5
80105
80106 glibcxx_cv_func_powl_use=no
80107 fi
80108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80109       ac_ext=c
80110 ac_cpp='$CPP $CPPFLAGS'
80111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80114
80115
80116 fi
80117
80118   fi
80119   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
80120 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
80121
80122   if test x$glibcxx_cv_func_powl_use = x"yes"; then
80123
80124 for ac_func in powl
80125 do
80126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80127 echo "$as_me:$LINENO: checking for $ac_func" >&5
80128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80129 if eval "test \"\${$as_ac_var+set}\" = set"; then
80130   echo $ECHO_N "(cached) $ECHO_C" >&6
80131 else
80132   if test x$gcc_no_link = xyes; then
80133   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80135    { (exit 1); exit 1; }; }
80136 fi
80137 cat >conftest.$ac_ext <<_ACEOF
80138 /* confdefs.h.  */
80139 _ACEOF
80140 cat confdefs.h >>conftest.$ac_ext
80141 cat >>conftest.$ac_ext <<_ACEOF
80142 /* end confdefs.h.  */
80143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80144    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80145 #define $ac_func innocuous_$ac_func
80146
80147 /* System header to define __stub macros and hopefully few prototypes,
80148     which can conflict with char $ac_func (); below.
80149     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80150     <limits.h> exists even on freestanding compilers.  */
80151
80152 #ifdef __STDC__
80153 # include <limits.h>
80154 #else
80155 # include <assert.h>
80156 #endif
80157
80158 #undef $ac_func
80159
80160 /* Override any gcc2 internal prototype to avoid an error.  */
80161 #ifdef __cplusplus
80162 extern "C"
80163 {
80164 #endif
80165 /* We use char because int might match the return type of a gcc2
80166    builtin and then its argument prototype would still apply.  */
80167 char $ac_func ();
80168 /* The GNU C library defines this for functions which it implements
80169     to always fail with ENOSYS.  Some functions are actually named
80170     something starting with __ and the normal name is an alias.  */
80171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80172 choke me
80173 #else
80174 char (*f) () = $ac_func;
80175 #endif
80176 #ifdef __cplusplus
80177 }
80178 #endif
80179
80180 int
80181 main ()
80182 {
80183 return f != $ac_func;
80184   ;
80185   return 0;
80186 }
80187 _ACEOF
80188 rm -f conftest.$ac_objext conftest$ac_exeext
80189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80190   (eval $ac_link) 2>conftest.er1
80191   ac_status=$?
80192   grep -v '^ *+' conftest.er1 >conftest.err
80193   rm -f conftest.er1
80194   cat conftest.err >&5
80195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80196   (exit $ac_status); } &&
80197          { ac_try='test -z "$ac_c_werror_flag"
80198                          || test ! -s conftest.err'
80199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80200   (eval $ac_try) 2>&5
80201   ac_status=$?
80202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80203   (exit $ac_status); }; } &&
80204          { ac_try='test -s conftest$ac_exeext'
80205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80206   (eval $ac_try) 2>&5
80207   ac_status=$?
80208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80209   (exit $ac_status); }; }; then
80210   eval "$as_ac_var=yes"
80211 else
80212   echo "$as_me: failed program was:" >&5
80213 sed 's/^/| /' conftest.$ac_ext >&5
80214
80215 eval "$as_ac_var=no"
80216 fi
80217 rm -f conftest.err conftest.$ac_objext \
80218       conftest$ac_exeext conftest.$ac_ext
80219 fi
80220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80222 if test `eval echo '${'$as_ac_var'}'` = yes; then
80223   cat >>confdefs.h <<_ACEOF
80224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80225 _ACEOF
80226
80227 fi
80228 done
80229
80230   else
80231
80232   echo "$as_me:$LINENO: checking for _powl declaration" >&5
80233 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
80234   if test x${glibcxx_cv_func__powl_use+set} != xset; then
80235     if test "${glibcxx_cv_func__powl_use+set}" = set; then
80236   echo $ECHO_N "(cached) $ECHO_C" >&6
80237 else
80238
80239
80240
80241       ac_ext=cc
80242 ac_cpp='$CXXCPP $CPPFLAGS'
80243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80246
80247       cat >conftest.$ac_ext <<_ACEOF
80248 /* confdefs.h.  */
80249 _ACEOF
80250 cat confdefs.h >>conftest.$ac_ext
80251 cat >>conftest.$ac_ext <<_ACEOF
80252 /* end confdefs.h.  */
80253 #include <math.h>
80254 int
80255 main ()
80256 {
80257  _powl(0, 0);
80258   ;
80259   return 0;
80260 }
80261 _ACEOF
80262 rm -f conftest.$ac_objext
80263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80264   (eval $ac_compile) 2>conftest.er1
80265   ac_status=$?
80266   grep -v '^ *+' conftest.er1 >conftest.err
80267   rm -f conftest.er1
80268   cat conftest.err >&5
80269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80270   (exit $ac_status); } &&
80271          { ac_try='test -z "$ac_cxx_werror_flag"
80272                          || test ! -s conftest.err'
80273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80274   (eval $ac_try) 2>&5
80275   ac_status=$?
80276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80277   (exit $ac_status); }; } &&
80278          { ac_try='test -s conftest.$ac_objext'
80279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80280   (eval $ac_try) 2>&5
80281   ac_status=$?
80282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80283   (exit $ac_status); }; }; then
80284   glibcxx_cv_func__powl_use=yes
80285 else
80286   echo "$as_me: failed program was:" >&5
80287 sed 's/^/| /' conftest.$ac_ext >&5
80288
80289 glibcxx_cv_func__powl_use=no
80290 fi
80291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80292       ac_ext=c
80293 ac_cpp='$CPP $CPPFLAGS'
80294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80297
80298
80299 fi
80300
80301   fi
80302   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
80303 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
80304
80305     if test x$glibcxx_cv_func__powl_use = x"yes"; then
80306
80307 for ac_func in _powl
80308 do
80309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80310 echo "$as_me:$LINENO: checking for $ac_func" >&5
80311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80312 if eval "test \"\${$as_ac_var+set}\" = set"; then
80313   echo $ECHO_N "(cached) $ECHO_C" >&6
80314 else
80315   if test x$gcc_no_link = xyes; then
80316   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80318    { (exit 1); exit 1; }; }
80319 fi
80320 cat >conftest.$ac_ext <<_ACEOF
80321 /* confdefs.h.  */
80322 _ACEOF
80323 cat confdefs.h >>conftest.$ac_ext
80324 cat >>conftest.$ac_ext <<_ACEOF
80325 /* end confdefs.h.  */
80326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80327    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80328 #define $ac_func innocuous_$ac_func
80329
80330 /* System header to define __stub macros and hopefully few prototypes,
80331     which can conflict with char $ac_func (); below.
80332     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80333     <limits.h> exists even on freestanding compilers.  */
80334
80335 #ifdef __STDC__
80336 # include <limits.h>
80337 #else
80338 # include <assert.h>
80339 #endif
80340
80341 #undef $ac_func
80342
80343 /* Override any gcc2 internal prototype to avoid an error.  */
80344 #ifdef __cplusplus
80345 extern "C"
80346 {
80347 #endif
80348 /* We use char because int might match the return type of a gcc2
80349    builtin and then its argument prototype would still apply.  */
80350 char $ac_func ();
80351 /* The GNU C library defines this for functions which it implements
80352     to always fail with ENOSYS.  Some functions are actually named
80353     something starting with __ and the normal name is an alias.  */
80354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80355 choke me
80356 #else
80357 char (*f) () = $ac_func;
80358 #endif
80359 #ifdef __cplusplus
80360 }
80361 #endif
80362
80363 int
80364 main ()
80365 {
80366 return f != $ac_func;
80367   ;
80368   return 0;
80369 }
80370 _ACEOF
80371 rm -f conftest.$ac_objext conftest$ac_exeext
80372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80373   (eval $ac_link) 2>conftest.er1
80374   ac_status=$?
80375   grep -v '^ *+' conftest.er1 >conftest.err
80376   rm -f conftest.er1
80377   cat conftest.err >&5
80378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80379   (exit $ac_status); } &&
80380          { ac_try='test -z "$ac_c_werror_flag"
80381                          || test ! -s conftest.err'
80382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80383   (eval $ac_try) 2>&5
80384   ac_status=$?
80385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80386   (exit $ac_status); }; } &&
80387          { ac_try='test -s conftest$ac_exeext'
80388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80389   (eval $ac_try) 2>&5
80390   ac_status=$?
80391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80392   (exit $ac_status); }; }; then
80393   eval "$as_ac_var=yes"
80394 else
80395   echo "$as_me: failed program was:" >&5
80396 sed 's/^/| /' conftest.$ac_ext >&5
80397
80398 eval "$as_ac_var=no"
80399 fi
80400 rm -f conftest.err conftest.$ac_objext \
80401       conftest$ac_exeext conftest.$ac_ext
80402 fi
80403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80405 if test `eval echo '${'$as_ac_var'}'` = yes; then
80406   cat >>confdefs.h <<_ACEOF
80407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80408 _ACEOF
80409
80410 fi
80411 done
80412
80413     fi
80414   fi
80415
80416
80417
80418
80419
80420
80421   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
80422 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
80423   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
80424     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
80425   echo $ECHO_N "(cached) $ECHO_C" >&6
80426 else
80427
80428
80429
80430       ac_ext=cc
80431 ac_cpp='$CXXCPP $CPPFLAGS'
80432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80435
80436       cat >conftest.$ac_ext <<_ACEOF
80437 /* confdefs.h.  */
80438 _ACEOF
80439 cat confdefs.h >>conftest.$ac_ext
80440 cat >>conftest.$ac_ext <<_ACEOF
80441 /* end confdefs.h.  */
80442 #include <math.h>
80443                       #ifdef HAVE_IEEEFP_H
80444                       #include <ieeefp.h>
80445                       #endif
80446
80447 int
80448 main ()
80449 {
80450  sqrtl(0);
80451   ;
80452   return 0;
80453 }
80454 _ACEOF
80455 rm -f conftest.$ac_objext
80456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80457   (eval $ac_compile) 2>conftest.er1
80458   ac_status=$?
80459   grep -v '^ *+' conftest.er1 >conftest.err
80460   rm -f conftest.er1
80461   cat conftest.err >&5
80462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80463   (exit $ac_status); } &&
80464          { ac_try='test -z "$ac_cxx_werror_flag"
80465                          || test ! -s conftest.err'
80466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80467   (eval $ac_try) 2>&5
80468   ac_status=$?
80469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80470   (exit $ac_status); }; } &&
80471          { ac_try='test -s conftest.$ac_objext'
80472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80473   (eval $ac_try) 2>&5
80474   ac_status=$?
80475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80476   (exit $ac_status); }; }; then
80477   glibcxx_cv_func_sqrtl_use=yes
80478 else
80479   echo "$as_me: failed program was:" >&5
80480 sed 's/^/| /' conftest.$ac_ext >&5
80481
80482 glibcxx_cv_func_sqrtl_use=no
80483 fi
80484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80485       ac_ext=c
80486 ac_cpp='$CPP $CPPFLAGS'
80487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80490
80491
80492 fi
80493
80494   fi
80495   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
80496 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
80497
80498   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
80499
80500 for ac_func in sqrtl
80501 do
80502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80503 echo "$as_me:$LINENO: checking for $ac_func" >&5
80504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80505 if eval "test \"\${$as_ac_var+set}\" = set"; then
80506   echo $ECHO_N "(cached) $ECHO_C" >&6
80507 else
80508   if test x$gcc_no_link = xyes; then
80509   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80511    { (exit 1); exit 1; }; }
80512 fi
80513 cat >conftest.$ac_ext <<_ACEOF
80514 /* confdefs.h.  */
80515 _ACEOF
80516 cat confdefs.h >>conftest.$ac_ext
80517 cat >>conftest.$ac_ext <<_ACEOF
80518 /* end confdefs.h.  */
80519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80520    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80521 #define $ac_func innocuous_$ac_func
80522
80523 /* System header to define __stub macros and hopefully few prototypes,
80524     which can conflict with char $ac_func (); below.
80525     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80526     <limits.h> exists even on freestanding compilers.  */
80527
80528 #ifdef __STDC__
80529 # include <limits.h>
80530 #else
80531 # include <assert.h>
80532 #endif
80533
80534 #undef $ac_func
80535
80536 /* Override any gcc2 internal prototype to avoid an error.  */
80537 #ifdef __cplusplus
80538 extern "C"
80539 {
80540 #endif
80541 /* We use char because int might match the return type of a gcc2
80542    builtin and then its argument prototype would still apply.  */
80543 char $ac_func ();
80544 /* The GNU C library defines this for functions which it implements
80545     to always fail with ENOSYS.  Some functions are actually named
80546     something starting with __ and the normal name is an alias.  */
80547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80548 choke me
80549 #else
80550 char (*f) () = $ac_func;
80551 #endif
80552 #ifdef __cplusplus
80553 }
80554 #endif
80555
80556 int
80557 main ()
80558 {
80559 return f != $ac_func;
80560   ;
80561   return 0;
80562 }
80563 _ACEOF
80564 rm -f conftest.$ac_objext conftest$ac_exeext
80565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80566   (eval $ac_link) 2>conftest.er1
80567   ac_status=$?
80568   grep -v '^ *+' conftest.er1 >conftest.err
80569   rm -f conftest.er1
80570   cat conftest.err >&5
80571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80572   (exit $ac_status); } &&
80573          { ac_try='test -z "$ac_c_werror_flag"
80574                          || test ! -s conftest.err'
80575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80576   (eval $ac_try) 2>&5
80577   ac_status=$?
80578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80579   (exit $ac_status); }; } &&
80580          { ac_try='test -s conftest$ac_exeext'
80581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80582   (eval $ac_try) 2>&5
80583   ac_status=$?
80584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80585   (exit $ac_status); }; }; then
80586   eval "$as_ac_var=yes"
80587 else
80588   echo "$as_me: failed program was:" >&5
80589 sed 's/^/| /' conftest.$ac_ext >&5
80590
80591 eval "$as_ac_var=no"
80592 fi
80593 rm -f conftest.err conftest.$ac_objext \
80594       conftest$ac_exeext conftest.$ac_ext
80595 fi
80596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80598 if test `eval echo '${'$as_ac_var'}'` = yes; then
80599   cat >>confdefs.h <<_ACEOF
80600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80601 _ACEOF
80602
80603 fi
80604 done
80605
80606   else
80607
80608   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
80609 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
80610   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
80611     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
80612   echo $ECHO_N "(cached) $ECHO_C" >&6
80613 else
80614
80615
80616
80617       ac_ext=cc
80618 ac_cpp='$CXXCPP $CPPFLAGS'
80619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80622
80623       cat >conftest.$ac_ext <<_ACEOF
80624 /* confdefs.h.  */
80625 _ACEOF
80626 cat confdefs.h >>conftest.$ac_ext
80627 cat >>conftest.$ac_ext <<_ACEOF
80628 /* end confdefs.h.  */
80629 #include <math.h>
80630                       #ifdef HAVE_IEEEFP_H
80631                       #include <ieeefp.h>
80632                       #endif
80633
80634 int
80635 main ()
80636 {
80637  _sqrtl(0);
80638   ;
80639   return 0;
80640 }
80641 _ACEOF
80642 rm -f conftest.$ac_objext
80643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80644   (eval $ac_compile) 2>conftest.er1
80645   ac_status=$?
80646   grep -v '^ *+' conftest.er1 >conftest.err
80647   rm -f conftest.er1
80648   cat conftest.err >&5
80649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80650   (exit $ac_status); } &&
80651          { ac_try='test -z "$ac_cxx_werror_flag"
80652                          || test ! -s conftest.err'
80653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80654   (eval $ac_try) 2>&5
80655   ac_status=$?
80656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80657   (exit $ac_status); }; } &&
80658          { ac_try='test -s conftest.$ac_objext'
80659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80660   (eval $ac_try) 2>&5
80661   ac_status=$?
80662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80663   (exit $ac_status); }; }; then
80664   glibcxx_cv_func__sqrtl_use=yes
80665 else
80666   echo "$as_me: failed program was:" >&5
80667 sed 's/^/| /' conftest.$ac_ext >&5
80668
80669 glibcxx_cv_func__sqrtl_use=no
80670 fi
80671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80672       ac_ext=c
80673 ac_cpp='$CPP $CPPFLAGS'
80674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80677
80678
80679 fi
80680
80681   fi
80682   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
80683 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
80684
80685     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
80686
80687 for ac_func in _sqrtl
80688 do
80689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80690 echo "$as_me:$LINENO: checking for $ac_func" >&5
80691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80692 if eval "test \"\${$as_ac_var+set}\" = set"; then
80693   echo $ECHO_N "(cached) $ECHO_C" >&6
80694 else
80695   if test x$gcc_no_link = xyes; then
80696   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80698    { (exit 1); exit 1; }; }
80699 fi
80700 cat >conftest.$ac_ext <<_ACEOF
80701 /* confdefs.h.  */
80702 _ACEOF
80703 cat confdefs.h >>conftest.$ac_ext
80704 cat >>conftest.$ac_ext <<_ACEOF
80705 /* end confdefs.h.  */
80706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80707    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80708 #define $ac_func innocuous_$ac_func
80709
80710 /* System header to define __stub macros and hopefully few prototypes,
80711     which can conflict with char $ac_func (); below.
80712     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80713     <limits.h> exists even on freestanding compilers.  */
80714
80715 #ifdef __STDC__
80716 # include <limits.h>
80717 #else
80718 # include <assert.h>
80719 #endif
80720
80721 #undef $ac_func
80722
80723 /* Override any gcc2 internal prototype to avoid an error.  */
80724 #ifdef __cplusplus
80725 extern "C"
80726 {
80727 #endif
80728 /* We use char because int might match the return type of a gcc2
80729    builtin and then its argument prototype would still apply.  */
80730 char $ac_func ();
80731 /* The GNU C library defines this for functions which it implements
80732     to always fail with ENOSYS.  Some functions are actually named
80733     something starting with __ and the normal name is an alias.  */
80734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80735 choke me
80736 #else
80737 char (*f) () = $ac_func;
80738 #endif
80739 #ifdef __cplusplus
80740 }
80741 #endif
80742
80743 int
80744 main ()
80745 {
80746 return f != $ac_func;
80747   ;
80748   return 0;
80749 }
80750 _ACEOF
80751 rm -f conftest.$ac_objext conftest$ac_exeext
80752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80753   (eval $ac_link) 2>conftest.er1
80754   ac_status=$?
80755   grep -v '^ *+' conftest.er1 >conftest.err
80756   rm -f conftest.er1
80757   cat conftest.err >&5
80758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80759   (exit $ac_status); } &&
80760          { ac_try='test -z "$ac_c_werror_flag"
80761                          || test ! -s conftest.err'
80762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80763   (eval $ac_try) 2>&5
80764   ac_status=$?
80765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80766   (exit $ac_status); }; } &&
80767          { ac_try='test -s conftest$ac_exeext'
80768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80769   (eval $ac_try) 2>&5
80770   ac_status=$?
80771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80772   (exit $ac_status); }; }; then
80773   eval "$as_ac_var=yes"
80774 else
80775   echo "$as_me: failed program was:" >&5
80776 sed 's/^/| /' conftest.$ac_ext >&5
80777
80778 eval "$as_ac_var=no"
80779 fi
80780 rm -f conftest.err conftest.$ac_objext \
80781       conftest$ac_exeext conftest.$ac_ext
80782 fi
80783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80785 if test `eval echo '${'$as_ac_var'}'` = yes; then
80786   cat >>confdefs.h <<_ACEOF
80787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80788 _ACEOF
80789
80790 fi
80791 done
80792
80793     fi
80794   fi
80795
80796
80797
80798
80799
80800
80801   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
80802 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
80803   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
80804     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
80805   echo $ECHO_N "(cached) $ECHO_C" >&6
80806 else
80807
80808
80809
80810       ac_ext=cc
80811 ac_cpp='$CXXCPP $CPPFLAGS'
80812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80815
80816       cat >conftest.$ac_ext <<_ACEOF
80817 /* confdefs.h.  */
80818 _ACEOF
80819 cat confdefs.h >>conftest.$ac_ext
80820 cat >>conftest.$ac_ext <<_ACEOF
80821 /* end confdefs.h.  */
80822 #include <math.h>
80823 int
80824 main ()
80825 {
80826  sincosl(0, 0, 0);
80827   ;
80828   return 0;
80829 }
80830 _ACEOF
80831 rm -f conftest.$ac_objext
80832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80833   (eval $ac_compile) 2>conftest.er1
80834   ac_status=$?
80835   grep -v '^ *+' conftest.er1 >conftest.err
80836   rm -f conftest.er1
80837   cat conftest.err >&5
80838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80839   (exit $ac_status); } &&
80840          { ac_try='test -z "$ac_cxx_werror_flag"
80841                          || test ! -s conftest.err'
80842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80843   (eval $ac_try) 2>&5
80844   ac_status=$?
80845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80846   (exit $ac_status); }; } &&
80847          { ac_try='test -s conftest.$ac_objext'
80848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80849   (eval $ac_try) 2>&5
80850   ac_status=$?
80851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80852   (exit $ac_status); }; }; then
80853   glibcxx_cv_func_sincosl_use=yes
80854 else
80855   echo "$as_me: failed program was:" >&5
80856 sed 's/^/| /' conftest.$ac_ext >&5
80857
80858 glibcxx_cv_func_sincosl_use=no
80859 fi
80860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80861       ac_ext=c
80862 ac_cpp='$CPP $CPPFLAGS'
80863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80866
80867
80868 fi
80869
80870   fi
80871   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
80872 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
80873
80874   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
80875
80876 for ac_func in sincosl
80877 do
80878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80879 echo "$as_me:$LINENO: checking for $ac_func" >&5
80880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80881 if eval "test \"\${$as_ac_var+set}\" = set"; then
80882   echo $ECHO_N "(cached) $ECHO_C" >&6
80883 else
80884   if test x$gcc_no_link = xyes; then
80885   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80887    { (exit 1); exit 1; }; }
80888 fi
80889 cat >conftest.$ac_ext <<_ACEOF
80890 /* confdefs.h.  */
80891 _ACEOF
80892 cat confdefs.h >>conftest.$ac_ext
80893 cat >>conftest.$ac_ext <<_ACEOF
80894 /* end confdefs.h.  */
80895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80896    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80897 #define $ac_func innocuous_$ac_func
80898
80899 /* System header to define __stub macros and hopefully few prototypes,
80900     which can conflict with char $ac_func (); below.
80901     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80902     <limits.h> exists even on freestanding compilers.  */
80903
80904 #ifdef __STDC__
80905 # include <limits.h>
80906 #else
80907 # include <assert.h>
80908 #endif
80909
80910 #undef $ac_func
80911
80912 /* Override any gcc2 internal prototype to avoid an error.  */
80913 #ifdef __cplusplus
80914 extern "C"
80915 {
80916 #endif
80917 /* We use char because int might match the return type of a gcc2
80918    builtin and then its argument prototype would still apply.  */
80919 char $ac_func ();
80920 /* The GNU C library defines this for functions which it implements
80921     to always fail with ENOSYS.  Some functions are actually named
80922     something starting with __ and the normal name is an alias.  */
80923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80924 choke me
80925 #else
80926 char (*f) () = $ac_func;
80927 #endif
80928 #ifdef __cplusplus
80929 }
80930 #endif
80931
80932 int
80933 main ()
80934 {
80935 return f != $ac_func;
80936   ;
80937   return 0;
80938 }
80939 _ACEOF
80940 rm -f conftest.$ac_objext conftest$ac_exeext
80941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80942   (eval $ac_link) 2>conftest.er1
80943   ac_status=$?
80944   grep -v '^ *+' conftest.er1 >conftest.err
80945   rm -f conftest.er1
80946   cat conftest.err >&5
80947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80948   (exit $ac_status); } &&
80949          { ac_try='test -z "$ac_c_werror_flag"
80950                          || test ! -s conftest.err'
80951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80952   (eval $ac_try) 2>&5
80953   ac_status=$?
80954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80955   (exit $ac_status); }; } &&
80956          { ac_try='test -s conftest$ac_exeext'
80957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80958   (eval $ac_try) 2>&5
80959   ac_status=$?
80960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80961   (exit $ac_status); }; }; then
80962   eval "$as_ac_var=yes"
80963 else
80964   echo "$as_me: failed program was:" >&5
80965 sed 's/^/| /' conftest.$ac_ext >&5
80966
80967 eval "$as_ac_var=no"
80968 fi
80969 rm -f conftest.err conftest.$ac_objext \
80970       conftest$ac_exeext conftest.$ac_ext
80971 fi
80972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80974 if test `eval echo '${'$as_ac_var'}'` = yes; then
80975   cat >>confdefs.h <<_ACEOF
80976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80977 _ACEOF
80978
80979 fi
80980 done
80981
80982   else
80983
80984   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
80985 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
80986   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
80987     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
80988   echo $ECHO_N "(cached) $ECHO_C" >&6
80989 else
80990
80991
80992
80993       ac_ext=cc
80994 ac_cpp='$CXXCPP $CPPFLAGS'
80995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80998
80999       cat >conftest.$ac_ext <<_ACEOF
81000 /* confdefs.h.  */
81001 _ACEOF
81002 cat confdefs.h >>conftest.$ac_ext
81003 cat >>conftest.$ac_ext <<_ACEOF
81004 /* end confdefs.h.  */
81005 #include <math.h>
81006 int
81007 main ()
81008 {
81009  _sincosl(0, 0, 0);
81010   ;
81011   return 0;
81012 }
81013 _ACEOF
81014 rm -f conftest.$ac_objext
81015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81016   (eval $ac_compile) 2>conftest.er1
81017   ac_status=$?
81018   grep -v '^ *+' conftest.er1 >conftest.err
81019   rm -f conftest.er1
81020   cat conftest.err >&5
81021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81022   (exit $ac_status); } &&
81023          { ac_try='test -z "$ac_cxx_werror_flag"
81024                          || test ! -s conftest.err'
81025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81026   (eval $ac_try) 2>&5
81027   ac_status=$?
81028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81029   (exit $ac_status); }; } &&
81030          { ac_try='test -s conftest.$ac_objext'
81031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81032   (eval $ac_try) 2>&5
81033   ac_status=$?
81034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81035   (exit $ac_status); }; }; then
81036   glibcxx_cv_func__sincosl_use=yes
81037 else
81038   echo "$as_me: failed program was:" >&5
81039 sed 's/^/| /' conftest.$ac_ext >&5
81040
81041 glibcxx_cv_func__sincosl_use=no
81042 fi
81043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81044       ac_ext=c
81045 ac_cpp='$CPP $CPPFLAGS'
81046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81049
81050
81051 fi
81052
81053   fi
81054   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
81055 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
81056
81057     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
81058
81059 for ac_func in _sincosl
81060 do
81061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81062 echo "$as_me:$LINENO: checking for $ac_func" >&5
81063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81064 if eval "test \"\${$as_ac_var+set}\" = set"; then
81065   echo $ECHO_N "(cached) $ECHO_C" >&6
81066 else
81067   if test x$gcc_no_link = xyes; then
81068   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81070    { (exit 1); exit 1; }; }
81071 fi
81072 cat >conftest.$ac_ext <<_ACEOF
81073 /* confdefs.h.  */
81074 _ACEOF
81075 cat confdefs.h >>conftest.$ac_ext
81076 cat >>conftest.$ac_ext <<_ACEOF
81077 /* end confdefs.h.  */
81078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81079    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81080 #define $ac_func innocuous_$ac_func
81081
81082 /* System header to define __stub macros and hopefully few prototypes,
81083     which can conflict with char $ac_func (); below.
81084     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81085     <limits.h> exists even on freestanding compilers.  */
81086
81087 #ifdef __STDC__
81088 # include <limits.h>
81089 #else
81090 # include <assert.h>
81091 #endif
81092
81093 #undef $ac_func
81094
81095 /* Override any gcc2 internal prototype to avoid an error.  */
81096 #ifdef __cplusplus
81097 extern "C"
81098 {
81099 #endif
81100 /* We use char because int might match the return type of a gcc2
81101    builtin and then its argument prototype would still apply.  */
81102 char $ac_func ();
81103 /* The GNU C library defines this for functions which it implements
81104     to always fail with ENOSYS.  Some functions are actually named
81105     something starting with __ and the normal name is an alias.  */
81106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81107 choke me
81108 #else
81109 char (*f) () = $ac_func;
81110 #endif
81111 #ifdef __cplusplus
81112 }
81113 #endif
81114
81115 int
81116 main ()
81117 {
81118 return f != $ac_func;
81119   ;
81120   return 0;
81121 }
81122 _ACEOF
81123 rm -f conftest.$ac_objext conftest$ac_exeext
81124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81125   (eval $ac_link) 2>conftest.er1
81126   ac_status=$?
81127   grep -v '^ *+' conftest.er1 >conftest.err
81128   rm -f conftest.er1
81129   cat conftest.err >&5
81130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81131   (exit $ac_status); } &&
81132          { ac_try='test -z "$ac_c_werror_flag"
81133                          || test ! -s conftest.err'
81134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81135   (eval $ac_try) 2>&5
81136   ac_status=$?
81137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81138   (exit $ac_status); }; } &&
81139          { ac_try='test -s conftest$ac_exeext'
81140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81141   (eval $ac_try) 2>&5
81142   ac_status=$?
81143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81144   (exit $ac_status); }; }; then
81145   eval "$as_ac_var=yes"
81146 else
81147   echo "$as_me: failed program was:" >&5
81148 sed 's/^/| /' conftest.$ac_ext >&5
81149
81150 eval "$as_ac_var=no"
81151 fi
81152 rm -f conftest.err conftest.$ac_objext \
81153       conftest$ac_exeext conftest.$ac_ext
81154 fi
81155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81157 if test `eval echo '${'$as_ac_var'}'` = yes; then
81158   cat >>confdefs.h <<_ACEOF
81159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81160 _ACEOF
81161
81162 fi
81163 done
81164
81165     fi
81166   fi
81167
81168
81169
81170
81171
81172
81173   echo "$as_me:$LINENO: checking for finitel declaration" >&5
81174 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
81175   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
81176     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
81177   echo $ECHO_N "(cached) $ECHO_C" >&6
81178 else
81179
81180
81181
81182       ac_ext=cc
81183 ac_cpp='$CXXCPP $CPPFLAGS'
81184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81187
81188       cat >conftest.$ac_ext <<_ACEOF
81189 /* confdefs.h.  */
81190 _ACEOF
81191 cat confdefs.h >>conftest.$ac_ext
81192 cat >>conftest.$ac_ext <<_ACEOF
81193 /* end confdefs.h.  */
81194 #include <math.h>
81195                       #ifdef HAVE_IEEEFP_H
81196                       #include <ieeefp.h>
81197                       #endif
81198
81199 int
81200 main ()
81201 {
81202  finitel(0);
81203   ;
81204   return 0;
81205 }
81206 _ACEOF
81207 rm -f conftest.$ac_objext
81208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81209   (eval $ac_compile) 2>conftest.er1
81210   ac_status=$?
81211   grep -v '^ *+' conftest.er1 >conftest.err
81212   rm -f conftest.er1
81213   cat conftest.err >&5
81214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81215   (exit $ac_status); } &&
81216          { ac_try='test -z "$ac_cxx_werror_flag"
81217                          || test ! -s conftest.err'
81218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81219   (eval $ac_try) 2>&5
81220   ac_status=$?
81221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81222   (exit $ac_status); }; } &&
81223          { ac_try='test -s conftest.$ac_objext'
81224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81225   (eval $ac_try) 2>&5
81226   ac_status=$?
81227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81228   (exit $ac_status); }; }; then
81229   glibcxx_cv_func_finitel_use=yes
81230 else
81231   echo "$as_me: failed program was:" >&5
81232 sed 's/^/| /' conftest.$ac_ext >&5
81233
81234 glibcxx_cv_func_finitel_use=no
81235 fi
81236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81237       ac_ext=c
81238 ac_cpp='$CPP $CPPFLAGS'
81239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81242
81243
81244 fi
81245
81246   fi
81247   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
81248 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
81249
81250   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
81251
81252 for ac_func in finitel
81253 do
81254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81255 echo "$as_me:$LINENO: checking for $ac_func" >&5
81256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81257 if eval "test \"\${$as_ac_var+set}\" = set"; then
81258   echo $ECHO_N "(cached) $ECHO_C" >&6
81259 else
81260   if test x$gcc_no_link = xyes; then
81261   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81263    { (exit 1); exit 1; }; }
81264 fi
81265 cat >conftest.$ac_ext <<_ACEOF
81266 /* confdefs.h.  */
81267 _ACEOF
81268 cat confdefs.h >>conftest.$ac_ext
81269 cat >>conftest.$ac_ext <<_ACEOF
81270 /* end confdefs.h.  */
81271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81272    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81273 #define $ac_func innocuous_$ac_func
81274
81275 /* System header to define __stub macros and hopefully few prototypes,
81276     which can conflict with char $ac_func (); below.
81277     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81278     <limits.h> exists even on freestanding compilers.  */
81279
81280 #ifdef __STDC__
81281 # include <limits.h>
81282 #else
81283 # include <assert.h>
81284 #endif
81285
81286 #undef $ac_func
81287
81288 /* Override any gcc2 internal prototype to avoid an error.  */
81289 #ifdef __cplusplus
81290 extern "C"
81291 {
81292 #endif
81293 /* We use char because int might match the return type of a gcc2
81294    builtin and then its argument prototype would still apply.  */
81295 char $ac_func ();
81296 /* The GNU C library defines this for functions which it implements
81297     to always fail with ENOSYS.  Some functions are actually named
81298     something starting with __ and the normal name is an alias.  */
81299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81300 choke me
81301 #else
81302 char (*f) () = $ac_func;
81303 #endif
81304 #ifdef __cplusplus
81305 }
81306 #endif
81307
81308 int
81309 main ()
81310 {
81311 return f != $ac_func;
81312   ;
81313   return 0;
81314 }
81315 _ACEOF
81316 rm -f conftest.$ac_objext conftest$ac_exeext
81317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81318   (eval $ac_link) 2>conftest.er1
81319   ac_status=$?
81320   grep -v '^ *+' conftest.er1 >conftest.err
81321   rm -f conftest.er1
81322   cat conftest.err >&5
81323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81324   (exit $ac_status); } &&
81325          { ac_try='test -z "$ac_c_werror_flag"
81326                          || test ! -s conftest.err'
81327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81328   (eval $ac_try) 2>&5
81329   ac_status=$?
81330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81331   (exit $ac_status); }; } &&
81332          { ac_try='test -s conftest$ac_exeext'
81333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81334   (eval $ac_try) 2>&5
81335   ac_status=$?
81336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81337   (exit $ac_status); }; }; then
81338   eval "$as_ac_var=yes"
81339 else
81340   echo "$as_me: failed program was:" >&5
81341 sed 's/^/| /' conftest.$ac_ext >&5
81342
81343 eval "$as_ac_var=no"
81344 fi
81345 rm -f conftest.err conftest.$ac_objext \
81346       conftest$ac_exeext conftest.$ac_ext
81347 fi
81348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81350 if test `eval echo '${'$as_ac_var'}'` = yes; then
81351   cat >>confdefs.h <<_ACEOF
81352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81353 _ACEOF
81354
81355 fi
81356 done
81357
81358   else
81359
81360   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
81361 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
81362   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
81363     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
81364   echo $ECHO_N "(cached) $ECHO_C" >&6
81365 else
81366
81367
81368
81369       ac_ext=cc
81370 ac_cpp='$CXXCPP $CPPFLAGS'
81371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81374
81375       cat >conftest.$ac_ext <<_ACEOF
81376 /* confdefs.h.  */
81377 _ACEOF
81378 cat confdefs.h >>conftest.$ac_ext
81379 cat >>conftest.$ac_ext <<_ACEOF
81380 /* end confdefs.h.  */
81381 #include <math.h>
81382                       #ifdef HAVE_IEEEFP_H
81383                       #include <ieeefp.h>
81384                       #endif
81385
81386 int
81387 main ()
81388 {
81389  _finitel(0);
81390   ;
81391   return 0;
81392 }
81393 _ACEOF
81394 rm -f conftest.$ac_objext
81395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81396   (eval $ac_compile) 2>conftest.er1
81397   ac_status=$?
81398   grep -v '^ *+' conftest.er1 >conftest.err
81399   rm -f conftest.er1
81400   cat conftest.err >&5
81401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81402   (exit $ac_status); } &&
81403          { ac_try='test -z "$ac_cxx_werror_flag"
81404                          || test ! -s conftest.err'
81405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81406   (eval $ac_try) 2>&5
81407   ac_status=$?
81408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81409   (exit $ac_status); }; } &&
81410          { ac_try='test -s conftest.$ac_objext'
81411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81412   (eval $ac_try) 2>&5
81413   ac_status=$?
81414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81415   (exit $ac_status); }; }; then
81416   glibcxx_cv_func__finitel_use=yes
81417 else
81418   echo "$as_me: failed program was:" >&5
81419 sed 's/^/| /' conftest.$ac_ext >&5
81420
81421 glibcxx_cv_func__finitel_use=no
81422 fi
81423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81424       ac_ext=c
81425 ac_cpp='$CPP $CPPFLAGS'
81426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81429
81430
81431 fi
81432
81433   fi
81434   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
81435 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
81436
81437     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
81438
81439 for ac_func in _finitel
81440 do
81441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81442 echo "$as_me:$LINENO: checking for $ac_func" >&5
81443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81444 if eval "test \"\${$as_ac_var+set}\" = set"; then
81445   echo $ECHO_N "(cached) $ECHO_C" >&6
81446 else
81447   if test x$gcc_no_link = xyes; then
81448   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81450    { (exit 1); exit 1; }; }
81451 fi
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81459    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81460 #define $ac_func innocuous_$ac_func
81461
81462 /* System header to define __stub macros and hopefully few prototypes,
81463     which can conflict with char $ac_func (); below.
81464     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81465     <limits.h> exists even on freestanding compilers.  */
81466
81467 #ifdef __STDC__
81468 # include <limits.h>
81469 #else
81470 # include <assert.h>
81471 #endif
81472
81473 #undef $ac_func
81474
81475 /* Override any gcc2 internal prototype to avoid an error.  */
81476 #ifdef __cplusplus
81477 extern "C"
81478 {
81479 #endif
81480 /* We use char because int might match the return type of a gcc2
81481    builtin and then its argument prototype would still apply.  */
81482 char $ac_func ();
81483 /* The GNU C library defines this for functions which it implements
81484     to always fail with ENOSYS.  Some functions are actually named
81485     something starting with __ and the normal name is an alias.  */
81486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81487 choke me
81488 #else
81489 char (*f) () = $ac_func;
81490 #endif
81491 #ifdef __cplusplus
81492 }
81493 #endif
81494
81495 int
81496 main ()
81497 {
81498 return f != $ac_func;
81499   ;
81500   return 0;
81501 }
81502 _ACEOF
81503 rm -f conftest.$ac_objext conftest$ac_exeext
81504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81505   (eval $ac_link) 2>conftest.er1
81506   ac_status=$?
81507   grep -v '^ *+' conftest.er1 >conftest.err
81508   rm -f conftest.er1
81509   cat conftest.err >&5
81510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81511   (exit $ac_status); } &&
81512          { ac_try='test -z "$ac_c_werror_flag"
81513                          || test ! -s conftest.err'
81514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81515   (eval $ac_try) 2>&5
81516   ac_status=$?
81517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81518   (exit $ac_status); }; } &&
81519          { ac_try='test -s conftest$ac_exeext'
81520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81521   (eval $ac_try) 2>&5
81522   ac_status=$?
81523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81524   (exit $ac_status); }; }; then
81525   eval "$as_ac_var=yes"
81526 else
81527   echo "$as_me: failed program was:" >&5
81528 sed 's/^/| /' conftest.$ac_ext >&5
81529
81530 eval "$as_ac_var=no"
81531 fi
81532 rm -f conftest.err conftest.$ac_objext \
81533       conftest$ac_exeext conftest.$ac_ext
81534 fi
81535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81537 if test `eval echo '${'$as_ac_var'}'` = yes; then
81538   cat >>confdefs.h <<_ACEOF
81539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81540 _ACEOF
81541
81542 fi
81543 done
81544
81545     fi
81546   fi
81547
81548
81549
81550
81551
81552   LIBS="$ac_save_LIBS"
81553   CXXFLAGS="$ac_save_CXXFLAGS"
81554
81555
81556
81557   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
81558 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
81559   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
81560     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
81561   echo $ECHO_N "(cached) $ECHO_C" >&6
81562 else
81563
81564
81565
81566       ac_ext=cc
81567 ac_cpp='$CXXCPP $CPPFLAGS'
81568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81571
81572       cat >conftest.$ac_ext <<_ACEOF
81573 /* confdefs.h.  */
81574 _ACEOF
81575 cat confdefs.h >>conftest.$ac_ext
81576 cat >>conftest.$ac_ext <<_ACEOF
81577 /* end confdefs.h.  */
81578 #include <math.h>
81579 int
81580 main ()
81581 {
81582  __builtin_abs(0);
81583   ;
81584   return 0;
81585 }
81586 _ACEOF
81587 rm -f conftest.$ac_objext
81588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81589   (eval $ac_compile) 2>conftest.er1
81590   ac_status=$?
81591   grep -v '^ *+' conftest.er1 >conftest.err
81592   rm -f conftest.er1
81593   cat conftest.err >&5
81594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81595   (exit $ac_status); } &&
81596          { ac_try='test -z "$ac_cxx_werror_flag"
81597                          || test ! -s conftest.err'
81598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81599   (eval $ac_try) 2>&5
81600   ac_status=$?
81601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81602   (exit $ac_status); }; } &&
81603          { ac_try='test -s conftest.$ac_objext'
81604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81605   (eval $ac_try) 2>&5
81606   ac_status=$?
81607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81608   (exit $ac_status); }; }; then
81609   glibcxx_cv_func___builtin_abs_use=yes
81610 else
81611   echo "$as_me: failed program was:" >&5
81612 sed 's/^/| /' conftest.$ac_ext >&5
81613
81614 glibcxx_cv_func___builtin_abs_use=no
81615 fi
81616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81617       ac_ext=c
81618 ac_cpp='$CPP $CPPFLAGS'
81619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81622
81623
81624 fi
81625
81626   fi
81627   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
81628 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
81629   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
81630     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
81631 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
81632     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
81633       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
81634   echo $ECHO_N "(cached) $ECHO_C" >&6
81635 else
81636
81637         if test x$gcc_no_link = xyes; then
81638   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81640    { (exit 1); exit 1; }; }
81641 fi
81642 cat >conftest.$ac_ext <<_ACEOF
81643 /* confdefs.h.  */
81644 _ACEOF
81645 cat confdefs.h >>conftest.$ac_ext
81646 cat >>conftest.$ac_ext <<_ACEOF
81647 /* end confdefs.h.  */
81648 #include <math.h>
81649 int
81650 main ()
81651 {
81652  __builtin_abs(0);
81653   ;
81654   return 0;
81655 }
81656 _ACEOF
81657 rm -f conftest.$ac_objext conftest$ac_exeext
81658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81659   (eval $ac_link) 2>conftest.er1
81660   ac_status=$?
81661   grep -v '^ *+' conftest.er1 >conftest.err
81662   rm -f conftest.er1
81663   cat conftest.err >&5
81664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81665   (exit $ac_status); } &&
81666          { ac_try='test -z "$ac_c_werror_flag"
81667                          || test ! -s conftest.err'
81668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81669   (eval $ac_try) 2>&5
81670   ac_status=$?
81671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81672   (exit $ac_status); }; } &&
81673          { ac_try='test -s conftest$ac_exeext'
81674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81675   (eval $ac_try) 2>&5
81676   ac_status=$?
81677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81678   (exit $ac_status); }; }; then
81679   glibcxx_cv_func___builtin_abs_link=yes
81680 else
81681   echo "$as_me: failed program was:" >&5
81682 sed 's/^/| /' conftest.$ac_ext >&5
81683
81684 glibcxx_cv_func___builtin_abs_link=no
81685 fi
81686 rm -f conftest.err conftest.$ac_objext \
81687       conftest$ac_exeext conftest.$ac_ext
81688
81689 fi
81690
81691     fi
81692     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
81693 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
81694
81695     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
81696
81697 cat >>confdefs.h <<\_ACEOF
81698 #define HAVE___BUILTIN_ABS 1
81699 _ACEOF
81700
81701     fi
81702
81703   fi
81704
81705
81706   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
81707 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
81708   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
81709     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
81710   echo $ECHO_N "(cached) $ECHO_C" >&6
81711 else
81712
81713
81714
81715       ac_ext=cc
81716 ac_cpp='$CXXCPP $CPPFLAGS'
81717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81720
81721       cat >conftest.$ac_ext <<_ACEOF
81722 /* confdefs.h.  */
81723 _ACEOF
81724 cat confdefs.h >>conftest.$ac_ext
81725 cat >>conftest.$ac_ext <<_ACEOF
81726 /* end confdefs.h.  */
81727 #include <math.h>
81728 int
81729 main ()
81730 {
81731  __builtin_fabsf(0);
81732   ;
81733   return 0;
81734 }
81735 _ACEOF
81736 rm -f conftest.$ac_objext
81737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81738   (eval $ac_compile) 2>conftest.er1
81739   ac_status=$?
81740   grep -v '^ *+' conftest.er1 >conftest.err
81741   rm -f conftest.er1
81742   cat conftest.err >&5
81743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81744   (exit $ac_status); } &&
81745          { ac_try='test -z "$ac_cxx_werror_flag"
81746                          || test ! -s conftest.err'
81747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81748   (eval $ac_try) 2>&5
81749   ac_status=$?
81750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81751   (exit $ac_status); }; } &&
81752          { ac_try='test -s conftest.$ac_objext'
81753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81754   (eval $ac_try) 2>&5
81755   ac_status=$?
81756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81757   (exit $ac_status); }; }; then
81758   glibcxx_cv_func___builtin_fabsf_use=yes
81759 else
81760   echo "$as_me: failed program was:" >&5
81761 sed 's/^/| /' conftest.$ac_ext >&5
81762
81763 glibcxx_cv_func___builtin_fabsf_use=no
81764 fi
81765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81766       ac_ext=c
81767 ac_cpp='$CPP $CPPFLAGS'
81768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81771
81772
81773 fi
81774
81775   fi
81776   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
81777 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
81778   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
81779     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
81780 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
81781     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
81782       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
81783   echo $ECHO_N "(cached) $ECHO_C" >&6
81784 else
81785
81786         if test x$gcc_no_link = xyes; then
81787   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81789    { (exit 1); exit 1; }; }
81790 fi
81791 cat >conftest.$ac_ext <<_ACEOF
81792 /* confdefs.h.  */
81793 _ACEOF
81794 cat confdefs.h >>conftest.$ac_ext
81795 cat >>conftest.$ac_ext <<_ACEOF
81796 /* end confdefs.h.  */
81797 #include <math.h>
81798 int
81799 main ()
81800 {
81801  __builtin_fabsf(0);
81802   ;
81803   return 0;
81804 }
81805 _ACEOF
81806 rm -f conftest.$ac_objext conftest$ac_exeext
81807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81808   (eval $ac_link) 2>conftest.er1
81809   ac_status=$?
81810   grep -v '^ *+' conftest.er1 >conftest.err
81811   rm -f conftest.er1
81812   cat conftest.err >&5
81813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81814   (exit $ac_status); } &&
81815          { ac_try='test -z "$ac_c_werror_flag"
81816                          || test ! -s conftest.err'
81817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81818   (eval $ac_try) 2>&5
81819   ac_status=$?
81820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81821   (exit $ac_status); }; } &&
81822          { ac_try='test -s conftest$ac_exeext'
81823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81824   (eval $ac_try) 2>&5
81825   ac_status=$?
81826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81827   (exit $ac_status); }; }; then
81828   glibcxx_cv_func___builtin_fabsf_link=yes
81829 else
81830   echo "$as_me: failed program was:" >&5
81831 sed 's/^/| /' conftest.$ac_ext >&5
81832
81833 glibcxx_cv_func___builtin_fabsf_link=no
81834 fi
81835 rm -f conftest.err conftest.$ac_objext \
81836       conftest$ac_exeext conftest.$ac_ext
81837
81838 fi
81839
81840     fi
81841     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
81842 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
81843
81844     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
81845
81846 cat >>confdefs.h <<\_ACEOF
81847 #define HAVE___BUILTIN_FABSF 1
81848 _ACEOF
81849
81850     fi
81851
81852   fi
81853
81854
81855   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
81856 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
81857   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
81858     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
81859   echo $ECHO_N "(cached) $ECHO_C" >&6
81860 else
81861
81862
81863
81864       ac_ext=cc
81865 ac_cpp='$CXXCPP $CPPFLAGS'
81866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81869
81870       cat >conftest.$ac_ext <<_ACEOF
81871 /* confdefs.h.  */
81872 _ACEOF
81873 cat confdefs.h >>conftest.$ac_ext
81874 cat >>conftest.$ac_ext <<_ACEOF
81875 /* end confdefs.h.  */
81876 #include <math.h>
81877 int
81878 main ()
81879 {
81880  __builtin_fabs(0);
81881   ;
81882   return 0;
81883 }
81884 _ACEOF
81885 rm -f conftest.$ac_objext
81886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81887   (eval $ac_compile) 2>conftest.er1
81888   ac_status=$?
81889   grep -v '^ *+' conftest.er1 >conftest.err
81890   rm -f conftest.er1
81891   cat conftest.err >&5
81892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81893   (exit $ac_status); } &&
81894          { ac_try='test -z "$ac_cxx_werror_flag"
81895                          || test ! -s conftest.err'
81896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81897   (eval $ac_try) 2>&5
81898   ac_status=$?
81899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81900   (exit $ac_status); }; } &&
81901          { ac_try='test -s conftest.$ac_objext'
81902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81903   (eval $ac_try) 2>&5
81904   ac_status=$?
81905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81906   (exit $ac_status); }; }; then
81907   glibcxx_cv_func___builtin_fabs_use=yes
81908 else
81909   echo "$as_me: failed program was:" >&5
81910 sed 's/^/| /' conftest.$ac_ext >&5
81911
81912 glibcxx_cv_func___builtin_fabs_use=no
81913 fi
81914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81915       ac_ext=c
81916 ac_cpp='$CPP $CPPFLAGS'
81917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81920
81921
81922 fi
81923
81924   fi
81925   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
81926 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
81927   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
81928     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
81929 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
81930     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
81931       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
81932   echo $ECHO_N "(cached) $ECHO_C" >&6
81933 else
81934
81935         if test x$gcc_no_link = xyes; then
81936   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81938    { (exit 1); exit 1; }; }
81939 fi
81940 cat >conftest.$ac_ext <<_ACEOF
81941 /* confdefs.h.  */
81942 _ACEOF
81943 cat confdefs.h >>conftest.$ac_ext
81944 cat >>conftest.$ac_ext <<_ACEOF
81945 /* end confdefs.h.  */
81946 #include <math.h>
81947 int
81948 main ()
81949 {
81950  __builtin_fabs(0);
81951   ;
81952   return 0;
81953 }
81954 _ACEOF
81955 rm -f conftest.$ac_objext conftest$ac_exeext
81956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81957   (eval $ac_link) 2>conftest.er1
81958   ac_status=$?
81959   grep -v '^ *+' conftest.er1 >conftest.err
81960   rm -f conftest.er1
81961   cat conftest.err >&5
81962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81963   (exit $ac_status); } &&
81964          { ac_try='test -z "$ac_c_werror_flag"
81965                          || test ! -s conftest.err'
81966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81967   (eval $ac_try) 2>&5
81968   ac_status=$?
81969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81970   (exit $ac_status); }; } &&
81971          { ac_try='test -s conftest$ac_exeext'
81972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81973   (eval $ac_try) 2>&5
81974   ac_status=$?
81975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81976   (exit $ac_status); }; }; then
81977   glibcxx_cv_func___builtin_fabs_link=yes
81978 else
81979   echo "$as_me: failed program was:" >&5
81980 sed 's/^/| /' conftest.$ac_ext >&5
81981
81982 glibcxx_cv_func___builtin_fabs_link=no
81983 fi
81984 rm -f conftest.err conftest.$ac_objext \
81985       conftest$ac_exeext conftest.$ac_ext
81986
81987 fi
81988
81989     fi
81990     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
81991 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
81992
81993     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
81994
81995 cat >>confdefs.h <<\_ACEOF
81996 #define HAVE___BUILTIN_FABS 1
81997 _ACEOF
81998
81999     fi
82000
82001   fi
82002
82003
82004   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
82005 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
82006   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
82007     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
82008   echo $ECHO_N "(cached) $ECHO_C" >&6
82009 else
82010
82011
82012
82013       ac_ext=cc
82014 ac_cpp='$CXXCPP $CPPFLAGS'
82015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82018
82019       cat >conftest.$ac_ext <<_ACEOF
82020 /* confdefs.h.  */
82021 _ACEOF
82022 cat confdefs.h >>conftest.$ac_ext
82023 cat >>conftest.$ac_ext <<_ACEOF
82024 /* end confdefs.h.  */
82025 #include <math.h>
82026 int
82027 main ()
82028 {
82029  __builtin_fabsl(0);
82030   ;
82031   return 0;
82032 }
82033 _ACEOF
82034 rm -f conftest.$ac_objext
82035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82036   (eval $ac_compile) 2>conftest.er1
82037   ac_status=$?
82038   grep -v '^ *+' conftest.er1 >conftest.err
82039   rm -f conftest.er1
82040   cat conftest.err >&5
82041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82042   (exit $ac_status); } &&
82043          { ac_try='test -z "$ac_cxx_werror_flag"
82044                          || test ! -s conftest.err'
82045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82046   (eval $ac_try) 2>&5
82047   ac_status=$?
82048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82049   (exit $ac_status); }; } &&
82050          { ac_try='test -s conftest.$ac_objext'
82051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82052   (eval $ac_try) 2>&5
82053   ac_status=$?
82054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82055   (exit $ac_status); }; }; then
82056   glibcxx_cv_func___builtin_fabsl_use=yes
82057 else
82058   echo "$as_me: failed program was:" >&5
82059 sed 's/^/| /' conftest.$ac_ext >&5
82060
82061 glibcxx_cv_func___builtin_fabsl_use=no
82062 fi
82063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82064       ac_ext=c
82065 ac_cpp='$CPP $CPPFLAGS'
82066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82069
82070
82071 fi
82072
82073   fi
82074   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
82075 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
82076   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
82077     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
82078 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
82079     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
82080       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
82081   echo $ECHO_N "(cached) $ECHO_C" >&6
82082 else
82083
82084         if test x$gcc_no_link = xyes; then
82085   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82087    { (exit 1); exit 1; }; }
82088 fi
82089 cat >conftest.$ac_ext <<_ACEOF
82090 /* confdefs.h.  */
82091 _ACEOF
82092 cat confdefs.h >>conftest.$ac_ext
82093 cat >>conftest.$ac_ext <<_ACEOF
82094 /* end confdefs.h.  */
82095 #include <math.h>
82096 int
82097 main ()
82098 {
82099  __builtin_fabsl(0);
82100   ;
82101   return 0;
82102 }
82103 _ACEOF
82104 rm -f conftest.$ac_objext conftest$ac_exeext
82105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82106   (eval $ac_link) 2>conftest.er1
82107   ac_status=$?
82108   grep -v '^ *+' conftest.er1 >conftest.err
82109   rm -f conftest.er1
82110   cat conftest.err >&5
82111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82112   (exit $ac_status); } &&
82113          { ac_try='test -z "$ac_c_werror_flag"
82114                          || test ! -s conftest.err'
82115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82116   (eval $ac_try) 2>&5
82117   ac_status=$?
82118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82119   (exit $ac_status); }; } &&
82120          { ac_try='test -s conftest$ac_exeext'
82121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82122   (eval $ac_try) 2>&5
82123   ac_status=$?
82124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82125   (exit $ac_status); }; }; then
82126   glibcxx_cv_func___builtin_fabsl_link=yes
82127 else
82128   echo "$as_me: failed program was:" >&5
82129 sed 's/^/| /' conftest.$ac_ext >&5
82130
82131 glibcxx_cv_func___builtin_fabsl_link=no
82132 fi
82133 rm -f conftest.err conftest.$ac_objext \
82134       conftest$ac_exeext conftest.$ac_ext
82135
82136 fi
82137
82138     fi
82139     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
82140 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
82141
82142     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
82143
82144 cat >>confdefs.h <<\_ACEOF
82145 #define HAVE___BUILTIN_FABSL 1
82146 _ACEOF
82147
82148     fi
82149
82150   fi
82151
82152
82153   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
82154 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
82155   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
82156     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
82157   echo $ECHO_N "(cached) $ECHO_C" >&6
82158 else
82159
82160
82161
82162       ac_ext=cc
82163 ac_cpp='$CXXCPP $CPPFLAGS'
82164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82167
82168       cat >conftest.$ac_ext <<_ACEOF
82169 /* confdefs.h.  */
82170 _ACEOF
82171 cat confdefs.h >>conftest.$ac_ext
82172 cat >>conftest.$ac_ext <<_ACEOF
82173 /* end confdefs.h.  */
82174 #include <math.h>
82175 int
82176 main ()
82177 {
82178  __builtin_labs(0);
82179   ;
82180   return 0;
82181 }
82182 _ACEOF
82183 rm -f conftest.$ac_objext
82184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82185   (eval $ac_compile) 2>conftest.er1
82186   ac_status=$?
82187   grep -v '^ *+' conftest.er1 >conftest.err
82188   rm -f conftest.er1
82189   cat conftest.err >&5
82190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82191   (exit $ac_status); } &&
82192          { ac_try='test -z "$ac_cxx_werror_flag"
82193                          || test ! -s conftest.err'
82194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82195   (eval $ac_try) 2>&5
82196   ac_status=$?
82197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82198   (exit $ac_status); }; } &&
82199          { ac_try='test -s conftest.$ac_objext'
82200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82201   (eval $ac_try) 2>&5
82202   ac_status=$?
82203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82204   (exit $ac_status); }; }; then
82205   glibcxx_cv_func___builtin_labs_use=yes
82206 else
82207   echo "$as_me: failed program was:" >&5
82208 sed 's/^/| /' conftest.$ac_ext >&5
82209
82210 glibcxx_cv_func___builtin_labs_use=no
82211 fi
82212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82213       ac_ext=c
82214 ac_cpp='$CPP $CPPFLAGS'
82215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82218
82219
82220 fi
82221
82222   fi
82223   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
82224 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
82225   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
82226     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
82227 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
82228     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
82229       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
82230   echo $ECHO_N "(cached) $ECHO_C" >&6
82231 else
82232
82233         if test x$gcc_no_link = xyes; then
82234   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82236    { (exit 1); exit 1; }; }
82237 fi
82238 cat >conftest.$ac_ext <<_ACEOF
82239 /* confdefs.h.  */
82240 _ACEOF
82241 cat confdefs.h >>conftest.$ac_ext
82242 cat >>conftest.$ac_ext <<_ACEOF
82243 /* end confdefs.h.  */
82244 #include <math.h>
82245 int
82246 main ()
82247 {
82248  __builtin_labs(0);
82249   ;
82250   return 0;
82251 }
82252 _ACEOF
82253 rm -f conftest.$ac_objext conftest$ac_exeext
82254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82255   (eval $ac_link) 2>conftest.er1
82256   ac_status=$?
82257   grep -v '^ *+' conftest.er1 >conftest.err
82258   rm -f conftest.er1
82259   cat conftest.err >&5
82260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82261   (exit $ac_status); } &&
82262          { ac_try='test -z "$ac_c_werror_flag"
82263                          || test ! -s conftest.err'
82264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82265   (eval $ac_try) 2>&5
82266   ac_status=$?
82267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82268   (exit $ac_status); }; } &&
82269          { ac_try='test -s conftest$ac_exeext'
82270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82271   (eval $ac_try) 2>&5
82272   ac_status=$?
82273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82274   (exit $ac_status); }; }; then
82275   glibcxx_cv_func___builtin_labs_link=yes
82276 else
82277   echo "$as_me: failed program was:" >&5
82278 sed 's/^/| /' conftest.$ac_ext >&5
82279
82280 glibcxx_cv_func___builtin_labs_link=no
82281 fi
82282 rm -f conftest.err conftest.$ac_objext \
82283       conftest$ac_exeext conftest.$ac_ext
82284
82285 fi
82286
82287     fi
82288     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
82289 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
82290
82291     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
82292
82293 cat >>confdefs.h <<\_ACEOF
82294 #define HAVE___BUILTIN_LABS 1
82295 _ACEOF
82296
82297     fi
82298
82299   fi
82300
82301
82302
82303   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
82304 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
82305   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
82306     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
82307   echo $ECHO_N "(cached) $ECHO_C" >&6
82308 else
82309
82310
82311
82312       ac_ext=cc
82313 ac_cpp='$CXXCPP $CPPFLAGS'
82314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82317
82318       cat >conftest.$ac_ext <<_ACEOF
82319 /* confdefs.h.  */
82320 _ACEOF
82321 cat confdefs.h >>conftest.$ac_ext
82322 cat >>conftest.$ac_ext <<_ACEOF
82323 /* end confdefs.h.  */
82324 #include <math.h>
82325 int
82326 main ()
82327 {
82328  __builtin_sqrtf(0);
82329   ;
82330   return 0;
82331 }
82332 _ACEOF
82333 rm -f conftest.$ac_objext
82334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82335   (eval $ac_compile) 2>conftest.er1
82336   ac_status=$?
82337   grep -v '^ *+' conftest.er1 >conftest.err
82338   rm -f conftest.er1
82339   cat conftest.err >&5
82340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82341   (exit $ac_status); } &&
82342          { ac_try='test -z "$ac_cxx_werror_flag"
82343                          || test ! -s conftest.err'
82344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82345   (eval $ac_try) 2>&5
82346   ac_status=$?
82347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82348   (exit $ac_status); }; } &&
82349          { ac_try='test -s conftest.$ac_objext'
82350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82351   (eval $ac_try) 2>&5
82352   ac_status=$?
82353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82354   (exit $ac_status); }; }; then
82355   glibcxx_cv_func___builtin_sqrtf_use=yes
82356 else
82357   echo "$as_me: failed program was:" >&5
82358 sed 's/^/| /' conftest.$ac_ext >&5
82359
82360 glibcxx_cv_func___builtin_sqrtf_use=no
82361 fi
82362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82363       ac_ext=c
82364 ac_cpp='$CPP $CPPFLAGS'
82365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82368
82369
82370 fi
82371
82372   fi
82373   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
82374 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
82375   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
82376     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
82377 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
82378     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
82379       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
82380   echo $ECHO_N "(cached) $ECHO_C" >&6
82381 else
82382
82383         if test x$gcc_no_link = xyes; then
82384   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82386    { (exit 1); exit 1; }; }
82387 fi
82388 cat >conftest.$ac_ext <<_ACEOF
82389 /* confdefs.h.  */
82390 _ACEOF
82391 cat confdefs.h >>conftest.$ac_ext
82392 cat >>conftest.$ac_ext <<_ACEOF
82393 /* end confdefs.h.  */
82394 #include <math.h>
82395 int
82396 main ()
82397 {
82398  __builtin_sqrtf(0);
82399   ;
82400   return 0;
82401 }
82402 _ACEOF
82403 rm -f conftest.$ac_objext conftest$ac_exeext
82404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82405   (eval $ac_link) 2>conftest.er1
82406   ac_status=$?
82407   grep -v '^ *+' conftest.er1 >conftest.err
82408   rm -f conftest.er1
82409   cat conftest.err >&5
82410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82411   (exit $ac_status); } &&
82412          { ac_try='test -z "$ac_c_werror_flag"
82413                          || test ! -s conftest.err'
82414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82415   (eval $ac_try) 2>&5
82416   ac_status=$?
82417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82418   (exit $ac_status); }; } &&
82419          { ac_try='test -s conftest$ac_exeext'
82420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82421   (eval $ac_try) 2>&5
82422   ac_status=$?
82423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82424   (exit $ac_status); }; }; then
82425   glibcxx_cv_func___builtin_sqrtf_link=yes
82426 else
82427   echo "$as_me: failed program was:" >&5
82428 sed 's/^/| /' conftest.$ac_ext >&5
82429
82430 glibcxx_cv_func___builtin_sqrtf_link=no
82431 fi
82432 rm -f conftest.err conftest.$ac_objext \
82433       conftest$ac_exeext conftest.$ac_ext
82434
82435 fi
82436
82437     fi
82438     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
82439 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
82440
82441     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
82442
82443 cat >>confdefs.h <<\_ACEOF
82444 #define HAVE___BUILTIN_SQRTF 1
82445 _ACEOF
82446
82447     fi
82448
82449   fi
82450
82451
82452   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
82453 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
82454   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
82455     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
82456   echo $ECHO_N "(cached) $ECHO_C" >&6
82457 else
82458
82459
82460
82461       ac_ext=cc
82462 ac_cpp='$CXXCPP $CPPFLAGS'
82463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82466
82467       cat >conftest.$ac_ext <<_ACEOF
82468 /* confdefs.h.  */
82469 _ACEOF
82470 cat confdefs.h >>conftest.$ac_ext
82471 cat >>conftest.$ac_ext <<_ACEOF
82472 /* end confdefs.h.  */
82473 #include <math.h>
82474 int
82475 main ()
82476 {
82477  __builtin_sqrt(0);
82478   ;
82479   return 0;
82480 }
82481 _ACEOF
82482 rm -f conftest.$ac_objext
82483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82484   (eval $ac_compile) 2>conftest.er1
82485   ac_status=$?
82486   grep -v '^ *+' conftest.er1 >conftest.err
82487   rm -f conftest.er1
82488   cat conftest.err >&5
82489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82490   (exit $ac_status); } &&
82491          { ac_try='test -z "$ac_cxx_werror_flag"
82492                          || test ! -s conftest.err'
82493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82494   (eval $ac_try) 2>&5
82495   ac_status=$?
82496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82497   (exit $ac_status); }; } &&
82498          { ac_try='test -s conftest.$ac_objext'
82499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82500   (eval $ac_try) 2>&5
82501   ac_status=$?
82502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82503   (exit $ac_status); }; }; then
82504   glibcxx_cv_func___builtin_sqrt_use=yes
82505 else
82506   echo "$as_me: failed program was:" >&5
82507 sed 's/^/| /' conftest.$ac_ext >&5
82508
82509 glibcxx_cv_func___builtin_sqrt_use=no
82510 fi
82511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82512       ac_ext=c
82513 ac_cpp='$CPP $CPPFLAGS'
82514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82517
82518
82519 fi
82520
82521   fi
82522   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
82523 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
82524   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
82525     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
82526 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
82527     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
82528       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
82529   echo $ECHO_N "(cached) $ECHO_C" >&6
82530 else
82531
82532         if test x$gcc_no_link = xyes; then
82533   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82535    { (exit 1); exit 1; }; }
82536 fi
82537 cat >conftest.$ac_ext <<_ACEOF
82538 /* confdefs.h.  */
82539 _ACEOF
82540 cat confdefs.h >>conftest.$ac_ext
82541 cat >>conftest.$ac_ext <<_ACEOF
82542 /* end confdefs.h.  */
82543 #include <math.h>
82544 int
82545 main ()
82546 {
82547  __builtin_sqrt(0);
82548   ;
82549   return 0;
82550 }
82551 _ACEOF
82552 rm -f conftest.$ac_objext conftest$ac_exeext
82553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82554   (eval $ac_link) 2>conftest.er1
82555   ac_status=$?
82556   grep -v '^ *+' conftest.er1 >conftest.err
82557   rm -f conftest.er1
82558   cat conftest.err >&5
82559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82560   (exit $ac_status); } &&
82561          { ac_try='test -z "$ac_c_werror_flag"
82562                          || test ! -s conftest.err'
82563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82564   (eval $ac_try) 2>&5
82565   ac_status=$?
82566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82567   (exit $ac_status); }; } &&
82568          { ac_try='test -s conftest$ac_exeext'
82569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82570   (eval $ac_try) 2>&5
82571   ac_status=$?
82572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82573   (exit $ac_status); }; }; then
82574   glibcxx_cv_func___builtin_sqrt_link=yes
82575 else
82576   echo "$as_me: failed program was:" >&5
82577 sed 's/^/| /' conftest.$ac_ext >&5
82578
82579 glibcxx_cv_func___builtin_sqrt_link=no
82580 fi
82581 rm -f conftest.err conftest.$ac_objext \
82582       conftest$ac_exeext conftest.$ac_ext
82583
82584 fi
82585
82586     fi
82587     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
82588 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
82589
82590     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
82591
82592 cat >>confdefs.h <<\_ACEOF
82593 #define HAVE___BUILTIN_SQRT 1
82594 _ACEOF
82595
82596     fi
82597
82598   fi
82599
82600
82601   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
82602 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
82603   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
82604     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
82605   echo $ECHO_N "(cached) $ECHO_C" >&6
82606 else
82607
82608
82609
82610       ac_ext=cc
82611 ac_cpp='$CXXCPP $CPPFLAGS'
82612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82615
82616       cat >conftest.$ac_ext <<_ACEOF
82617 /* confdefs.h.  */
82618 _ACEOF
82619 cat confdefs.h >>conftest.$ac_ext
82620 cat >>conftest.$ac_ext <<_ACEOF
82621 /* end confdefs.h.  */
82622 #include <math.h>
82623 int
82624 main ()
82625 {
82626  __builtin_sqrtl(0);
82627   ;
82628   return 0;
82629 }
82630 _ACEOF
82631 rm -f conftest.$ac_objext
82632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82633   (eval $ac_compile) 2>conftest.er1
82634   ac_status=$?
82635   grep -v '^ *+' conftest.er1 >conftest.err
82636   rm -f conftest.er1
82637   cat conftest.err >&5
82638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82639   (exit $ac_status); } &&
82640          { ac_try='test -z "$ac_cxx_werror_flag"
82641                          || test ! -s conftest.err'
82642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82643   (eval $ac_try) 2>&5
82644   ac_status=$?
82645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82646   (exit $ac_status); }; } &&
82647          { ac_try='test -s conftest.$ac_objext'
82648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82649   (eval $ac_try) 2>&5
82650   ac_status=$?
82651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82652   (exit $ac_status); }; }; then
82653   glibcxx_cv_func___builtin_sqrtl_use=yes
82654 else
82655   echo "$as_me: failed program was:" >&5
82656 sed 's/^/| /' conftest.$ac_ext >&5
82657
82658 glibcxx_cv_func___builtin_sqrtl_use=no
82659 fi
82660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82661       ac_ext=c
82662 ac_cpp='$CPP $CPPFLAGS'
82663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82666
82667
82668 fi
82669
82670   fi
82671   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
82672 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
82673   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
82674     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
82675 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
82676     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
82677       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
82678   echo $ECHO_N "(cached) $ECHO_C" >&6
82679 else
82680
82681         if test x$gcc_no_link = xyes; then
82682   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82684    { (exit 1); exit 1; }; }
82685 fi
82686 cat >conftest.$ac_ext <<_ACEOF
82687 /* confdefs.h.  */
82688 _ACEOF
82689 cat confdefs.h >>conftest.$ac_ext
82690 cat >>conftest.$ac_ext <<_ACEOF
82691 /* end confdefs.h.  */
82692 #include <math.h>
82693 int
82694 main ()
82695 {
82696  __builtin_sqrtl(0);
82697   ;
82698   return 0;
82699 }
82700 _ACEOF
82701 rm -f conftest.$ac_objext conftest$ac_exeext
82702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82703   (eval $ac_link) 2>conftest.er1
82704   ac_status=$?
82705   grep -v '^ *+' conftest.er1 >conftest.err
82706   rm -f conftest.er1
82707   cat conftest.err >&5
82708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82709   (exit $ac_status); } &&
82710          { ac_try='test -z "$ac_c_werror_flag"
82711                          || test ! -s conftest.err'
82712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82713   (eval $ac_try) 2>&5
82714   ac_status=$?
82715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82716   (exit $ac_status); }; } &&
82717          { ac_try='test -s conftest$ac_exeext'
82718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82719   (eval $ac_try) 2>&5
82720   ac_status=$?
82721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82722   (exit $ac_status); }; }; then
82723   glibcxx_cv_func___builtin_sqrtl_link=yes
82724 else
82725   echo "$as_me: failed program was:" >&5
82726 sed 's/^/| /' conftest.$ac_ext >&5
82727
82728 glibcxx_cv_func___builtin_sqrtl_link=no
82729 fi
82730 rm -f conftest.err conftest.$ac_objext \
82731       conftest$ac_exeext conftest.$ac_ext
82732
82733 fi
82734
82735     fi
82736     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
82737 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
82738
82739     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
82740
82741 cat >>confdefs.h <<\_ACEOF
82742 #define HAVE___BUILTIN_SQRTL 1
82743 _ACEOF
82744
82745     fi
82746
82747   fi
82748
82749
82750
82751   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
82752 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
82753   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
82754     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
82755   echo $ECHO_N "(cached) $ECHO_C" >&6
82756 else
82757
82758
82759
82760       ac_ext=cc
82761 ac_cpp='$CXXCPP $CPPFLAGS'
82762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82765
82766       cat >conftest.$ac_ext <<_ACEOF
82767 /* confdefs.h.  */
82768 _ACEOF
82769 cat confdefs.h >>conftest.$ac_ext
82770 cat >>conftest.$ac_ext <<_ACEOF
82771 /* end confdefs.h.  */
82772 #include <math.h>
82773 int
82774 main ()
82775 {
82776  __builtin_sinf(0);
82777   ;
82778   return 0;
82779 }
82780 _ACEOF
82781 rm -f conftest.$ac_objext
82782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82783   (eval $ac_compile) 2>conftest.er1
82784   ac_status=$?
82785   grep -v '^ *+' conftest.er1 >conftest.err
82786   rm -f conftest.er1
82787   cat conftest.err >&5
82788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82789   (exit $ac_status); } &&
82790          { ac_try='test -z "$ac_cxx_werror_flag"
82791                          || test ! -s conftest.err'
82792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82793   (eval $ac_try) 2>&5
82794   ac_status=$?
82795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82796   (exit $ac_status); }; } &&
82797          { ac_try='test -s conftest.$ac_objext'
82798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82799   (eval $ac_try) 2>&5
82800   ac_status=$?
82801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82802   (exit $ac_status); }; }; then
82803   glibcxx_cv_func___builtin_sinf_use=yes
82804 else
82805   echo "$as_me: failed program was:" >&5
82806 sed 's/^/| /' conftest.$ac_ext >&5
82807
82808 glibcxx_cv_func___builtin_sinf_use=no
82809 fi
82810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82811       ac_ext=c
82812 ac_cpp='$CPP $CPPFLAGS'
82813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82816
82817
82818 fi
82819
82820   fi
82821   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
82822 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
82823   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
82824     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
82825 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
82826     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
82827       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
82828   echo $ECHO_N "(cached) $ECHO_C" >&6
82829 else
82830
82831         if test x$gcc_no_link = xyes; then
82832   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82834    { (exit 1); exit 1; }; }
82835 fi
82836 cat >conftest.$ac_ext <<_ACEOF
82837 /* confdefs.h.  */
82838 _ACEOF
82839 cat confdefs.h >>conftest.$ac_ext
82840 cat >>conftest.$ac_ext <<_ACEOF
82841 /* end confdefs.h.  */
82842 #include <math.h>
82843 int
82844 main ()
82845 {
82846  __builtin_sinf(0);
82847   ;
82848   return 0;
82849 }
82850 _ACEOF
82851 rm -f conftest.$ac_objext conftest$ac_exeext
82852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82853   (eval $ac_link) 2>conftest.er1
82854   ac_status=$?
82855   grep -v '^ *+' conftest.er1 >conftest.err
82856   rm -f conftest.er1
82857   cat conftest.err >&5
82858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82859   (exit $ac_status); } &&
82860          { ac_try='test -z "$ac_c_werror_flag"
82861                          || test ! -s conftest.err'
82862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82863   (eval $ac_try) 2>&5
82864   ac_status=$?
82865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82866   (exit $ac_status); }; } &&
82867          { ac_try='test -s conftest$ac_exeext'
82868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82869   (eval $ac_try) 2>&5
82870   ac_status=$?
82871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82872   (exit $ac_status); }; }; then
82873   glibcxx_cv_func___builtin_sinf_link=yes
82874 else
82875   echo "$as_me: failed program was:" >&5
82876 sed 's/^/| /' conftest.$ac_ext >&5
82877
82878 glibcxx_cv_func___builtin_sinf_link=no
82879 fi
82880 rm -f conftest.err conftest.$ac_objext \
82881       conftest$ac_exeext conftest.$ac_ext
82882
82883 fi
82884
82885     fi
82886     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
82887 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
82888
82889     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
82890
82891 cat >>confdefs.h <<\_ACEOF
82892 #define HAVE___BUILTIN_SINF 1
82893 _ACEOF
82894
82895     fi
82896
82897   fi
82898
82899
82900   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
82901 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
82902   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
82903     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
82904   echo $ECHO_N "(cached) $ECHO_C" >&6
82905 else
82906
82907
82908
82909       ac_ext=cc
82910 ac_cpp='$CXXCPP $CPPFLAGS'
82911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82914
82915       cat >conftest.$ac_ext <<_ACEOF
82916 /* confdefs.h.  */
82917 _ACEOF
82918 cat confdefs.h >>conftest.$ac_ext
82919 cat >>conftest.$ac_ext <<_ACEOF
82920 /* end confdefs.h.  */
82921 #include <math.h>
82922 int
82923 main ()
82924 {
82925  __builtin_sin(0);
82926   ;
82927   return 0;
82928 }
82929 _ACEOF
82930 rm -f conftest.$ac_objext
82931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82932   (eval $ac_compile) 2>conftest.er1
82933   ac_status=$?
82934   grep -v '^ *+' conftest.er1 >conftest.err
82935   rm -f conftest.er1
82936   cat conftest.err >&5
82937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82938   (exit $ac_status); } &&
82939          { ac_try='test -z "$ac_cxx_werror_flag"
82940                          || test ! -s conftest.err'
82941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82942   (eval $ac_try) 2>&5
82943   ac_status=$?
82944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82945   (exit $ac_status); }; } &&
82946          { ac_try='test -s conftest.$ac_objext'
82947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82948   (eval $ac_try) 2>&5
82949   ac_status=$?
82950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82951   (exit $ac_status); }; }; then
82952   glibcxx_cv_func___builtin_sin_use=yes
82953 else
82954   echo "$as_me: failed program was:" >&5
82955 sed 's/^/| /' conftest.$ac_ext >&5
82956
82957 glibcxx_cv_func___builtin_sin_use=no
82958 fi
82959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82960       ac_ext=c
82961 ac_cpp='$CPP $CPPFLAGS'
82962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82965
82966
82967 fi
82968
82969   fi
82970   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
82971 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
82972   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
82973     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
82974 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
82975     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
82976       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
82977   echo $ECHO_N "(cached) $ECHO_C" >&6
82978 else
82979
82980         if test x$gcc_no_link = xyes; then
82981   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82983    { (exit 1); exit 1; }; }
82984 fi
82985 cat >conftest.$ac_ext <<_ACEOF
82986 /* confdefs.h.  */
82987 _ACEOF
82988 cat confdefs.h >>conftest.$ac_ext
82989 cat >>conftest.$ac_ext <<_ACEOF
82990 /* end confdefs.h.  */
82991 #include <math.h>
82992 int
82993 main ()
82994 {
82995  __builtin_sin(0);
82996   ;
82997   return 0;
82998 }
82999 _ACEOF
83000 rm -f conftest.$ac_objext conftest$ac_exeext
83001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83002   (eval $ac_link) 2>conftest.er1
83003   ac_status=$?
83004   grep -v '^ *+' conftest.er1 >conftest.err
83005   rm -f conftest.er1
83006   cat conftest.err >&5
83007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83008   (exit $ac_status); } &&
83009          { ac_try='test -z "$ac_c_werror_flag"
83010                          || test ! -s conftest.err'
83011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83012   (eval $ac_try) 2>&5
83013   ac_status=$?
83014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83015   (exit $ac_status); }; } &&
83016          { ac_try='test -s conftest$ac_exeext'
83017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83018   (eval $ac_try) 2>&5
83019   ac_status=$?
83020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83021   (exit $ac_status); }; }; then
83022   glibcxx_cv_func___builtin_sin_link=yes
83023 else
83024   echo "$as_me: failed program was:" >&5
83025 sed 's/^/| /' conftest.$ac_ext >&5
83026
83027 glibcxx_cv_func___builtin_sin_link=no
83028 fi
83029 rm -f conftest.err conftest.$ac_objext \
83030       conftest$ac_exeext conftest.$ac_ext
83031
83032 fi
83033
83034     fi
83035     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
83036 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
83037
83038     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
83039
83040 cat >>confdefs.h <<\_ACEOF
83041 #define HAVE___BUILTIN_SIN 1
83042 _ACEOF
83043
83044     fi
83045
83046   fi
83047
83048
83049   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
83050 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
83051   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
83052     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
83053   echo $ECHO_N "(cached) $ECHO_C" >&6
83054 else
83055
83056
83057
83058       ac_ext=cc
83059 ac_cpp='$CXXCPP $CPPFLAGS'
83060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83063
83064       cat >conftest.$ac_ext <<_ACEOF
83065 /* confdefs.h.  */
83066 _ACEOF
83067 cat confdefs.h >>conftest.$ac_ext
83068 cat >>conftest.$ac_ext <<_ACEOF
83069 /* end confdefs.h.  */
83070 #include <math.h>
83071 int
83072 main ()
83073 {
83074  __builtin_sinl(0);
83075   ;
83076   return 0;
83077 }
83078 _ACEOF
83079 rm -f conftest.$ac_objext
83080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83081   (eval $ac_compile) 2>conftest.er1
83082   ac_status=$?
83083   grep -v '^ *+' conftest.er1 >conftest.err
83084   rm -f conftest.er1
83085   cat conftest.err >&5
83086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83087   (exit $ac_status); } &&
83088          { ac_try='test -z "$ac_cxx_werror_flag"
83089                          || test ! -s conftest.err'
83090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83091   (eval $ac_try) 2>&5
83092   ac_status=$?
83093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83094   (exit $ac_status); }; } &&
83095          { ac_try='test -s conftest.$ac_objext'
83096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83097   (eval $ac_try) 2>&5
83098   ac_status=$?
83099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83100   (exit $ac_status); }; }; then
83101   glibcxx_cv_func___builtin_sinl_use=yes
83102 else
83103   echo "$as_me: failed program was:" >&5
83104 sed 's/^/| /' conftest.$ac_ext >&5
83105
83106 glibcxx_cv_func___builtin_sinl_use=no
83107 fi
83108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83109       ac_ext=c
83110 ac_cpp='$CPP $CPPFLAGS'
83111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83114
83115
83116 fi
83117
83118   fi
83119   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
83120 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
83121   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
83122     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
83123 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
83124     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
83125       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
83126   echo $ECHO_N "(cached) $ECHO_C" >&6
83127 else
83128
83129         if test x$gcc_no_link = xyes; then
83130   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83132    { (exit 1); exit 1; }; }
83133 fi
83134 cat >conftest.$ac_ext <<_ACEOF
83135 /* confdefs.h.  */
83136 _ACEOF
83137 cat confdefs.h >>conftest.$ac_ext
83138 cat >>conftest.$ac_ext <<_ACEOF
83139 /* end confdefs.h.  */
83140 #include <math.h>
83141 int
83142 main ()
83143 {
83144  __builtin_sinl(0);
83145   ;
83146   return 0;
83147 }
83148 _ACEOF
83149 rm -f conftest.$ac_objext conftest$ac_exeext
83150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83151   (eval $ac_link) 2>conftest.er1
83152   ac_status=$?
83153   grep -v '^ *+' conftest.er1 >conftest.err
83154   rm -f conftest.er1
83155   cat conftest.err >&5
83156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83157   (exit $ac_status); } &&
83158          { ac_try='test -z "$ac_c_werror_flag"
83159                          || test ! -s conftest.err'
83160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83161   (eval $ac_try) 2>&5
83162   ac_status=$?
83163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83164   (exit $ac_status); }; } &&
83165          { ac_try='test -s conftest$ac_exeext'
83166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83167   (eval $ac_try) 2>&5
83168   ac_status=$?
83169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83170   (exit $ac_status); }; }; then
83171   glibcxx_cv_func___builtin_sinl_link=yes
83172 else
83173   echo "$as_me: failed program was:" >&5
83174 sed 's/^/| /' conftest.$ac_ext >&5
83175
83176 glibcxx_cv_func___builtin_sinl_link=no
83177 fi
83178 rm -f conftest.err conftest.$ac_objext \
83179       conftest$ac_exeext conftest.$ac_ext
83180
83181 fi
83182
83183     fi
83184     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
83185 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
83186
83187     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
83188
83189 cat >>confdefs.h <<\_ACEOF
83190 #define HAVE___BUILTIN_SINL 1
83191 _ACEOF
83192
83193     fi
83194
83195   fi
83196
83197
83198
83199   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
83200 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
83201   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
83202     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
83203   echo $ECHO_N "(cached) $ECHO_C" >&6
83204 else
83205
83206
83207
83208       ac_ext=cc
83209 ac_cpp='$CXXCPP $CPPFLAGS'
83210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83213
83214       cat >conftest.$ac_ext <<_ACEOF
83215 /* confdefs.h.  */
83216 _ACEOF
83217 cat confdefs.h >>conftest.$ac_ext
83218 cat >>conftest.$ac_ext <<_ACEOF
83219 /* end confdefs.h.  */
83220 #include <math.h>
83221 int
83222 main ()
83223 {
83224  __builtin_cosf(0);
83225   ;
83226   return 0;
83227 }
83228 _ACEOF
83229 rm -f conftest.$ac_objext
83230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83231   (eval $ac_compile) 2>conftest.er1
83232   ac_status=$?
83233   grep -v '^ *+' conftest.er1 >conftest.err
83234   rm -f conftest.er1
83235   cat conftest.err >&5
83236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83237   (exit $ac_status); } &&
83238          { ac_try='test -z "$ac_cxx_werror_flag"
83239                          || test ! -s conftest.err'
83240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83241   (eval $ac_try) 2>&5
83242   ac_status=$?
83243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83244   (exit $ac_status); }; } &&
83245          { ac_try='test -s conftest.$ac_objext'
83246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83247   (eval $ac_try) 2>&5
83248   ac_status=$?
83249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83250   (exit $ac_status); }; }; then
83251   glibcxx_cv_func___builtin_cosf_use=yes
83252 else
83253   echo "$as_me: failed program was:" >&5
83254 sed 's/^/| /' conftest.$ac_ext >&5
83255
83256 glibcxx_cv_func___builtin_cosf_use=no
83257 fi
83258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83259       ac_ext=c
83260 ac_cpp='$CPP $CPPFLAGS'
83261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83264
83265
83266 fi
83267
83268   fi
83269   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
83270 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
83271   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
83272     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
83273 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
83274     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
83275       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
83276   echo $ECHO_N "(cached) $ECHO_C" >&6
83277 else
83278
83279         if test x$gcc_no_link = xyes; then
83280   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83282    { (exit 1); exit 1; }; }
83283 fi
83284 cat >conftest.$ac_ext <<_ACEOF
83285 /* confdefs.h.  */
83286 _ACEOF
83287 cat confdefs.h >>conftest.$ac_ext
83288 cat >>conftest.$ac_ext <<_ACEOF
83289 /* end confdefs.h.  */
83290 #include <math.h>
83291 int
83292 main ()
83293 {
83294  __builtin_cosf(0);
83295   ;
83296   return 0;
83297 }
83298 _ACEOF
83299 rm -f conftest.$ac_objext conftest$ac_exeext
83300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83301   (eval $ac_link) 2>conftest.er1
83302   ac_status=$?
83303   grep -v '^ *+' conftest.er1 >conftest.err
83304   rm -f conftest.er1
83305   cat conftest.err >&5
83306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83307   (exit $ac_status); } &&
83308          { ac_try='test -z "$ac_c_werror_flag"
83309                          || test ! -s conftest.err'
83310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83311   (eval $ac_try) 2>&5
83312   ac_status=$?
83313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83314   (exit $ac_status); }; } &&
83315          { ac_try='test -s conftest$ac_exeext'
83316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83317   (eval $ac_try) 2>&5
83318   ac_status=$?
83319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83320   (exit $ac_status); }; }; then
83321   glibcxx_cv_func___builtin_cosf_link=yes
83322 else
83323   echo "$as_me: failed program was:" >&5
83324 sed 's/^/| /' conftest.$ac_ext >&5
83325
83326 glibcxx_cv_func___builtin_cosf_link=no
83327 fi
83328 rm -f conftest.err conftest.$ac_objext \
83329       conftest$ac_exeext conftest.$ac_ext
83330
83331 fi
83332
83333     fi
83334     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
83335 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
83336
83337     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
83338
83339 cat >>confdefs.h <<\_ACEOF
83340 #define HAVE___BUILTIN_COSF 1
83341 _ACEOF
83342
83343     fi
83344
83345   fi
83346
83347
83348   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
83349 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
83350   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
83351     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
83352   echo $ECHO_N "(cached) $ECHO_C" >&6
83353 else
83354
83355
83356
83357       ac_ext=cc
83358 ac_cpp='$CXXCPP $CPPFLAGS'
83359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83362
83363       cat >conftest.$ac_ext <<_ACEOF
83364 /* confdefs.h.  */
83365 _ACEOF
83366 cat confdefs.h >>conftest.$ac_ext
83367 cat >>conftest.$ac_ext <<_ACEOF
83368 /* end confdefs.h.  */
83369 #include <math.h>
83370 int
83371 main ()
83372 {
83373  __builtin_cos(0);
83374   ;
83375   return 0;
83376 }
83377 _ACEOF
83378 rm -f conftest.$ac_objext
83379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83380   (eval $ac_compile) 2>conftest.er1
83381   ac_status=$?
83382   grep -v '^ *+' conftest.er1 >conftest.err
83383   rm -f conftest.er1
83384   cat conftest.err >&5
83385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83386   (exit $ac_status); } &&
83387          { ac_try='test -z "$ac_cxx_werror_flag"
83388                          || test ! -s conftest.err'
83389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83390   (eval $ac_try) 2>&5
83391   ac_status=$?
83392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83393   (exit $ac_status); }; } &&
83394          { ac_try='test -s conftest.$ac_objext'
83395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83396   (eval $ac_try) 2>&5
83397   ac_status=$?
83398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83399   (exit $ac_status); }; }; then
83400   glibcxx_cv_func___builtin_cos_use=yes
83401 else
83402   echo "$as_me: failed program was:" >&5
83403 sed 's/^/| /' conftest.$ac_ext >&5
83404
83405 glibcxx_cv_func___builtin_cos_use=no
83406 fi
83407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83408       ac_ext=c
83409 ac_cpp='$CPP $CPPFLAGS'
83410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83413
83414
83415 fi
83416
83417   fi
83418   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
83419 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
83420   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
83421     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
83422 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
83423     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
83424       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
83425   echo $ECHO_N "(cached) $ECHO_C" >&6
83426 else
83427
83428         if test x$gcc_no_link = xyes; then
83429   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83431    { (exit 1); exit 1; }; }
83432 fi
83433 cat >conftest.$ac_ext <<_ACEOF
83434 /* confdefs.h.  */
83435 _ACEOF
83436 cat confdefs.h >>conftest.$ac_ext
83437 cat >>conftest.$ac_ext <<_ACEOF
83438 /* end confdefs.h.  */
83439 #include <math.h>
83440 int
83441 main ()
83442 {
83443  __builtin_cos(0);
83444   ;
83445   return 0;
83446 }
83447 _ACEOF
83448 rm -f conftest.$ac_objext conftest$ac_exeext
83449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83450   (eval $ac_link) 2>conftest.er1
83451   ac_status=$?
83452   grep -v '^ *+' conftest.er1 >conftest.err
83453   rm -f conftest.er1
83454   cat conftest.err >&5
83455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83456   (exit $ac_status); } &&
83457          { ac_try='test -z "$ac_c_werror_flag"
83458                          || test ! -s conftest.err'
83459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83460   (eval $ac_try) 2>&5
83461   ac_status=$?
83462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83463   (exit $ac_status); }; } &&
83464          { ac_try='test -s conftest$ac_exeext'
83465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83466   (eval $ac_try) 2>&5
83467   ac_status=$?
83468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83469   (exit $ac_status); }; }; then
83470   glibcxx_cv_func___builtin_cos_link=yes
83471 else
83472   echo "$as_me: failed program was:" >&5
83473 sed 's/^/| /' conftest.$ac_ext >&5
83474
83475 glibcxx_cv_func___builtin_cos_link=no
83476 fi
83477 rm -f conftest.err conftest.$ac_objext \
83478       conftest$ac_exeext conftest.$ac_ext
83479
83480 fi
83481
83482     fi
83483     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
83484 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
83485
83486     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
83487
83488 cat >>confdefs.h <<\_ACEOF
83489 #define HAVE___BUILTIN_COS 1
83490 _ACEOF
83491
83492     fi
83493
83494   fi
83495
83496
83497   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
83498 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
83499   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
83500     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
83501   echo $ECHO_N "(cached) $ECHO_C" >&6
83502 else
83503
83504
83505
83506       ac_ext=cc
83507 ac_cpp='$CXXCPP $CPPFLAGS'
83508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83511
83512       cat >conftest.$ac_ext <<_ACEOF
83513 /* confdefs.h.  */
83514 _ACEOF
83515 cat confdefs.h >>conftest.$ac_ext
83516 cat >>conftest.$ac_ext <<_ACEOF
83517 /* end confdefs.h.  */
83518 #include <math.h>
83519 int
83520 main ()
83521 {
83522  __builtin_cosl(0);
83523   ;
83524   return 0;
83525 }
83526 _ACEOF
83527 rm -f conftest.$ac_objext
83528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83529   (eval $ac_compile) 2>conftest.er1
83530   ac_status=$?
83531   grep -v '^ *+' conftest.er1 >conftest.err
83532   rm -f conftest.er1
83533   cat conftest.err >&5
83534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83535   (exit $ac_status); } &&
83536          { ac_try='test -z "$ac_cxx_werror_flag"
83537                          || test ! -s conftest.err'
83538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83539   (eval $ac_try) 2>&5
83540   ac_status=$?
83541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83542   (exit $ac_status); }; } &&
83543          { ac_try='test -s conftest.$ac_objext'
83544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83545   (eval $ac_try) 2>&5
83546   ac_status=$?
83547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83548   (exit $ac_status); }; }; then
83549   glibcxx_cv_func___builtin_cosl_use=yes
83550 else
83551   echo "$as_me: failed program was:" >&5
83552 sed 's/^/| /' conftest.$ac_ext >&5
83553
83554 glibcxx_cv_func___builtin_cosl_use=no
83555 fi
83556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83557       ac_ext=c
83558 ac_cpp='$CPP $CPPFLAGS'
83559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83562
83563
83564 fi
83565
83566   fi
83567   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
83568 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
83569   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
83570     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
83571 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
83572     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
83573       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
83574   echo $ECHO_N "(cached) $ECHO_C" >&6
83575 else
83576
83577         if test x$gcc_no_link = xyes; then
83578   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83580    { (exit 1); exit 1; }; }
83581 fi
83582 cat >conftest.$ac_ext <<_ACEOF
83583 /* confdefs.h.  */
83584 _ACEOF
83585 cat confdefs.h >>conftest.$ac_ext
83586 cat >>conftest.$ac_ext <<_ACEOF
83587 /* end confdefs.h.  */
83588 #include <math.h>
83589 int
83590 main ()
83591 {
83592  __builtin_cosl(0);
83593   ;
83594   return 0;
83595 }
83596 _ACEOF
83597 rm -f conftest.$ac_objext conftest$ac_exeext
83598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83599   (eval $ac_link) 2>conftest.er1
83600   ac_status=$?
83601   grep -v '^ *+' conftest.er1 >conftest.err
83602   rm -f conftest.er1
83603   cat conftest.err >&5
83604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83605   (exit $ac_status); } &&
83606          { ac_try='test -z "$ac_c_werror_flag"
83607                          || test ! -s conftest.err'
83608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83609   (eval $ac_try) 2>&5
83610   ac_status=$?
83611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83612   (exit $ac_status); }; } &&
83613          { ac_try='test -s conftest$ac_exeext'
83614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83615   (eval $ac_try) 2>&5
83616   ac_status=$?
83617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83618   (exit $ac_status); }; }; then
83619   glibcxx_cv_func___builtin_cosl_link=yes
83620 else
83621   echo "$as_me: failed program was:" >&5
83622 sed 's/^/| /' conftest.$ac_ext >&5
83623
83624 glibcxx_cv_func___builtin_cosl_link=no
83625 fi
83626 rm -f conftest.err conftest.$ac_objext \
83627       conftest$ac_exeext conftest.$ac_ext
83628
83629 fi
83630
83631     fi
83632     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
83633 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
83634
83635     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
83636
83637 cat >>confdefs.h <<\_ACEOF
83638 #define HAVE___BUILTIN_COSL 1
83639 _ACEOF
83640
83641     fi
83642
83643   fi
83644
83645
83646
83647
83648 echo "$as_me:$LINENO: checking for main in -lm" >&5
83649 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83650 if test "${ac_cv_lib_m_main+set}" = set; then
83651   echo $ECHO_N "(cached) $ECHO_C" >&6
83652 else
83653   ac_check_lib_save_LIBS=$LIBS
83654 LIBS="-lm  $LIBS"
83655 if test x$gcc_no_link = xyes; then
83656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83658    { (exit 1); exit 1; }; }
83659 fi
83660 cat >conftest.$ac_ext <<_ACEOF
83661 /* confdefs.h.  */
83662 _ACEOF
83663 cat confdefs.h >>conftest.$ac_ext
83664 cat >>conftest.$ac_ext <<_ACEOF
83665 /* end confdefs.h.  */
83666
83667
83668 int
83669 main ()
83670 {
83671 main ();
83672   ;
83673   return 0;
83674 }
83675 _ACEOF
83676 rm -f conftest.$ac_objext conftest$ac_exeext
83677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83678   (eval $ac_link) 2>conftest.er1
83679   ac_status=$?
83680   grep -v '^ *+' conftest.er1 >conftest.err
83681   rm -f conftest.er1
83682   cat conftest.err >&5
83683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83684   (exit $ac_status); } &&
83685          { ac_try='test -z "$ac_c_werror_flag"
83686                          || test ! -s conftest.err'
83687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83688   (eval $ac_try) 2>&5
83689   ac_status=$?
83690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83691   (exit $ac_status); }; } &&
83692          { ac_try='test -s conftest$ac_exeext'
83693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83694   (eval $ac_try) 2>&5
83695   ac_status=$?
83696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83697   (exit $ac_status); }; }; then
83698   ac_cv_lib_m_main=yes
83699 else
83700   echo "$as_me: failed program was:" >&5
83701 sed 's/^/| /' conftest.$ac_ext >&5
83702
83703 ac_cv_lib_m_main=no
83704 fi
83705 rm -f conftest.err conftest.$ac_objext \
83706       conftest$ac_exeext conftest.$ac_ext
83707 LIBS=$ac_check_lib_save_LIBS
83708 fi
83709 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83710 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83711 if test $ac_cv_lib_m_main = yes; then
83712   cat >>confdefs.h <<_ACEOF
83713 #define HAVE_LIBM 1
83714 _ACEOF
83715
83716   LIBS="-lm $LIBS"
83717
83718 fi
83719
83720
83721 for ac_func in copysignf
83722 do
83723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83724 echo "$as_me:$LINENO: checking for $ac_func" >&5
83725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83726 if eval "test \"\${$as_ac_var+set}\" = set"; then
83727   echo $ECHO_N "(cached) $ECHO_C" >&6
83728 else
83729   if test x$gcc_no_link = xyes; then
83730   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83732    { (exit 1); exit 1; }; }
83733 fi
83734 cat >conftest.$ac_ext <<_ACEOF
83735 /* confdefs.h.  */
83736 _ACEOF
83737 cat confdefs.h >>conftest.$ac_ext
83738 cat >>conftest.$ac_ext <<_ACEOF
83739 /* end confdefs.h.  */
83740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83741    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83742 #define $ac_func innocuous_$ac_func
83743
83744 /* System header to define __stub macros and hopefully few prototypes,
83745     which can conflict with char $ac_func (); below.
83746     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83747     <limits.h> exists even on freestanding compilers.  */
83748
83749 #ifdef __STDC__
83750 # include <limits.h>
83751 #else
83752 # include <assert.h>
83753 #endif
83754
83755 #undef $ac_func
83756
83757 /* Override any gcc2 internal prototype to avoid an error.  */
83758 #ifdef __cplusplus
83759 extern "C"
83760 {
83761 #endif
83762 /* We use char because int might match the return type of a gcc2
83763    builtin and then its argument prototype would still apply.  */
83764 char $ac_func ();
83765 /* The GNU C library defines this for functions which it implements
83766     to always fail with ENOSYS.  Some functions are actually named
83767     something starting with __ and the normal name is an alias.  */
83768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83769 choke me
83770 #else
83771 char (*f) () = $ac_func;
83772 #endif
83773 #ifdef __cplusplus
83774 }
83775 #endif
83776
83777 int
83778 main ()
83779 {
83780 return f != $ac_func;
83781   ;
83782   return 0;
83783 }
83784 _ACEOF
83785 rm -f conftest.$ac_objext conftest$ac_exeext
83786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83787   (eval $ac_link) 2>conftest.er1
83788   ac_status=$?
83789   grep -v '^ *+' conftest.er1 >conftest.err
83790   rm -f conftest.er1
83791   cat conftest.err >&5
83792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83793   (exit $ac_status); } &&
83794          { ac_try='test -z "$ac_c_werror_flag"
83795                          || test ! -s conftest.err'
83796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83797   (eval $ac_try) 2>&5
83798   ac_status=$?
83799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83800   (exit $ac_status); }; } &&
83801          { ac_try='test -s conftest$ac_exeext'
83802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83803   (eval $ac_try) 2>&5
83804   ac_status=$?
83805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83806   (exit $ac_status); }; }; then
83807   eval "$as_ac_var=yes"
83808 else
83809   echo "$as_me: failed program was:" >&5
83810 sed 's/^/| /' conftest.$ac_ext >&5
83811
83812 eval "$as_ac_var=no"
83813 fi
83814 rm -f conftest.err conftest.$ac_objext \
83815       conftest$ac_exeext conftest.$ac_ext
83816 fi
83817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83819 if test `eval echo '${'$as_ac_var'}'` = yes; then
83820   cat >>confdefs.h <<_ACEOF
83821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83822 _ACEOF
83823
83824 else
83825   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83826 fi
83827 done
83828
83829
83830
83831 for ac_func in __signbit
83832 do
83833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83834 echo "$as_me:$LINENO: checking for $ac_func" >&5
83835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83836 if eval "test \"\${$as_ac_var+set}\" = set"; then
83837   echo $ECHO_N "(cached) $ECHO_C" >&6
83838 else
83839   if test x$gcc_no_link = xyes; then
83840   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83842    { (exit 1); exit 1; }; }
83843 fi
83844 cat >conftest.$ac_ext <<_ACEOF
83845 /* confdefs.h.  */
83846 _ACEOF
83847 cat confdefs.h >>conftest.$ac_ext
83848 cat >>conftest.$ac_ext <<_ACEOF
83849 /* end confdefs.h.  */
83850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83851    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83852 #define $ac_func innocuous_$ac_func
83853
83854 /* System header to define __stub macros and hopefully few prototypes,
83855     which can conflict with char $ac_func (); below.
83856     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83857     <limits.h> exists even on freestanding compilers.  */
83858
83859 #ifdef __STDC__
83860 # include <limits.h>
83861 #else
83862 # include <assert.h>
83863 #endif
83864
83865 #undef $ac_func
83866
83867 /* Override any gcc2 internal prototype to avoid an error.  */
83868 #ifdef __cplusplus
83869 extern "C"
83870 {
83871 #endif
83872 /* We use char because int might match the return type of a gcc2
83873    builtin and then its argument prototype would still apply.  */
83874 char $ac_func ();
83875 /* The GNU C library defines this for functions which it implements
83876     to always fail with ENOSYS.  Some functions are actually named
83877     something starting with __ and the normal name is an alias.  */
83878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83879 choke me
83880 #else
83881 char (*f) () = $ac_func;
83882 #endif
83883 #ifdef __cplusplus
83884 }
83885 #endif
83886
83887 int
83888 main ()
83889 {
83890 return f != $ac_func;
83891   ;
83892   return 0;
83893 }
83894 _ACEOF
83895 rm -f conftest.$ac_objext conftest$ac_exeext
83896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83897   (eval $ac_link) 2>conftest.er1
83898   ac_status=$?
83899   grep -v '^ *+' conftest.er1 >conftest.err
83900   rm -f conftest.er1
83901   cat conftest.err >&5
83902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83903   (exit $ac_status); } &&
83904          { ac_try='test -z "$ac_c_werror_flag"
83905                          || test ! -s conftest.err'
83906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83907   (eval $ac_try) 2>&5
83908   ac_status=$?
83909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83910   (exit $ac_status); }; } &&
83911          { ac_try='test -s conftest$ac_exeext'
83912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83913   (eval $ac_try) 2>&5
83914   ac_status=$?
83915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83916   (exit $ac_status); }; }; then
83917   eval "$as_ac_var=yes"
83918 else
83919   echo "$as_me: failed program was:" >&5
83920 sed 's/^/| /' conftest.$ac_ext >&5
83921
83922 eval "$as_ac_var=no"
83923 fi
83924 rm -f conftest.err conftest.$ac_objext \
83925       conftest$ac_exeext conftest.$ac_ext
83926 fi
83927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83929 if test `eval echo '${'$as_ac_var'}'` = yes; then
83930   cat >>confdefs.h <<_ACEOF
83931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83932 _ACEOF
83933
83934 else
83935   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83936 fi
83937 done
83938
83939
83940
83941 for ac_func in __signbitf
83942 do
83943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83944 echo "$as_me:$LINENO: checking for $ac_func" >&5
83945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83946 if eval "test \"\${$as_ac_var+set}\" = set"; then
83947   echo $ECHO_N "(cached) $ECHO_C" >&6
83948 else
83949   if test x$gcc_no_link = xyes; then
83950   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83952    { (exit 1); exit 1; }; }
83953 fi
83954 cat >conftest.$ac_ext <<_ACEOF
83955 /* confdefs.h.  */
83956 _ACEOF
83957 cat confdefs.h >>conftest.$ac_ext
83958 cat >>conftest.$ac_ext <<_ACEOF
83959 /* end confdefs.h.  */
83960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83961    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83962 #define $ac_func innocuous_$ac_func
83963
83964 /* System header to define __stub macros and hopefully few prototypes,
83965     which can conflict with char $ac_func (); below.
83966     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83967     <limits.h> exists even on freestanding compilers.  */
83968
83969 #ifdef __STDC__
83970 # include <limits.h>
83971 #else
83972 # include <assert.h>
83973 #endif
83974
83975 #undef $ac_func
83976
83977 /* Override any gcc2 internal prototype to avoid an error.  */
83978 #ifdef __cplusplus
83979 extern "C"
83980 {
83981 #endif
83982 /* We use char because int might match the return type of a gcc2
83983    builtin and then its argument prototype would still apply.  */
83984 char $ac_func ();
83985 /* The GNU C library defines this for functions which it implements
83986     to always fail with ENOSYS.  Some functions are actually named
83987     something starting with __ and the normal name is an alias.  */
83988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83989 choke me
83990 #else
83991 char (*f) () = $ac_func;
83992 #endif
83993 #ifdef __cplusplus
83994 }
83995 #endif
83996
83997 int
83998 main ()
83999 {
84000 return f != $ac_func;
84001   ;
84002   return 0;
84003 }
84004 _ACEOF
84005 rm -f conftest.$ac_objext conftest$ac_exeext
84006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84007   (eval $ac_link) 2>conftest.er1
84008   ac_status=$?
84009   grep -v '^ *+' conftest.er1 >conftest.err
84010   rm -f conftest.er1
84011   cat conftest.err >&5
84012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84013   (exit $ac_status); } &&
84014          { ac_try='test -z "$ac_c_werror_flag"
84015                          || test ! -s conftest.err'
84016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84017   (eval $ac_try) 2>&5
84018   ac_status=$?
84019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84020   (exit $ac_status); }; } &&
84021          { ac_try='test -s conftest$ac_exeext'
84022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84023   (eval $ac_try) 2>&5
84024   ac_status=$?
84025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84026   (exit $ac_status); }; }; then
84027   eval "$as_ac_var=yes"
84028 else
84029   echo "$as_me: failed program was:" >&5
84030 sed 's/^/| /' conftest.$ac_ext >&5
84031
84032 eval "$as_ac_var=no"
84033 fi
84034 rm -f conftest.err conftest.$ac_objext \
84035       conftest$ac_exeext conftest.$ac_ext
84036 fi
84037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84039 if test `eval echo '${'$as_ac_var'}'` = yes; then
84040   cat >>confdefs.h <<_ACEOF
84041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84042 _ACEOF
84043
84044 else
84045   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
84046 fi
84047 done
84048
84049
84050           if test x$ac_cv_func_copysignl = x"yes"; then
84051
84052 for ac_func in __signbitl
84053 do
84054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84055 echo "$as_me:$LINENO: checking for $ac_func" >&5
84056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84057 if eval "test \"\${$as_ac_var+set}\" = set"; then
84058   echo $ECHO_N "(cached) $ECHO_C" >&6
84059 else
84060   if test x$gcc_no_link = xyes; then
84061   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84063    { (exit 1); exit 1; }; }
84064 fi
84065 cat >conftest.$ac_ext <<_ACEOF
84066 /* confdefs.h.  */
84067 _ACEOF
84068 cat confdefs.h >>conftest.$ac_ext
84069 cat >>conftest.$ac_ext <<_ACEOF
84070 /* end confdefs.h.  */
84071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84072    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84073 #define $ac_func innocuous_$ac_func
84074
84075 /* System header to define __stub macros and hopefully few prototypes,
84076     which can conflict with char $ac_func (); below.
84077     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84078     <limits.h> exists even on freestanding compilers.  */
84079
84080 #ifdef __STDC__
84081 # include <limits.h>
84082 #else
84083 # include <assert.h>
84084 #endif
84085
84086 #undef $ac_func
84087
84088 /* Override any gcc2 internal prototype to avoid an error.  */
84089 #ifdef __cplusplus
84090 extern "C"
84091 {
84092 #endif
84093 /* We use char because int might match the return type of a gcc2
84094    builtin and then its argument prototype would still apply.  */
84095 char $ac_func ();
84096 /* The GNU C library defines this for functions which it implements
84097     to always fail with ENOSYS.  Some functions are actually named
84098     something starting with __ and the normal name is an alias.  */
84099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84100 choke me
84101 #else
84102 char (*f) () = $ac_func;
84103 #endif
84104 #ifdef __cplusplus
84105 }
84106 #endif
84107
84108 int
84109 main ()
84110 {
84111 return f != $ac_func;
84112   ;
84113   return 0;
84114 }
84115 _ACEOF
84116 rm -f conftest.$ac_objext conftest$ac_exeext
84117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84118   (eval $ac_link) 2>conftest.er1
84119   ac_status=$?
84120   grep -v '^ *+' conftest.er1 >conftest.err
84121   rm -f conftest.er1
84122   cat conftest.err >&5
84123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84124   (exit $ac_status); } &&
84125          { ac_try='test -z "$ac_c_werror_flag"
84126                          || test ! -s conftest.err'
84127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84128   (eval $ac_try) 2>&5
84129   ac_status=$?
84130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84131   (exit $ac_status); }; } &&
84132          { ac_try='test -s conftest$ac_exeext'
84133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84134   (eval $ac_try) 2>&5
84135   ac_status=$?
84136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84137   (exit $ac_status); }; }; then
84138   eval "$as_ac_var=yes"
84139 else
84140   echo "$as_me: failed program was:" >&5
84141 sed 's/^/| /' conftest.$ac_ext >&5
84142
84143 eval "$as_ac_var=no"
84144 fi
84145 rm -f conftest.err conftest.$ac_objext \
84146       conftest$ac_exeext conftest.$ac_ext
84147 fi
84148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84150 if test `eval echo '${'$as_ac_var'}'` = yes; then
84151   cat >>confdefs.h <<_ACEOF
84152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84153 _ACEOF
84154
84155 else
84156   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84157 fi
84158 done
84159
84160   fi
84161
84162   # Used in libmath/Makefile.am.
84163   if test -n "$LIBMATHOBJS"; then
84164     need_libmath=yes
84165   fi
84166
84167
84168
84169   ac_test_CXXFLAGS="${CXXFLAGS+set}"
84170   ac_save_CXXFLAGS="$CXXFLAGS"
84171   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
84172
84173
84174   echo "$as_me:$LINENO: checking for strtold declaration" >&5
84175 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
84176   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
84177     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
84178   echo $ECHO_N "(cached) $ECHO_C" >&6
84179 else
84180
84181
84182
84183       ac_ext=cc
84184 ac_cpp='$CXXCPP $CPPFLAGS'
84185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84188
84189       cat >conftest.$ac_ext <<_ACEOF
84190 /* confdefs.h.  */
84191 _ACEOF
84192 cat confdefs.h >>conftest.$ac_ext
84193 cat >>conftest.$ac_ext <<_ACEOF
84194 /* end confdefs.h.  */
84195 #include <stdlib.h>
84196 int
84197 main ()
84198 {
84199  strtold(0, 0);
84200   ;
84201   return 0;
84202 }
84203 _ACEOF
84204 rm -f conftest.$ac_objext
84205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84206   (eval $ac_compile) 2>conftest.er1
84207   ac_status=$?
84208   grep -v '^ *+' conftest.er1 >conftest.err
84209   rm -f conftest.er1
84210   cat conftest.err >&5
84211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84212   (exit $ac_status); } &&
84213          { ac_try='test -z "$ac_cxx_werror_flag"
84214                          || test ! -s conftest.err'
84215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84216   (eval $ac_try) 2>&5
84217   ac_status=$?
84218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84219   (exit $ac_status); }; } &&
84220          { ac_try='test -s conftest.$ac_objext'
84221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84222   (eval $ac_try) 2>&5
84223   ac_status=$?
84224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84225   (exit $ac_status); }; }; then
84226   glibcxx_cv_func_strtold_use=yes
84227 else
84228   echo "$as_me: failed program was:" >&5
84229 sed 's/^/| /' conftest.$ac_ext >&5
84230
84231 glibcxx_cv_func_strtold_use=no
84232 fi
84233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84234       ac_ext=c
84235 ac_cpp='$CPP $CPPFLAGS'
84236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84239
84240
84241 fi
84242
84243   fi
84244   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
84245 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
84246   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
84247
84248 for ac_func in strtold
84249 do
84250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84251 echo "$as_me:$LINENO: checking for $ac_func" >&5
84252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84253 if eval "test \"\${$as_ac_var+set}\" = set"; then
84254   echo $ECHO_N "(cached) $ECHO_C" >&6
84255 else
84256   if test x$gcc_no_link = xyes; then
84257   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84259    { (exit 1); exit 1; }; }
84260 fi
84261 cat >conftest.$ac_ext <<_ACEOF
84262 /* confdefs.h.  */
84263 _ACEOF
84264 cat confdefs.h >>conftest.$ac_ext
84265 cat >>conftest.$ac_ext <<_ACEOF
84266 /* end confdefs.h.  */
84267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84268    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84269 #define $ac_func innocuous_$ac_func
84270
84271 /* System header to define __stub macros and hopefully few prototypes,
84272     which can conflict with char $ac_func (); below.
84273     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84274     <limits.h> exists even on freestanding compilers.  */
84275
84276 #ifdef __STDC__
84277 # include <limits.h>
84278 #else
84279 # include <assert.h>
84280 #endif
84281
84282 #undef $ac_func
84283
84284 /* Override any gcc2 internal prototype to avoid an error.  */
84285 #ifdef __cplusplus
84286 extern "C"
84287 {
84288 #endif
84289 /* We use char because int might match the return type of a gcc2
84290    builtin and then its argument prototype would still apply.  */
84291 char $ac_func ();
84292 /* The GNU C library defines this for functions which it implements
84293     to always fail with ENOSYS.  Some functions are actually named
84294     something starting with __ and the normal name is an alias.  */
84295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84296 choke me
84297 #else
84298 char (*f) () = $ac_func;
84299 #endif
84300 #ifdef __cplusplus
84301 }
84302 #endif
84303
84304 int
84305 main ()
84306 {
84307 return f != $ac_func;
84308   ;
84309   return 0;
84310 }
84311 _ACEOF
84312 rm -f conftest.$ac_objext conftest$ac_exeext
84313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84314   (eval $ac_link) 2>conftest.er1
84315   ac_status=$?
84316   grep -v '^ *+' conftest.er1 >conftest.err
84317   rm -f conftest.er1
84318   cat conftest.err >&5
84319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84320   (exit $ac_status); } &&
84321          { ac_try='test -z "$ac_c_werror_flag"
84322                          || test ! -s conftest.err'
84323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84324   (eval $ac_try) 2>&5
84325   ac_status=$?
84326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84327   (exit $ac_status); }; } &&
84328          { ac_try='test -s conftest$ac_exeext'
84329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84330   (eval $ac_try) 2>&5
84331   ac_status=$?
84332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84333   (exit $ac_status); }; }; then
84334   eval "$as_ac_var=yes"
84335 else
84336   echo "$as_me: failed program was:" >&5
84337 sed 's/^/| /' conftest.$ac_ext >&5
84338
84339 eval "$as_ac_var=no"
84340 fi
84341 rm -f conftest.err conftest.$ac_objext \
84342       conftest$ac_exeext conftest.$ac_ext
84343 fi
84344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84346 if test `eval echo '${'$as_ac_var'}'` = yes; then
84347   cat >>confdefs.h <<_ACEOF
84348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84349 _ACEOF
84350
84351 fi
84352 done
84353
84354   fi
84355
84356
84357
84358
84359
84360   echo "$as_me:$LINENO: checking for strtof declaration" >&5
84361 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
84362   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
84363     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
84364   echo $ECHO_N "(cached) $ECHO_C" >&6
84365 else
84366
84367
84368
84369       ac_ext=cc
84370 ac_cpp='$CXXCPP $CPPFLAGS'
84371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84374
84375       cat >conftest.$ac_ext <<_ACEOF
84376 /* confdefs.h.  */
84377 _ACEOF
84378 cat confdefs.h >>conftest.$ac_ext
84379 cat >>conftest.$ac_ext <<_ACEOF
84380 /* end confdefs.h.  */
84381 #include <stdlib.h>
84382 int
84383 main ()
84384 {
84385  strtof(0, 0);
84386   ;
84387   return 0;
84388 }
84389 _ACEOF
84390 rm -f conftest.$ac_objext
84391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84392   (eval $ac_compile) 2>conftest.er1
84393   ac_status=$?
84394   grep -v '^ *+' conftest.er1 >conftest.err
84395   rm -f conftest.er1
84396   cat conftest.err >&5
84397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84398   (exit $ac_status); } &&
84399          { ac_try='test -z "$ac_cxx_werror_flag"
84400                          || test ! -s conftest.err'
84401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84402   (eval $ac_try) 2>&5
84403   ac_status=$?
84404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84405   (exit $ac_status); }; } &&
84406          { ac_try='test -s conftest.$ac_objext'
84407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84408   (eval $ac_try) 2>&5
84409   ac_status=$?
84410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84411   (exit $ac_status); }; }; then
84412   glibcxx_cv_func_strtof_use=yes
84413 else
84414   echo "$as_me: failed program was:" >&5
84415 sed 's/^/| /' conftest.$ac_ext >&5
84416
84417 glibcxx_cv_func_strtof_use=no
84418 fi
84419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84420       ac_ext=c
84421 ac_cpp='$CPP $CPPFLAGS'
84422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84425
84426
84427 fi
84428
84429   fi
84430   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
84431 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
84432   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
84433
84434 for ac_func in strtof
84435 do
84436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84437 echo "$as_me:$LINENO: checking for $ac_func" >&5
84438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84439 if eval "test \"\${$as_ac_var+set}\" = set"; then
84440   echo $ECHO_N "(cached) $ECHO_C" >&6
84441 else
84442   if test x$gcc_no_link = xyes; then
84443   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84445    { (exit 1); exit 1; }; }
84446 fi
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84454    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84455 #define $ac_func innocuous_$ac_func
84456
84457 /* System header to define __stub macros and hopefully few prototypes,
84458     which can conflict with char $ac_func (); below.
84459     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84460     <limits.h> exists even on freestanding compilers.  */
84461
84462 #ifdef __STDC__
84463 # include <limits.h>
84464 #else
84465 # include <assert.h>
84466 #endif
84467
84468 #undef $ac_func
84469
84470 /* Override any gcc2 internal prototype to avoid an error.  */
84471 #ifdef __cplusplus
84472 extern "C"
84473 {
84474 #endif
84475 /* We use char because int might match the return type of a gcc2
84476    builtin and then its argument prototype would still apply.  */
84477 char $ac_func ();
84478 /* The GNU C library defines this for functions which it implements
84479     to always fail with ENOSYS.  Some functions are actually named
84480     something starting with __ and the normal name is an alias.  */
84481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84482 choke me
84483 #else
84484 char (*f) () = $ac_func;
84485 #endif
84486 #ifdef __cplusplus
84487 }
84488 #endif
84489
84490 int
84491 main ()
84492 {
84493 return f != $ac_func;
84494   ;
84495   return 0;
84496 }
84497 _ACEOF
84498 rm -f conftest.$ac_objext conftest$ac_exeext
84499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84500   (eval $ac_link) 2>conftest.er1
84501   ac_status=$?
84502   grep -v '^ *+' conftest.er1 >conftest.err
84503   rm -f conftest.er1
84504   cat conftest.err >&5
84505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84506   (exit $ac_status); } &&
84507          { ac_try='test -z "$ac_c_werror_flag"
84508                          || test ! -s conftest.err'
84509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84510   (eval $ac_try) 2>&5
84511   ac_status=$?
84512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84513   (exit $ac_status); }; } &&
84514          { ac_try='test -s conftest$ac_exeext'
84515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84516   (eval $ac_try) 2>&5
84517   ac_status=$?
84518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84519   (exit $ac_status); }; }; then
84520   eval "$as_ac_var=yes"
84521 else
84522   echo "$as_me: failed program was:" >&5
84523 sed 's/^/| /' conftest.$ac_ext >&5
84524
84525 eval "$as_ac_var=no"
84526 fi
84527 rm -f conftest.err conftest.$ac_objext \
84528       conftest$ac_exeext conftest.$ac_ext
84529 fi
84530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84532 if test `eval echo '${'$as_ac_var'}'` = yes; then
84533   cat >>confdefs.h <<_ACEOF
84534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84535 _ACEOF
84536
84537 fi
84538 done
84539
84540   fi
84541
84542
84543
84544
84545
84546   CXXFLAGS="$ac_save_CXXFLAGS"
84547
84548
84549     # For showmanyc_helper().
84550
84551
84552 for ac_header in sys/ioctl.h sys/filio.h
84553 do
84554 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84556   echo "$as_me:$LINENO: checking for $ac_header" >&5
84557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84559   echo $ECHO_N "(cached) $ECHO_C" >&6
84560 fi
84561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84562 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84563 else
84564   # Is the header compilable?
84565 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84566 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84567 cat >conftest.$ac_ext <<_ACEOF
84568 /* confdefs.h.  */
84569 _ACEOF
84570 cat confdefs.h >>conftest.$ac_ext
84571 cat >>conftest.$ac_ext <<_ACEOF
84572 /* end confdefs.h.  */
84573 $ac_includes_default
84574 #include <$ac_header>
84575 _ACEOF
84576 rm -f conftest.$ac_objext
84577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84578   (eval $ac_compile) 2>conftest.er1
84579   ac_status=$?
84580   grep -v '^ *+' conftest.er1 >conftest.err
84581   rm -f conftest.er1
84582   cat conftest.err >&5
84583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84584   (exit $ac_status); } &&
84585          { ac_try='test -z "$ac_c_werror_flag"
84586                          || test ! -s conftest.err'
84587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84588   (eval $ac_try) 2>&5
84589   ac_status=$?
84590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84591   (exit $ac_status); }; } &&
84592          { ac_try='test -s conftest.$ac_objext'
84593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84594   (eval $ac_try) 2>&5
84595   ac_status=$?
84596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84597   (exit $ac_status); }; }; then
84598   ac_header_compiler=yes
84599 else
84600   echo "$as_me: failed program was:" >&5
84601 sed 's/^/| /' conftest.$ac_ext >&5
84602
84603 ac_header_compiler=no
84604 fi
84605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84606 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84607 echo "${ECHO_T}$ac_header_compiler" >&6
84608
84609 # Is the header present?
84610 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84611 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84612 cat >conftest.$ac_ext <<_ACEOF
84613 /* confdefs.h.  */
84614 _ACEOF
84615 cat confdefs.h >>conftest.$ac_ext
84616 cat >>conftest.$ac_ext <<_ACEOF
84617 /* end confdefs.h.  */
84618 #include <$ac_header>
84619 _ACEOF
84620 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84621   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84622   ac_status=$?
84623   grep -v '^ *+' conftest.er1 >conftest.err
84624   rm -f conftest.er1
84625   cat conftest.err >&5
84626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84627   (exit $ac_status); } >/dev/null; then
84628   if test -s conftest.err; then
84629     ac_cpp_err=$ac_c_preproc_warn_flag
84630     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84631   else
84632     ac_cpp_err=
84633   fi
84634 else
84635   ac_cpp_err=yes
84636 fi
84637 if test -z "$ac_cpp_err"; then
84638   ac_header_preproc=yes
84639 else
84640   echo "$as_me: failed program was:" >&5
84641 sed 's/^/| /' conftest.$ac_ext >&5
84642
84643   ac_header_preproc=no
84644 fi
84645 rm -f conftest.err conftest.$ac_ext
84646 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84647 echo "${ECHO_T}$ac_header_preproc" >&6
84648
84649 # So?  What about this header?
84650 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84651   yes:no: )
84652     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84653 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84654     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84655 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84656     ac_header_preproc=yes
84657     ;;
84658   no:yes:* )
84659     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84660 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84661     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
84662 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
84663     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84664 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84665     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
84666 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
84667     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84668 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84669     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84670 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84671     (
84672       cat <<\_ASBOX
84673 ## ----------------------------------------- ##
84674 ## Report this to the package-unused lists.  ##
84675 ## ----------------------------------------- ##
84676 _ASBOX
84677     ) |
84678       sed "s/^/$as_me: WARNING:     /" >&2
84679     ;;
84680 esac
84681 echo "$as_me:$LINENO: checking for $ac_header" >&5
84682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84683 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84684   echo $ECHO_N "(cached) $ECHO_C" >&6
84685 else
84686   eval "$as_ac_Header=\$ac_header_preproc"
84687 fi
84688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84689 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84690
84691 fi
84692 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84693   cat >>confdefs.h <<_ACEOF
84694 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84695 _ACEOF
84696
84697 fi
84698
84699 done
84700
84701
84702   echo "$as_me:$LINENO: checking for poll" >&5
84703 echo $ECHO_N "checking for poll... $ECHO_C" >&6
84704   if test "${glibcxx_cv_POLL+set}" = set; then
84705   echo $ECHO_N "(cached) $ECHO_C" >&6
84706 else
84707
84708     if test x$gcc_no_link = xyes; then
84709   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84711    { (exit 1); exit 1; }; }
84712 fi
84713 cat >conftest.$ac_ext <<_ACEOF
84714 /* confdefs.h.  */
84715 _ACEOF
84716 cat confdefs.h >>conftest.$ac_ext
84717 cat >>conftest.$ac_ext <<_ACEOF
84718 /* end confdefs.h.  */
84719 #include <poll.h>
84720 int
84721 main ()
84722 {
84723 struct pollfd pfd[1];
84724        pfd[0].events = POLLIN;
84725        poll(pfd, 1, 0);
84726   ;
84727   return 0;
84728 }
84729 _ACEOF
84730 rm -f conftest.$ac_objext conftest$ac_exeext
84731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84732   (eval $ac_link) 2>conftest.er1
84733   ac_status=$?
84734   grep -v '^ *+' conftest.er1 >conftest.err
84735   rm -f conftest.er1
84736   cat conftest.err >&5
84737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84738   (exit $ac_status); } &&
84739          { ac_try='test -z "$ac_c_werror_flag"
84740                          || test ! -s conftest.err'
84741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84742   (eval $ac_try) 2>&5
84743   ac_status=$?
84744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84745   (exit $ac_status); }; } &&
84746          { ac_try='test -s conftest$ac_exeext'
84747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84748   (eval $ac_try) 2>&5
84749   ac_status=$?
84750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84751   (exit $ac_status); }; }; then
84752   glibcxx_cv_POLL=yes
84753 else
84754   echo "$as_me: failed program was:" >&5
84755 sed 's/^/| /' conftest.$ac_ext >&5
84756
84757 glibcxx_cv_POLL=no
84758 fi
84759 rm -f conftest.err conftest.$ac_objext \
84760       conftest$ac_exeext conftest.$ac_ext
84761
84762 fi
84763
84764   if test $glibcxx_cv_POLL = yes; then
84765
84766 cat >>confdefs.h <<\_ACEOF
84767 #define HAVE_POLL 1
84768 _ACEOF
84769
84770   fi
84771   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
84772 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
84773
84774
84775   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
84776 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
84777   if test "${glibcxx_cv_S_ISREG+set}" = set; then
84778   echo $ECHO_N "(cached) $ECHO_C" >&6
84779 else
84780
84781     if test x$gcc_no_link = xyes; then
84782   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84784    { (exit 1); exit 1; }; }
84785 fi
84786 cat >conftest.$ac_ext <<_ACEOF
84787 /* confdefs.h.  */
84788 _ACEOF
84789 cat confdefs.h >>conftest.$ac_ext
84790 cat >>conftest.$ac_ext <<_ACEOF
84791 /* end confdefs.h.  */
84792 #include <sys/stat.h>
84793 int
84794 main ()
84795 {
84796 struct stat buffer;
84797        fstat(0, &buffer);
84798        S_ISREG(buffer.st_mode);
84799   ;
84800   return 0;
84801 }
84802 _ACEOF
84803 rm -f conftest.$ac_objext conftest$ac_exeext
84804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84805   (eval $ac_link) 2>conftest.er1
84806   ac_status=$?
84807   grep -v '^ *+' conftest.er1 >conftest.err
84808   rm -f conftest.er1
84809   cat conftest.err >&5
84810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84811   (exit $ac_status); } &&
84812          { ac_try='test -z "$ac_c_werror_flag"
84813                          || test ! -s conftest.err'
84814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84815   (eval $ac_try) 2>&5
84816   ac_status=$?
84817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84818   (exit $ac_status); }; } &&
84819          { ac_try='test -s conftest$ac_exeext'
84820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84821   (eval $ac_try) 2>&5
84822   ac_status=$?
84823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84824   (exit $ac_status); }; }; then
84825   glibcxx_cv_S_ISREG=yes
84826 else
84827   echo "$as_me: failed program was:" >&5
84828 sed 's/^/| /' conftest.$ac_ext >&5
84829
84830 glibcxx_cv_S_ISREG=no
84831 fi
84832 rm -f conftest.err conftest.$ac_objext \
84833       conftest$ac_exeext conftest.$ac_ext
84834
84835 fi
84836
84837   if test "${glibcxx_cv_S_IFREG+set}" = set; then
84838   echo $ECHO_N "(cached) $ECHO_C" >&6
84839 else
84840
84841     if test x$gcc_no_link = xyes; then
84842   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84844    { (exit 1); exit 1; }; }
84845 fi
84846 cat >conftest.$ac_ext <<_ACEOF
84847 /* confdefs.h.  */
84848 _ACEOF
84849 cat confdefs.h >>conftest.$ac_ext
84850 cat >>conftest.$ac_ext <<_ACEOF
84851 /* end confdefs.h.  */
84852 #include <sys/stat.h>
84853 int
84854 main ()
84855 {
84856 struct stat buffer;
84857        fstat(0, &buffer);
84858        S_IFREG & buffer.st_mode;
84859   ;
84860   return 0;
84861 }
84862 _ACEOF
84863 rm -f conftest.$ac_objext conftest$ac_exeext
84864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84865   (eval $ac_link) 2>conftest.er1
84866   ac_status=$?
84867   grep -v '^ *+' conftest.er1 >conftest.err
84868   rm -f conftest.er1
84869   cat conftest.err >&5
84870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84871   (exit $ac_status); } &&
84872          { ac_try='test -z "$ac_c_werror_flag"
84873                          || test ! -s conftest.err'
84874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84875   (eval $ac_try) 2>&5
84876   ac_status=$?
84877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84878   (exit $ac_status); }; } &&
84879          { ac_try='test -s conftest$ac_exeext'
84880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84881   (eval $ac_try) 2>&5
84882   ac_status=$?
84883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84884   (exit $ac_status); }; }; then
84885   glibcxx_cv_S_IFREG=yes
84886 else
84887   echo "$as_me: failed program was:" >&5
84888 sed 's/^/| /' conftest.$ac_ext >&5
84889
84890 glibcxx_cv_S_IFREG=no
84891 fi
84892 rm -f conftest.err conftest.$ac_objext \
84893       conftest$ac_exeext conftest.$ac_ext
84894
84895 fi
84896
84897   res=no
84898   if test $glibcxx_cv_S_ISREG = yes; then
84899
84900 cat >>confdefs.h <<\_ACEOF
84901 #define HAVE_S_ISREG 1
84902 _ACEOF
84903
84904     res=S_ISREG
84905   elif test $glibcxx_cv_S_IFREG = yes; then
84906
84907 cat >>confdefs.h <<\_ACEOF
84908 #define HAVE_S_IFREG 1
84909 _ACEOF
84910
84911     res=S_IFREG
84912   fi
84913   echo "$as_me:$LINENO: result: $res" >&5
84914 echo "${ECHO_T}$res" >&6
84915
84916
84917     # For xsputn_2().
84918
84919 for ac_header in sys/uio.h
84920 do
84921 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84922 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84923   echo "$as_me:$LINENO: checking for $ac_header" >&5
84924 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84925 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84926   echo $ECHO_N "(cached) $ECHO_C" >&6
84927 fi
84928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84929 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84930 else
84931   # Is the header compilable?
84932 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84933 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84934 cat >conftest.$ac_ext <<_ACEOF
84935 /* confdefs.h.  */
84936 _ACEOF
84937 cat confdefs.h >>conftest.$ac_ext
84938 cat >>conftest.$ac_ext <<_ACEOF
84939 /* end confdefs.h.  */
84940 $ac_includes_default
84941 #include <$ac_header>
84942 _ACEOF
84943 rm -f conftest.$ac_objext
84944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84945   (eval $ac_compile) 2>conftest.er1
84946   ac_status=$?
84947   grep -v '^ *+' conftest.er1 >conftest.err
84948   rm -f conftest.er1
84949   cat conftest.err >&5
84950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84951   (exit $ac_status); } &&
84952          { ac_try='test -z "$ac_c_werror_flag"
84953                          || test ! -s conftest.err'
84954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84955   (eval $ac_try) 2>&5
84956   ac_status=$?
84957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84958   (exit $ac_status); }; } &&
84959          { ac_try='test -s conftest.$ac_objext'
84960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84961   (eval $ac_try) 2>&5
84962   ac_status=$?
84963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84964   (exit $ac_status); }; }; then
84965   ac_header_compiler=yes
84966 else
84967   echo "$as_me: failed program was:" >&5
84968 sed 's/^/| /' conftest.$ac_ext >&5
84969
84970 ac_header_compiler=no
84971 fi
84972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84973 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84974 echo "${ECHO_T}$ac_header_compiler" >&6
84975
84976 # Is the header present?
84977 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84978 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84979 cat >conftest.$ac_ext <<_ACEOF
84980 /* confdefs.h.  */
84981 _ACEOF
84982 cat confdefs.h >>conftest.$ac_ext
84983 cat >>conftest.$ac_ext <<_ACEOF
84984 /* end confdefs.h.  */
84985 #include <$ac_header>
84986 _ACEOF
84987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84988   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84989   ac_status=$?
84990   grep -v '^ *+' conftest.er1 >conftest.err
84991   rm -f conftest.er1
84992   cat conftest.err >&5
84993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84994   (exit $ac_status); } >/dev/null; then
84995   if test -s conftest.err; then
84996     ac_cpp_err=$ac_c_preproc_warn_flag
84997     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84998   else
84999     ac_cpp_err=
85000   fi
85001 else
85002   ac_cpp_err=yes
85003 fi
85004 if test -z "$ac_cpp_err"; then
85005   ac_header_preproc=yes
85006 else
85007   echo "$as_me: failed program was:" >&5
85008 sed 's/^/| /' conftest.$ac_ext >&5
85009
85010   ac_header_preproc=no
85011 fi
85012 rm -f conftest.err conftest.$ac_ext
85013 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85014 echo "${ECHO_T}$ac_header_preproc" >&6
85015
85016 # So?  What about this header?
85017 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85018   yes:no: )
85019     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85020 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85021     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85022 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85023     ac_header_preproc=yes
85024     ;;
85025   no:yes:* )
85026     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85027 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85028     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85029 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85030     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85031 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85032     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85033 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85034     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85035 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85036     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85037 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85038     (
85039       cat <<\_ASBOX
85040 ## ----------------------------------------- ##
85041 ## Report this to the package-unused lists.  ##
85042 ## ----------------------------------------- ##
85043 _ASBOX
85044     ) |
85045       sed "s/^/$as_me: WARNING:     /" >&2
85046     ;;
85047 esac
85048 echo "$as_me:$LINENO: checking for $ac_header" >&5
85049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85050 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85051   echo $ECHO_N "(cached) $ECHO_C" >&6
85052 else
85053   eval "$as_ac_Header=\$ac_header_preproc"
85054 fi
85055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85057
85058 fi
85059 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85060   cat >>confdefs.h <<_ACEOF
85061 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85062 _ACEOF
85063
85064 fi
85065
85066 done
85067
85068
85069   echo "$as_me:$LINENO: checking for writev" >&5
85070 echo $ECHO_N "checking for writev... $ECHO_C" >&6
85071   if test "${glibcxx_cv_WRITEV+set}" = set; then
85072   echo $ECHO_N "(cached) $ECHO_C" >&6
85073 else
85074
85075     if test x$gcc_no_link = xyes; then
85076   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85078    { (exit 1); exit 1; }; }
85079 fi
85080 cat >conftest.$ac_ext <<_ACEOF
85081 /* confdefs.h.  */
85082 _ACEOF
85083 cat confdefs.h >>conftest.$ac_ext
85084 cat >>conftest.$ac_ext <<_ACEOF
85085 /* end confdefs.h.  */
85086 #include <sys/uio.h>
85087 int
85088 main ()
85089 {
85090 struct iovec iov[2];
85091        writev(0, iov, 0);
85092   ;
85093   return 0;
85094 }
85095 _ACEOF
85096 rm -f conftest.$ac_objext conftest$ac_exeext
85097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85098   (eval $ac_link) 2>conftest.er1
85099   ac_status=$?
85100   grep -v '^ *+' conftest.er1 >conftest.err
85101   rm -f conftest.er1
85102   cat conftest.err >&5
85103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85104   (exit $ac_status); } &&
85105          { ac_try='test -z "$ac_c_werror_flag"
85106                          || test ! -s conftest.err'
85107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85108   (eval $ac_try) 2>&5
85109   ac_status=$?
85110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85111   (exit $ac_status); }; } &&
85112          { ac_try='test -s conftest$ac_exeext'
85113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85114   (eval $ac_try) 2>&5
85115   ac_status=$?
85116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85117   (exit $ac_status); }; }; then
85118   glibcxx_cv_WRITEV=yes
85119 else
85120   echo "$as_me: failed program was:" >&5
85121 sed 's/^/| /' conftest.$ac_ext >&5
85122
85123 glibcxx_cv_WRITEV=no
85124 fi
85125 rm -f conftest.err conftest.$ac_objext \
85126       conftest$ac_exeext conftest.$ac_ext
85127
85128 fi
85129
85130   if test $glibcxx_cv_WRITEV = yes; then
85131
85132 cat >>confdefs.h <<\_ACEOF
85133 #define HAVE_WRITEV 1
85134 _ACEOF
85135
85136   fi
85137   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
85138 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
85139
85140
85141     cat >>confdefs.h <<\_ACEOF
85142 #define HAVE_LC_MESSAGES 1
85143 _ACEOF
85144
85145
85146     cat >conftest.$ac_ext <<_ACEOF
85147 /* confdefs.h.  */
85148 _ACEOF
85149 cat confdefs.h >>conftest.$ac_ext
85150 cat >>conftest.$ac_ext <<_ACEOF
85151 /* end confdefs.h.  */
85152 #include <setjmp.h>
85153 int
85154 main ()
85155 {
85156 sigjmp_buf env;
85157        while (! sigsetjmp (env, 1))
85158          siglongjmp (env, 1);
85159
85160   ;
85161   return 0;
85162 }
85163 _ACEOF
85164 rm -f conftest.$ac_objext
85165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85166   (eval $ac_compile) 2>conftest.er1
85167   ac_status=$?
85168   grep -v '^ *+' conftest.er1 >conftest.err
85169   rm -f conftest.er1
85170   cat conftest.err >&5
85171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85172   (exit $ac_status); } &&
85173          { ac_try='test -z "$ac_c_werror_flag"
85174                          || test ! -s conftest.err'
85175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85176   (eval $ac_try) 2>&5
85177   ac_status=$?
85178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85179   (exit $ac_status); }; } &&
85180          { ac_try='test -s conftest.$ac_objext'
85181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85182   (eval $ac_try) 2>&5
85183   ac_status=$?
85184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85185   (exit $ac_status); }; }; then
85186
85187 cat >>confdefs.h <<\_ACEOF
85188 #define HAVE_SIGSETJMP 1
85189 _ACEOF
85190
85191 else
85192   echo "$as_me: failed program was:" >&5
85193 sed 's/^/| /' conftest.$ac_ext >&5
85194
85195 fi
85196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85197
85198     cat >>confdefs.h <<\_ACEOF
85199 #define HAVE_MMAP 1
85200 _ACEOF
85201
85202     ;;
85203
85204   *djgpp)
85205
85206
85207
85208
85209
85210
85211
85212
85213
85214
85215
85216
85217
85218
85219
85220
85221
85222
85223
85224
85225 for ac_header in float.h ieeefp.h inttypes.h locale.h \
85226       memory.h stdint.h stdlib.h strings.h string.h unistd.h \
85227       wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
85228       sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
85229 do
85230 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85232   echo "$as_me:$LINENO: checking for $ac_header" >&5
85233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85235   echo $ECHO_N "(cached) $ECHO_C" >&6
85236 fi
85237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85239 else
85240   # Is the header compilable?
85241 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85242 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85243 cat >conftest.$ac_ext <<_ACEOF
85244 /* confdefs.h.  */
85245 _ACEOF
85246 cat confdefs.h >>conftest.$ac_ext
85247 cat >>conftest.$ac_ext <<_ACEOF
85248 /* end confdefs.h.  */
85249 $ac_includes_default
85250 #include <$ac_header>
85251 _ACEOF
85252 rm -f conftest.$ac_objext
85253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85254   (eval $ac_compile) 2>conftest.er1
85255   ac_status=$?
85256   grep -v '^ *+' conftest.er1 >conftest.err
85257   rm -f conftest.er1
85258   cat conftest.err >&5
85259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85260   (exit $ac_status); } &&
85261          { ac_try='test -z "$ac_c_werror_flag"
85262                          || test ! -s conftest.err'
85263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85264   (eval $ac_try) 2>&5
85265   ac_status=$?
85266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85267   (exit $ac_status); }; } &&
85268          { ac_try='test -s conftest.$ac_objext'
85269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85270   (eval $ac_try) 2>&5
85271   ac_status=$?
85272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85273   (exit $ac_status); }; }; then
85274   ac_header_compiler=yes
85275 else
85276   echo "$as_me: failed program was:" >&5
85277 sed 's/^/| /' conftest.$ac_ext >&5
85278
85279 ac_header_compiler=no
85280 fi
85281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85282 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85283 echo "${ECHO_T}$ac_header_compiler" >&6
85284
85285 # Is the header present?
85286 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85287 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85288 cat >conftest.$ac_ext <<_ACEOF
85289 /* confdefs.h.  */
85290 _ACEOF
85291 cat confdefs.h >>conftest.$ac_ext
85292 cat >>conftest.$ac_ext <<_ACEOF
85293 /* end confdefs.h.  */
85294 #include <$ac_header>
85295 _ACEOF
85296 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85297   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85298   ac_status=$?
85299   grep -v '^ *+' conftest.er1 >conftest.err
85300   rm -f conftest.er1
85301   cat conftest.err >&5
85302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85303   (exit $ac_status); } >/dev/null; then
85304   if test -s conftest.err; then
85305     ac_cpp_err=$ac_c_preproc_warn_flag
85306     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85307   else
85308     ac_cpp_err=
85309   fi
85310 else
85311   ac_cpp_err=yes
85312 fi
85313 if test -z "$ac_cpp_err"; then
85314   ac_header_preproc=yes
85315 else
85316   echo "$as_me: failed program was:" >&5
85317 sed 's/^/| /' conftest.$ac_ext >&5
85318
85319   ac_header_preproc=no
85320 fi
85321 rm -f conftest.err conftest.$ac_ext
85322 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85323 echo "${ECHO_T}$ac_header_preproc" >&6
85324
85325 # So?  What about this header?
85326 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85327   yes:no: )
85328     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85329 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85330     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85331 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85332     ac_header_preproc=yes
85333     ;;
85334   no:yes:* )
85335     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85336 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85337     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85338 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85339     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85340 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85341     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85342 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85343     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85344 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85345     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85346 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85347     (
85348       cat <<\_ASBOX
85349 ## ----------------------------------------- ##
85350 ## Report this to the package-unused lists.  ##
85351 ## ----------------------------------------- ##
85352 _ASBOX
85353     ) |
85354       sed "s/^/$as_me: WARNING:     /" >&2
85355     ;;
85356 esac
85357 echo "$as_me:$LINENO: checking for $ac_header" >&5
85358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85360   echo $ECHO_N "(cached) $ECHO_C" >&6
85361 else
85362   eval "$as_ac_Header=\$ac_header_preproc"
85363 fi
85364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85366
85367 fi
85368 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85369   cat >>confdefs.h <<_ACEOF
85370 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85371 _ACEOF
85372
85373 fi
85374
85375 done
85376
85377     # GLIBCXX_CHECK_MATH_SUPPORT
85378     cat >>confdefs.h <<\_ACEOF
85379 #define HAVE_LIBM 1
85380 _ACEOF
85381
85382     cat >>confdefs.h <<\_ACEOF
85383 #define HAVE_ISINF 1
85384 _ACEOF
85385
85386     cat >>confdefs.h <<\_ACEOF
85387 #define HAVE_ISNAN 1
85388 _ACEOF
85389
85390     cat >>confdefs.h <<\_ACEOF
85391 #define HAVE_FINITE 1
85392 _ACEOF
85393
85394     cat >>confdefs.h <<\_ACEOF
85395 #define HAVE_COPYSIGN 1
85396 _ACEOF
85397
85398     cat >>confdefs.h <<\_ACEOF
85399 #define HAVE_SINCOS 1
85400 _ACEOF
85401
85402     cat >>confdefs.h <<\_ACEOF
85403 #define HAVE_HYPOT 1
85404 _ACEOF
85405
85406     # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
85407     cat >>confdefs.h <<\_ACEOF
85408 #define HAVE___BUILTIN_ABS 1
85409 _ACEOF
85410
85411     cat >>confdefs.h <<\_ACEOF
85412 #define HAVE___BUILTIN_FABSF 1
85413 _ACEOF
85414
85415     cat >>confdefs.h <<\_ACEOF
85416 #define HAVE___BUILTIN_FABS 1
85417 _ACEOF
85418
85419     cat >>confdefs.h <<\_ACEOF
85420 #define HAVE___BUILTIN_FABSL 1
85421 _ACEOF
85422
85423     cat >>confdefs.h <<\_ACEOF
85424 #define HAVE___BUILTIN_LABS 1
85425 _ACEOF
85426
85427     cat >>confdefs.h <<\_ACEOF
85428 #define HAVE___BUILTIN_SQRTF 1
85429 _ACEOF
85430
85431     cat >>confdefs.h <<\_ACEOF
85432 #define HAVE___BUILTIN_SQRT 1
85433 _ACEOF
85434
85435     cat >>confdefs.h <<\_ACEOF
85436 #define HAVE___BUILTIN_SQRTL 1
85437 _ACEOF
85438
85439     cat >>confdefs.h <<\_ACEOF
85440 #define HAVE___BUILTIN_SINF 1
85441 _ACEOF
85442
85443     cat >>confdefs.h <<\_ACEOF
85444 #define HAVE___BUILTIN_SIN 1
85445 _ACEOF
85446
85447     cat >>confdefs.h <<\_ACEOF
85448 #define HAVE___BUILTIN_SINL 1
85449 _ACEOF
85450
85451     cat >>confdefs.h <<\_ACEOF
85452 #define HAVE___BUILTIN_COSF 1
85453 _ACEOF
85454
85455     cat >>confdefs.h <<\_ACEOF
85456 #define HAVE___BUILTIN_COS 1
85457 _ACEOF
85458
85459     cat >>confdefs.h <<\_ACEOF
85460 #define HAVE___BUILTIN_COSL 1
85461 _ACEOF
85462
85463     # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
85464     # GLIBCXX_CHECK_STDLIB_SUPPORT
85465     cat >>confdefs.h <<\_ACEOF
85466 #define HAVE_COPYSIGN 1
85467 _ACEOF
85468
85469     cat >>confdefs.h <<\_ACEOF
85470 #define HAVE_COPYSIGNF 1
85471 _ACEOF
85472
85473     # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
85474     cat >>confdefs.h <<\_ACEOF
85475 #define HAVE_S_ISREG 1
85476 _ACEOF
85477
85478     cat >>confdefs.h <<\_ACEOF
85479 #define HAVE_S_IFREG 1
85480 _ACEOF
85481
85482     cat >>confdefs.h <<\_ACEOF
85483 #define HAVE_WRITEV 1
85484 _ACEOF
85485
85486     ;;
85487
85488   *-freebsd*)
85489
85490
85491
85492
85493
85494
85495
85496
85497
85498
85499
85500
85501
85502
85503
85504
85505 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
85506       machine/endian.h machine/param.h sys/machine.h sys/types.h \
85507       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
85508       sys/time.h unistd.h
85509 do
85510 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85512   echo "$as_me:$LINENO: checking for $ac_header" >&5
85513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85515   echo $ECHO_N "(cached) $ECHO_C" >&6
85516 fi
85517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85519 else
85520   # Is the header compilable?
85521 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85522 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85523 cat >conftest.$ac_ext <<_ACEOF
85524 /* confdefs.h.  */
85525 _ACEOF
85526 cat confdefs.h >>conftest.$ac_ext
85527 cat >>conftest.$ac_ext <<_ACEOF
85528 /* end confdefs.h.  */
85529 $ac_includes_default
85530 #include <$ac_header>
85531 _ACEOF
85532 rm -f conftest.$ac_objext
85533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85534   (eval $ac_compile) 2>conftest.er1
85535   ac_status=$?
85536   grep -v '^ *+' conftest.er1 >conftest.err
85537   rm -f conftest.er1
85538   cat conftest.err >&5
85539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85540   (exit $ac_status); } &&
85541          { ac_try='test -z "$ac_c_werror_flag"
85542                          || test ! -s conftest.err'
85543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85544   (eval $ac_try) 2>&5
85545   ac_status=$?
85546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85547   (exit $ac_status); }; } &&
85548          { ac_try='test -s conftest.$ac_objext'
85549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85550   (eval $ac_try) 2>&5
85551   ac_status=$?
85552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85553   (exit $ac_status); }; }; then
85554   ac_header_compiler=yes
85555 else
85556   echo "$as_me: failed program was:" >&5
85557 sed 's/^/| /' conftest.$ac_ext >&5
85558
85559 ac_header_compiler=no
85560 fi
85561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85562 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85563 echo "${ECHO_T}$ac_header_compiler" >&6
85564
85565 # Is the header present?
85566 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85567 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85568 cat >conftest.$ac_ext <<_ACEOF
85569 /* confdefs.h.  */
85570 _ACEOF
85571 cat confdefs.h >>conftest.$ac_ext
85572 cat >>conftest.$ac_ext <<_ACEOF
85573 /* end confdefs.h.  */
85574 #include <$ac_header>
85575 _ACEOF
85576 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85577   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85578   ac_status=$?
85579   grep -v '^ *+' conftest.er1 >conftest.err
85580   rm -f conftest.er1
85581   cat conftest.err >&5
85582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85583   (exit $ac_status); } >/dev/null; then
85584   if test -s conftest.err; then
85585     ac_cpp_err=$ac_c_preproc_warn_flag
85586     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85587   else
85588     ac_cpp_err=
85589   fi
85590 else
85591   ac_cpp_err=yes
85592 fi
85593 if test -z "$ac_cpp_err"; then
85594   ac_header_preproc=yes
85595 else
85596   echo "$as_me: failed program was:" >&5
85597 sed 's/^/| /' conftest.$ac_ext >&5
85598
85599   ac_header_preproc=no
85600 fi
85601 rm -f conftest.err conftest.$ac_ext
85602 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85603 echo "${ECHO_T}$ac_header_preproc" >&6
85604
85605 # So?  What about this header?
85606 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85607   yes:no: )
85608     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85609 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85610     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85611 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85612     ac_header_preproc=yes
85613     ;;
85614   no:yes:* )
85615     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85616 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85617     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85618 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85619     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85620 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85621     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85622 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85623     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85624 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85625     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85626 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85627     (
85628       cat <<\_ASBOX
85629 ## ----------------------------------------- ##
85630 ## Report this to the package-unused lists.  ##
85631 ## ----------------------------------------- ##
85632 _ASBOX
85633     ) |
85634       sed "s/^/$as_me: WARNING:     /" >&2
85635     ;;
85636 esac
85637 echo "$as_me:$LINENO: checking for $ac_header" >&5
85638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85640   echo $ECHO_N "(cached) $ECHO_C" >&6
85641 else
85642   eval "$as_ac_Header=\$ac_header_preproc"
85643 fi
85644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85645 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85646
85647 fi
85648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85649   cat >>confdefs.h <<_ACEOF
85650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85651 _ACEOF
85652
85653 fi
85654
85655 done
85656
85657     SECTION_FLAGS='-ffunction-sections -fdata-sections'
85658
85659
85660   # If we're not using GNU ld, then there's no point in even trying these
85661   # tests.  Check for that first.  We should have already tested for gld
85662   # by now (in libtool), but require it now just to be safe...
85663   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85664   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85665
85666
85667
85668   # The name set by libtool depends on the version of libtool.  Shame on us
85669   # for depending on an impl detail, but c'est la vie.  Older versions used
85670   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85671   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85672   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
85673   # set (hence we're using an older libtool), then set it.
85674   if test x${with_gnu_ld+set} != xset; then
85675     if test x${ac_cv_prog_gnu_ld+set} != xset; then
85676       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
85677       with_gnu_ld=no
85678     else
85679       with_gnu_ld=$ac_cv_prog_gnu_ld
85680     fi
85681   fi
85682
85683   # Start by getting the version number.  I think the libtool test already
85684   # does some of this, but throws away the result.
85685   glibcxx_ld_is_gold=no
85686   if test x"$with_gnu_ld" = x"yes"; then
85687     echo "$as_me:$LINENO: checking for ld version" >&5
85688 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
85689
85690     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
85691       glibcxx_ld_is_gold=yes
85692     fi
85693     ldver=`$LD --version 2>/dev/null | head -1 | \
85694            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
85695
85696     glibcxx_gnu_ld_version=`echo $ldver | \
85697            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85698     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
85699 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
85700   fi
85701
85702   # Set --gc-sections.
85703   glibcxx_have_gc_sections=no
85704   if test "$glibcxx_ld_is_gold" = "yes"; then
85705     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
85706       glibcxx_have_gc_sections=yes
85707     fi
85708   else
85709     glibcxx_gcsections_min_ld=21602
85710     if test x"$with_gnu_ld" = x"yes" &&
85711         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
85712       glibcxx_have_gc_sections=yes
85713     fi
85714   fi
85715   if test "$glibcxx_have_gc_sections" = "yes"; then
85716     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
85717     # NB: This flag only works reliably after 2.16.1. Configure tests
85718     # for this are difficult, so hard wire a value that should work.
85719
85720     ac_test_CFLAGS="${CFLAGS+set}"
85721     ac_save_CFLAGS="$CFLAGS"
85722     CFLAGS='-Wl,--gc-sections'
85723
85724     # Check for -Wl,--gc-sections
85725     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85726 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85727     if test x$gcc_no_link = xyes; then
85728   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85730    { (exit 1); exit 1; }; }
85731 fi
85732 cat >conftest.$ac_ext <<_ACEOF
85733 /* confdefs.h.  */
85734 _ACEOF
85735 cat confdefs.h >>conftest.$ac_ext
85736 cat >>conftest.$ac_ext <<_ACEOF
85737 /* end confdefs.h.  */
85738  int one(void) { return 1; }
85739      int two(void) { return 2; }
85740
85741 int
85742 main ()
85743 {
85744  two();
85745   ;
85746   return 0;
85747 }
85748 _ACEOF
85749 rm -f conftest.$ac_objext conftest$ac_exeext
85750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85751   (eval $ac_link) 2>conftest.er1
85752   ac_status=$?
85753   grep -v '^ *+' conftest.er1 >conftest.err
85754   rm -f conftest.er1
85755   cat conftest.err >&5
85756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85757   (exit $ac_status); } &&
85758          { ac_try='test -z "$ac_c_werror_flag"
85759                          || test ! -s conftest.err'
85760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85761   (eval $ac_try) 2>&5
85762   ac_status=$?
85763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85764   (exit $ac_status); }; } &&
85765          { ac_try='test -s conftest$ac_exeext'
85766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85767   (eval $ac_try) 2>&5
85768   ac_status=$?
85769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85770   (exit $ac_status); }; }; then
85771   ac_gcsections=yes
85772 else
85773   echo "$as_me: failed program was:" >&5
85774 sed 's/^/| /' conftest.$ac_ext >&5
85775
85776 ac_gcsections=no
85777 fi
85778 rm -f conftest.err conftest.$ac_objext \
85779       conftest$ac_exeext conftest.$ac_ext
85780     if test "$ac_gcsections" = "yes"; then
85781       rm -f conftest.c
85782       touch conftest.c
85783       if $CC -c conftest.c; then
85784         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
85785            grep "Warning: gc-sections option ignored" > /dev/null; then
85786           ac_gcsections=no
85787         fi
85788       fi
85789       rm -f conftest.c conftest.o conftest
85790     fi
85791     if test "$ac_gcsections" = "yes"; then
85792       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85793     fi
85794     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
85795 echo "${ECHO_T}$ac_gcsections" >&6
85796
85797     if test "$ac_test_CFLAGS" = set; then
85798       CFLAGS="$ac_save_CFLAGS"
85799     else
85800       # this is the suspicious part
85801       CFLAGS=''
85802     fi
85803   fi
85804
85805   # Set -z,relro.
85806   # Note this is only for shared objects.
85807   ac_ld_relro=no
85808   if test x"$with_gnu_ld" = x"yes"; then
85809     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
85810 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
85811     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
85812     if test -n "$cxx_z_relo"; then
85813       OPT_LDFLAGS="-Wl,-z,relro"
85814       ac_ld_relro=yes
85815     fi
85816     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
85817 echo "${ECHO_T}$ac_ld_relro" >&6
85818   fi
85819
85820   # Set linker optimization flags.
85821   if test x"$with_gnu_ld" = x"yes"; then
85822     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85823   fi
85824
85825
85826
85827
85828
85829
85830 echo "$as_me:$LINENO: checking for main in -lm" >&5
85831 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85832 if test "${ac_cv_lib_m_main+set}" = set; then
85833   echo $ECHO_N "(cached) $ECHO_C" >&6
85834 else
85835   ac_check_lib_save_LIBS=$LIBS
85836 LIBS="-lm  $LIBS"
85837 if test x$gcc_no_link = xyes; then
85838   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85840    { (exit 1); exit 1; }; }
85841 fi
85842 cat >conftest.$ac_ext <<_ACEOF
85843 /* confdefs.h.  */
85844 _ACEOF
85845 cat confdefs.h >>conftest.$ac_ext
85846 cat >>conftest.$ac_ext <<_ACEOF
85847 /* end confdefs.h.  */
85848
85849
85850 int
85851 main ()
85852 {
85853 main ();
85854   ;
85855   return 0;
85856 }
85857 _ACEOF
85858 rm -f conftest.$ac_objext conftest$ac_exeext
85859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85860   (eval $ac_link) 2>conftest.er1
85861   ac_status=$?
85862   grep -v '^ *+' conftest.er1 >conftest.err
85863   rm -f conftest.er1
85864   cat conftest.err >&5
85865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85866   (exit $ac_status); } &&
85867          { ac_try='test -z "$ac_c_werror_flag"
85868                          || test ! -s conftest.err'
85869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85870   (eval $ac_try) 2>&5
85871   ac_status=$?
85872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85873   (exit $ac_status); }; } &&
85874          { ac_try='test -s conftest$ac_exeext'
85875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85876   (eval $ac_try) 2>&5
85877   ac_status=$?
85878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85879   (exit $ac_status); }; }; then
85880   ac_cv_lib_m_main=yes
85881 else
85882   echo "$as_me: failed program was:" >&5
85883 sed 's/^/| /' conftest.$ac_ext >&5
85884
85885 ac_cv_lib_m_main=no
85886 fi
85887 rm -f conftest.err conftest.$ac_objext \
85888       conftest$ac_exeext conftest.$ac_ext
85889 LIBS=$ac_check_lib_save_LIBS
85890 fi
85891 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85892 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85893 if test $ac_cv_lib_m_main = yes; then
85894   cat >>confdefs.h <<_ACEOF
85895 #define HAVE_LIBM 1
85896 _ACEOF
85897
85898   LIBS="-lm $LIBS"
85899
85900 fi
85901
85902
85903 for ac_func in copysignf
85904 do
85905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85906 echo "$as_me:$LINENO: checking for $ac_func" >&5
85907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85908 if eval "test \"\${$as_ac_var+set}\" = set"; then
85909   echo $ECHO_N "(cached) $ECHO_C" >&6
85910 else
85911   if test x$gcc_no_link = xyes; then
85912   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85914    { (exit 1); exit 1; }; }
85915 fi
85916 cat >conftest.$ac_ext <<_ACEOF
85917 /* confdefs.h.  */
85918 _ACEOF
85919 cat confdefs.h >>conftest.$ac_ext
85920 cat >>conftest.$ac_ext <<_ACEOF
85921 /* end confdefs.h.  */
85922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85923    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85924 #define $ac_func innocuous_$ac_func
85925
85926 /* System header to define __stub macros and hopefully few prototypes,
85927     which can conflict with char $ac_func (); below.
85928     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85929     <limits.h> exists even on freestanding compilers.  */
85930
85931 #ifdef __STDC__
85932 # include <limits.h>
85933 #else
85934 # include <assert.h>
85935 #endif
85936
85937 #undef $ac_func
85938
85939 /* Override any gcc2 internal prototype to avoid an error.  */
85940 #ifdef __cplusplus
85941 extern "C"
85942 {
85943 #endif
85944 /* We use char because int might match the return type of a gcc2
85945    builtin and then its argument prototype would still apply.  */
85946 char $ac_func ();
85947 /* The GNU C library defines this for functions which it implements
85948     to always fail with ENOSYS.  Some functions are actually named
85949     something starting with __ and the normal name is an alias.  */
85950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85951 choke me
85952 #else
85953 char (*f) () = $ac_func;
85954 #endif
85955 #ifdef __cplusplus
85956 }
85957 #endif
85958
85959 int
85960 main ()
85961 {
85962 return f != $ac_func;
85963   ;
85964   return 0;
85965 }
85966 _ACEOF
85967 rm -f conftest.$ac_objext conftest$ac_exeext
85968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85969   (eval $ac_link) 2>conftest.er1
85970   ac_status=$?
85971   grep -v '^ *+' conftest.er1 >conftest.err
85972   rm -f conftest.er1
85973   cat conftest.err >&5
85974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85975   (exit $ac_status); } &&
85976          { ac_try='test -z "$ac_c_werror_flag"
85977                          || test ! -s conftest.err'
85978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85979   (eval $ac_try) 2>&5
85980   ac_status=$?
85981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85982   (exit $ac_status); }; } &&
85983          { ac_try='test -s conftest$ac_exeext'
85984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85985   (eval $ac_try) 2>&5
85986   ac_status=$?
85987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85988   (exit $ac_status); }; }; then
85989   eval "$as_ac_var=yes"
85990 else
85991   echo "$as_me: failed program was:" >&5
85992 sed 's/^/| /' conftest.$ac_ext >&5
85993
85994 eval "$as_ac_var=no"
85995 fi
85996 rm -f conftest.err conftest.$ac_objext \
85997       conftest$ac_exeext conftest.$ac_ext
85998 fi
85999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86001 if test `eval echo '${'$as_ac_var'}'` = yes; then
86002   cat >>confdefs.h <<_ACEOF
86003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86004 _ACEOF
86005
86006 else
86007   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86008 fi
86009 done
86010
86011
86012
86013 for ac_func in __signbit
86014 do
86015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86016 echo "$as_me:$LINENO: checking for $ac_func" >&5
86017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86018 if eval "test \"\${$as_ac_var+set}\" = set"; then
86019   echo $ECHO_N "(cached) $ECHO_C" >&6
86020 else
86021   if test x$gcc_no_link = xyes; then
86022   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86024    { (exit 1); exit 1; }; }
86025 fi
86026 cat >conftest.$ac_ext <<_ACEOF
86027 /* confdefs.h.  */
86028 _ACEOF
86029 cat confdefs.h >>conftest.$ac_ext
86030 cat >>conftest.$ac_ext <<_ACEOF
86031 /* end confdefs.h.  */
86032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86033    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86034 #define $ac_func innocuous_$ac_func
86035
86036 /* System header to define __stub macros and hopefully few prototypes,
86037     which can conflict with char $ac_func (); below.
86038     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86039     <limits.h> exists even on freestanding compilers.  */
86040
86041 #ifdef __STDC__
86042 # include <limits.h>
86043 #else
86044 # include <assert.h>
86045 #endif
86046
86047 #undef $ac_func
86048
86049 /* Override any gcc2 internal prototype to avoid an error.  */
86050 #ifdef __cplusplus
86051 extern "C"
86052 {
86053 #endif
86054 /* We use char because int might match the return type of a gcc2
86055    builtin and then its argument prototype would still apply.  */
86056 char $ac_func ();
86057 /* The GNU C library defines this for functions which it implements
86058     to always fail with ENOSYS.  Some functions are actually named
86059     something starting with __ and the normal name is an alias.  */
86060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86061 choke me
86062 #else
86063 char (*f) () = $ac_func;
86064 #endif
86065 #ifdef __cplusplus
86066 }
86067 #endif
86068
86069 int
86070 main ()
86071 {
86072 return f != $ac_func;
86073   ;
86074   return 0;
86075 }
86076 _ACEOF
86077 rm -f conftest.$ac_objext conftest$ac_exeext
86078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86079   (eval $ac_link) 2>conftest.er1
86080   ac_status=$?
86081   grep -v '^ *+' conftest.er1 >conftest.err
86082   rm -f conftest.er1
86083   cat conftest.err >&5
86084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86085   (exit $ac_status); } &&
86086          { ac_try='test -z "$ac_c_werror_flag"
86087                          || test ! -s conftest.err'
86088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86089   (eval $ac_try) 2>&5
86090   ac_status=$?
86091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86092   (exit $ac_status); }; } &&
86093          { ac_try='test -s conftest$ac_exeext'
86094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86095   (eval $ac_try) 2>&5
86096   ac_status=$?
86097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86098   (exit $ac_status); }; }; then
86099   eval "$as_ac_var=yes"
86100 else
86101   echo "$as_me: failed program was:" >&5
86102 sed 's/^/| /' conftest.$ac_ext >&5
86103
86104 eval "$as_ac_var=no"
86105 fi
86106 rm -f conftest.err conftest.$ac_objext \
86107       conftest$ac_exeext conftest.$ac_ext
86108 fi
86109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86111 if test `eval echo '${'$as_ac_var'}'` = yes; then
86112   cat >>confdefs.h <<_ACEOF
86113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86114 _ACEOF
86115
86116 else
86117   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86118 fi
86119 done
86120
86121
86122
86123 for ac_func in __signbitf
86124 do
86125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86126 echo "$as_me:$LINENO: checking for $ac_func" >&5
86127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86128 if eval "test \"\${$as_ac_var+set}\" = set"; then
86129   echo $ECHO_N "(cached) $ECHO_C" >&6
86130 else
86131   if test x$gcc_no_link = xyes; then
86132   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86134    { (exit 1); exit 1; }; }
86135 fi
86136 cat >conftest.$ac_ext <<_ACEOF
86137 /* confdefs.h.  */
86138 _ACEOF
86139 cat confdefs.h >>conftest.$ac_ext
86140 cat >>conftest.$ac_ext <<_ACEOF
86141 /* end confdefs.h.  */
86142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86143    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86144 #define $ac_func innocuous_$ac_func
86145
86146 /* System header to define __stub macros and hopefully few prototypes,
86147     which can conflict with char $ac_func (); below.
86148     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86149     <limits.h> exists even on freestanding compilers.  */
86150
86151 #ifdef __STDC__
86152 # include <limits.h>
86153 #else
86154 # include <assert.h>
86155 #endif
86156
86157 #undef $ac_func
86158
86159 /* Override any gcc2 internal prototype to avoid an error.  */
86160 #ifdef __cplusplus
86161 extern "C"
86162 {
86163 #endif
86164 /* We use char because int might match the return type of a gcc2
86165    builtin and then its argument prototype would still apply.  */
86166 char $ac_func ();
86167 /* The GNU C library defines this for functions which it implements
86168     to always fail with ENOSYS.  Some functions are actually named
86169     something starting with __ and the normal name is an alias.  */
86170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86171 choke me
86172 #else
86173 char (*f) () = $ac_func;
86174 #endif
86175 #ifdef __cplusplus
86176 }
86177 #endif
86178
86179 int
86180 main ()
86181 {
86182 return f != $ac_func;
86183   ;
86184   return 0;
86185 }
86186 _ACEOF
86187 rm -f conftest.$ac_objext conftest$ac_exeext
86188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86189   (eval $ac_link) 2>conftest.er1
86190   ac_status=$?
86191   grep -v '^ *+' conftest.er1 >conftest.err
86192   rm -f conftest.er1
86193   cat conftest.err >&5
86194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86195   (exit $ac_status); } &&
86196          { ac_try='test -z "$ac_c_werror_flag"
86197                          || test ! -s conftest.err'
86198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86199   (eval $ac_try) 2>&5
86200   ac_status=$?
86201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86202   (exit $ac_status); }; } &&
86203          { ac_try='test -s conftest$ac_exeext'
86204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86205   (eval $ac_try) 2>&5
86206   ac_status=$?
86207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86208   (exit $ac_status); }; }; then
86209   eval "$as_ac_var=yes"
86210 else
86211   echo "$as_me: failed program was:" >&5
86212 sed 's/^/| /' conftest.$ac_ext >&5
86213
86214 eval "$as_ac_var=no"
86215 fi
86216 rm -f conftest.err conftest.$ac_objext \
86217       conftest$ac_exeext conftest.$ac_ext
86218 fi
86219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86221 if test `eval echo '${'$as_ac_var'}'` = yes; then
86222   cat >>confdefs.h <<_ACEOF
86223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86224 _ACEOF
86225
86226 else
86227   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86228 fi
86229 done
86230
86231
86232           if test x$ac_cv_func_copysignl = x"yes"; then
86233
86234 for ac_func in __signbitl
86235 do
86236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86237 echo "$as_me:$LINENO: checking for $ac_func" >&5
86238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86239 if eval "test \"\${$as_ac_var+set}\" = set"; then
86240   echo $ECHO_N "(cached) $ECHO_C" >&6
86241 else
86242   if test x$gcc_no_link = xyes; then
86243   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86245    { (exit 1); exit 1; }; }
86246 fi
86247 cat >conftest.$ac_ext <<_ACEOF
86248 /* confdefs.h.  */
86249 _ACEOF
86250 cat confdefs.h >>conftest.$ac_ext
86251 cat >>conftest.$ac_ext <<_ACEOF
86252 /* end confdefs.h.  */
86253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86254    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86255 #define $ac_func innocuous_$ac_func
86256
86257 /* System header to define __stub macros and hopefully few prototypes,
86258     which can conflict with char $ac_func (); below.
86259     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86260     <limits.h> exists even on freestanding compilers.  */
86261
86262 #ifdef __STDC__
86263 # include <limits.h>
86264 #else
86265 # include <assert.h>
86266 #endif
86267
86268 #undef $ac_func
86269
86270 /* Override any gcc2 internal prototype to avoid an error.  */
86271 #ifdef __cplusplus
86272 extern "C"
86273 {
86274 #endif
86275 /* We use char because int might match the return type of a gcc2
86276    builtin and then its argument prototype would still apply.  */
86277 char $ac_func ();
86278 /* The GNU C library defines this for functions which it implements
86279     to always fail with ENOSYS.  Some functions are actually named
86280     something starting with __ and the normal name is an alias.  */
86281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86282 choke me
86283 #else
86284 char (*f) () = $ac_func;
86285 #endif
86286 #ifdef __cplusplus
86287 }
86288 #endif
86289
86290 int
86291 main ()
86292 {
86293 return f != $ac_func;
86294   ;
86295   return 0;
86296 }
86297 _ACEOF
86298 rm -f conftest.$ac_objext conftest$ac_exeext
86299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86300   (eval $ac_link) 2>conftest.er1
86301   ac_status=$?
86302   grep -v '^ *+' conftest.er1 >conftest.err
86303   rm -f conftest.er1
86304   cat conftest.err >&5
86305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86306   (exit $ac_status); } &&
86307          { ac_try='test -z "$ac_c_werror_flag"
86308                          || test ! -s conftest.err'
86309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86310   (eval $ac_try) 2>&5
86311   ac_status=$?
86312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86313   (exit $ac_status); }; } &&
86314          { ac_try='test -s conftest$ac_exeext'
86315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86316   (eval $ac_try) 2>&5
86317   ac_status=$?
86318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86319   (exit $ac_status); }; }; then
86320   eval "$as_ac_var=yes"
86321 else
86322   echo "$as_me: failed program was:" >&5
86323 sed 's/^/| /' conftest.$ac_ext >&5
86324
86325 eval "$as_ac_var=no"
86326 fi
86327 rm -f conftest.err conftest.$ac_objext \
86328       conftest$ac_exeext conftest.$ac_ext
86329 fi
86330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86332 if test `eval echo '${'$as_ac_var'}'` = yes; then
86333   cat >>confdefs.h <<_ACEOF
86334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86335 _ACEOF
86336
86337 else
86338   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86339 fi
86340 done
86341
86342   fi
86343
86344   # Used in libmath/Makefile.am.
86345   if test -n "$LIBMATHOBJS"; then
86346     need_libmath=yes
86347   fi
86348
86349
86350     cat >>confdefs.h <<\_ACEOF
86351 #define HAVE_LC_MESSAGES 1
86352 _ACEOF
86353
86354     cat >>confdefs.h <<\_ACEOF
86355 #define HAVE_GETPAGESIZE 1
86356 _ACEOF
86357
86358     cat >>confdefs.h <<\_ACEOF
86359 #define HAVE_SETENV 1
86360 _ACEOF
86361
86362     cat >>confdefs.h <<\_ACEOF
86363 #define HAVE_SIGSETJMP 1
86364 _ACEOF
86365
86366     cat >>confdefs.h <<\_ACEOF
86367 #define HAVE_COPYSIGN 1
86368 _ACEOF
86369
86370     cat >>confdefs.h <<\_ACEOF
86371 #define HAVE_COPYSIGNF 1
86372 _ACEOF
86373
86374     cat >>confdefs.h <<\_ACEOF
86375 #define HAVE_FINITEF 1
86376 _ACEOF
86377
86378     cat >>confdefs.h <<\_ACEOF
86379 #define HAVE_FINITE 1
86380 _ACEOF
86381
86382     cat >>confdefs.h <<\_ACEOF
86383 #define HAVE_FREXPF 1
86384 _ACEOF
86385
86386     cat >>confdefs.h <<\_ACEOF
86387 #define HAVE_HYPOT 1
86388 _ACEOF
86389
86390     cat >>confdefs.h <<\_ACEOF
86391 #define HAVE_HYPOTF 1
86392 _ACEOF
86393
86394     cat >>confdefs.h <<\_ACEOF
86395 #define HAVE_ISINF 1
86396 _ACEOF
86397
86398     cat >>confdefs.h <<\_ACEOF
86399 #define HAVE_ISNAN 1
86400 _ACEOF
86401
86402     cat >>confdefs.h <<\_ACEOF
86403 #define HAVE_ISNANF 1
86404 _ACEOF
86405
86406
86407     cat >>confdefs.h <<\_ACEOF
86408 #define HAVE_MMAP 1
86409 _ACEOF
86410
86411     cat >>confdefs.h <<\_ACEOF
86412 #define HAVE_ACOSF 1
86413 _ACEOF
86414
86415     cat >>confdefs.h <<\_ACEOF
86416 #define HAVE_ASINF 1
86417 _ACEOF
86418
86419     cat >>confdefs.h <<\_ACEOF
86420 #define HAVE_ATAN2F 1
86421 _ACEOF
86422
86423     cat >>confdefs.h <<\_ACEOF
86424 #define HAVE_ATANF 1
86425 _ACEOF
86426
86427     cat >>confdefs.h <<\_ACEOF
86428 #define HAVE_CEILF 1
86429 _ACEOF
86430
86431     cat >>confdefs.h <<\_ACEOF
86432 #define HAVE_COPYSIGN 1
86433 _ACEOF
86434
86435     cat >>confdefs.h <<\_ACEOF
86436 #define HAVE_COPYSIGNF 1
86437 _ACEOF
86438
86439     cat >>confdefs.h <<\_ACEOF
86440 #define HAVE_COSF 1
86441 _ACEOF
86442
86443     cat >>confdefs.h <<\_ACEOF
86444 #define HAVE_COSHF 1
86445 _ACEOF
86446
86447     cat >>confdefs.h <<\_ACEOF
86448 #define HAVE_EXPF 1
86449 _ACEOF
86450
86451     cat >>confdefs.h <<\_ACEOF
86452 #define HAVE_FABSF 1
86453 _ACEOF
86454
86455     cat >>confdefs.h <<\_ACEOF
86456 #define HAVE_FLOORF 1
86457 _ACEOF
86458
86459     cat >>confdefs.h <<\_ACEOF
86460 #define HAVE_FMODF 1
86461 _ACEOF
86462
86463     cat >>confdefs.h <<\_ACEOF
86464 #define HAVE_FREXPF 1
86465 _ACEOF
86466
86467     cat >>confdefs.h <<\_ACEOF
86468 #define HAVE_LDEXPF 1
86469 _ACEOF
86470
86471     cat >>confdefs.h <<\_ACEOF
86472 #define HAVE_LOG10F 1
86473 _ACEOF
86474
86475     cat >>confdefs.h <<\_ACEOF
86476 #define HAVE_LOGF 1
86477 _ACEOF
86478
86479     cat >>confdefs.h <<\_ACEOF
86480 #define HAVE_MODFF 1
86481 _ACEOF
86482
86483     cat >>confdefs.h <<\_ACEOF
86484 #define HAVE_POWF 1
86485 _ACEOF
86486
86487     cat >>confdefs.h <<\_ACEOF
86488 #define HAVE_SINF 1
86489 _ACEOF
86490
86491     cat >>confdefs.h <<\_ACEOF
86492 #define HAVE_SINHF 1
86493 _ACEOF
86494
86495     cat >>confdefs.h <<\_ACEOF
86496 #define HAVE_SQRTF 1
86497 _ACEOF
86498
86499     cat >>confdefs.h <<\_ACEOF
86500 #define HAVE_TANF 1
86501 _ACEOF
86502
86503     cat >>confdefs.h <<\_ACEOF
86504 #define HAVE_TANHF 1
86505 _ACEOF
86506
86507     if test x"long_double_math_on_this_cpu" = x"yes"; then
86508       cat >>confdefs.h <<\_ACEOF
86509 #define HAVE_FINITEL 1
86510 _ACEOF
86511
86512       cat >>confdefs.h <<\_ACEOF
86513 #define HAVE_ISINFL 1
86514 _ACEOF
86515
86516       cat >>confdefs.h <<\_ACEOF
86517 #define HAVE_ISNANL 1
86518 _ACEOF
86519
86520     fi
86521     ;;
86522   *-hpux*)
86523
86524
86525
86526
86527
86528
86529
86530
86531
86532
86533
86534
86535 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
86536       machine/endian.h machine/param.h sys/machine.h sys/types.h \
86537       fp.h locale.h float.h inttypes.h
86538 do
86539 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86541   echo "$as_me:$LINENO: checking for $ac_header" >&5
86542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86544   echo $ECHO_N "(cached) $ECHO_C" >&6
86545 fi
86546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86547 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86548 else
86549   # Is the header compilable?
86550 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86551 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86552 cat >conftest.$ac_ext <<_ACEOF
86553 /* confdefs.h.  */
86554 _ACEOF
86555 cat confdefs.h >>conftest.$ac_ext
86556 cat >>conftest.$ac_ext <<_ACEOF
86557 /* end confdefs.h.  */
86558 $ac_includes_default
86559 #include <$ac_header>
86560 _ACEOF
86561 rm -f conftest.$ac_objext
86562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86563   (eval $ac_compile) 2>conftest.er1
86564   ac_status=$?
86565   grep -v '^ *+' conftest.er1 >conftest.err
86566   rm -f conftest.er1
86567   cat conftest.err >&5
86568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86569   (exit $ac_status); } &&
86570          { ac_try='test -z "$ac_c_werror_flag"
86571                          || test ! -s conftest.err'
86572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86573   (eval $ac_try) 2>&5
86574   ac_status=$?
86575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86576   (exit $ac_status); }; } &&
86577          { ac_try='test -s conftest.$ac_objext'
86578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86579   (eval $ac_try) 2>&5
86580   ac_status=$?
86581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86582   (exit $ac_status); }; }; then
86583   ac_header_compiler=yes
86584 else
86585   echo "$as_me: failed program was:" >&5
86586 sed 's/^/| /' conftest.$ac_ext >&5
86587
86588 ac_header_compiler=no
86589 fi
86590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86591 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86592 echo "${ECHO_T}$ac_header_compiler" >&6
86593
86594 # Is the header present?
86595 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86596 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86597 cat >conftest.$ac_ext <<_ACEOF
86598 /* confdefs.h.  */
86599 _ACEOF
86600 cat confdefs.h >>conftest.$ac_ext
86601 cat >>conftest.$ac_ext <<_ACEOF
86602 /* end confdefs.h.  */
86603 #include <$ac_header>
86604 _ACEOF
86605 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86606   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86607   ac_status=$?
86608   grep -v '^ *+' conftest.er1 >conftest.err
86609   rm -f conftest.er1
86610   cat conftest.err >&5
86611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86612   (exit $ac_status); } >/dev/null; then
86613   if test -s conftest.err; then
86614     ac_cpp_err=$ac_c_preproc_warn_flag
86615     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86616   else
86617     ac_cpp_err=
86618   fi
86619 else
86620   ac_cpp_err=yes
86621 fi
86622 if test -z "$ac_cpp_err"; then
86623   ac_header_preproc=yes
86624 else
86625   echo "$as_me: failed program was:" >&5
86626 sed 's/^/| /' conftest.$ac_ext >&5
86627
86628   ac_header_preproc=no
86629 fi
86630 rm -f conftest.err conftest.$ac_ext
86631 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86632 echo "${ECHO_T}$ac_header_preproc" >&6
86633
86634 # So?  What about this header?
86635 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86636   yes:no: )
86637     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86638 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86639     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86640 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86641     ac_header_preproc=yes
86642     ;;
86643   no:yes:* )
86644     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86645 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86646     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
86647 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
86648     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86649 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86650     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
86651 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
86652     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86653 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86654     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86655 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86656     (
86657       cat <<\_ASBOX
86658 ## ----------------------------------------- ##
86659 ## Report this to the package-unused lists.  ##
86660 ## ----------------------------------------- ##
86661 _ASBOX
86662     ) |
86663       sed "s/^/$as_me: WARNING:     /" >&2
86664     ;;
86665 esac
86666 echo "$as_me:$LINENO: checking for $ac_header" >&5
86667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86669   echo $ECHO_N "(cached) $ECHO_C" >&6
86670 else
86671   eval "$as_ac_Header=\$ac_header_preproc"
86672 fi
86673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86674 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86675
86676 fi
86677 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86678   cat >>confdefs.h <<_ACEOF
86679 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86680 _ACEOF
86681
86682 fi
86683
86684 done
86685
86686     SECTION_FLAGS='-ffunction-sections -fdata-sections'
86687
86688
86689   # If we're not using GNU ld, then there's no point in even trying these
86690   # tests.  Check for that first.  We should have already tested for gld
86691   # by now (in libtool), but require it now just to be safe...
86692   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86693   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86694
86695
86696
86697   # The name set by libtool depends on the version of libtool.  Shame on us
86698   # for depending on an impl detail, but c'est la vie.  Older versions used
86699   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86700   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86701   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
86702   # set (hence we're using an older libtool), then set it.
86703   if test x${with_gnu_ld+set} != xset; then
86704     if test x${ac_cv_prog_gnu_ld+set} != xset; then
86705       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
86706       with_gnu_ld=no
86707     else
86708       with_gnu_ld=$ac_cv_prog_gnu_ld
86709     fi
86710   fi
86711
86712   # Start by getting the version number.  I think the libtool test already
86713   # does some of this, but throws away the result.
86714   glibcxx_ld_is_gold=no
86715   if test x"$with_gnu_ld" = x"yes"; then
86716     echo "$as_me:$LINENO: checking for ld version" >&5
86717 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86718
86719     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
86720       glibcxx_ld_is_gold=yes
86721     fi
86722     ldver=`$LD --version 2>/dev/null | head -1 | \
86723            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
86724
86725     glibcxx_gnu_ld_version=`echo $ldver | \
86726            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86727     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86728 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86729   fi
86730
86731   # Set --gc-sections.
86732   glibcxx_have_gc_sections=no
86733   if test "$glibcxx_ld_is_gold" = "yes"; then
86734     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
86735       glibcxx_have_gc_sections=yes
86736     fi
86737   else
86738     glibcxx_gcsections_min_ld=21602
86739     if test x"$with_gnu_ld" = x"yes" &&
86740         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86741       glibcxx_have_gc_sections=yes
86742     fi
86743   fi
86744   if test "$glibcxx_have_gc_sections" = "yes"; then
86745     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
86746     # NB: This flag only works reliably after 2.16.1. Configure tests
86747     # for this are difficult, so hard wire a value that should work.
86748
86749     ac_test_CFLAGS="${CFLAGS+set}"
86750     ac_save_CFLAGS="$CFLAGS"
86751     CFLAGS='-Wl,--gc-sections'
86752
86753     # Check for -Wl,--gc-sections
86754     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86755 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86756     if test x$gcc_no_link = xyes; then
86757   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86759    { (exit 1); exit 1; }; }
86760 fi
86761 cat >conftest.$ac_ext <<_ACEOF
86762 /* confdefs.h.  */
86763 _ACEOF
86764 cat confdefs.h >>conftest.$ac_ext
86765 cat >>conftest.$ac_ext <<_ACEOF
86766 /* end confdefs.h.  */
86767  int one(void) { return 1; }
86768      int two(void) { return 2; }
86769
86770 int
86771 main ()
86772 {
86773  two();
86774   ;
86775   return 0;
86776 }
86777 _ACEOF
86778 rm -f conftest.$ac_objext conftest$ac_exeext
86779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86780   (eval $ac_link) 2>conftest.er1
86781   ac_status=$?
86782   grep -v '^ *+' conftest.er1 >conftest.err
86783   rm -f conftest.er1
86784   cat conftest.err >&5
86785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86786   (exit $ac_status); } &&
86787          { ac_try='test -z "$ac_c_werror_flag"
86788                          || test ! -s conftest.err'
86789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86790   (eval $ac_try) 2>&5
86791   ac_status=$?
86792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86793   (exit $ac_status); }; } &&
86794          { ac_try='test -s conftest$ac_exeext'
86795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86796   (eval $ac_try) 2>&5
86797   ac_status=$?
86798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86799   (exit $ac_status); }; }; then
86800   ac_gcsections=yes
86801 else
86802   echo "$as_me: failed program was:" >&5
86803 sed 's/^/| /' conftest.$ac_ext >&5
86804
86805 ac_gcsections=no
86806 fi
86807 rm -f conftest.err conftest.$ac_objext \
86808       conftest$ac_exeext conftest.$ac_ext
86809     if test "$ac_gcsections" = "yes"; then
86810       rm -f conftest.c
86811       touch conftest.c
86812       if $CC -c conftest.c; then
86813         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86814            grep "Warning: gc-sections option ignored" > /dev/null; then
86815           ac_gcsections=no
86816         fi
86817       fi
86818       rm -f conftest.c conftest.o conftest
86819     fi
86820     if test "$ac_gcsections" = "yes"; then
86821       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86822     fi
86823     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86824 echo "${ECHO_T}$ac_gcsections" >&6
86825
86826     if test "$ac_test_CFLAGS" = set; then
86827       CFLAGS="$ac_save_CFLAGS"
86828     else
86829       # this is the suspicious part
86830       CFLAGS=''
86831     fi
86832   fi
86833
86834   # Set -z,relro.
86835   # Note this is only for shared objects.
86836   ac_ld_relro=no
86837   if test x"$with_gnu_ld" = x"yes"; then
86838     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86839 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86840     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86841     if test -n "$cxx_z_relo"; then
86842       OPT_LDFLAGS="-Wl,-z,relro"
86843       ac_ld_relro=yes
86844     fi
86845     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86846 echo "${ECHO_T}$ac_ld_relro" >&6
86847   fi
86848
86849   # Set linker optimization flags.
86850   if test x"$with_gnu_ld" = x"yes"; then
86851     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86852   fi
86853
86854
86855
86856
86857
86858
86859 echo "$as_me:$LINENO: checking for main in -lm" >&5
86860 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86861 if test "${ac_cv_lib_m_main+set}" = set; then
86862   echo $ECHO_N "(cached) $ECHO_C" >&6
86863 else
86864   ac_check_lib_save_LIBS=$LIBS
86865 LIBS="-lm  $LIBS"
86866 if test x$gcc_no_link = xyes; then
86867   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86869    { (exit 1); exit 1; }; }
86870 fi
86871 cat >conftest.$ac_ext <<_ACEOF
86872 /* confdefs.h.  */
86873 _ACEOF
86874 cat confdefs.h >>conftest.$ac_ext
86875 cat >>conftest.$ac_ext <<_ACEOF
86876 /* end confdefs.h.  */
86877
86878
86879 int
86880 main ()
86881 {
86882 main ();
86883   ;
86884   return 0;
86885 }
86886 _ACEOF
86887 rm -f conftest.$ac_objext conftest$ac_exeext
86888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86889   (eval $ac_link) 2>conftest.er1
86890   ac_status=$?
86891   grep -v '^ *+' conftest.er1 >conftest.err
86892   rm -f conftest.er1
86893   cat conftest.err >&5
86894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86895   (exit $ac_status); } &&
86896          { ac_try='test -z "$ac_c_werror_flag"
86897                          || test ! -s conftest.err'
86898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86899   (eval $ac_try) 2>&5
86900   ac_status=$?
86901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86902   (exit $ac_status); }; } &&
86903          { ac_try='test -s conftest$ac_exeext'
86904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86905   (eval $ac_try) 2>&5
86906   ac_status=$?
86907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86908   (exit $ac_status); }; }; then
86909   ac_cv_lib_m_main=yes
86910 else
86911   echo "$as_me: failed program was:" >&5
86912 sed 's/^/| /' conftest.$ac_ext >&5
86913
86914 ac_cv_lib_m_main=no
86915 fi
86916 rm -f conftest.err conftest.$ac_objext \
86917       conftest$ac_exeext conftest.$ac_ext
86918 LIBS=$ac_check_lib_save_LIBS
86919 fi
86920 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86921 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86922 if test $ac_cv_lib_m_main = yes; then
86923   cat >>confdefs.h <<_ACEOF
86924 #define HAVE_LIBM 1
86925 _ACEOF
86926
86927   LIBS="-lm $LIBS"
86928
86929 fi
86930
86931
86932 for ac_func in copysignf
86933 do
86934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86935 echo "$as_me:$LINENO: checking for $ac_func" >&5
86936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86937 if eval "test \"\${$as_ac_var+set}\" = set"; then
86938   echo $ECHO_N "(cached) $ECHO_C" >&6
86939 else
86940   if test x$gcc_no_link = xyes; then
86941   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86943    { (exit 1); exit 1; }; }
86944 fi
86945 cat >conftest.$ac_ext <<_ACEOF
86946 /* confdefs.h.  */
86947 _ACEOF
86948 cat confdefs.h >>conftest.$ac_ext
86949 cat >>conftest.$ac_ext <<_ACEOF
86950 /* end confdefs.h.  */
86951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86952    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86953 #define $ac_func innocuous_$ac_func
86954
86955 /* System header to define __stub macros and hopefully few prototypes,
86956     which can conflict with char $ac_func (); below.
86957     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86958     <limits.h> exists even on freestanding compilers.  */
86959
86960 #ifdef __STDC__
86961 # include <limits.h>
86962 #else
86963 # include <assert.h>
86964 #endif
86965
86966 #undef $ac_func
86967
86968 /* Override any gcc2 internal prototype to avoid an error.  */
86969 #ifdef __cplusplus
86970 extern "C"
86971 {
86972 #endif
86973 /* We use char because int might match the return type of a gcc2
86974    builtin and then its argument prototype would still apply.  */
86975 char $ac_func ();
86976 /* The GNU C library defines this for functions which it implements
86977     to always fail with ENOSYS.  Some functions are actually named
86978     something starting with __ and the normal name is an alias.  */
86979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86980 choke me
86981 #else
86982 char (*f) () = $ac_func;
86983 #endif
86984 #ifdef __cplusplus
86985 }
86986 #endif
86987
86988 int
86989 main ()
86990 {
86991 return f != $ac_func;
86992   ;
86993   return 0;
86994 }
86995 _ACEOF
86996 rm -f conftest.$ac_objext conftest$ac_exeext
86997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86998   (eval $ac_link) 2>conftest.er1
86999   ac_status=$?
87000   grep -v '^ *+' conftest.er1 >conftest.err
87001   rm -f conftest.er1
87002   cat conftest.err >&5
87003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87004   (exit $ac_status); } &&
87005          { ac_try='test -z "$ac_c_werror_flag"
87006                          || test ! -s conftest.err'
87007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87008   (eval $ac_try) 2>&5
87009   ac_status=$?
87010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87011   (exit $ac_status); }; } &&
87012          { ac_try='test -s conftest$ac_exeext'
87013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87014   (eval $ac_try) 2>&5
87015   ac_status=$?
87016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87017   (exit $ac_status); }; }; then
87018   eval "$as_ac_var=yes"
87019 else
87020   echo "$as_me: failed program was:" >&5
87021 sed 's/^/| /' conftest.$ac_ext >&5
87022
87023 eval "$as_ac_var=no"
87024 fi
87025 rm -f conftest.err conftest.$ac_objext \
87026       conftest$ac_exeext conftest.$ac_ext
87027 fi
87028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87030 if test `eval echo '${'$as_ac_var'}'` = yes; then
87031   cat >>confdefs.h <<_ACEOF
87032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87033 _ACEOF
87034
87035 else
87036   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87037 fi
87038 done
87039
87040
87041
87042 for ac_func in __signbit
87043 do
87044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87045 echo "$as_me:$LINENO: checking for $ac_func" >&5
87046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87047 if eval "test \"\${$as_ac_var+set}\" = set"; then
87048   echo $ECHO_N "(cached) $ECHO_C" >&6
87049 else
87050   if test x$gcc_no_link = xyes; then
87051   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87053    { (exit 1); exit 1; }; }
87054 fi
87055 cat >conftest.$ac_ext <<_ACEOF
87056 /* confdefs.h.  */
87057 _ACEOF
87058 cat confdefs.h >>conftest.$ac_ext
87059 cat >>conftest.$ac_ext <<_ACEOF
87060 /* end confdefs.h.  */
87061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87062    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87063 #define $ac_func innocuous_$ac_func
87064
87065 /* System header to define __stub macros and hopefully few prototypes,
87066     which can conflict with char $ac_func (); below.
87067     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87068     <limits.h> exists even on freestanding compilers.  */
87069
87070 #ifdef __STDC__
87071 # include <limits.h>
87072 #else
87073 # include <assert.h>
87074 #endif
87075
87076 #undef $ac_func
87077
87078 /* Override any gcc2 internal prototype to avoid an error.  */
87079 #ifdef __cplusplus
87080 extern "C"
87081 {
87082 #endif
87083 /* We use char because int might match the return type of a gcc2
87084    builtin and then its argument prototype would still apply.  */
87085 char $ac_func ();
87086 /* The GNU C library defines this for functions which it implements
87087     to always fail with ENOSYS.  Some functions are actually named
87088     something starting with __ and the normal name is an alias.  */
87089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87090 choke me
87091 #else
87092 char (*f) () = $ac_func;
87093 #endif
87094 #ifdef __cplusplus
87095 }
87096 #endif
87097
87098 int
87099 main ()
87100 {
87101 return f != $ac_func;
87102   ;
87103   return 0;
87104 }
87105 _ACEOF
87106 rm -f conftest.$ac_objext conftest$ac_exeext
87107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87108   (eval $ac_link) 2>conftest.er1
87109   ac_status=$?
87110   grep -v '^ *+' conftest.er1 >conftest.err
87111   rm -f conftest.er1
87112   cat conftest.err >&5
87113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87114   (exit $ac_status); } &&
87115          { ac_try='test -z "$ac_c_werror_flag"
87116                          || test ! -s conftest.err'
87117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87118   (eval $ac_try) 2>&5
87119   ac_status=$?
87120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87121   (exit $ac_status); }; } &&
87122          { ac_try='test -s conftest$ac_exeext'
87123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87124   (eval $ac_try) 2>&5
87125   ac_status=$?
87126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87127   (exit $ac_status); }; }; then
87128   eval "$as_ac_var=yes"
87129 else
87130   echo "$as_me: failed program was:" >&5
87131 sed 's/^/| /' conftest.$ac_ext >&5
87132
87133 eval "$as_ac_var=no"
87134 fi
87135 rm -f conftest.err conftest.$ac_objext \
87136       conftest$ac_exeext conftest.$ac_ext
87137 fi
87138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87140 if test `eval echo '${'$as_ac_var'}'` = yes; then
87141   cat >>confdefs.h <<_ACEOF
87142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87143 _ACEOF
87144
87145 else
87146   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87147 fi
87148 done
87149
87150
87151
87152 for ac_func in __signbitf
87153 do
87154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87155 echo "$as_me:$LINENO: checking for $ac_func" >&5
87156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87157 if eval "test \"\${$as_ac_var+set}\" = set"; then
87158   echo $ECHO_N "(cached) $ECHO_C" >&6
87159 else
87160   if test x$gcc_no_link = xyes; then
87161   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87163    { (exit 1); exit 1; }; }
87164 fi
87165 cat >conftest.$ac_ext <<_ACEOF
87166 /* confdefs.h.  */
87167 _ACEOF
87168 cat confdefs.h >>conftest.$ac_ext
87169 cat >>conftest.$ac_ext <<_ACEOF
87170 /* end confdefs.h.  */
87171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87172    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87173 #define $ac_func innocuous_$ac_func
87174
87175 /* System header to define __stub macros and hopefully few prototypes,
87176     which can conflict with char $ac_func (); below.
87177     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87178     <limits.h> exists even on freestanding compilers.  */
87179
87180 #ifdef __STDC__
87181 # include <limits.h>
87182 #else
87183 # include <assert.h>
87184 #endif
87185
87186 #undef $ac_func
87187
87188 /* Override any gcc2 internal prototype to avoid an error.  */
87189 #ifdef __cplusplus
87190 extern "C"
87191 {
87192 #endif
87193 /* We use char because int might match the return type of a gcc2
87194    builtin and then its argument prototype would still apply.  */
87195 char $ac_func ();
87196 /* The GNU C library defines this for functions which it implements
87197     to always fail with ENOSYS.  Some functions are actually named
87198     something starting with __ and the normal name is an alias.  */
87199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87200 choke me
87201 #else
87202 char (*f) () = $ac_func;
87203 #endif
87204 #ifdef __cplusplus
87205 }
87206 #endif
87207
87208 int
87209 main ()
87210 {
87211 return f != $ac_func;
87212   ;
87213   return 0;
87214 }
87215 _ACEOF
87216 rm -f conftest.$ac_objext conftest$ac_exeext
87217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87218   (eval $ac_link) 2>conftest.er1
87219   ac_status=$?
87220   grep -v '^ *+' conftest.er1 >conftest.err
87221   rm -f conftest.er1
87222   cat conftest.err >&5
87223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87224   (exit $ac_status); } &&
87225          { ac_try='test -z "$ac_c_werror_flag"
87226                          || test ! -s conftest.err'
87227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87228   (eval $ac_try) 2>&5
87229   ac_status=$?
87230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87231   (exit $ac_status); }; } &&
87232          { ac_try='test -s conftest$ac_exeext'
87233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87234   (eval $ac_try) 2>&5
87235   ac_status=$?
87236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87237   (exit $ac_status); }; }; then
87238   eval "$as_ac_var=yes"
87239 else
87240   echo "$as_me: failed program was:" >&5
87241 sed 's/^/| /' conftest.$ac_ext >&5
87242
87243 eval "$as_ac_var=no"
87244 fi
87245 rm -f conftest.err conftest.$ac_objext \
87246       conftest$ac_exeext conftest.$ac_ext
87247 fi
87248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87250 if test `eval echo '${'$as_ac_var'}'` = yes; then
87251   cat >>confdefs.h <<_ACEOF
87252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87253 _ACEOF
87254
87255 else
87256   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87257 fi
87258 done
87259
87260
87261           if test x$ac_cv_func_copysignl = x"yes"; then
87262
87263 for ac_func in __signbitl
87264 do
87265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87266 echo "$as_me:$LINENO: checking for $ac_func" >&5
87267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87268 if eval "test \"\${$as_ac_var+set}\" = set"; then
87269   echo $ECHO_N "(cached) $ECHO_C" >&6
87270 else
87271   if test x$gcc_no_link = xyes; then
87272   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87274    { (exit 1); exit 1; }; }
87275 fi
87276 cat >conftest.$ac_ext <<_ACEOF
87277 /* confdefs.h.  */
87278 _ACEOF
87279 cat confdefs.h >>conftest.$ac_ext
87280 cat >>conftest.$ac_ext <<_ACEOF
87281 /* end confdefs.h.  */
87282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87283    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87284 #define $ac_func innocuous_$ac_func
87285
87286 /* System header to define __stub macros and hopefully few prototypes,
87287     which can conflict with char $ac_func (); below.
87288     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87289     <limits.h> exists even on freestanding compilers.  */
87290
87291 #ifdef __STDC__
87292 # include <limits.h>
87293 #else
87294 # include <assert.h>
87295 #endif
87296
87297 #undef $ac_func
87298
87299 /* Override any gcc2 internal prototype to avoid an error.  */
87300 #ifdef __cplusplus
87301 extern "C"
87302 {
87303 #endif
87304 /* We use char because int might match the return type of a gcc2
87305    builtin and then its argument prototype would still apply.  */
87306 char $ac_func ();
87307 /* The GNU C library defines this for functions which it implements
87308     to always fail with ENOSYS.  Some functions are actually named
87309     something starting with __ and the normal name is an alias.  */
87310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87311 choke me
87312 #else
87313 char (*f) () = $ac_func;
87314 #endif
87315 #ifdef __cplusplus
87316 }
87317 #endif
87318
87319 int
87320 main ()
87321 {
87322 return f != $ac_func;
87323   ;
87324   return 0;
87325 }
87326 _ACEOF
87327 rm -f conftest.$ac_objext conftest$ac_exeext
87328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87329   (eval $ac_link) 2>conftest.er1
87330   ac_status=$?
87331   grep -v '^ *+' conftest.er1 >conftest.err
87332   rm -f conftest.er1
87333   cat conftest.err >&5
87334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87335   (exit $ac_status); } &&
87336          { ac_try='test -z "$ac_c_werror_flag"
87337                          || test ! -s conftest.err'
87338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87339   (eval $ac_try) 2>&5
87340   ac_status=$?
87341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87342   (exit $ac_status); }; } &&
87343          { ac_try='test -s conftest$ac_exeext'
87344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87345   (eval $ac_try) 2>&5
87346   ac_status=$?
87347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87348   (exit $ac_status); }; }; then
87349   eval "$as_ac_var=yes"
87350 else
87351   echo "$as_me: failed program was:" >&5
87352 sed 's/^/| /' conftest.$ac_ext >&5
87353
87354 eval "$as_ac_var=no"
87355 fi
87356 rm -f conftest.err conftest.$ac_objext \
87357       conftest$ac_exeext conftest.$ac_ext
87358 fi
87359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87361 if test `eval echo '${'$as_ac_var'}'` = yes; then
87362   cat >>confdefs.h <<_ACEOF
87363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87364 _ACEOF
87365
87366 else
87367   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87368 fi
87369 done
87370
87371   fi
87372
87373   # Used in libmath/Makefile.am.
87374   if test -n "$LIBMATHOBJS"; then
87375     need_libmath=yes
87376   fi
87377
87378
87379     cat >>confdefs.h <<\_ACEOF
87380 #define HAVE_COPYSIGN 1
87381 _ACEOF
87382
87383     cat >>confdefs.h <<\_ACEOF
87384 #define HAVE_COPYSIGNF 1
87385 _ACEOF
87386
87387     cat >>confdefs.h <<\_ACEOF
87388 #define HAVE_FREXPF 1
87389 _ACEOF
87390
87391     cat >>confdefs.h <<\_ACEOF
87392 #define HAVE_HYPOT 1
87393 _ACEOF
87394
87395     case "$target" in
87396       *-hpux10*)
87397         cat >>confdefs.h <<\_ACEOF
87398 #define HAVE_FINITE 1
87399 _ACEOF
87400
87401         cat >>confdefs.h <<\_ACEOF
87402 #define HAVE_FINITEF 1
87403 _ACEOF
87404
87405         cat >>confdefs.h <<\_ACEOF
87406 #define HAVE_ISINF 1
87407 _ACEOF
87408
87409         cat >>confdefs.h <<\_ACEOF
87410 #define HAVE_ISINFF 1
87411 _ACEOF
87412
87413         cat >>confdefs.h <<\_ACEOF
87414 #define HAVE_ISNAN 1
87415 _ACEOF
87416
87417         cat >>confdefs.h <<\_ACEOF
87418 #define HAVE_ISNANF 1
87419 _ACEOF
87420
87421         ;;
87422     esac
87423     ;;
87424   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
87425
87426
87427
87428
87429
87430
87431
87432
87433
87434
87435
87436
87437
87438
87439
87440
87441
87442 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
87443       machine/endian.h machine/param.h sys/machine.h sys/types.h \
87444       fp.h float.h endian.h inttypes.h locale.h float.h stdint.h \
87445       sys/ipc.h sys/sem.h
87446 do
87447 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87449   echo "$as_me:$LINENO: checking for $ac_header" >&5
87450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87452   echo $ECHO_N "(cached) $ECHO_C" >&6
87453 fi
87454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87455 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87456 else
87457   # Is the header compilable?
87458 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87459 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87460 cat >conftest.$ac_ext <<_ACEOF
87461 /* confdefs.h.  */
87462 _ACEOF
87463 cat confdefs.h >>conftest.$ac_ext
87464 cat >>conftest.$ac_ext <<_ACEOF
87465 /* end confdefs.h.  */
87466 $ac_includes_default
87467 #include <$ac_header>
87468 _ACEOF
87469 rm -f conftest.$ac_objext
87470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87471   (eval $ac_compile) 2>conftest.er1
87472   ac_status=$?
87473   grep -v '^ *+' conftest.er1 >conftest.err
87474   rm -f conftest.er1
87475   cat conftest.err >&5
87476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87477   (exit $ac_status); } &&
87478          { ac_try='test -z "$ac_c_werror_flag"
87479                          || test ! -s conftest.err'
87480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87481   (eval $ac_try) 2>&5
87482   ac_status=$?
87483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87484   (exit $ac_status); }; } &&
87485          { ac_try='test -s conftest.$ac_objext'
87486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87487   (eval $ac_try) 2>&5
87488   ac_status=$?
87489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87490   (exit $ac_status); }; }; then
87491   ac_header_compiler=yes
87492 else
87493   echo "$as_me: failed program was:" >&5
87494 sed 's/^/| /' conftest.$ac_ext >&5
87495
87496 ac_header_compiler=no
87497 fi
87498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87499 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87500 echo "${ECHO_T}$ac_header_compiler" >&6
87501
87502 # Is the header present?
87503 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87504 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87505 cat >conftest.$ac_ext <<_ACEOF
87506 /* confdefs.h.  */
87507 _ACEOF
87508 cat confdefs.h >>conftest.$ac_ext
87509 cat >>conftest.$ac_ext <<_ACEOF
87510 /* end confdefs.h.  */
87511 #include <$ac_header>
87512 _ACEOF
87513 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87514   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87515   ac_status=$?
87516   grep -v '^ *+' conftest.er1 >conftest.err
87517   rm -f conftest.er1
87518   cat conftest.err >&5
87519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87520   (exit $ac_status); } >/dev/null; then
87521   if test -s conftest.err; then
87522     ac_cpp_err=$ac_c_preproc_warn_flag
87523     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87524   else
87525     ac_cpp_err=
87526   fi
87527 else
87528   ac_cpp_err=yes
87529 fi
87530 if test -z "$ac_cpp_err"; then
87531   ac_header_preproc=yes
87532 else
87533   echo "$as_me: failed program was:" >&5
87534 sed 's/^/| /' conftest.$ac_ext >&5
87535
87536   ac_header_preproc=no
87537 fi
87538 rm -f conftest.err conftest.$ac_ext
87539 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87540 echo "${ECHO_T}$ac_header_preproc" >&6
87541
87542 # So?  What about this header?
87543 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87544   yes:no: )
87545     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87546 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87547     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87548 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87549     ac_header_preproc=yes
87550     ;;
87551   no:yes:* )
87552     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87553 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87554     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
87555 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
87556     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87557 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87558     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
87559 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
87560     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87561 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87562     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87563 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87564     (
87565       cat <<\_ASBOX
87566 ## ----------------------------------------- ##
87567 ## Report this to the package-unused lists.  ##
87568 ## ----------------------------------------- ##
87569 _ASBOX
87570     ) |
87571       sed "s/^/$as_me: WARNING:     /" >&2
87572     ;;
87573 esac
87574 echo "$as_me:$LINENO: checking for $ac_header" >&5
87575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87577   echo $ECHO_N "(cached) $ECHO_C" >&6
87578 else
87579   eval "$as_ac_Header=\$ac_header_preproc"
87580 fi
87581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87582 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87583
87584 fi
87585 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87586   cat >>confdefs.h <<_ACEOF
87587 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87588 _ACEOF
87589
87590 fi
87591
87592 done
87593
87594     SECTION_FLAGS='-ffunction-sections -fdata-sections'
87595
87596
87597   # All these tests are for C++; save the language and the compiler flags.
87598   # The CXXFLAGS thing is suspicious, but based on similar bits previously
87599   # found in GLIBCXX_CONFIGURE.
87600
87601
87602   ac_ext=cc
87603 ac_cpp='$CXXCPP $CPPFLAGS'
87604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87607
87608   ac_test_CXXFLAGS="${CXXFLAGS+set}"
87609   ac_save_CXXFLAGS="$CXXFLAGS"
87610
87611   # Check for maintainer-mode bits.
87612   if test x"$USE_MAINTAINER_MODE" = xno; then
87613     WERROR=''
87614   else
87615     WERROR='-Werror'
87616   fi
87617
87618   # Check for -ffunction-sections -fdata-sections
87619   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
87620 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
87621   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
87622   cat >conftest.$ac_ext <<_ACEOF
87623 /* confdefs.h.  */
87624 _ACEOF
87625 cat confdefs.h >>conftest.$ac_ext
87626 cat >>conftest.$ac_ext <<_ACEOF
87627 /* end confdefs.h.  */
87628 int foo; void bar() { };
87629 int
87630 main ()
87631 {
87632
87633   ;
87634   return 0;
87635 }
87636 _ACEOF
87637 rm -f conftest.$ac_objext
87638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87639   (eval $ac_compile) 2>conftest.er1
87640   ac_status=$?
87641   grep -v '^ *+' conftest.er1 >conftest.err
87642   rm -f conftest.er1
87643   cat conftest.err >&5
87644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87645   (exit $ac_status); } &&
87646          { ac_try='test -z "$ac_cxx_werror_flag"
87647                          || test ! -s conftest.err'
87648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87649   (eval $ac_try) 2>&5
87650   ac_status=$?
87651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87652   (exit $ac_status); }; } &&
87653          { ac_try='test -s conftest.$ac_objext'
87654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87655   (eval $ac_try) 2>&5
87656   ac_status=$?
87657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87658   (exit $ac_status); }; }; then
87659   ac_fdsections=yes
87660 else
87661   echo "$as_me: failed program was:" >&5
87662 sed 's/^/| /' conftest.$ac_ext >&5
87663
87664 ac_fdsections=no
87665 fi
87666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87667   if test "$ac_test_CXXFLAGS" = set; then
87668     CXXFLAGS="$ac_save_CXXFLAGS"
87669   else
87670     # this is the suspicious part
87671     CXXFLAGS=''
87672   fi
87673   if test x"$ac_fdsections" = x"yes"; then
87674     SECTION_FLAGS='-ffunction-sections -fdata-sections'
87675   fi
87676   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
87677 echo "${ECHO_T}$ac_fdsections" >&6
87678
87679   ac_ext=c
87680 ac_cpp='$CPP $CPPFLAGS'
87681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87684
87685
87686
87687
87688
87689   # If we're not using GNU ld, then there's no point in even trying these
87690   # tests.  Check for that first.  We should have already tested for gld
87691   # by now (in libtool), but require it now just to be safe...
87692   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87693   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87694
87695
87696
87697   # The name set by libtool depends on the version of libtool.  Shame on us
87698   # for depending on an impl detail, but c'est la vie.  Older versions used
87699   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87700   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87701   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
87702   # set (hence we're using an older libtool), then set it.
87703   if test x${with_gnu_ld+set} != xset; then
87704     if test x${ac_cv_prog_gnu_ld+set} != xset; then
87705       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
87706       with_gnu_ld=no
87707     else
87708       with_gnu_ld=$ac_cv_prog_gnu_ld
87709     fi
87710   fi
87711
87712   # Start by getting the version number.  I think the libtool test already
87713   # does some of this, but throws away the result.
87714   glibcxx_ld_is_gold=no
87715   if test x"$with_gnu_ld" = x"yes"; then
87716     echo "$as_me:$LINENO: checking for ld version" >&5
87717 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
87718
87719     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
87720       glibcxx_ld_is_gold=yes
87721     fi
87722     ldver=`$LD --version 2>/dev/null | head -1 | \
87723            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
87724
87725     glibcxx_gnu_ld_version=`echo $ldver | \
87726            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87727     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
87728 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
87729   fi
87730
87731   # Set --gc-sections.
87732   glibcxx_have_gc_sections=no
87733   if test "$glibcxx_ld_is_gold" = "yes"; then
87734     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
87735       glibcxx_have_gc_sections=yes
87736     fi
87737   else
87738     glibcxx_gcsections_min_ld=21602
87739     if test x"$with_gnu_ld" = x"yes" &&
87740         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
87741       glibcxx_have_gc_sections=yes
87742     fi
87743   fi
87744   if test "$glibcxx_have_gc_sections" = "yes"; then
87745     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
87746     # NB: This flag only works reliably after 2.16.1. Configure tests
87747     # for this are difficult, so hard wire a value that should work.
87748
87749     ac_test_CFLAGS="${CFLAGS+set}"
87750     ac_save_CFLAGS="$CFLAGS"
87751     CFLAGS='-Wl,--gc-sections'
87752
87753     # Check for -Wl,--gc-sections
87754     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87755 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87756     if test x$gcc_no_link = xyes; then
87757   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87759    { (exit 1); exit 1; }; }
87760 fi
87761 cat >conftest.$ac_ext <<_ACEOF
87762 /* confdefs.h.  */
87763 _ACEOF
87764 cat confdefs.h >>conftest.$ac_ext
87765 cat >>conftest.$ac_ext <<_ACEOF
87766 /* end confdefs.h.  */
87767  int one(void) { return 1; }
87768      int two(void) { return 2; }
87769
87770 int
87771 main ()
87772 {
87773  two();
87774   ;
87775   return 0;
87776 }
87777 _ACEOF
87778 rm -f conftest.$ac_objext conftest$ac_exeext
87779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87780   (eval $ac_link) 2>conftest.er1
87781   ac_status=$?
87782   grep -v '^ *+' conftest.er1 >conftest.err
87783   rm -f conftest.er1
87784   cat conftest.err >&5
87785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87786   (exit $ac_status); } &&
87787          { ac_try='test -z "$ac_c_werror_flag"
87788                          || test ! -s conftest.err'
87789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87790   (eval $ac_try) 2>&5
87791   ac_status=$?
87792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87793   (exit $ac_status); }; } &&
87794          { ac_try='test -s conftest$ac_exeext'
87795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87796   (eval $ac_try) 2>&5
87797   ac_status=$?
87798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87799   (exit $ac_status); }; }; then
87800   ac_gcsections=yes
87801 else
87802   echo "$as_me: failed program was:" >&5
87803 sed 's/^/| /' conftest.$ac_ext >&5
87804
87805 ac_gcsections=no
87806 fi
87807 rm -f conftest.err conftest.$ac_objext \
87808       conftest$ac_exeext conftest.$ac_ext
87809     if test "$ac_gcsections" = "yes"; then
87810       rm -f conftest.c
87811       touch conftest.c
87812       if $CC -c conftest.c; then
87813         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
87814            grep "Warning: gc-sections option ignored" > /dev/null; then
87815           ac_gcsections=no
87816         fi
87817       fi
87818       rm -f conftest.c conftest.o conftest
87819     fi
87820     if test "$ac_gcsections" = "yes"; then
87821       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87822     fi
87823     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
87824 echo "${ECHO_T}$ac_gcsections" >&6
87825
87826     if test "$ac_test_CFLAGS" = set; then
87827       CFLAGS="$ac_save_CFLAGS"
87828     else
87829       # this is the suspicious part
87830       CFLAGS=''
87831     fi
87832   fi
87833
87834   # Set -z,relro.
87835   # Note this is only for shared objects.
87836   ac_ld_relro=no
87837   if test x"$with_gnu_ld" = x"yes"; then
87838     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87839 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87840     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87841     if test -n "$cxx_z_relo"; then
87842       OPT_LDFLAGS="-Wl,-z,relro"
87843       ac_ld_relro=yes
87844     fi
87845     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87846 echo "${ECHO_T}$ac_ld_relro" >&6
87847   fi
87848
87849   # Set linker optimization flags.
87850   if test x"$with_gnu_ld" = x"yes"; then
87851     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87852   fi
87853
87854
87855
87856
87857
87858   ac_test_CXXFLAGS="${CXXFLAGS+set}"
87859   ac_save_CXXFLAGS="$CXXFLAGS"
87860   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
87861
87862     echo "$as_me:$LINENO: checking for sin in -lm" >&5
87863 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
87864 if test "${ac_cv_lib_m_sin+set}" = set; then
87865   echo $ECHO_N "(cached) $ECHO_C" >&6
87866 else
87867   ac_check_lib_save_LIBS=$LIBS
87868 LIBS="-lm  $LIBS"
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
87881 /* Override any gcc2 internal prototype to avoid an error.  */
87882 #ifdef __cplusplus
87883 extern "C"
87884 #endif
87885 /* We use char because int might match the return type of a gcc2
87886    builtin and then its argument prototype would still apply.  */
87887 char sin ();
87888 int
87889 main ()
87890 {
87891 sin ();
87892   ;
87893   return 0;
87894 }
87895 _ACEOF
87896 rm -f conftest.$ac_objext conftest$ac_exeext
87897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87898   (eval $ac_link) 2>conftest.er1
87899   ac_status=$?
87900   grep -v '^ *+' conftest.er1 >conftest.err
87901   rm -f conftest.er1
87902   cat conftest.err >&5
87903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87904   (exit $ac_status); } &&
87905          { ac_try='test -z "$ac_c_werror_flag"
87906                          || test ! -s conftest.err'
87907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87908   (eval $ac_try) 2>&5
87909   ac_status=$?
87910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87911   (exit $ac_status); }; } &&
87912          { ac_try='test -s conftest$ac_exeext'
87913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87914   (eval $ac_try) 2>&5
87915   ac_status=$?
87916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87917   (exit $ac_status); }; }; then
87918   ac_cv_lib_m_sin=yes
87919 else
87920   echo "$as_me: failed program was:" >&5
87921 sed 's/^/| /' conftest.$ac_ext >&5
87922
87923 ac_cv_lib_m_sin=no
87924 fi
87925 rm -f conftest.err conftest.$ac_objext \
87926       conftest$ac_exeext conftest.$ac_ext
87927 LIBS=$ac_check_lib_save_LIBS
87928 fi
87929 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
87930 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
87931 if test $ac_cv_lib_m_sin = yes; then
87932   libm="-lm"
87933 fi
87934
87935   ac_save_LIBS="$LIBS"
87936   LIBS="$LIBS $libm"
87937
87938
87939
87940   echo "$as_me:$LINENO: checking for isinf declaration" >&5
87941 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
87942   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
87943     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
87944   echo $ECHO_N "(cached) $ECHO_C" >&6
87945 else
87946
87947
87948
87949       ac_ext=cc
87950 ac_cpp='$CXXCPP $CPPFLAGS'
87951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87954
87955       cat >conftest.$ac_ext <<_ACEOF
87956 /* confdefs.h.  */
87957 _ACEOF
87958 cat confdefs.h >>conftest.$ac_ext
87959 cat >>conftest.$ac_ext <<_ACEOF
87960 /* end confdefs.h.  */
87961 #include <math.h>
87962                       #ifdef HAVE_IEEEFP_H
87963                       #include <ieeefp.h>
87964                       #endif
87965
87966 int
87967 main ()
87968 {
87969  isinf(0);
87970   ;
87971   return 0;
87972 }
87973 _ACEOF
87974 rm -f conftest.$ac_objext
87975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87976   (eval $ac_compile) 2>conftest.er1
87977   ac_status=$?
87978   grep -v '^ *+' conftest.er1 >conftest.err
87979   rm -f conftest.er1
87980   cat conftest.err >&5
87981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87982   (exit $ac_status); } &&
87983          { ac_try='test -z "$ac_cxx_werror_flag"
87984                          || test ! -s conftest.err'
87985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87986   (eval $ac_try) 2>&5
87987   ac_status=$?
87988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87989   (exit $ac_status); }; } &&
87990          { ac_try='test -s conftest.$ac_objext'
87991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87992   (eval $ac_try) 2>&5
87993   ac_status=$?
87994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87995   (exit $ac_status); }; }; then
87996   glibcxx_cv_func_isinf_use=yes
87997 else
87998   echo "$as_me: failed program was:" >&5
87999 sed 's/^/| /' conftest.$ac_ext >&5
88000
88001 glibcxx_cv_func_isinf_use=no
88002 fi
88003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88004       ac_ext=c
88005 ac_cpp='$CPP $CPPFLAGS'
88006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88009
88010
88011 fi
88012
88013   fi
88014   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
88015 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
88016
88017   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
88018
88019 for ac_func in isinf
88020 do
88021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88022 echo "$as_me:$LINENO: checking for $ac_func" >&5
88023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88024 if eval "test \"\${$as_ac_var+set}\" = set"; then
88025   echo $ECHO_N "(cached) $ECHO_C" >&6
88026 else
88027   if test x$gcc_no_link = xyes; then
88028   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88030    { (exit 1); exit 1; }; }
88031 fi
88032 cat >conftest.$ac_ext <<_ACEOF
88033 /* confdefs.h.  */
88034 _ACEOF
88035 cat confdefs.h >>conftest.$ac_ext
88036 cat >>conftest.$ac_ext <<_ACEOF
88037 /* end confdefs.h.  */
88038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88039    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88040 #define $ac_func innocuous_$ac_func
88041
88042 /* System header to define __stub macros and hopefully few prototypes,
88043     which can conflict with char $ac_func (); below.
88044     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88045     <limits.h> exists even on freestanding compilers.  */
88046
88047 #ifdef __STDC__
88048 # include <limits.h>
88049 #else
88050 # include <assert.h>
88051 #endif
88052
88053 #undef $ac_func
88054
88055 /* Override any gcc2 internal prototype to avoid an error.  */
88056 #ifdef __cplusplus
88057 extern "C"
88058 {
88059 #endif
88060 /* We use char because int might match the return type of a gcc2
88061    builtin and then its argument prototype would still apply.  */
88062 char $ac_func ();
88063 /* The GNU C library defines this for functions which it implements
88064     to always fail with ENOSYS.  Some functions are actually named
88065     something starting with __ and the normal name is an alias.  */
88066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88067 choke me
88068 #else
88069 char (*f) () = $ac_func;
88070 #endif
88071 #ifdef __cplusplus
88072 }
88073 #endif
88074
88075 int
88076 main ()
88077 {
88078 return f != $ac_func;
88079   ;
88080   return 0;
88081 }
88082 _ACEOF
88083 rm -f conftest.$ac_objext conftest$ac_exeext
88084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88085   (eval $ac_link) 2>conftest.er1
88086   ac_status=$?
88087   grep -v '^ *+' conftest.er1 >conftest.err
88088   rm -f conftest.er1
88089   cat conftest.err >&5
88090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88091   (exit $ac_status); } &&
88092          { ac_try='test -z "$ac_c_werror_flag"
88093                          || test ! -s conftest.err'
88094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88095   (eval $ac_try) 2>&5
88096   ac_status=$?
88097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88098   (exit $ac_status); }; } &&
88099          { ac_try='test -s conftest$ac_exeext'
88100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88101   (eval $ac_try) 2>&5
88102   ac_status=$?
88103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88104   (exit $ac_status); }; }; then
88105   eval "$as_ac_var=yes"
88106 else
88107   echo "$as_me: failed program was:" >&5
88108 sed 's/^/| /' conftest.$ac_ext >&5
88109
88110 eval "$as_ac_var=no"
88111 fi
88112 rm -f conftest.err conftest.$ac_objext \
88113       conftest$ac_exeext conftest.$ac_ext
88114 fi
88115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88117 if test `eval echo '${'$as_ac_var'}'` = yes; then
88118   cat >>confdefs.h <<_ACEOF
88119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88120 _ACEOF
88121
88122 fi
88123 done
88124
88125   else
88126
88127   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
88128 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
88129   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
88130     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
88131   echo $ECHO_N "(cached) $ECHO_C" >&6
88132 else
88133
88134
88135
88136       ac_ext=cc
88137 ac_cpp='$CXXCPP $CPPFLAGS'
88138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88141
88142       cat >conftest.$ac_ext <<_ACEOF
88143 /* confdefs.h.  */
88144 _ACEOF
88145 cat confdefs.h >>conftest.$ac_ext
88146 cat >>conftest.$ac_ext <<_ACEOF
88147 /* end confdefs.h.  */
88148 #include <math.h>
88149                       #ifdef HAVE_IEEEFP_H
88150                       #include <ieeefp.h>
88151                       #endif
88152
88153 int
88154 main ()
88155 {
88156  _isinf(0);
88157   ;
88158   return 0;
88159 }
88160 _ACEOF
88161 rm -f conftest.$ac_objext
88162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88163   (eval $ac_compile) 2>conftest.er1
88164   ac_status=$?
88165   grep -v '^ *+' conftest.er1 >conftest.err
88166   rm -f conftest.er1
88167   cat conftest.err >&5
88168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88169   (exit $ac_status); } &&
88170          { ac_try='test -z "$ac_cxx_werror_flag"
88171                          || test ! -s conftest.err'
88172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88173   (eval $ac_try) 2>&5
88174   ac_status=$?
88175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88176   (exit $ac_status); }; } &&
88177          { ac_try='test -s conftest.$ac_objext'
88178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88179   (eval $ac_try) 2>&5
88180   ac_status=$?
88181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88182   (exit $ac_status); }; }; then
88183   glibcxx_cv_func__isinf_use=yes
88184 else
88185   echo "$as_me: failed program was:" >&5
88186 sed 's/^/| /' conftest.$ac_ext >&5
88187
88188 glibcxx_cv_func__isinf_use=no
88189 fi
88190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88191       ac_ext=c
88192 ac_cpp='$CPP $CPPFLAGS'
88193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88196
88197
88198 fi
88199
88200   fi
88201   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
88202 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
88203
88204     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
88205
88206 for ac_func in _isinf
88207 do
88208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88209 echo "$as_me:$LINENO: checking for $ac_func" >&5
88210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88211 if eval "test \"\${$as_ac_var+set}\" = set"; then
88212   echo $ECHO_N "(cached) $ECHO_C" >&6
88213 else
88214   if test x$gcc_no_link = xyes; then
88215   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88217    { (exit 1); exit 1; }; }
88218 fi
88219 cat >conftest.$ac_ext <<_ACEOF
88220 /* confdefs.h.  */
88221 _ACEOF
88222 cat confdefs.h >>conftest.$ac_ext
88223 cat >>conftest.$ac_ext <<_ACEOF
88224 /* end confdefs.h.  */
88225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88226    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88227 #define $ac_func innocuous_$ac_func
88228
88229 /* System header to define __stub macros and hopefully few prototypes,
88230     which can conflict with char $ac_func (); below.
88231     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88232     <limits.h> exists even on freestanding compilers.  */
88233
88234 #ifdef __STDC__
88235 # include <limits.h>
88236 #else
88237 # include <assert.h>
88238 #endif
88239
88240 #undef $ac_func
88241
88242 /* Override any gcc2 internal prototype to avoid an error.  */
88243 #ifdef __cplusplus
88244 extern "C"
88245 {
88246 #endif
88247 /* We use char because int might match the return type of a gcc2
88248    builtin and then its argument prototype would still apply.  */
88249 char $ac_func ();
88250 /* The GNU C library defines this for functions which it implements
88251     to always fail with ENOSYS.  Some functions are actually named
88252     something starting with __ and the normal name is an alias.  */
88253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88254 choke me
88255 #else
88256 char (*f) () = $ac_func;
88257 #endif
88258 #ifdef __cplusplus
88259 }
88260 #endif
88261
88262 int
88263 main ()
88264 {
88265 return f != $ac_func;
88266   ;
88267   return 0;
88268 }
88269 _ACEOF
88270 rm -f conftest.$ac_objext conftest$ac_exeext
88271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88272   (eval $ac_link) 2>conftest.er1
88273   ac_status=$?
88274   grep -v '^ *+' conftest.er1 >conftest.err
88275   rm -f conftest.er1
88276   cat conftest.err >&5
88277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88278   (exit $ac_status); } &&
88279          { ac_try='test -z "$ac_c_werror_flag"
88280                          || test ! -s conftest.err'
88281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88282   (eval $ac_try) 2>&5
88283   ac_status=$?
88284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88285   (exit $ac_status); }; } &&
88286          { ac_try='test -s conftest$ac_exeext'
88287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88288   (eval $ac_try) 2>&5
88289   ac_status=$?
88290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88291   (exit $ac_status); }; }; then
88292   eval "$as_ac_var=yes"
88293 else
88294   echo "$as_me: failed program was:" >&5
88295 sed 's/^/| /' conftest.$ac_ext >&5
88296
88297 eval "$as_ac_var=no"
88298 fi
88299 rm -f conftest.err conftest.$ac_objext \
88300       conftest$ac_exeext conftest.$ac_ext
88301 fi
88302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88304 if test `eval echo '${'$as_ac_var'}'` = yes; then
88305   cat >>confdefs.h <<_ACEOF
88306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88307 _ACEOF
88308
88309 fi
88310 done
88311
88312     fi
88313   fi
88314
88315
88316
88317
88318
88319
88320   echo "$as_me:$LINENO: checking for isnan declaration" >&5
88321 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
88322   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
88323     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
88324   echo $ECHO_N "(cached) $ECHO_C" >&6
88325 else
88326
88327
88328
88329       ac_ext=cc
88330 ac_cpp='$CXXCPP $CPPFLAGS'
88331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88334
88335       cat >conftest.$ac_ext <<_ACEOF
88336 /* confdefs.h.  */
88337 _ACEOF
88338 cat confdefs.h >>conftest.$ac_ext
88339 cat >>conftest.$ac_ext <<_ACEOF
88340 /* end confdefs.h.  */
88341 #include <math.h>
88342                       #ifdef HAVE_IEEEFP_H
88343                       #include <ieeefp.h>
88344                       #endif
88345
88346 int
88347 main ()
88348 {
88349  isnan(0);
88350   ;
88351   return 0;
88352 }
88353 _ACEOF
88354 rm -f conftest.$ac_objext
88355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88356   (eval $ac_compile) 2>conftest.er1
88357   ac_status=$?
88358   grep -v '^ *+' conftest.er1 >conftest.err
88359   rm -f conftest.er1
88360   cat conftest.err >&5
88361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88362   (exit $ac_status); } &&
88363          { ac_try='test -z "$ac_cxx_werror_flag"
88364                          || test ! -s conftest.err'
88365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88366   (eval $ac_try) 2>&5
88367   ac_status=$?
88368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88369   (exit $ac_status); }; } &&
88370          { ac_try='test -s conftest.$ac_objext'
88371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88372   (eval $ac_try) 2>&5
88373   ac_status=$?
88374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88375   (exit $ac_status); }; }; then
88376   glibcxx_cv_func_isnan_use=yes
88377 else
88378   echo "$as_me: failed program was:" >&5
88379 sed 's/^/| /' conftest.$ac_ext >&5
88380
88381 glibcxx_cv_func_isnan_use=no
88382 fi
88383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88384       ac_ext=c
88385 ac_cpp='$CPP $CPPFLAGS'
88386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88389
88390
88391 fi
88392
88393   fi
88394   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
88395 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
88396
88397   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
88398
88399 for ac_func in isnan
88400 do
88401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88402 echo "$as_me:$LINENO: checking for $ac_func" >&5
88403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88404 if eval "test \"\${$as_ac_var+set}\" = set"; then
88405   echo $ECHO_N "(cached) $ECHO_C" >&6
88406 else
88407   if test x$gcc_no_link = xyes; then
88408   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88410    { (exit 1); exit 1; }; }
88411 fi
88412 cat >conftest.$ac_ext <<_ACEOF
88413 /* confdefs.h.  */
88414 _ACEOF
88415 cat confdefs.h >>conftest.$ac_ext
88416 cat >>conftest.$ac_ext <<_ACEOF
88417 /* end confdefs.h.  */
88418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88419    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88420 #define $ac_func innocuous_$ac_func
88421
88422 /* System header to define __stub macros and hopefully few prototypes,
88423     which can conflict with char $ac_func (); below.
88424     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88425     <limits.h> exists even on freestanding compilers.  */
88426
88427 #ifdef __STDC__
88428 # include <limits.h>
88429 #else
88430 # include <assert.h>
88431 #endif
88432
88433 #undef $ac_func
88434
88435 /* Override any gcc2 internal prototype to avoid an error.  */
88436 #ifdef __cplusplus
88437 extern "C"
88438 {
88439 #endif
88440 /* We use char because int might match the return type of a gcc2
88441    builtin and then its argument prototype would still apply.  */
88442 char $ac_func ();
88443 /* The GNU C library defines this for functions which it implements
88444     to always fail with ENOSYS.  Some functions are actually named
88445     something starting with __ and the normal name is an alias.  */
88446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88447 choke me
88448 #else
88449 char (*f) () = $ac_func;
88450 #endif
88451 #ifdef __cplusplus
88452 }
88453 #endif
88454
88455 int
88456 main ()
88457 {
88458 return f != $ac_func;
88459   ;
88460   return 0;
88461 }
88462 _ACEOF
88463 rm -f conftest.$ac_objext conftest$ac_exeext
88464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88465   (eval $ac_link) 2>conftest.er1
88466   ac_status=$?
88467   grep -v '^ *+' conftest.er1 >conftest.err
88468   rm -f conftest.er1
88469   cat conftest.err >&5
88470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88471   (exit $ac_status); } &&
88472          { ac_try='test -z "$ac_c_werror_flag"
88473                          || test ! -s conftest.err'
88474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88475   (eval $ac_try) 2>&5
88476   ac_status=$?
88477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88478   (exit $ac_status); }; } &&
88479          { ac_try='test -s conftest$ac_exeext'
88480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88481   (eval $ac_try) 2>&5
88482   ac_status=$?
88483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88484   (exit $ac_status); }; }; then
88485   eval "$as_ac_var=yes"
88486 else
88487   echo "$as_me: failed program was:" >&5
88488 sed 's/^/| /' conftest.$ac_ext >&5
88489
88490 eval "$as_ac_var=no"
88491 fi
88492 rm -f conftest.err conftest.$ac_objext \
88493       conftest$ac_exeext conftest.$ac_ext
88494 fi
88495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88497 if test `eval echo '${'$as_ac_var'}'` = yes; then
88498   cat >>confdefs.h <<_ACEOF
88499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88500 _ACEOF
88501
88502 fi
88503 done
88504
88505   else
88506
88507   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
88508 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
88509   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
88510     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
88511   echo $ECHO_N "(cached) $ECHO_C" >&6
88512 else
88513
88514
88515
88516       ac_ext=cc
88517 ac_cpp='$CXXCPP $CPPFLAGS'
88518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88521
88522       cat >conftest.$ac_ext <<_ACEOF
88523 /* confdefs.h.  */
88524 _ACEOF
88525 cat confdefs.h >>conftest.$ac_ext
88526 cat >>conftest.$ac_ext <<_ACEOF
88527 /* end confdefs.h.  */
88528 #include <math.h>
88529                       #ifdef HAVE_IEEEFP_H
88530                       #include <ieeefp.h>
88531                       #endif
88532
88533 int
88534 main ()
88535 {
88536  _isnan(0);
88537   ;
88538   return 0;
88539 }
88540 _ACEOF
88541 rm -f conftest.$ac_objext
88542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88543   (eval $ac_compile) 2>conftest.er1
88544   ac_status=$?
88545   grep -v '^ *+' conftest.er1 >conftest.err
88546   rm -f conftest.er1
88547   cat conftest.err >&5
88548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88549   (exit $ac_status); } &&
88550          { ac_try='test -z "$ac_cxx_werror_flag"
88551                          || test ! -s conftest.err'
88552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88553   (eval $ac_try) 2>&5
88554   ac_status=$?
88555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88556   (exit $ac_status); }; } &&
88557          { ac_try='test -s conftest.$ac_objext'
88558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88559   (eval $ac_try) 2>&5
88560   ac_status=$?
88561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88562   (exit $ac_status); }; }; then
88563   glibcxx_cv_func__isnan_use=yes
88564 else
88565   echo "$as_me: failed program was:" >&5
88566 sed 's/^/| /' conftest.$ac_ext >&5
88567
88568 glibcxx_cv_func__isnan_use=no
88569 fi
88570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88571       ac_ext=c
88572 ac_cpp='$CPP $CPPFLAGS'
88573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88576
88577
88578 fi
88579
88580   fi
88581   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
88582 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
88583
88584     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
88585
88586 for ac_func in _isnan
88587 do
88588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88589 echo "$as_me:$LINENO: checking for $ac_func" >&5
88590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88591 if eval "test \"\${$as_ac_var+set}\" = set"; then
88592   echo $ECHO_N "(cached) $ECHO_C" >&6
88593 else
88594   if test x$gcc_no_link = xyes; then
88595   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88597    { (exit 1); exit 1; }; }
88598 fi
88599 cat >conftest.$ac_ext <<_ACEOF
88600 /* confdefs.h.  */
88601 _ACEOF
88602 cat confdefs.h >>conftest.$ac_ext
88603 cat >>conftest.$ac_ext <<_ACEOF
88604 /* end confdefs.h.  */
88605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88606    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88607 #define $ac_func innocuous_$ac_func
88608
88609 /* System header to define __stub macros and hopefully few prototypes,
88610     which can conflict with char $ac_func (); below.
88611     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88612     <limits.h> exists even on freestanding compilers.  */
88613
88614 #ifdef __STDC__
88615 # include <limits.h>
88616 #else
88617 # include <assert.h>
88618 #endif
88619
88620 #undef $ac_func
88621
88622 /* Override any gcc2 internal prototype to avoid an error.  */
88623 #ifdef __cplusplus
88624 extern "C"
88625 {
88626 #endif
88627 /* We use char because int might match the return type of a gcc2
88628    builtin and then its argument prototype would still apply.  */
88629 char $ac_func ();
88630 /* The GNU C library defines this for functions which it implements
88631     to always fail with ENOSYS.  Some functions are actually named
88632     something starting with __ and the normal name is an alias.  */
88633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88634 choke me
88635 #else
88636 char (*f) () = $ac_func;
88637 #endif
88638 #ifdef __cplusplus
88639 }
88640 #endif
88641
88642 int
88643 main ()
88644 {
88645 return f != $ac_func;
88646   ;
88647   return 0;
88648 }
88649 _ACEOF
88650 rm -f conftest.$ac_objext conftest$ac_exeext
88651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88652   (eval $ac_link) 2>conftest.er1
88653   ac_status=$?
88654   grep -v '^ *+' conftest.er1 >conftest.err
88655   rm -f conftest.er1
88656   cat conftest.err >&5
88657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88658   (exit $ac_status); } &&
88659          { ac_try='test -z "$ac_c_werror_flag"
88660                          || test ! -s conftest.err'
88661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88662   (eval $ac_try) 2>&5
88663   ac_status=$?
88664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88665   (exit $ac_status); }; } &&
88666          { ac_try='test -s conftest$ac_exeext'
88667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88668   (eval $ac_try) 2>&5
88669   ac_status=$?
88670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88671   (exit $ac_status); }; }; then
88672   eval "$as_ac_var=yes"
88673 else
88674   echo "$as_me: failed program was:" >&5
88675 sed 's/^/| /' conftest.$ac_ext >&5
88676
88677 eval "$as_ac_var=no"
88678 fi
88679 rm -f conftest.err conftest.$ac_objext \
88680       conftest$ac_exeext conftest.$ac_ext
88681 fi
88682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88684 if test `eval echo '${'$as_ac_var'}'` = yes; then
88685   cat >>confdefs.h <<_ACEOF
88686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88687 _ACEOF
88688
88689 fi
88690 done
88691
88692     fi
88693   fi
88694
88695
88696
88697
88698
88699
88700   echo "$as_me:$LINENO: checking for finite declaration" >&5
88701 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
88702   if test x${glibcxx_cv_func_finite_use+set} != xset; then
88703     if test "${glibcxx_cv_func_finite_use+set}" = set; then
88704   echo $ECHO_N "(cached) $ECHO_C" >&6
88705 else
88706
88707
88708
88709       ac_ext=cc
88710 ac_cpp='$CXXCPP $CPPFLAGS'
88711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88714
88715       cat >conftest.$ac_ext <<_ACEOF
88716 /* confdefs.h.  */
88717 _ACEOF
88718 cat confdefs.h >>conftest.$ac_ext
88719 cat >>conftest.$ac_ext <<_ACEOF
88720 /* end confdefs.h.  */
88721 #include <math.h>
88722                       #ifdef HAVE_IEEEFP_H
88723                       #include <ieeefp.h>
88724                       #endif
88725
88726 int
88727 main ()
88728 {
88729  finite(0);
88730   ;
88731   return 0;
88732 }
88733 _ACEOF
88734 rm -f conftest.$ac_objext
88735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88736   (eval $ac_compile) 2>conftest.er1
88737   ac_status=$?
88738   grep -v '^ *+' conftest.er1 >conftest.err
88739   rm -f conftest.er1
88740   cat conftest.err >&5
88741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88742   (exit $ac_status); } &&
88743          { ac_try='test -z "$ac_cxx_werror_flag"
88744                          || test ! -s conftest.err'
88745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88746   (eval $ac_try) 2>&5
88747   ac_status=$?
88748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88749   (exit $ac_status); }; } &&
88750          { ac_try='test -s conftest.$ac_objext'
88751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88752   (eval $ac_try) 2>&5
88753   ac_status=$?
88754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88755   (exit $ac_status); }; }; then
88756   glibcxx_cv_func_finite_use=yes
88757 else
88758   echo "$as_me: failed program was:" >&5
88759 sed 's/^/| /' conftest.$ac_ext >&5
88760
88761 glibcxx_cv_func_finite_use=no
88762 fi
88763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88764       ac_ext=c
88765 ac_cpp='$CPP $CPPFLAGS'
88766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88769
88770
88771 fi
88772
88773   fi
88774   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
88775 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
88776
88777   if test x$glibcxx_cv_func_finite_use = x"yes"; then
88778
88779 for ac_func in finite
88780 do
88781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88782 echo "$as_me:$LINENO: checking for $ac_func" >&5
88783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88784 if eval "test \"\${$as_ac_var+set}\" = set"; then
88785   echo $ECHO_N "(cached) $ECHO_C" >&6
88786 else
88787   if test x$gcc_no_link = xyes; then
88788   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88790    { (exit 1); exit 1; }; }
88791 fi
88792 cat >conftest.$ac_ext <<_ACEOF
88793 /* confdefs.h.  */
88794 _ACEOF
88795 cat confdefs.h >>conftest.$ac_ext
88796 cat >>conftest.$ac_ext <<_ACEOF
88797 /* end confdefs.h.  */
88798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88799    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88800 #define $ac_func innocuous_$ac_func
88801
88802 /* System header to define __stub macros and hopefully few prototypes,
88803     which can conflict with char $ac_func (); below.
88804     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88805     <limits.h> exists even on freestanding compilers.  */
88806
88807 #ifdef __STDC__
88808 # include <limits.h>
88809 #else
88810 # include <assert.h>
88811 #endif
88812
88813 #undef $ac_func
88814
88815 /* Override any gcc2 internal prototype to avoid an error.  */
88816 #ifdef __cplusplus
88817 extern "C"
88818 {
88819 #endif
88820 /* We use char because int might match the return type of a gcc2
88821    builtin and then its argument prototype would still apply.  */
88822 char $ac_func ();
88823 /* The GNU C library defines this for functions which it implements
88824     to always fail with ENOSYS.  Some functions are actually named
88825     something starting with __ and the normal name is an alias.  */
88826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88827 choke me
88828 #else
88829 char (*f) () = $ac_func;
88830 #endif
88831 #ifdef __cplusplus
88832 }
88833 #endif
88834
88835 int
88836 main ()
88837 {
88838 return f != $ac_func;
88839   ;
88840   return 0;
88841 }
88842 _ACEOF
88843 rm -f conftest.$ac_objext conftest$ac_exeext
88844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88845   (eval $ac_link) 2>conftest.er1
88846   ac_status=$?
88847   grep -v '^ *+' conftest.er1 >conftest.err
88848   rm -f conftest.er1
88849   cat conftest.err >&5
88850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88851   (exit $ac_status); } &&
88852          { ac_try='test -z "$ac_c_werror_flag"
88853                          || test ! -s conftest.err'
88854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88855   (eval $ac_try) 2>&5
88856   ac_status=$?
88857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88858   (exit $ac_status); }; } &&
88859          { ac_try='test -s conftest$ac_exeext'
88860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88861   (eval $ac_try) 2>&5
88862   ac_status=$?
88863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88864   (exit $ac_status); }; }; then
88865   eval "$as_ac_var=yes"
88866 else
88867   echo "$as_me: failed program was:" >&5
88868 sed 's/^/| /' conftest.$ac_ext >&5
88869
88870 eval "$as_ac_var=no"
88871 fi
88872 rm -f conftest.err conftest.$ac_objext \
88873       conftest$ac_exeext conftest.$ac_ext
88874 fi
88875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88877 if test `eval echo '${'$as_ac_var'}'` = yes; then
88878   cat >>confdefs.h <<_ACEOF
88879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88880 _ACEOF
88881
88882 fi
88883 done
88884
88885   else
88886
88887   echo "$as_me:$LINENO: checking for _finite declaration" >&5
88888 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
88889   if test x${glibcxx_cv_func__finite_use+set} != xset; then
88890     if test "${glibcxx_cv_func__finite_use+set}" = set; then
88891   echo $ECHO_N "(cached) $ECHO_C" >&6
88892 else
88893
88894
88895
88896       ac_ext=cc
88897 ac_cpp='$CXXCPP $CPPFLAGS'
88898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88901
88902       cat >conftest.$ac_ext <<_ACEOF
88903 /* confdefs.h.  */
88904 _ACEOF
88905 cat confdefs.h >>conftest.$ac_ext
88906 cat >>conftest.$ac_ext <<_ACEOF
88907 /* end confdefs.h.  */
88908 #include <math.h>
88909                       #ifdef HAVE_IEEEFP_H
88910                       #include <ieeefp.h>
88911                       #endif
88912
88913 int
88914 main ()
88915 {
88916  _finite(0);
88917   ;
88918   return 0;
88919 }
88920 _ACEOF
88921 rm -f conftest.$ac_objext
88922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88923   (eval $ac_compile) 2>conftest.er1
88924   ac_status=$?
88925   grep -v '^ *+' conftest.er1 >conftest.err
88926   rm -f conftest.er1
88927   cat conftest.err >&5
88928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88929   (exit $ac_status); } &&
88930          { ac_try='test -z "$ac_cxx_werror_flag"
88931                          || test ! -s conftest.err'
88932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88933   (eval $ac_try) 2>&5
88934   ac_status=$?
88935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88936   (exit $ac_status); }; } &&
88937          { ac_try='test -s conftest.$ac_objext'
88938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88939   (eval $ac_try) 2>&5
88940   ac_status=$?
88941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88942   (exit $ac_status); }; }; then
88943   glibcxx_cv_func__finite_use=yes
88944 else
88945   echo "$as_me: failed program was:" >&5
88946 sed 's/^/| /' conftest.$ac_ext >&5
88947
88948 glibcxx_cv_func__finite_use=no
88949 fi
88950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88951       ac_ext=c
88952 ac_cpp='$CPP $CPPFLAGS'
88953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88956
88957
88958 fi
88959
88960   fi
88961   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
88962 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
88963
88964     if test x$glibcxx_cv_func__finite_use = x"yes"; then
88965
88966 for ac_func in _finite
88967 do
88968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88969 echo "$as_me:$LINENO: checking for $ac_func" >&5
88970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88971 if eval "test \"\${$as_ac_var+set}\" = set"; then
88972   echo $ECHO_N "(cached) $ECHO_C" >&6
88973 else
88974   if test x$gcc_no_link = xyes; then
88975   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88977    { (exit 1); exit 1; }; }
88978 fi
88979 cat >conftest.$ac_ext <<_ACEOF
88980 /* confdefs.h.  */
88981 _ACEOF
88982 cat confdefs.h >>conftest.$ac_ext
88983 cat >>conftest.$ac_ext <<_ACEOF
88984 /* end confdefs.h.  */
88985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88986    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88987 #define $ac_func innocuous_$ac_func
88988
88989 /* System header to define __stub macros and hopefully few prototypes,
88990     which can conflict with char $ac_func (); below.
88991     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88992     <limits.h> exists even on freestanding compilers.  */
88993
88994 #ifdef __STDC__
88995 # include <limits.h>
88996 #else
88997 # include <assert.h>
88998 #endif
88999
89000 #undef $ac_func
89001
89002 /* Override any gcc2 internal prototype to avoid an error.  */
89003 #ifdef __cplusplus
89004 extern "C"
89005 {
89006 #endif
89007 /* We use char because int might match the return type of a gcc2
89008    builtin and then its argument prototype would still apply.  */
89009 char $ac_func ();
89010 /* The GNU C library defines this for functions which it implements
89011     to always fail with ENOSYS.  Some functions are actually named
89012     something starting with __ and the normal name is an alias.  */
89013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89014 choke me
89015 #else
89016 char (*f) () = $ac_func;
89017 #endif
89018 #ifdef __cplusplus
89019 }
89020 #endif
89021
89022 int
89023 main ()
89024 {
89025 return f != $ac_func;
89026   ;
89027   return 0;
89028 }
89029 _ACEOF
89030 rm -f conftest.$ac_objext conftest$ac_exeext
89031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89032   (eval $ac_link) 2>conftest.er1
89033   ac_status=$?
89034   grep -v '^ *+' conftest.er1 >conftest.err
89035   rm -f conftest.er1
89036   cat conftest.err >&5
89037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89038   (exit $ac_status); } &&
89039          { ac_try='test -z "$ac_c_werror_flag"
89040                          || test ! -s conftest.err'
89041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89042   (eval $ac_try) 2>&5
89043   ac_status=$?
89044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89045   (exit $ac_status); }; } &&
89046          { ac_try='test -s conftest$ac_exeext'
89047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89048   (eval $ac_try) 2>&5
89049   ac_status=$?
89050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89051   (exit $ac_status); }; }; then
89052   eval "$as_ac_var=yes"
89053 else
89054   echo "$as_me: failed program was:" >&5
89055 sed 's/^/| /' conftest.$ac_ext >&5
89056
89057 eval "$as_ac_var=no"
89058 fi
89059 rm -f conftest.err conftest.$ac_objext \
89060       conftest$ac_exeext conftest.$ac_ext
89061 fi
89062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89064 if test `eval echo '${'$as_ac_var'}'` = yes; then
89065   cat >>confdefs.h <<_ACEOF
89066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89067 _ACEOF
89068
89069 fi
89070 done
89071
89072     fi
89073   fi
89074
89075
89076
89077
89078
89079
89080   echo "$as_me:$LINENO: checking for copysign declaration" >&5
89081 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
89082   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
89083     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
89084   echo $ECHO_N "(cached) $ECHO_C" >&6
89085 else
89086
89087
89088
89089       ac_ext=cc
89090 ac_cpp='$CXXCPP $CPPFLAGS'
89091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89094
89095       cat >conftest.$ac_ext <<_ACEOF
89096 /* confdefs.h.  */
89097 _ACEOF
89098 cat confdefs.h >>conftest.$ac_ext
89099 cat >>conftest.$ac_ext <<_ACEOF
89100 /* end confdefs.h.  */
89101 #include <math.h>
89102 int
89103 main ()
89104 {
89105  copysign(0, 0);
89106   ;
89107   return 0;
89108 }
89109 _ACEOF
89110 rm -f conftest.$ac_objext
89111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89112   (eval $ac_compile) 2>conftest.er1
89113   ac_status=$?
89114   grep -v '^ *+' conftest.er1 >conftest.err
89115   rm -f conftest.er1
89116   cat conftest.err >&5
89117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89118   (exit $ac_status); } &&
89119          { ac_try='test -z "$ac_cxx_werror_flag"
89120                          || test ! -s conftest.err'
89121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89122   (eval $ac_try) 2>&5
89123   ac_status=$?
89124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89125   (exit $ac_status); }; } &&
89126          { ac_try='test -s conftest.$ac_objext'
89127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89128   (eval $ac_try) 2>&5
89129   ac_status=$?
89130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89131   (exit $ac_status); }; }; then
89132   glibcxx_cv_func_copysign_use=yes
89133 else
89134   echo "$as_me: failed program was:" >&5
89135 sed 's/^/| /' conftest.$ac_ext >&5
89136
89137 glibcxx_cv_func_copysign_use=no
89138 fi
89139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89140       ac_ext=c
89141 ac_cpp='$CPP $CPPFLAGS'
89142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89145
89146
89147 fi
89148
89149   fi
89150   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
89151 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
89152
89153   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
89154
89155 for ac_func in copysign
89156 do
89157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89158 echo "$as_me:$LINENO: checking for $ac_func" >&5
89159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89160 if eval "test \"\${$as_ac_var+set}\" = set"; then
89161   echo $ECHO_N "(cached) $ECHO_C" >&6
89162 else
89163   if test x$gcc_no_link = xyes; then
89164   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89166    { (exit 1); exit 1; }; }
89167 fi
89168 cat >conftest.$ac_ext <<_ACEOF
89169 /* confdefs.h.  */
89170 _ACEOF
89171 cat confdefs.h >>conftest.$ac_ext
89172 cat >>conftest.$ac_ext <<_ACEOF
89173 /* end confdefs.h.  */
89174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89175    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89176 #define $ac_func innocuous_$ac_func
89177
89178 /* System header to define __stub macros and hopefully few prototypes,
89179     which can conflict with char $ac_func (); below.
89180     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89181     <limits.h> exists even on freestanding compilers.  */
89182
89183 #ifdef __STDC__
89184 # include <limits.h>
89185 #else
89186 # include <assert.h>
89187 #endif
89188
89189 #undef $ac_func
89190
89191 /* Override any gcc2 internal prototype to avoid an error.  */
89192 #ifdef __cplusplus
89193 extern "C"
89194 {
89195 #endif
89196 /* We use char because int might match the return type of a gcc2
89197    builtin and then its argument prototype would still apply.  */
89198 char $ac_func ();
89199 /* The GNU C library defines this for functions which it implements
89200     to always fail with ENOSYS.  Some functions are actually named
89201     something starting with __ and the normal name is an alias.  */
89202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89203 choke me
89204 #else
89205 char (*f) () = $ac_func;
89206 #endif
89207 #ifdef __cplusplus
89208 }
89209 #endif
89210
89211 int
89212 main ()
89213 {
89214 return f != $ac_func;
89215   ;
89216   return 0;
89217 }
89218 _ACEOF
89219 rm -f conftest.$ac_objext conftest$ac_exeext
89220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89221   (eval $ac_link) 2>conftest.er1
89222   ac_status=$?
89223   grep -v '^ *+' conftest.er1 >conftest.err
89224   rm -f conftest.er1
89225   cat conftest.err >&5
89226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89227   (exit $ac_status); } &&
89228          { ac_try='test -z "$ac_c_werror_flag"
89229                          || test ! -s conftest.err'
89230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89231   (eval $ac_try) 2>&5
89232   ac_status=$?
89233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89234   (exit $ac_status); }; } &&
89235          { ac_try='test -s conftest$ac_exeext'
89236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89237   (eval $ac_try) 2>&5
89238   ac_status=$?
89239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89240   (exit $ac_status); }; }; then
89241   eval "$as_ac_var=yes"
89242 else
89243   echo "$as_me: failed program was:" >&5
89244 sed 's/^/| /' conftest.$ac_ext >&5
89245
89246 eval "$as_ac_var=no"
89247 fi
89248 rm -f conftest.err conftest.$ac_objext \
89249       conftest$ac_exeext conftest.$ac_ext
89250 fi
89251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89253 if test `eval echo '${'$as_ac_var'}'` = yes; then
89254   cat >>confdefs.h <<_ACEOF
89255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89256 _ACEOF
89257
89258 fi
89259 done
89260
89261   else
89262
89263   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
89264 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
89265   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
89266     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
89267   echo $ECHO_N "(cached) $ECHO_C" >&6
89268 else
89269
89270
89271
89272       ac_ext=cc
89273 ac_cpp='$CXXCPP $CPPFLAGS'
89274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89277
89278       cat >conftest.$ac_ext <<_ACEOF
89279 /* confdefs.h.  */
89280 _ACEOF
89281 cat confdefs.h >>conftest.$ac_ext
89282 cat >>conftest.$ac_ext <<_ACEOF
89283 /* end confdefs.h.  */
89284 #include <math.h>
89285 int
89286 main ()
89287 {
89288  _copysign(0, 0);
89289   ;
89290   return 0;
89291 }
89292 _ACEOF
89293 rm -f conftest.$ac_objext
89294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89295   (eval $ac_compile) 2>conftest.er1
89296   ac_status=$?
89297   grep -v '^ *+' conftest.er1 >conftest.err
89298   rm -f conftest.er1
89299   cat conftest.err >&5
89300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89301   (exit $ac_status); } &&
89302          { ac_try='test -z "$ac_cxx_werror_flag"
89303                          || test ! -s conftest.err'
89304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89305   (eval $ac_try) 2>&5
89306   ac_status=$?
89307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89308   (exit $ac_status); }; } &&
89309          { ac_try='test -s conftest.$ac_objext'
89310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89311   (eval $ac_try) 2>&5
89312   ac_status=$?
89313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89314   (exit $ac_status); }; }; then
89315   glibcxx_cv_func__copysign_use=yes
89316 else
89317   echo "$as_me: failed program was:" >&5
89318 sed 's/^/| /' conftest.$ac_ext >&5
89319
89320 glibcxx_cv_func__copysign_use=no
89321 fi
89322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89323       ac_ext=c
89324 ac_cpp='$CPP $CPPFLAGS'
89325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89328
89329
89330 fi
89331
89332   fi
89333   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
89334 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
89335
89336     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
89337
89338 for ac_func in _copysign
89339 do
89340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89341 echo "$as_me:$LINENO: checking for $ac_func" >&5
89342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89343 if eval "test \"\${$as_ac_var+set}\" = set"; then
89344   echo $ECHO_N "(cached) $ECHO_C" >&6
89345 else
89346   if test x$gcc_no_link = xyes; then
89347   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89349    { (exit 1); exit 1; }; }
89350 fi
89351 cat >conftest.$ac_ext <<_ACEOF
89352 /* confdefs.h.  */
89353 _ACEOF
89354 cat confdefs.h >>conftest.$ac_ext
89355 cat >>conftest.$ac_ext <<_ACEOF
89356 /* end confdefs.h.  */
89357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89358    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89359 #define $ac_func innocuous_$ac_func
89360
89361 /* System header to define __stub macros and hopefully few prototypes,
89362     which can conflict with char $ac_func (); below.
89363     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89364     <limits.h> exists even on freestanding compilers.  */
89365
89366 #ifdef __STDC__
89367 # include <limits.h>
89368 #else
89369 # include <assert.h>
89370 #endif
89371
89372 #undef $ac_func
89373
89374 /* Override any gcc2 internal prototype to avoid an error.  */
89375 #ifdef __cplusplus
89376 extern "C"
89377 {
89378 #endif
89379 /* We use char because int might match the return type of a gcc2
89380    builtin and then its argument prototype would still apply.  */
89381 char $ac_func ();
89382 /* The GNU C library defines this for functions which it implements
89383     to always fail with ENOSYS.  Some functions are actually named
89384     something starting with __ and the normal name is an alias.  */
89385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89386 choke me
89387 #else
89388 char (*f) () = $ac_func;
89389 #endif
89390 #ifdef __cplusplus
89391 }
89392 #endif
89393
89394 int
89395 main ()
89396 {
89397 return f != $ac_func;
89398   ;
89399   return 0;
89400 }
89401 _ACEOF
89402 rm -f conftest.$ac_objext conftest$ac_exeext
89403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89404   (eval $ac_link) 2>conftest.er1
89405   ac_status=$?
89406   grep -v '^ *+' conftest.er1 >conftest.err
89407   rm -f conftest.er1
89408   cat conftest.err >&5
89409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89410   (exit $ac_status); } &&
89411          { ac_try='test -z "$ac_c_werror_flag"
89412                          || test ! -s conftest.err'
89413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89414   (eval $ac_try) 2>&5
89415   ac_status=$?
89416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89417   (exit $ac_status); }; } &&
89418          { ac_try='test -s conftest$ac_exeext'
89419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89420   (eval $ac_try) 2>&5
89421   ac_status=$?
89422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89423   (exit $ac_status); }; }; then
89424   eval "$as_ac_var=yes"
89425 else
89426   echo "$as_me: failed program was:" >&5
89427 sed 's/^/| /' conftest.$ac_ext >&5
89428
89429 eval "$as_ac_var=no"
89430 fi
89431 rm -f conftest.err conftest.$ac_objext \
89432       conftest$ac_exeext conftest.$ac_ext
89433 fi
89434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89436 if test `eval echo '${'$as_ac_var'}'` = yes; then
89437   cat >>confdefs.h <<_ACEOF
89438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89439 _ACEOF
89440
89441 fi
89442 done
89443
89444     fi
89445   fi
89446
89447
89448
89449
89450
89451
89452   echo "$as_me:$LINENO: checking for sincos declaration" >&5
89453 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
89454   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
89455     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
89456   echo $ECHO_N "(cached) $ECHO_C" >&6
89457 else
89458
89459
89460
89461       ac_ext=cc
89462 ac_cpp='$CXXCPP $CPPFLAGS'
89463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89466
89467       cat >conftest.$ac_ext <<_ACEOF
89468 /* confdefs.h.  */
89469 _ACEOF
89470 cat confdefs.h >>conftest.$ac_ext
89471 cat >>conftest.$ac_ext <<_ACEOF
89472 /* end confdefs.h.  */
89473 #include <math.h>
89474 int
89475 main ()
89476 {
89477  sincos(0, 0, 0);
89478   ;
89479   return 0;
89480 }
89481 _ACEOF
89482 rm -f conftest.$ac_objext
89483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89484   (eval $ac_compile) 2>conftest.er1
89485   ac_status=$?
89486   grep -v '^ *+' conftest.er1 >conftest.err
89487   rm -f conftest.er1
89488   cat conftest.err >&5
89489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89490   (exit $ac_status); } &&
89491          { ac_try='test -z "$ac_cxx_werror_flag"
89492                          || test ! -s conftest.err'
89493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89494   (eval $ac_try) 2>&5
89495   ac_status=$?
89496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89497   (exit $ac_status); }; } &&
89498          { ac_try='test -s conftest.$ac_objext'
89499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89500   (eval $ac_try) 2>&5
89501   ac_status=$?
89502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89503   (exit $ac_status); }; }; then
89504   glibcxx_cv_func_sincos_use=yes
89505 else
89506   echo "$as_me: failed program was:" >&5
89507 sed 's/^/| /' conftest.$ac_ext >&5
89508
89509 glibcxx_cv_func_sincos_use=no
89510 fi
89511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89512       ac_ext=c
89513 ac_cpp='$CPP $CPPFLAGS'
89514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89517
89518
89519 fi
89520
89521   fi
89522   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
89523 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
89524
89525   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
89526
89527 for ac_func in sincos
89528 do
89529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89530 echo "$as_me:$LINENO: checking for $ac_func" >&5
89531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89532 if eval "test \"\${$as_ac_var+set}\" = set"; then
89533   echo $ECHO_N "(cached) $ECHO_C" >&6
89534 else
89535   if test x$gcc_no_link = xyes; then
89536   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89538    { (exit 1); exit 1; }; }
89539 fi
89540 cat >conftest.$ac_ext <<_ACEOF
89541 /* confdefs.h.  */
89542 _ACEOF
89543 cat confdefs.h >>conftest.$ac_ext
89544 cat >>conftest.$ac_ext <<_ACEOF
89545 /* end confdefs.h.  */
89546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89547    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89548 #define $ac_func innocuous_$ac_func
89549
89550 /* System header to define __stub macros and hopefully few prototypes,
89551     which can conflict with char $ac_func (); below.
89552     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89553     <limits.h> exists even on freestanding compilers.  */
89554
89555 #ifdef __STDC__
89556 # include <limits.h>
89557 #else
89558 # include <assert.h>
89559 #endif
89560
89561 #undef $ac_func
89562
89563 /* Override any gcc2 internal prototype to avoid an error.  */
89564 #ifdef __cplusplus
89565 extern "C"
89566 {
89567 #endif
89568 /* We use char because int might match the return type of a gcc2
89569    builtin and then its argument prototype would still apply.  */
89570 char $ac_func ();
89571 /* The GNU C library defines this for functions which it implements
89572     to always fail with ENOSYS.  Some functions are actually named
89573     something starting with __ and the normal name is an alias.  */
89574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89575 choke me
89576 #else
89577 char (*f) () = $ac_func;
89578 #endif
89579 #ifdef __cplusplus
89580 }
89581 #endif
89582
89583 int
89584 main ()
89585 {
89586 return f != $ac_func;
89587   ;
89588   return 0;
89589 }
89590 _ACEOF
89591 rm -f conftest.$ac_objext conftest$ac_exeext
89592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89593   (eval $ac_link) 2>conftest.er1
89594   ac_status=$?
89595   grep -v '^ *+' conftest.er1 >conftest.err
89596   rm -f conftest.er1
89597   cat conftest.err >&5
89598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89599   (exit $ac_status); } &&
89600          { ac_try='test -z "$ac_c_werror_flag"
89601                          || test ! -s conftest.err'
89602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89603   (eval $ac_try) 2>&5
89604   ac_status=$?
89605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89606   (exit $ac_status); }; } &&
89607          { ac_try='test -s conftest$ac_exeext'
89608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89609   (eval $ac_try) 2>&5
89610   ac_status=$?
89611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89612   (exit $ac_status); }; }; then
89613   eval "$as_ac_var=yes"
89614 else
89615   echo "$as_me: failed program was:" >&5
89616 sed 's/^/| /' conftest.$ac_ext >&5
89617
89618 eval "$as_ac_var=no"
89619 fi
89620 rm -f conftest.err conftest.$ac_objext \
89621       conftest$ac_exeext conftest.$ac_ext
89622 fi
89623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89625 if test `eval echo '${'$as_ac_var'}'` = yes; then
89626   cat >>confdefs.h <<_ACEOF
89627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89628 _ACEOF
89629
89630 fi
89631 done
89632
89633   else
89634
89635   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
89636 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
89637   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
89638     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
89639   echo $ECHO_N "(cached) $ECHO_C" >&6
89640 else
89641
89642
89643
89644       ac_ext=cc
89645 ac_cpp='$CXXCPP $CPPFLAGS'
89646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89649
89650       cat >conftest.$ac_ext <<_ACEOF
89651 /* confdefs.h.  */
89652 _ACEOF
89653 cat confdefs.h >>conftest.$ac_ext
89654 cat >>conftest.$ac_ext <<_ACEOF
89655 /* end confdefs.h.  */
89656 #include <math.h>
89657 int
89658 main ()
89659 {
89660  _sincos(0, 0, 0);
89661   ;
89662   return 0;
89663 }
89664 _ACEOF
89665 rm -f conftest.$ac_objext
89666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89667   (eval $ac_compile) 2>conftest.er1
89668   ac_status=$?
89669   grep -v '^ *+' conftest.er1 >conftest.err
89670   rm -f conftest.er1
89671   cat conftest.err >&5
89672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89673   (exit $ac_status); } &&
89674          { ac_try='test -z "$ac_cxx_werror_flag"
89675                          || test ! -s conftest.err'
89676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89677   (eval $ac_try) 2>&5
89678   ac_status=$?
89679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89680   (exit $ac_status); }; } &&
89681          { ac_try='test -s conftest.$ac_objext'
89682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89683   (eval $ac_try) 2>&5
89684   ac_status=$?
89685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89686   (exit $ac_status); }; }; then
89687   glibcxx_cv_func__sincos_use=yes
89688 else
89689   echo "$as_me: failed program was:" >&5
89690 sed 's/^/| /' conftest.$ac_ext >&5
89691
89692 glibcxx_cv_func__sincos_use=no
89693 fi
89694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89695       ac_ext=c
89696 ac_cpp='$CPP $CPPFLAGS'
89697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89700
89701
89702 fi
89703
89704   fi
89705   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
89706 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
89707
89708     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
89709
89710 for ac_func in _sincos
89711 do
89712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89713 echo "$as_me:$LINENO: checking for $ac_func" >&5
89714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89715 if eval "test \"\${$as_ac_var+set}\" = set"; then
89716   echo $ECHO_N "(cached) $ECHO_C" >&6
89717 else
89718   if test x$gcc_no_link = xyes; then
89719   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89721    { (exit 1); exit 1; }; }
89722 fi
89723 cat >conftest.$ac_ext <<_ACEOF
89724 /* confdefs.h.  */
89725 _ACEOF
89726 cat confdefs.h >>conftest.$ac_ext
89727 cat >>conftest.$ac_ext <<_ACEOF
89728 /* end confdefs.h.  */
89729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89730    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89731 #define $ac_func innocuous_$ac_func
89732
89733 /* System header to define __stub macros and hopefully few prototypes,
89734     which can conflict with char $ac_func (); below.
89735     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89736     <limits.h> exists even on freestanding compilers.  */
89737
89738 #ifdef __STDC__
89739 # include <limits.h>
89740 #else
89741 # include <assert.h>
89742 #endif
89743
89744 #undef $ac_func
89745
89746 /* Override any gcc2 internal prototype to avoid an error.  */
89747 #ifdef __cplusplus
89748 extern "C"
89749 {
89750 #endif
89751 /* We use char because int might match the return type of a gcc2
89752    builtin and then its argument prototype would still apply.  */
89753 char $ac_func ();
89754 /* The GNU C library defines this for functions which it implements
89755     to always fail with ENOSYS.  Some functions are actually named
89756     something starting with __ and the normal name is an alias.  */
89757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89758 choke me
89759 #else
89760 char (*f) () = $ac_func;
89761 #endif
89762 #ifdef __cplusplus
89763 }
89764 #endif
89765
89766 int
89767 main ()
89768 {
89769 return f != $ac_func;
89770   ;
89771   return 0;
89772 }
89773 _ACEOF
89774 rm -f conftest.$ac_objext conftest$ac_exeext
89775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89776   (eval $ac_link) 2>conftest.er1
89777   ac_status=$?
89778   grep -v '^ *+' conftest.er1 >conftest.err
89779   rm -f conftest.er1
89780   cat conftest.err >&5
89781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89782   (exit $ac_status); } &&
89783          { ac_try='test -z "$ac_c_werror_flag"
89784                          || test ! -s conftest.err'
89785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89786   (eval $ac_try) 2>&5
89787   ac_status=$?
89788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89789   (exit $ac_status); }; } &&
89790          { ac_try='test -s conftest$ac_exeext'
89791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89792   (eval $ac_try) 2>&5
89793   ac_status=$?
89794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89795   (exit $ac_status); }; }; then
89796   eval "$as_ac_var=yes"
89797 else
89798   echo "$as_me: failed program was:" >&5
89799 sed 's/^/| /' conftest.$ac_ext >&5
89800
89801 eval "$as_ac_var=no"
89802 fi
89803 rm -f conftest.err conftest.$ac_objext \
89804       conftest$ac_exeext conftest.$ac_ext
89805 fi
89806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89808 if test `eval echo '${'$as_ac_var'}'` = yes; then
89809   cat >>confdefs.h <<_ACEOF
89810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89811 _ACEOF
89812
89813 fi
89814 done
89815
89816     fi
89817   fi
89818
89819
89820
89821
89822
89823
89824   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
89825 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
89826   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
89827     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
89828   echo $ECHO_N "(cached) $ECHO_C" >&6
89829 else
89830
89831
89832
89833       ac_ext=cc
89834 ac_cpp='$CXXCPP $CPPFLAGS'
89835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89838
89839       cat >conftest.$ac_ext <<_ACEOF
89840 /* confdefs.h.  */
89841 _ACEOF
89842 cat confdefs.h >>conftest.$ac_ext
89843 cat >>conftest.$ac_ext <<_ACEOF
89844 /* end confdefs.h.  */
89845 #include <math.h>
89846                       #ifdef HAVE_IEEEFP_H
89847                       #include <ieeefp.h>
89848                       #endif
89849
89850 int
89851 main ()
89852 {
89853  fpclass(0);
89854   ;
89855   return 0;
89856 }
89857 _ACEOF
89858 rm -f conftest.$ac_objext
89859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89860   (eval $ac_compile) 2>conftest.er1
89861   ac_status=$?
89862   grep -v '^ *+' conftest.er1 >conftest.err
89863   rm -f conftest.er1
89864   cat conftest.err >&5
89865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89866   (exit $ac_status); } &&
89867          { ac_try='test -z "$ac_cxx_werror_flag"
89868                          || test ! -s conftest.err'
89869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89870   (eval $ac_try) 2>&5
89871   ac_status=$?
89872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89873   (exit $ac_status); }; } &&
89874          { ac_try='test -s conftest.$ac_objext'
89875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89876   (eval $ac_try) 2>&5
89877   ac_status=$?
89878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89879   (exit $ac_status); }; }; then
89880   glibcxx_cv_func_fpclass_use=yes
89881 else
89882   echo "$as_me: failed program was:" >&5
89883 sed 's/^/| /' conftest.$ac_ext >&5
89884
89885 glibcxx_cv_func_fpclass_use=no
89886 fi
89887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89888       ac_ext=c
89889 ac_cpp='$CPP $CPPFLAGS'
89890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89893
89894
89895 fi
89896
89897   fi
89898   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
89899 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
89900
89901   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
89902
89903 for ac_func in fpclass
89904 do
89905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89906 echo "$as_me:$LINENO: checking for $ac_func" >&5
89907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89908 if eval "test \"\${$as_ac_var+set}\" = set"; then
89909   echo $ECHO_N "(cached) $ECHO_C" >&6
89910 else
89911   if test x$gcc_no_link = xyes; then
89912   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89914    { (exit 1); exit 1; }; }
89915 fi
89916 cat >conftest.$ac_ext <<_ACEOF
89917 /* confdefs.h.  */
89918 _ACEOF
89919 cat confdefs.h >>conftest.$ac_ext
89920 cat >>conftest.$ac_ext <<_ACEOF
89921 /* end confdefs.h.  */
89922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89923    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89924 #define $ac_func innocuous_$ac_func
89925
89926 /* System header to define __stub macros and hopefully few prototypes,
89927     which can conflict with char $ac_func (); below.
89928     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89929     <limits.h> exists even on freestanding compilers.  */
89930
89931 #ifdef __STDC__
89932 # include <limits.h>
89933 #else
89934 # include <assert.h>
89935 #endif
89936
89937 #undef $ac_func
89938
89939 /* Override any gcc2 internal prototype to avoid an error.  */
89940 #ifdef __cplusplus
89941 extern "C"
89942 {
89943 #endif
89944 /* We use char because int might match the return type of a gcc2
89945    builtin and then its argument prototype would still apply.  */
89946 char $ac_func ();
89947 /* The GNU C library defines this for functions which it implements
89948     to always fail with ENOSYS.  Some functions are actually named
89949     something starting with __ and the normal name is an alias.  */
89950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89951 choke me
89952 #else
89953 char (*f) () = $ac_func;
89954 #endif
89955 #ifdef __cplusplus
89956 }
89957 #endif
89958
89959 int
89960 main ()
89961 {
89962 return f != $ac_func;
89963   ;
89964   return 0;
89965 }
89966 _ACEOF
89967 rm -f conftest.$ac_objext conftest$ac_exeext
89968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89969   (eval $ac_link) 2>conftest.er1
89970   ac_status=$?
89971   grep -v '^ *+' conftest.er1 >conftest.err
89972   rm -f conftest.er1
89973   cat conftest.err >&5
89974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89975   (exit $ac_status); } &&
89976          { ac_try='test -z "$ac_c_werror_flag"
89977                          || test ! -s conftest.err'
89978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89979   (eval $ac_try) 2>&5
89980   ac_status=$?
89981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89982   (exit $ac_status); }; } &&
89983          { ac_try='test -s conftest$ac_exeext'
89984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89985   (eval $ac_try) 2>&5
89986   ac_status=$?
89987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89988   (exit $ac_status); }; }; then
89989   eval "$as_ac_var=yes"
89990 else
89991   echo "$as_me: failed program was:" >&5
89992 sed 's/^/| /' conftest.$ac_ext >&5
89993
89994 eval "$as_ac_var=no"
89995 fi
89996 rm -f conftest.err conftest.$ac_objext \
89997       conftest$ac_exeext conftest.$ac_ext
89998 fi
89999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90001 if test `eval echo '${'$as_ac_var'}'` = yes; then
90002   cat >>confdefs.h <<_ACEOF
90003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90004 _ACEOF
90005
90006 fi
90007 done
90008
90009   else
90010
90011   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
90012 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
90013   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
90014     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
90015   echo $ECHO_N "(cached) $ECHO_C" >&6
90016 else
90017
90018
90019
90020       ac_ext=cc
90021 ac_cpp='$CXXCPP $CPPFLAGS'
90022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90025
90026       cat >conftest.$ac_ext <<_ACEOF
90027 /* confdefs.h.  */
90028 _ACEOF
90029 cat confdefs.h >>conftest.$ac_ext
90030 cat >>conftest.$ac_ext <<_ACEOF
90031 /* end confdefs.h.  */
90032 #include <math.h>
90033                       #ifdef HAVE_IEEEFP_H
90034                       #include <ieeefp.h>
90035                       #endif
90036
90037 int
90038 main ()
90039 {
90040  _fpclass(0);
90041   ;
90042   return 0;
90043 }
90044 _ACEOF
90045 rm -f conftest.$ac_objext
90046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90047   (eval $ac_compile) 2>conftest.er1
90048   ac_status=$?
90049   grep -v '^ *+' conftest.er1 >conftest.err
90050   rm -f conftest.er1
90051   cat conftest.err >&5
90052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90053   (exit $ac_status); } &&
90054          { ac_try='test -z "$ac_cxx_werror_flag"
90055                          || test ! -s conftest.err'
90056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90057   (eval $ac_try) 2>&5
90058   ac_status=$?
90059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90060   (exit $ac_status); }; } &&
90061          { ac_try='test -s conftest.$ac_objext'
90062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90063   (eval $ac_try) 2>&5
90064   ac_status=$?
90065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90066   (exit $ac_status); }; }; then
90067   glibcxx_cv_func__fpclass_use=yes
90068 else
90069   echo "$as_me: failed program was:" >&5
90070 sed 's/^/| /' conftest.$ac_ext >&5
90071
90072 glibcxx_cv_func__fpclass_use=no
90073 fi
90074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90075       ac_ext=c
90076 ac_cpp='$CPP $CPPFLAGS'
90077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90080
90081
90082 fi
90083
90084   fi
90085   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
90086 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
90087
90088     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
90089
90090 for ac_func in _fpclass
90091 do
90092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90093 echo "$as_me:$LINENO: checking for $ac_func" >&5
90094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90095 if eval "test \"\${$as_ac_var+set}\" = set"; then
90096   echo $ECHO_N "(cached) $ECHO_C" >&6
90097 else
90098   if test x$gcc_no_link = xyes; then
90099   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90101    { (exit 1); exit 1; }; }
90102 fi
90103 cat >conftest.$ac_ext <<_ACEOF
90104 /* confdefs.h.  */
90105 _ACEOF
90106 cat confdefs.h >>conftest.$ac_ext
90107 cat >>conftest.$ac_ext <<_ACEOF
90108 /* end confdefs.h.  */
90109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90110    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90111 #define $ac_func innocuous_$ac_func
90112
90113 /* System header to define __stub macros and hopefully few prototypes,
90114     which can conflict with char $ac_func (); below.
90115     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90116     <limits.h> exists even on freestanding compilers.  */
90117
90118 #ifdef __STDC__
90119 # include <limits.h>
90120 #else
90121 # include <assert.h>
90122 #endif
90123
90124 #undef $ac_func
90125
90126 /* Override any gcc2 internal prototype to avoid an error.  */
90127 #ifdef __cplusplus
90128 extern "C"
90129 {
90130 #endif
90131 /* We use char because int might match the return type of a gcc2
90132    builtin and then its argument prototype would still apply.  */
90133 char $ac_func ();
90134 /* The GNU C library defines this for functions which it implements
90135     to always fail with ENOSYS.  Some functions are actually named
90136     something starting with __ and the normal name is an alias.  */
90137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90138 choke me
90139 #else
90140 char (*f) () = $ac_func;
90141 #endif
90142 #ifdef __cplusplus
90143 }
90144 #endif
90145
90146 int
90147 main ()
90148 {
90149 return f != $ac_func;
90150   ;
90151   return 0;
90152 }
90153 _ACEOF
90154 rm -f conftest.$ac_objext conftest$ac_exeext
90155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90156   (eval $ac_link) 2>conftest.er1
90157   ac_status=$?
90158   grep -v '^ *+' conftest.er1 >conftest.err
90159   rm -f conftest.er1
90160   cat conftest.err >&5
90161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90162   (exit $ac_status); } &&
90163          { ac_try='test -z "$ac_c_werror_flag"
90164                          || test ! -s conftest.err'
90165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90166   (eval $ac_try) 2>&5
90167   ac_status=$?
90168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90169   (exit $ac_status); }; } &&
90170          { ac_try='test -s conftest$ac_exeext'
90171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90172   (eval $ac_try) 2>&5
90173   ac_status=$?
90174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90175   (exit $ac_status); }; }; then
90176   eval "$as_ac_var=yes"
90177 else
90178   echo "$as_me: failed program was:" >&5
90179 sed 's/^/| /' conftest.$ac_ext >&5
90180
90181 eval "$as_ac_var=no"
90182 fi
90183 rm -f conftest.err conftest.$ac_objext \
90184       conftest$ac_exeext conftest.$ac_ext
90185 fi
90186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90188 if test `eval echo '${'$as_ac_var'}'` = yes; then
90189   cat >>confdefs.h <<_ACEOF
90190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90191 _ACEOF
90192
90193 fi
90194 done
90195
90196     fi
90197   fi
90198
90199
90200
90201
90202
90203
90204   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
90205 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
90206   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
90207     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
90208   echo $ECHO_N "(cached) $ECHO_C" >&6
90209 else
90210
90211
90212
90213       ac_ext=cc
90214 ac_cpp='$CXXCPP $CPPFLAGS'
90215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90218
90219       cat >conftest.$ac_ext <<_ACEOF
90220 /* confdefs.h.  */
90221 _ACEOF
90222 cat confdefs.h >>conftest.$ac_ext
90223 cat >>conftest.$ac_ext <<_ACEOF
90224 /* end confdefs.h.  */
90225 #include <math.h>
90226                       #ifdef HAVE_IEEEFP_H
90227                       #include <ieeefp.h>
90228                       #endif
90229
90230 int
90231 main ()
90232 {
90233  qfpclass(0);
90234   ;
90235   return 0;
90236 }
90237 _ACEOF
90238 rm -f conftest.$ac_objext
90239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90240   (eval $ac_compile) 2>conftest.er1
90241   ac_status=$?
90242   grep -v '^ *+' conftest.er1 >conftest.err
90243   rm -f conftest.er1
90244   cat conftest.err >&5
90245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90246   (exit $ac_status); } &&
90247          { ac_try='test -z "$ac_cxx_werror_flag"
90248                          || test ! -s conftest.err'
90249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90250   (eval $ac_try) 2>&5
90251   ac_status=$?
90252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90253   (exit $ac_status); }; } &&
90254          { ac_try='test -s conftest.$ac_objext'
90255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90256   (eval $ac_try) 2>&5
90257   ac_status=$?
90258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90259   (exit $ac_status); }; }; then
90260   glibcxx_cv_func_qfpclass_use=yes
90261 else
90262   echo "$as_me: failed program was:" >&5
90263 sed 's/^/| /' conftest.$ac_ext >&5
90264
90265 glibcxx_cv_func_qfpclass_use=no
90266 fi
90267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90268       ac_ext=c
90269 ac_cpp='$CPP $CPPFLAGS'
90270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90273
90274
90275 fi
90276
90277   fi
90278   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
90279 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
90280
90281   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
90282
90283 for ac_func in qfpclass
90284 do
90285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90286 echo "$as_me:$LINENO: checking for $ac_func" >&5
90287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90288 if eval "test \"\${$as_ac_var+set}\" = set"; then
90289   echo $ECHO_N "(cached) $ECHO_C" >&6
90290 else
90291   if test x$gcc_no_link = xyes; then
90292   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90294    { (exit 1); exit 1; }; }
90295 fi
90296 cat >conftest.$ac_ext <<_ACEOF
90297 /* confdefs.h.  */
90298 _ACEOF
90299 cat confdefs.h >>conftest.$ac_ext
90300 cat >>conftest.$ac_ext <<_ACEOF
90301 /* end confdefs.h.  */
90302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90303    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90304 #define $ac_func innocuous_$ac_func
90305
90306 /* System header to define __stub macros and hopefully few prototypes,
90307     which can conflict with char $ac_func (); below.
90308     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90309     <limits.h> exists even on freestanding compilers.  */
90310
90311 #ifdef __STDC__
90312 # include <limits.h>
90313 #else
90314 # include <assert.h>
90315 #endif
90316
90317 #undef $ac_func
90318
90319 /* Override any gcc2 internal prototype to avoid an error.  */
90320 #ifdef __cplusplus
90321 extern "C"
90322 {
90323 #endif
90324 /* We use char because int might match the return type of a gcc2
90325    builtin and then its argument prototype would still apply.  */
90326 char $ac_func ();
90327 /* The GNU C library defines this for functions which it implements
90328     to always fail with ENOSYS.  Some functions are actually named
90329     something starting with __ and the normal name is an alias.  */
90330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90331 choke me
90332 #else
90333 char (*f) () = $ac_func;
90334 #endif
90335 #ifdef __cplusplus
90336 }
90337 #endif
90338
90339 int
90340 main ()
90341 {
90342 return f != $ac_func;
90343   ;
90344   return 0;
90345 }
90346 _ACEOF
90347 rm -f conftest.$ac_objext conftest$ac_exeext
90348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90349   (eval $ac_link) 2>conftest.er1
90350   ac_status=$?
90351   grep -v '^ *+' conftest.er1 >conftest.err
90352   rm -f conftest.er1
90353   cat conftest.err >&5
90354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90355   (exit $ac_status); } &&
90356          { ac_try='test -z "$ac_c_werror_flag"
90357                          || test ! -s conftest.err'
90358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90359   (eval $ac_try) 2>&5
90360   ac_status=$?
90361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90362   (exit $ac_status); }; } &&
90363          { ac_try='test -s conftest$ac_exeext'
90364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90365   (eval $ac_try) 2>&5
90366   ac_status=$?
90367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90368   (exit $ac_status); }; }; then
90369   eval "$as_ac_var=yes"
90370 else
90371   echo "$as_me: failed program was:" >&5
90372 sed 's/^/| /' conftest.$ac_ext >&5
90373
90374 eval "$as_ac_var=no"
90375 fi
90376 rm -f conftest.err conftest.$ac_objext \
90377       conftest$ac_exeext conftest.$ac_ext
90378 fi
90379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90381 if test `eval echo '${'$as_ac_var'}'` = yes; then
90382   cat >>confdefs.h <<_ACEOF
90383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90384 _ACEOF
90385
90386 fi
90387 done
90388
90389   else
90390
90391   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
90392 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
90393   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
90394     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
90395   echo $ECHO_N "(cached) $ECHO_C" >&6
90396 else
90397
90398
90399
90400       ac_ext=cc
90401 ac_cpp='$CXXCPP $CPPFLAGS'
90402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90405
90406       cat >conftest.$ac_ext <<_ACEOF
90407 /* confdefs.h.  */
90408 _ACEOF
90409 cat confdefs.h >>conftest.$ac_ext
90410 cat >>conftest.$ac_ext <<_ACEOF
90411 /* end confdefs.h.  */
90412 #include <math.h>
90413                       #ifdef HAVE_IEEEFP_H
90414                       #include <ieeefp.h>
90415                       #endif
90416
90417 int
90418 main ()
90419 {
90420  _qfpclass(0);
90421   ;
90422   return 0;
90423 }
90424 _ACEOF
90425 rm -f conftest.$ac_objext
90426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90427   (eval $ac_compile) 2>conftest.er1
90428   ac_status=$?
90429   grep -v '^ *+' conftest.er1 >conftest.err
90430   rm -f conftest.er1
90431   cat conftest.err >&5
90432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90433   (exit $ac_status); } &&
90434          { ac_try='test -z "$ac_cxx_werror_flag"
90435                          || test ! -s conftest.err'
90436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90437   (eval $ac_try) 2>&5
90438   ac_status=$?
90439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90440   (exit $ac_status); }; } &&
90441          { ac_try='test -s conftest.$ac_objext'
90442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90443   (eval $ac_try) 2>&5
90444   ac_status=$?
90445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90446   (exit $ac_status); }; }; then
90447   glibcxx_cv_func__qfpclass_use=yes
90448 else
90449   echo "$as_me: failed program was:" >&5
90450 sed 's/^/| /' conftest.$ac_ext >&5
90451
90452 glibcxx_cv_func__qfpclass_use=no
90453 fi
90454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90455       ac_ext=c
90456 ac_cpp='$CPP $CPPFLAGS'
90457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90460
90461
90462 fi
90463
90464   fi
90465   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
90466 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
90467
90468     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
90469
90470 for ac_func in _qfpclass
90471 do
90472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90473 echo "$as_me:$LINENO: checking for $ac_func" >&5
90474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90475 if eval "test \"\${$as_ac_var+set}\" = set"; then
90476   echo $ECHO_N "(cached) $ECHO_C" >&6
90477 else
90478   if test x$gcc_no_link = xyes; then
90479   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90481    { (exit 1); exit 1; }; }
90482 fi
90483 cat >conftest.$ac_ext <<_ACEOF
90484 /* confdefs.h.  */
90485 _ACEOF
90486 cat confdefs.h >>conftest.$ac_ext
90487 cat >>conftest.$ac_ext <<_ACEOF
90488 /* end confdefs.h.  */
90489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90490    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90491 #define $ac_func innocuous_$ac_func
90492
90493 /* System header to define __stub macros and hopefully few prototypes,
90494     which can conflict with char $ac_func (); below.
90495     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90496     <limits.h> exists even on freestanding compilers.  */
90497
90498 #ifdef __STDC__
90499 # include <limits.h>
90500 #else
90501 # include <assert.h>
90502 #endif
90503
90504 #undef $ac_func
90505
90506 /* Override any gcc2 internal prototype to avoid an error.  */
90507 #ifdef __cplusplus
90508 extern "C"
90509 {
90510 #endif
90511 /* We use char because int might match the return type of a gcc2
90512    builtin and then its argument prototype would still apply.  */
90513 char $ac_func ();
90514 /* The GNU C library defines this for functions which it implements
90515     to always fail with ENOSYS.  Some functions are actually named
90516     something starting with __ and the normal name is an alias.  */
90517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90518 choke me
90519 #else
90520 char (*f) () = $ac_func;
90521 #endif
90522 #ifdef __cplusplus
90523 }
90524 #endif
90525
90526 int
90527 main ()
90528 {
90529 return f != $ac_func;
90530   ;
90531   return 0;
90532 }
90533 _ACEOF
90534 rm -f conftest.$ac_objext conftest$ac_exeext
90535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90536   (eval $ac_link) 2>conftest.er1
90537   ac_status=$?
90538   grep -v '^ *+' conftest.er1 >conftest.err
90539   rm -f conftest.er1
90540   cat conftest.err >&5
90541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90542   (exit $ac_status); } &&
90543          { ac_try='test -z "$ac_c_werror_flag"
90544                          || test ! -s conftest.err'
90545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90546   (eval $ac_try) 2>&5
90547   ac_status=$?
90548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90549   (exit $ac_status); }; } &&
90550          { ac_try='test -s conftest$ac_exeext'
90551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90552   (eval $ac_try) 2>&5
90553   ac_status=$?
90554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90555   (exit $ac_status); }; }; then
90556   eval "$as_ac_var=yes"
90557 else
90558   echo "$as_me: failed program was:" >&5
90559 sed 's/^/| /' conftest.$ac_ext >&5
90560
90561 eval "$as_ac_var=no"
90562 fi
90563 rm -f conftest.err conftest.$ac_objext \
90564       conftest$ac_exeext conftest.$ac_ext
90565 fi
90566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90568 if test `eval echo '${'$as_ac_var'}'` = yes; then
90569   cat >>confdefs.h <<_ACEOF
90570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90571 _ACEOF
90572
90573 fi
90574 done
90575
90576     fi
90577   fi
90578
90579
90580
90581
90582
90583
90584   echo "$as_me:$LINENO: checking for hypot declaration" >&5
90585 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
90586   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
90587     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
90588   echo $ECHO_N "(cached) $ECHO_C" >&6
90589 else
90590
90591
90592
90593       ac_ext=cc
90594 ac_cpp='$CXXCPP $CPPFLAGS'
90595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90598
90599       cat >conftest.$ac_ext <<_ACEOF
90600 /* confdefs.h.  */
90601 _ACEOF
90602 cat confdefs.h >>conftest.$ac_ext
90603 cat >>conftest.$ac_ext <<_ACEOF
90604 /* end confdefs.h.  */
90605 #include <math.h>
90606 int
90607 main ()
90608 {
90609  hypot(0, 0);
90610   ;
90611   return 0;
90612 }
90613 _ACEOF
90614 rm -f conftest.$ac_objext
90615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90616   (eval $ac_compile) 2>conftest.er1
90617   ac_status=$?
90618   grep -v '^ *+' conftest.er1 >conftest.err
90619   rm -f conftest.er1
90620   cat conftest.err >&5
90621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90622   (exit $ac_status); } &&
90623          { ac_try='test -z "$ac_cxx_werror_flag"
90624                          || test ! -s conftest.err'
90625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90626   (eval $ac_try) 2>&5
90627   ac_status=$?
90628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90629   (exit $ac_status); }; } &&
90630          { ac_try='test -s conftest.$ac_objext'
90631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90632   (eval $ac_try) 2>&5
90633   ac_status=$?
90634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90635   (exit $ac_status); }; }; then
90636   glibcxx_cv_func_hypot_use=yes
90637 else
90638   echo "$as_me: failed program was:" >&5
90639 sed 's/^/| /' conftest.$ac_ext >&5
90640
90641 glibcxx_cv_func_hypot_use=no
90642 fi
90643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90644       ac_ext=c
90645 ac_cpp='$CPP $CPPFLAGS'
90646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90649
90650
90651 fi
90652
90653   fi
90654   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
90655 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
90656
90657   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
90658
90659 for ac_func in hypot
90660 do
90661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90662 echo "$as_me:$LINENO: checking for $ac_func" >&5
90663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90664 if eval "test \"\${$as_ac_var+set}\" = set"; then
90665   echo $ECHO_N "(cached) $ECHO_C" >&6
90666 else
90667   if test x$gcc_no_link = xyes; then
90668   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90670    { (exit 1); exit 1; }; }
90671 fi
90672 cat >conftest.$ac_ext <<_ACEOF
90673 /* confdefs.h.  */
90674 _ACEOF
90675 cat confdefs.h >>conftest.$ac_ext
90676 cat >>conftest.$ac_ext <<_ACEOF
90677 /* end confdefs.h.  */
90678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90679    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90680 #define $ac_func innocuous_$ac_func
90681
90682 /* System header to define __stub macros and hopefully few prototypes,
90683     which can conflict with char $ac_func (); below.
90684     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90685     <limits.h> exists even on freestanding compilers.  */
90686
90687 #ifdef __STDC__
90688 # include <limits.h>
90689 #else
90690 # include <assert.h>
90691 #endif
90692
90693 #undef $ac_func
90694
90695 /* Override any gcc2 internal prototype to avoid an error.  */
90696 #ifdef __cplusplus
90697 extern "C"
90698 {
90699 #endif
90700 /* We use char because int might match the return type of a gcc2
90701    builtin and then its argument prototype would still apply.  */
90702 char $ac_func ();
90703 /* The GNU C library defines this for functions which it implements
90704     to always fail with ENOSYS.  Some functions are actually named
90705     something starting with __ and the normal name is an alias.  */
90706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90707 choke me
90708 #else
90709 char (*f) () = $ac_func;
90710 #endif
90711 #ifdef __cplusplus
90712 }
90713 #endif
90714
90715 int
90716 main ()
90717 {
90718 return f != $ac_func;
90719   ;
90720   return 0;
90721 }
90722 _ACEOF
90723 rm -f conftest.$ac_objext conftest$ac_exeext
90724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90725   (eval $ac_link) 2>conftest.er1
90726   ac_status=$?
90727   grep -v '^ *+' conftest.er1 >conftest.err
90728   rm -f conftest.er1
90729   cat conftest.err >&5
90730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90731   (exit $ac_status); } &&
90732          { ac_try='test -z "$ac_c_werror_flag"
90733                          || test ! -s conftest.err'
90734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90735   (eval $ac_try) 2>&5
90736   ac_status=$?
90737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90738   (exit $ac_status); }; } &&
90739          { ac_try='test -s conftest$ac_exeext'
90740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90741   (eval $ac_try) 2>&5
90742   ac_status=$?
90743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90744   (exit $ac_status); }; }; then
90745   eval "$as_ac_var=yes"
90746 else
90747   echo "$as_me: failed program was:" >&5
90748 sed 's/^/| /' conftest.$ac_ext >&5
90749
90750 eval "$as_ac_var=no"
90751 fi
90752 rm -f conftest.err conftest.$ac_objext \
90753       conftest$ac_exeext conftest.$ac_ext
90754 fi
90755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90757 if test `eval echo '${'$as_ac_var'}'` = yes; then
90758   cat >>confdefs.h <<_ACEOF
90759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90760 _ACEOF
90761
90762 fi
90763 done
90764
90765   else
90766
90767   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
90768 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
90769   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
90770     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
90771   echo $ECHO_N "(cached) $ECHO_C" >&6
90772 else
90773
90774
90775
90776       ac_ext=cc
90777 ac_cpp='$CXXCPP $CPPFLAGS'
90778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90781
90782       cat >conftest.$ac_ext <<_ACEOF
90783 /* confdefs.h.  */
90784 _ACEOF
90785 cat confdefs.h >>conftest.$ac_ext
90786 cat >>conftest.$ac_ext <<_ACEOF
90787 /* end confdefs.h.  */
90788 #include <math.h>
90789 int
90790 main ()
90791 {
90792  _hypot(0, 0);
90793   ;
90794   return 0;
90795 }
90796 _ACEOF
90797 rm -f conftest.$ac_objext
90798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90799   (eval $ac_compile) 2>conftest.er1
90800   ac_status=$?
90801   grep -v '^ *+' conftest.er1 >conftest.err
90802   rm -f conftest.er1
90803   cat conftest.err >&5
90804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90805   (exit $ac_status); } &&
90806          { ac_try='test -z "$ac_cxx_werror_flag"
90807                          || test ! -s conftest.err'
90808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90809   (eval $ac_try) 2>&5
90810   ac_status=$?
90811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90812   (exit $ac_status); }; } &&
90813          { ac_try='test -s conftest.$ac_objext'
90814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90815   (eval $ac_try) 2>&5
90816   ac_status=$?
90817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90818   (exit $ac_status); }; }; then
90819   glibcxx_cv_func__hypot_use=yes
90820 else
90821   echo "$as_me: failed program was:" >&5
90822 sed 's/^/| /' conftest.$ac_ext >&5
90823
90824 glibcxx_cv_func__hypot_use=no
90825 fi
90826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90827       ac_ext=c
90828 ac_cpp='$CPP $CPPFLAGS'
90829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90832
90833
90834 fi
90835
90836   fi
90837   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
90838 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
90839
90840     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
90841
90842 for ac_func in _hypot
90843 do
90844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90845 echo "$as_me:$LINENO: checking for $ac_func" >&5
90846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90847 if eval "test \"\${$as_ac_var+set}\" = set"; then
90848   echo $ECHO_N "(cached) $ECHO_C" >&6
90849 else
90850   if test x$gcc_no_link = xyes; then
90851   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90853    { (exit 1); exit 1; }; }
90854 fi
90855 cat >conftest.$ac_ext <<_ACEOF
90856 /* confdefs.h.  */
90857 _ACEOF
90858 cat confdefs.h >>conftest.$ac_ext
90859 cat >>conftest.$ac_ext <<_ACEOF
90860 /* end confdefs.h.  */
90861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90862    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90863 #define $ac_func innocuous_$ac_func
90864
90865 /* System header to define __stub macros and hopefully few prototypes,
90866     which can conflict with char $ac_func (); below.
90867     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90868     <limits.h> exists even on freestanding compilers.  */
90869
90870 #ifdef __STDC__
90871 # include <limits.h>
90872 #else
90873 # include <assert.h>
90874 #endif
90875
90876 #undef $ac_func
90877
90878 /* Override any gcc2 internal prototype to avoid an error.  */
90879 #ifdef __cplusplus
90880 extern "C"
90881 {
90882 #endif
90883 /* We use char because int might match the return type of a gcc2
90884    builtin and then its argument prototype would still apply.  */
90885 char $ac_func ();
90886 /* The GNU C library defines this for functions which it implements
90887     to always fail with ENOSYS.  Some functions are actually named
90888     something starting with __ and the normal name is an alias.  */
90889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90890 choke me
90891 #else
90892 char (*f) () = $ac_func;
90893 #endif
90894 #ifdef __cplusplus
90895 }
90896 #endif
90897
90898 int
90899 main ()
90900 {
90901 return f != $ac_func;
90902   ;
90903   return 0;
90904 }
90905 _ACEOF
90906 rm -f conftest.$ac_objext conftest$ac_exeext
90907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90908   (eval $ac_link) 2>conftest.er1
90909   ac_status=$?
90910   grep -v '^ *+' conftest.er1 >conftest.err
90911   rm -f conftest.er1
90912   cat conftest.err >&5
90913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90914   (exit $ac_status); } &&
90915          { ac_try='test -z "$ac_c_werror_flag"
90916                          || test ! -s conftest.err'
90917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90918   (eval $ac_try) 2>&5
90919   ac_status=$?
90920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90921   (exit $ac_status); }; } &&
90922          { ac_try='test -s conftest$ac_exeext'
90923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90924   (eval $ac_try) 2>&5
90925   ac_status=$?
90926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90927   (exit $ac_status); }; }; then
90928   eval "$as_ac_var=yes"
90929 else
90930   echo "$as_me: failed program was:" >&5
90931 sed 's/^/| /' conftest.$ac_ext >&5
90932
90933 eval "$as_ac_var=no"
90934 fi
90935 rm -f conftest.err conftest.$ac_objext \
90936       conftest$ac_exeext conftest.$ac_ext
90937 fi
90938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90940 if test `eval echo '${'$as_ac_var'}'` = yes; then
90941   cat >>confdefs.h <<_ACEOF
90942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90943 _ACEOF
90944
90945 fi
90946 done
90947
90948     fi
90949   fi
90950
90951
90952
90953
90954
90955
90956     echo "$as_me:$LINENO: checking for float trig functions" >&5
90957 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
90958   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
90959   echo $ECHO_N "(cached) $ECHO_C" >&6
90960 else
90961
90962
90963
90964     ac_ext=cc
90965 ac_cpp='$CXXCPP $CPPFLAGS'
90966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90969
90970     cat >conftest.$ac_ext <<_ACEOF
90971 /* confdefs.h.  */
90972 _ACEOF
90973 cat confdefs.h >>conftest.$ac_ext
90974 cat >>conftest.$ac_ext <<_ACEOF
90975 /* end confdefs.h.  */
90976 #include <math.h>
90977 int
90978 main ()
90979 {
90980 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
90981   ;
90982   return 0;
90983 }
90984 _ACEOF
90985 rm -f conftest.$ac_objext
90986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90987   (eval $ac_compile) 2>conftest.er1
90988   ac_status=$?
90989   grep -v '^ *+' conftest.er1 >conftest.err
90990   rm -f conftest.er1
90991   cat conftest.err >&5
90992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90993   (exit $ac_status); } &&
90994          { ac_try='test -z "$ac_cxx_werror_flag"
90995                          || test ! -s conftest.err'
90996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90997   (eval $ac_try) 2>&5
90998   ac_status=$?
90999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91000   (exit $ac_status); }; } &&
91001          { ac_try='test -s conftest.$ac_objext'
91002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91003   (eval $ac_try) 2>&5
91004   ac_status=$?
91005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91006   (exit $ac_status); }; }; then
91007   glibcxx_cv_func_float_trig_use=yes
91008 else
91009   echo "$as_me: failed program was:" >&5
91010 sed 's/^/| /' conftest.$ac_ext >&5
91011
91012 glibcxx_cv_func_float_trig_use=no
91013 fi
91014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91015     ac_ext=c
91016 ac_cpp='$CPP $CPPFLAGS'
91017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91020
91021 fi
91022
91023   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
91024 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
91025   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
91026
91027
91028
91029
91030
91031
91032
91033
91034
91035 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
91036 do
91037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91038 echo "$as_me:$LINENO: checking for $ac_func" >&5
91039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91040 if eval "test \"\${$as_ac_var+set}\" = set"; then
91041   echo $ECHO_N "(cached) $ECHO_C" >&6
91042 else
91043   if test x$gcc_no_link = xyes; then
91044   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91046    { (exit 1); exit 1; }; }
91047 fi
91048 cat >conftest.$ac_ext <<_ACEOF
91049 /* confdefs.h.  */
91050 _ACEOF
91051 cat confdefs.h >>conftest.$ac_ext
91052 cat >>conftest.$ac_ext <<_ACEOF
91053 /* end confdefs.h.  */
91054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91055    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91056 #define $ac_func innocuous_$ac_func
91057
91058 /* System header to define __stub macros and hopefully few prototypes,
91059     which can conflict with char $ac_func (); below.
91060     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91061     <limits.h> exists even on freestanding compilers.  */
91062
91063 #ifdef __STDC__
91064 # include <limits.h>
91065 #else
91066 # include <assert.h>
91067 #endif
91068
91069 #undef $ac_func
91070
91071 /* Override any gcc2 internal prototype to avoid an error.  */
91072 #ifdef __cplusplus
91073 extern "C"
91074 {
91075 #endif
91076 /* We use char because int might match the return type of a gcc2
91077    builtin and then its argument prototype would still apply.  */
91078 char $ac_func ();
91079 /* The GNU C library defines this for functions which it implements
91080     to always fail with ENOSYS.  Some functions are actually named
91081     something starting with __ and the normal name is an alias.  */
91082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91083 choke me
91084 #else
91085 char (*f) () = $ac_func;
91086 #endif
91087 #ifdef __cplusplus
91088 }
91089 #endif
91090
91091 int
91092 main ()
91093 {
91094 return f != $ac_func;
91095   ;
91096   return 0;
91097 }
91098 _ACEOF
91099 rm -f conftest.$ac_objext conftest$ac_exeext
91100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91101   (eval $ac_link) 2>conftest.er1
91102   ac_status=$?
91103   grep -v '^ *+' conftest.er1 >conftest.err
91104   rm -f conftest.er1
91105   cat conftest.err >&5
91106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91107   (exit $ac_status); } &&
91108          { ac_try='test -z "$ac_c_werror_flag"
91109                          || test ! -s conftest.err'
91110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91111   (eval $ac_try) 2>&5
91112   ac_status=$?
91113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91114   (exit $ac_status); }; } &&
91115          { ac_try='test -s conftest$ac_exeext'
91116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91117   (eval $ac_try) 2>&5
91118   ac_status=$?
91119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91120   (exit $ac_status); }; }; then
91121   eval "$as_ac_var=yes"
91122 else
91123   echo "$as_me: failed program was:" >&5
91124 sed 's/^/| /' conftest.$ac_ext >&5
91125
91126 eval "$as_ac_var=no"
91127 fi
91128 rm -f conftest.err conftest.$ac_objext \
91129       conftest$ac_exeext conftest.$ac_ext
91130 fi
91131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91133 if test `eval echo '${'$as_ac_var'}'` = yes; then
91134   cat >>confdefs.h <<_ACEOF
91135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91136 _ACEOF
91137
91138 fi
91139 done
91140
91141   else
91142     echo "$as_me:$LINENO: checking for _float trig functions" >&5
91143 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
91144     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
91145   echo $ECHO_N "(cached) $ECHO_C" >&6
91146 else
91147
91148
91149
91150       ac_ext=cc
91151 ac_cpp='$CXXCPP $CPPFLAGS'
91152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91155
91156       cat >conftest.$ac_ext <<_ACEOF
91157 /* confdefs.h.  */
91158 _ACEOF
91159 cat confdefs.h >>conftest.$ac_ext
91160 cat >>conftest.$ac_ext <<_ACEOF
91161 /* end confdefs.h.  */
91162 #include <math.h>
91163 int
91164 main ()
91165 {
91166 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
91167   ;
91168   return 0;
91169 }
91170 _ACEOF
91171 rm -f conftest.$ac_objext
91172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91173   (eval $ac_compile) 2>conftest.er1
91174   ac_status=$?
91175   grep -v '^ *+' conftest.er1 >conftest.err
91176   rm -f conftest.er1
91177   cat conftest.err >&5
91178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91179   (exit $ac_status); } &&
91180          { ac_try='test -z "$ac_cxx_werror_flag"
91181                          || test ! -s conftest.err'
91182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91183   (eval $ac_try) 2>&5
91184   ac_status=$?
91185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91186   (exit $ac_status); }; } &&
91187          { ac_try='test -s conftest.$ac_objext'
91188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91189   (eval $ac_try) 2>&5
91190   ac_status=$?
91191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91192   (exit $ac_status); }; }; then
91193   glibcxx_cv_func__float_trig_use=yes
91194 else
91195   echo "$as_me: failed program was:" >&5
91196 sed 's/^/| /' conftest.$ac_ext >&5
91197
91198 glibcxx_cv_func__float_trig_use=no
91199 fi
91200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91201       ac_ext=c
91202 ac_cpp='$CPP $CPPFLAGS'
91203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91206
91207 fi
91208
91209     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
91210 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
91211     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
91212
91213
91214
91215
91216
91217
91218
91219
91220
91221 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
91222 do
91223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91224 echo "$as_me:$LINENO: checking for $ac_func" >&5
91225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91226 if eval "test \"\${$as_ac_var+set}\" = set"; then
91227   echo $ECHO_N "(cached) $ECHO_C" >&6
91228 else
91229   if test x$gcc_no_link = xyes; then
91230   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91232    { (exit 1); exit 1; }; }
91233 fi
91234 cat >conftest.$ac_ext <<_ACEOF
91235 /* confdefs.h.  */
91236 _ACEOF
91237 cat confdefs.h >>conftest.$ac_ext
91238 cat >>conftest.$ac_ext <<_ACEOF
91239 /* end confdefs.h.  */
91240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91241    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91242 #define $ac_func innocuous_$ac_func
91243
91244 /* System header to define __stub macros and hopefully few prototypes,
91245     which can conflict with char $ac_func (); below.
91246     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91247     <limits.h> exists even on freestanding compilers.  */
91248
91249 #ifdef __STDC__
91250 # include <limits.h>
91251 #else
91252 # include <assert.h>
91253 #endif
91254
91255 #undef $ac_func
91256
91257 /* Override any gcc2 internal prototype to avoid an error.  */
91258 #ifdef __cplusplus
91259 extern "C"
91260 {
91261 #endif
91262 /* We use char because int might match the return type of a gcc2
91263    builtin and then its argument prototype would still apply.  */
91264 char $ac_func ();
91265 /* The GNU C library defines this for functions which it implements
91266     to always fail with ENOSYS.  Some functions are actually named
91267     something starting with __ and the normal name is an alias.  */
91268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91269 choke me
91270 #else
91271 char (*f) () = $ac_func;
91272 #endif
91273 #ifdef __cplusplus
91274 }
91275 #endif
91276
91277 int
91278 main ()
91279 {
91280 return f != $ac_func;
91281   ;
91282   return 0;
91283 }
91284 _ACEOF
91285 rm -f conftest.$ac_objext conftest$ac_exeext
91286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91287   (eval $ac_link) 2>conftest.er1
91288   ac_status=$?
91289   grep -v '^ *+' conftest.er1 >conftest.err
91290   rm -f conftest.er1
91291   cat conftest.err >&5
91292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91293   (exit $ac_status); } &&
91294          { ac_try='test -z "$ac_c_werror_flag"
91295                          || test ! -s conftest.err'
91296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91297   (eval $ac_try) 2>&5
91298   ac_status=$?
91299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91300   (exit $ac_status); }; } &&
91301          { ac_try='test -s conftest$ac_exeext'
91302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91303   (eval $ac_try) 2>&5
91304   ac_status=$?
91305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91306   (exit $ac_status); }; }; then
91307   eval "$as_ac_var=yes"
91308 else
91309   echo "$as_me: failed program was:" >&5
91310 sed 's/^/| /' conftest.$ac_ext >&5
91311
91312 eval "$as_ac_var=no"
91313 fi
91314 rm -f conftest.err conftest.$ac_objext \
91315       conftest$ac_exeext conftest.$ac_ext
91316 fi
91317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91319 if test `eval echo '${'$as_ac_var'}'` = yes; then
91320   cat >>confdefs.h <<_ACEOF
91321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91322 _ACEOF
91323
91324 fi
91325 done
91326
91327     fi
91328   fi
91329
91330
91331
91332
91333
91334
91335
91336
91337
91338
91339
91340
91341
91342
91343     echo "$as_me:$LINENO: checking for float round functions" >&5
91344 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
91345   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
91346   echo $ECHO_N "(cached) $ECHO_C" >&6
91347 else
91348
91349
91350
91351     ac_ext=cc
91352 ac_cpp='$CXXCPP $CPPFLAGS'
91353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91356
91357     cat >conftest.$ac_ext <<_ACEOF
91358 /* confdefs.h.  */
91359 _ACEOF
91360 cat confdefs.h >>conftest.$ac_ext
91361 cat >>conftest.$ac_ext <<_ACEOF
91362 /* end confdefs.h.  */
91363 #include <math.h>
91364 int
91365 main ()
91366 {
91367 ceilf (0); floorf (0);
91368   ;
91369   return 0;
91370 }
91371 _ACEOF
91372 rm -f conftest.$ac_objext
91373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91374   (eval $ac_compile) 2>conftest.er1
91375   ac_status=$?
91376   grep -v '^ *+' conftest.er1 >conftest.err
91377   rm -f conftest.er1
91378   cat conftest.err >&5
91379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91380   (exit $ac_status); } &&
91381          { ac_try='test -z "$ac_cxx_werror_flag"
91382                          || test ! -s conftest.err'
91383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91384   (eval $ac_try) 2>&5
91385   ac_status=$?
91386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91387   (exit $ac_status); }; } &&
91388          { ac_try='test -s conftest.$ac_objext'
91389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91390   (eval $ac_try) 2>&5
91391   ac_status=$?
91392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91393   (exit $ac_status); }; }; then
91394   glibcxx_cv_func_float_round_use=yes
91395 else
91396   echo "$as_me: failed program was:" >&5
91397 sed 's/^/| /' conftest.$ac_ext >&5
91398
91399 glibcxx_cv_func_float_round_use=no
91400 fi
91401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91402     ac_ext=c
91403 ac_cpp='$CPP $CPPFLAGS'
91404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91407
91408 fi
91409
91410   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
91411 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
91412   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
91413
91414
91415 for ac_func in ceilf floorf
91416 do
91417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91418 echo "$as_me:$LINENO: checking for $ac_func" >&5
91419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91420 if eval "test \"\${$as_ac_var+set}\" = set"; then
91421   echo $ECHO_N "(cached) $ECHO_C" >&6
91422 else
91423   if test x$gcc_no_link = xyes; then
91424   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91426    { (exit 1); exit 1; }; }
91427 fi
91428 cat >conftest.$ac_ext <<_ACEOF
91429 /* confdefs.h.  */
91430 _ACEOF
91431 cat confdefs.h >>conftest.$ac_ext
91432 cat >>conftest.$ac_ext <<_ACEOF
91433 /* end confdefs.h.  */
91434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91435    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91436 #define $ac_func innocuous_$ac_func
91437
91438 /* System header to define __stub macros and hopefully few prototypes,
91439     which can conflict with char $ac_func (); below.
91440     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91441     <limits.h> exists even on freestanding compilers.  */
91442
91443 #ifdef __STDC__
91444 # include <limits.h>
91445 #else
91446 # include <assert.h>
91447 #endif
91448
91449 #undef $ac_func
91450
91451 /* Override any gcc2 internal prototype to avoid an error.  */
91452 #ifdef __cplusplus
91453 extern "C"
91454 {
91455 #endif
91456 /* We use char because int might match the return type of a gcc2
91457    builtin and then its argument prototype would still apply.  */
91458 char $ac_func ();
91459 /* The GNU C library defines this for functions which it implements
91460     to always fail with ENOSYS.  Some functions are actually named
91461     something starting with __ and the normal name is an alias.  */
91462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91463 choke me
91464 #else
91465 char (*f) () = $ac_func;
91466 #endif
91467 #ifdef __cplusplus
91468 }
91469 #endif
91470
91471 int
91472 main ()
91473 {
91474 return f != $ac_func;
91475   ;
91476   return 0;
91477 }
91478 _ACEOF
91479 rm -f conftest.$ac_objext conftest$ac_exeext
91480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91481   (eval $ac_link) 2>conftest.er1
91482   ac_status=$?
91483   grep -v '^ *+' conftest.er1 >conftest.err
91484   rm -f conftest.er1
91485   cat conftest.err >&5
91486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91487   (exit $ac_status); } &&
91488          { ac_try='test -z "$ac_c_werror_flag"
91489                          || test ! -s conftest.err'
91490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91491   (eval $ac_try) 2>&5
91492   ac_status=$?
91493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91494   (exit $ac_status); }; } &&
91495          { ac_try='test -s conftest$ac_exeext'
91496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91497   (eval $ac_try) 2>&5
91498   ac_status=$?
91499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91500   (exit $ac_status); }; }; then
91501   eval "$as_ac_var=yes"
91502 else
91503   echo "$as_me: failed program was:" >&5
91504 sed 's/^/| /' conftest.$ac_ext >&5
91505
91506 eval "$as_ac_var=no"
91507 fi
91508 rm -f conftest.err conftest.$ac_objext \
91509       conftest$ac_exeext conftest.$ac_ext
91510 fi
91511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91513 if test `eval echo '${'$as_ac_var'}'` = yes; then
91514   cat >>confdefs.h <<_ACEOF
91515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91516 _ACEOF
91517
91518 fi
91519 done
91520
91521   else
91522     echo "$as_me:$LINENO: checking for _float round functions" >&5
91523 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
91524     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
91525   echo $ECHO_N "(cached) $ECHO_C" >&6
91526 else
91527
91528
91529
91530       ac_ext=cc
91531 ac_cpp='$CXXCPP $CPPFLAGS'
91532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91535
91536       cat >conftest.$ac_ext <<_ACEOF
91537 /* confdefs.h.  */
91538 _ACEOF
91539 cat confdefs.h >>conftest.$ac_ext
91540 cat >>conftest.$ac_ext <<_ACEOF
91541 /* end confdefs.h.  */
91542 #include <math.h>
91543 int
91544 main ()
91545 {
91546 _ceilf (0); _floorf (0);
91547   ;
91548   return 0;
91549 }
91550 _ACEOF
91551 rm -f conftest.$ac_objext
91552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91553   (eval $ac_compile) 2>conftest.er1
91554   ac_status=$?
91555   grep -v '^ *+' conftest.er1 >conftest.err
91556   rm -f conftest.er1
91557   cat conftest.err >&5
91558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91559   (exit $ac_status); } &&
91560          { ac_try='test -z "$ac_cxx_werror_flag"
91561                          || test ! -s conftest.err'
91562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91563   (eval $ac_try) 2>&5
91564   ac_status=$?
91565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91566   (exit $ac_status); }; } &&
91567          { ac_try='test -s conftest.$ac_objext'
91568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91569   (eval $ac_try) 2>&5
91570   ac_status=$?
91571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91572   (exit $ac_status); }; }; then
91573   glibcxx_cv_func__float_round_use=yes
91574 else
91575   echo "$as_me: failed program was:" >&5
91576 sed 's/^/| /' conftest.$ac_ext >&5
91577
91578 glibcxx_cv_func__float_round_use=no
91579 fi
91580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91581       ac_ext=c
91582 ac_cpp='$CPP $CPPFLAGS'
91583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91586
91587 fi
91588
91589     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
91590 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
91591     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
91592
91593
91594 for ac_func in _ceilf _floorf
91595 do
91596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91597 echo "$as_me:$LINENO: checking for $ac_func" >&5
91598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91599 if eval "test \"\${$as_ac_var+set}\" = set"; then
91600   echo $ECHO_N "(cached) $ECHO_C" >&6
91601 else
91602   if test x$gcc_no_link = xyes; then
91603   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91605    { (exit 1); exit 1; }; }
91606 fi
91607 cat >conftest.$ac_ext <<_ACEOF
91608 /* confdefs.h.  */
91609 _ACEOF
91610 cat confdefs.h >>conftest.$ac_ext
91611 cat >>conftest.$ac_ext <<_ACEOF
91612 /* end confdefs.h.  */
91613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91614    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91615 #define $ac_func innocuous_$ac_func
91616
91617 /* System header to define __stub macros and hopefully few prototypes,
91618     which can conflict with char $ac_func (); below.
91619     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91620     <limits.h> exists even on freestanding compilers.  */
91621
91622 #ifdef __STDC__
91623 # include <limits.h>
91624 #else
91625 # include <assert.h>
91626 #endif
91627
91628 #undef $ac_func
91629
91630 /* Override any gcc2 internal prototype to avoid an error.  */
91631 #ifdef __cplusplus
91632 extern "C"
91633 {
91634 #endif
91635 /* We use char because int might match the return type of a gcc2
91636    builtin and then its argument prototype would still apply.  */
91637 char $ac_func ();
91638 /* The GNU C library defines this for functions which it implements
91639     to always fail with ENOSYS.  Some functions are actually named
91640     something starting with __ and the normal name is an alias.  */
91641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91642 choke me
91643 #else
91644 char (*f) () = $ac_func;
91645 #endif
91646 #ifdef __cplusplus
91647 }
91648 #endif
91649
91650 int
91651 main ()
91652 {
91653 return f != $ac_func;
91654   ;
91655   return 0;
91656 }
91657 _ACEOF
91658 rm -f conftest.$ac_objext conftest$ac_exeext
91659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91660   (eval $ac_link) 2>conftest.er1
91661   ac_status=$?
91662   grep -v '^ *+' conftest.er1 >conftest.err
91663   rm -f conftest.er1
91664   cat conftest.err >&5
91665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91666   (exit $ac_status); } &&
91667          { ac_try='test -z "$ac_c_werror_flag"
91668                          || test ! -s conftest.err'
91669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91670   (eval $ac_try) 2>&5
91671   ac_status=$?
91672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91673   (exit $ac_status); }; } &&
91674          { ac_try='test -s conftest$ac_exeext'
91675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91676   (eval $ac_try) 2>&5
91677   ac_status=$?
91678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91679   (exit $ac_status); }; }; then
91680   eval "$as_ac_var=yes"
91681 else
91682   echo "$as_me: failed program was:" >&5
91683 sed 's/^/| /' conftest.$ac_ext >&5
91684
91685 eval "$as_ac_var=no"
91686 fi
91687 rm -f conftest.err conftest.$ac_objext \
91688       conftest$ac_exeext conftest.$ac_ext
91689 fi
91690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91692 if test `eval echo '${'$as_ac_var'}'` = yes; then
91693   cat >>confdefs.h <<_ACEOF
91694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91695 _ACEOF
91696
91697 fi
91698 done
91699
91700     fi
91701   fi
91702
91703
91704
91705
91706
91707
91708
91709
91710   echo "$as_me:$LINENO: checking for expf declaration" >&5
91711 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
91712   if test x${glibcxx_cv_func_expf_use+set} != xset; then
91713     if test "${glibcxx_cv_func_expf_use+set}" = set; then
91714   echo $ECHO_N "(cached) $ECHO_C" >&6
91715 else
91716
91717
91718
91719       ac_ext=cc
91720 ac_cpp='$CXXCPP $CPPFLAGS'
91721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91724
91725       cat >conftest.$ac_ext <<_ACEOF
91726 /* confdefs.h.  */
91727 _ACEOF
91728 cat confdefs.h >>conftest.$ac_ext
91729 cat >>conftest.$ac_ext <<_ACEOF
91730 /* end confdefs.h.  */
91731 #include <math.h>
91732                       #ifdef HAVE_IEEEFP_H
91733                       #include <ieeefp.h>
91734                       #endif
91735
91736 int
91737 main ()
91738 {
91739  expf(0);
91740   ;
91741   return 0;
91742 }
91743 _ACEOF
91744 rm -f conftest.$ac_objext
91745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91746   (eval $ac_compile) 2>conftest.er1
91747   ac_status=$?
91748   grep -v '^ *+' conftest.er1 >conftest.err
91749   rm -f conftest.er1
91750   cat conftest.err >&5
91751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91752   (exit $ac_status); } &&
91753          { ac_try='test -z "$ac_cxx_werror_flag"
91754                          || test ! -s conftest.err'
91755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91756   (eval $ac_try) 2>&5
91757   ac_status=$?
91758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91759   (exit $ac_status); }; } &&
91760          { ac_try='test -s conftest.$ac_objext'
91761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91762   (eval $ac_try) 2>&5
91763   ac_status=$?
91764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91765   (exit $ac_status); }; }; then
91766   glibcxx_cv_func_expf_use=yes
91767 else
91768   echo "$as_me: failed program was:" >&5
91769 sed 's/^/| /' conftest.$ac_ext >&5
91770
91771 glibcxx_cv_func_expf_use=no
91772 fi
91773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91774       ac_ext=c
91775 ac_cpp='$CPP $CPPFLAGS'
91776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91779
91780
91781 fi
91782
91783   fi
91784   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
91785 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
91786
91787   if test x$glibcxx_cv_func_expf_use = x"yes"; then
91788
91789 for ac_func in expf
91790 do
91791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91792 echo "$as_me:$LINENO: checking for $ac_func" >&5
91793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91794 if eval "test \"\${$as_ac_var+set}\" = set"; then
91795   echo $ECHO_N "(cached) $ECHO_C" >&6
91796 else
91797   if test x$gcc_no_link = xyes; then
91798   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91800    { (exit 1); exit 1; }; }
91801 fi
91802 cat >conftest.$ac_ext <<_ACEOF
91803 /* confdefs.h.  */
91804 _ACEOF
91805 cat confdefs.h >>conftest.$ac_ext
91806 cat >>conftest.$ac_ext <<_ACEOF
91807 /* end confdefs.h.  */
91808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91809    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91810 #define $ac_func innocuous_$ac_func
91811
91812 /* System header to define __stub macros and hopefully few prototypes,
91813     which can conflict with char $ac_func (); below.
91814     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91815     <limits.h> exists even on freestanding compilers.  */
91816
91817 #ifdef __STDC__
91818 # include <limits.h>
91819 #else
91820 # include <assert.h>
91821 #endif
91822
91823 #undef $ac_func
91824
91825 /* Override any gcc2 internal prototype to avoid an error.  */
91826 #ifdef __cplusplus
91827 extern "C"
91828 {
91829 #endif
91830 /* We use char because int might match the return type of a gcc2
91831    builtin and then its argument prototype would still apply.  */
91832 char $ac_func ();
91833 /* The GNU C library defines this for functions which it implements
91834     to always fail with ENOSYS.  Some functions are actually named
91835     something starting with __ and the normal name is an alias.  */
91836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91837 choke me
91838 #else
91839 char (*f) () = $ac_func;
91840 #endif
91841 #ifdef __cplusplus
91842 }
91843 #endif
91844
91845 int
91846 main ()
91847 {
91848 return f != $ac_func;
91849   ;
91850   return 0;
91851 }
91852 _ACEOF
91853 rm -f conftest.$ac_objext conftest$ac_exeext
91854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91855   (eval $ac_link) 2>conftest.er1
91856   ac_status=$?
91857   grep -v '^ *+' conftest.er1 >conftest.err
91858   rm -f conftest.er1
91859   cat conftest.err >&5
91860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91861   (exit $ac_status); } &&
91862          { ac_try='test -z "$ac_c_werror_flag"
91863                          || test ! -s conftest.err'
91864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91865   (eval $ac_try) 2>&5
91866   ac_status=$?
91867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91868   (exit $ac_status); }; } &&
91869          { ac_try='test -s conftest$ac_exeext'
91870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91871   (eval $ac_try) 2>&5
91872   ac_status=$?
91873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91874   (exit $ac_status); }; }; then
91875   eval "$as_ac_var=yes"
91876 else
91877   echo "$as_me: failed program was:" >&5
91878 sed 's/^/| /' conftest.$ac_ext >&5
91879
91880 eval "$as_ac_var=no"
91881 fi
91882 rm -f conftest.err conftest.$ac_objext \
91883       conftest$ac_exeext conftest.$ac_ext
91884 fi
91885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91887 if test `eval echo '${'$as_ac_var'}'` = yes; then
91888   cat >>confdefs.h <<_ACEOF
91889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91890 _ACEOF
91891
91892 fi
91893 done
91894
91895   else
91896
91897   echo "$as_me:$LINENO: checking for _expf declaration" >&5
91898 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
91899   if test x${glibcxx_cv_func__expf_use+set} != xset; then
91900     if test "${glibcxx_cv_func__expf_use+set}" = set; then
91901   echo $ECHO_N "(cached) $ECHO_C" >&6
91902 else
91903
91904
91905
91906       ac_ext=cc
91907 ac_cpp='$CXXCPP $CPPFLAGS'
91908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91911
91912       cat >conftest.$ac_ext <<_ACEOF
91913 /* confdefs.h.  */
91914 _ACEOF
91915 cat confdefs.h >>conftest.$ac_ext
91916 cat >>conftest.$ac_ext <<_ACEOF
91917 /* end confdefs.h.  */
91918 #include <math.h>
91919                       #ifdef HAVE_IEEEFP_H
91920                       #include <ieeefp.h>
91921                       #endif
91922
91923 int
91924 main ()
91925 {
91926  _expf(0);
91927   ;
91928   return 0;
91929 }
91930 _ACEOF
91931 rm -f conftest.$ac_objext
91932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91933   (eval $ac_compile) 2>conftest.er1
91934   ac_status=$?
91935   grep -v '^ *+' conftest.er1 >conftest.err
91936   rm -f conftest.er1
91937   cat conftest.err >&5
91938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91939   (exit $ac_status); } &&
91940          { ac_try='test -z "$ac_cxx_werror_flag"
91941                          || test ! -s conftest.err'
91942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91943   (eval $ac_try) 2>&5
91944   ac_status=$?
91945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91946   (exit $ac_status); }; } &&
91947          { ac_try='test -s conftest.$ac_objext'
91948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91949   (eval $ac_try) 2>&5
91950   ac_status=$?
91951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91952   (exit $ac_status); }; }; then
91953   glibcxx_cv_func__expf_use=yes
91954 else
91955   echo "$as_me: failed program was:" >&5
91956 sed 's/^/| /' conftest.$ac_ext >&5
91957
91958 glibcxx_cv_func__expf_use=no
91959 fi
91960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91961       ac_ext=c
91962 ac_cpp='$CPP $CPPFLAGS'
91963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91966
91967
91968 fi
91969
91970   fi
91971   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
91972 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
91973
91974     if test x$glibcxx_cv_func__expf_use = x"yes"; then
91975
91976 for ac_func in _expf
91977 do
91978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91979 echo "$as_me:$LINENO: checking for $ac_func" >&5
91980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91981 if eval "test \"\${$as_ac_var+set}\" = set"; then
91982   echo $ECHO_N "(cached) $ECHO_C" >&6
91983 else
91984   if test x$gcc_no_link = xyes; then
91985   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91987    { (exit 1); exit 1; }; }
91988 fi
91989 cat >conftest.$ac_ext <<_ACEOF
91990 /* confdefs.h.  */
91991 _ACEOF
91992 cat confdefs.h >>conftest.$ac_ext
91993 cat >>conftest.$ac_ext <<_ACEOF
91994 /* end confdefs.h.  */
91995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91996    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91997 #define $ac_func innocuous_$ac_func
91998
91999 /* System header to define __stub macros and hopefully few prototypes,
92000     which can conflict with char $ac_func (); below.
92001     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92002     <limits.h> exists even on freestanding compilers.  */
92003
92004 #ifdef __STDC__
92005 # include <limits.h>
92006 #else
92007 # include <assert.h>
92008 #endif
92009
92010 #undef $ac_func
92011
92012 /* Override any gcc2 internal prototype to avoid an error.  */
92013 #ifdef __cplusplus
92014 extern "C"
92015 {
92016 #endif
92017 /* We use char because int might match the return type of a gcc2
92018    builtin and then its argument prototype would still apply.  */
92019 char $ac_func ();
92020 /* The GNU C library defines this for functions which it implements
92021     to always fail with ENOSYS.  Some functions are actually named
92022     something starting with __ and the normal name is an alias.  */
92023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92024 choke me
92025 #else
92026 char (*f) () = $ac_func;
92027 #endif
92028 #ifdef __cplusplus
92029 }
92030 #endif
92031
92032 int
92033 main ()
92034 {
92035 return f != $ac_func;
92036   ;
92037   return 0;
92038 }
92039 _ACEOF
92040 rm -f conftest.$ac_objext conftest$ac_exeext
92041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92042   (eval $ac_link) 2>conftest.er1
92043   ac_status=$?
92044   grep -v '^ *+' conftest.er1 >conftest.err
92045   rm -f conftest.er1
92046   cat conftest.err >&5
92047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92048   (exit $ac_status); } &&
92049          { ac_try='test -z "$ac_c_werror_flag"
92050                          || test ! -s conftest.err'
92051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92052   (eval $ac_try) 2>&5
92053   ac_status=$?
92054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92055   (exit $ac_status); }; } &&
92056          { ac_try='test -s conftest$ac_exeext'
92057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92058   (eval $ac_try) 2>&5
92059   ac_status=$?
92060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92061   (exit $ac_status); }; }; then
92062   eval "$as_ac_var=yes"
92063 else
92064   echo "$as_me: failed program was:" >&5
92065 sed 's/^/| /' conftest.$ac_ext >&5
92066
92067 eval "$as_ac_var=no"
92068 fi
92069 rm -f conftest.err conftest.$ac_objext \
92070       conftest$ac_exeext conftest.$ac_ext
92071 fi
92072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92074 if test `eval echo '${'$as_ac_var'}'` = yes; then
92075   cat >>confdefs.h <<_ACEOF
92076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92077 _ACEOF
92078
92079 fi
92080 done
92081
92082     fi
92083   fi
92084
92085
92086
92087
92088
92089
92090   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
92091 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
92092   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
92093     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
92094   echo $ECHO_N "(cached) $ECHO_C" >&6
92095 else
92096
92097
92098
92099       ac_ext=cc
92100 ac_cpp='$CXXCPP $CPPFLAGS'
92101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92104
92105       cat >conftest.$ac_ext <<_ACEOF
92106 /* confdefs.h.  */
92107 _ACEOF
92108 cat confdefs.h >>conftest.$ac_ext
92109 cat >>conftest.$ac_ext <<_ACEOF
92110 /* end confdefs.h.  */
92111 #include <math.h>
92112                       #ifdef HAVE_IEEEFP_H
92113                       #include <ieeefp.h>
92114                       #endif
92115
92116 int
92117 main ()
92118 {
92119  isnanf(0);
92120   ;
92121   return 0;
92122 }
92123 _ACEOF
92124 rm -f conftest.$ac_objext
92125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92126   (eval $ac_compile) 2>conftest.er1
92127   ac_status=$?
92128   grep -v '^ *+' conftest.er1 >conftest.err
92129   rm -f conftest.er1
92130   cat conftest.err >&5
92131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92132   (exit $ac_status); } &&
92133          { ac_try='test -z "$ac_cxx_werror_flag"
92134                          || test ! -s conftest.err'
92135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92136   (eval $ac_try) 2>&5
92137   ac_status=$?
92138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92139   (exit $ac_status); }; } &&
92140          { ac_try='test -s conftest.$ac_objext'
92141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92142   (eval $ac_try) 2>&5
92143   ac_status=$?
92144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92145   (exit $ac_status); }; }; then
92146   glibcxx_cv_func_isnanf_use=yes
92147 else
92148   echo "$as_me: failed program was:" >&5
92149 sed 's/^/| /' conftest.$ac_ext >&5
92150
92151 glibcxx_cv_func_isnanf_use=no
92152 fi
92153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92154       ac_ext=c
92155 ac_cpp='$CPP $CPPFLAGS'
92156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92159
92160
92161 fi
92162
92163   fi
92164   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
92165 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
92166
92167   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
92168
92169 for ac_func in isnanf
92170 do
92171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92172 echo "$as_me:$LINENO: checking for $ac_func" >&5
92173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92174 if eval "test \"\${$as_ac_var+set}\" = set"; then
92175   echo $ECHO_N "(cached) $ECHO_C" >&6
92176 else
92177   if test x$gcc_no_link = xyes; then
92178   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92180    { (exit 1); exit 1; }; }
92181 fi
92182 cat >conftest.$ac_ext <<_ACEOF
92183 /* confdefs.h.  */
92184 _ACEOF
92185 cat confdefs.h >>conftest.$ac_ext
92186 cat >>conftest.$ac_ext <<_ACEOF
92187 /* end confdefs.h.  */
92188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92189    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92190 #define $ac_func innocuous_$ac_func
92191
92192 /* System header to define __stub macros and hopefully few prototypes,
92193     which can conflict with char $ac_func (); below.
92194     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92195     <limits.h> exists even on freestanding compilers.  */
92196
92197 #ifdef __STDC__
92198 # include <limits.h>
92199 #else
92200 # include <assert.h>
92201 #endif
92202
92203 #undef $ac_func
92204
92205 /* Override any gcc2 internal prototype to avoid an error.  */
92206 #ifdef __cplusplus
92207 extern "C"
92208 {
92209 #endif
92210 /* We use char because int might match the return type of a gcc2
92211    builtin and then its argument prototype would still apply.  */
92212 char $ac_func ();
92213 /* The GNU C library defines this for functions which it implements
92214     to always fail with ENOSYS.  Some functions are actually named
92215     something starting with __ and the normal name is an alias.  */
92216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92217 choke me
92218 #else
92219 char (*f) () = $ac_func;
92220 #endif
92221 #ifdef __cplusplus
92222 }
92223 #endif
92224
92225 int
92226 main ()
92227 {
92228 return f != $ac_func;
92229   ;
92230   return 0;
92231 }
92232 _ACEOF
92233 rm -f conftest.$ac_objext conftest$ac_exeext
92234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92235   (eval $ac_link) 2>conftest.er1
92236   ac_status=$?
92237   grep -v '^ *+' conftest.er1 >conftest.err
92238   rm -f conftest.er1
92239   cat conftest.err >&5
92240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92241   (exit $ac_status); } &&
92242          { ac_try='test -z "$ac_c_werror_flag"
92243                          || test ! -s conftest.err'
92244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92245   (eval $ac_try) 2>&5
92246   ac_status=$?
92247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92248   (exit $ac_status); }; } &&
92249          { ac_try='test -s conftest$ac_exeext'
92250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92251   (eval $ac_try) 2>&5
92252   ac_status=$?
92253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92254   (exit $ac_status); }; }; then
92255   eval "$as_ac_var=yes"
92256 else
92257   echo "$as_me: failed program was:" >&5
92258 sed 's/^/| /' conftest.$ac_ext >&5
92259
92260 eval "$as_ac_var=no"
92261 fi
92262 rm -f conftest.err conftest.$ac_objext \
92263       conftest$ac_exeext conftest.$ac_ext
92264 fi
92265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92267 if test `eval echo '${'$as_ac_var'}'` = yes; then
92268   cat >>confdefs.h <<_ACEOF
92269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92270 _ACEOF
92271
92272 fi
92273 done
92274
92275   else
92276
92277   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
92278 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
92279   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
92280     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
92281   echo $ECHO_N "(cached) $ECHO_C" >&6
92282 else
92283
92284
92285
92286       ac_ext=cc
92287 ac_cpp='$CXXCPP $CPPFLAGS'
92288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92291
92292       cat >conftest.$ac_ext <<_ACEOF
92293 /* confdefs.h.  */
92294 _ACEOF
92295 cat confdefs.h >>conftest.$ac_ext
92296 cat >>conftest.$ac_ext <<_ACEOF
92297 /* end confdefs.h.  */
92298 #include <math.h>
92299                       #ifdef HAVE_IEEEFP_H
92300                       #include <ieeefp.h>
92301                       #endif
92302
92303 int
92304 main ()
92305 {
92306  _isnanf(0);
92307   ;
92308   return 0;
92309 }
92310 _ACEOF
92311 rm -f conftest.$ac_objext
92312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92313   (eval $ac_compile) 2>conftest.er1
92314   ac_status=$?
92315   grep -v '^ *+' conftest.er1 >conftest.err
92316   rm -f conftest.er1
92317   cat conftest.err >&5
92318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92319   (exit $ac_status); } &&
92320          { ac_try='test -z "$ac_cxx_werror_flag"
92321                          || test ! -s conftest.err'
92322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92323   (eval $ac_try) 2>&5
92324   ac_status=$?
92325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92326   (exit $ac_status); }; } &&
92327          { ac_try='test -s conftest.$ac_objext'
92328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92329   (eval $ac_try) 2>&5
92330   ac_status=$?
92331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92332   (exit $ac_status); }; }; then
92333   glibcxx_cv_func__isnanf_use=yes
92334 else
92335   echo "$as_me: failed program was:" >&5
92336 sed 's/^/| /' conftest.$ac_ext >&5
92337
92338 glibcxx_cv_func__isnanf_use=no
92339 fi
92340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92341       ac_ext=c
92342 ac_cpp='$CPP $CPPFLAGS'
92343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92346
92347
92348 fi
92349
92350   fi
92351   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
92352 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
92353
92354     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
92355
92356 for ac_func in _isnanf
92357 do
92358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92359 echo "$as_me:$LINENO: checking for $ac_func" >&5
92360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92361 if eval "test \"\${$as_ac_var+set}\" = set"; then
92362   echo $ECHO_N "(cached) $ECHO_C" >&6
92363 else
92364   if test x$gcc_no_link = xyes; then
92365   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92367    { (exit 1); exit 1; }; }
92368 fi
92369 cat >conftest.$ac_ext <<_ACEOF
92370 /* confdefs.h.  */
92371 _ACEOF
92372 cat confdefs.h >>conftest.$ac_ext
92373 cat >>conftest.$ac_ext <<_ACEOF
92374 /* end confdefs.h.  */
92375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92376    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92377 #define $ac_func innocuous_$ac_func
92378
92379 /* System header to define __stub macros and hopefully few prototypes,
92380     which can conflict with char $ac_func (); below.
92381     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92382     <limits.h> exists even on freestanding compilers.  */
92383
92384 #ifdef __STDC__
92385 # include <limits.h>
92386 #else
92387 # include <assert.h>
92388 #endif
92389
92390 #undef $ac_func
92391
92392 /* Override any gcc2 internal prototype to avoid an error.  */
92393 #ifdef __cplusplus
92394 extern "C"
92395 {
92396 #endif
92397 /* We use char because int might match the return type of a gcc2
92398    builtin and then its argument prototype would still apply.  */
92399 char $ac_func ();
92400 /* The GNU C library defines this for functions which it implements
92401     to always fail with ENOSYS.  Some functions are actually named
92402     something starting with __ and the normal name is an alias.  */
92403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92404 choke me
92405 #else
92406 char (*f) () = $ac_func;
92407 #endif
92408 #ifdef __cplusplus
92409 }
92410 #endif
92411
92412 int
92413 main ()
92414 {
92415 return f != $ac_func;
92416   ;
92417   return 0;
92418 }
92419 _ACEOF
92420 rm -f conftest.$ac_objext conftest$ac_exeext
92421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92422   (eval $ac_link) 2>conftest.er1
92423   ac_status=$?
92424   grep -v '^ *+' conftest.er1 >conftest.err
92425   rm -f conftest.er1
92426   cat conftest.err >&5
92427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92428   (exit $ac_status); } &&
92429          { ac_try='test -z "$ac_c_werror_flag"
92430                          || test ! -s conftest.err'
92431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92432   (eval $ac_try) 2>&5
92433   ac_status=$?
92434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92435   (exit $ac_status); }; } &&
92436          { ac_try='test -s conftest$ac_exeext'
92437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92438   (eval $ac_try) 2>&5
92439   ac_status=$?
92440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92441   (exit $ac_status); }; }; then
92442   eval "$as_ac_var=yes"
92443 else
92444   echo "$as_me: failed program was:" >&5
92445 sed 's/^/| /' conftest.$ac_ext >&5
92446
92447 eval "$as_ac_var=no"
92448 fi
92449 rm -f conftest.err conftest.$ac_objext \
92450       conftest$ac_exeext conftest.$ac_ext
92451 fi
92452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92454 if test `eval echo '${'$as_ac_var'}'` = yes; then
92455   cat >>confdefs.h <<_ACEOF
92456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92457 _ACEOF
92458
92459 fi
92460 done
92461
92462     fi
92463   fi
92464
92465
92466
92467
92468
92469
92470   echo "$as_me:$LINENO: checking for isinff declaration" >&5
92471 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
92472   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
92473     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
92474   echo $ECHO_N "(cached) $ECHO_C" >&6
92475 else
92476
92477
92478
92479       ac_ext=cc
92480 ac_cpp='$CXXCPP $CPPFLAGS'
92481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92484
92485       cat >conftest.$ac_ext <<_ACEOF
92486 /* confdefs.h.  */
92487 _ACEOF
92488 cat confdefs.h >>conftest.$ac_ext
92489 cat >>conftest.$ac_ext <<_ACEOF
92490 /* end confdefs.h.  */
92491 #include <math.h>
92492                       #ifdef HAVE_IEEEFP_H
92493                       #include <ieeefp.h>
92494                       #endif
92495
92496 int
92497 main ()
92498 {
92499  isinff(0);
92500   ;
92501   return 0;
92502 }
92503 _ACEOF
92504 rm -f conftest.$ac_objext
92505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92506   (eval $ac_compile) 2>conftest.er1
92507   ac_status=$?
92508   grep -v '^ *+' conftest.er1 >conftest.err
92509   rm -f conftest.er1
92510   cat conftest.err >&5
92511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92512   (exit $ac_status); } &&
92513          { ac_try='test -z "$ac_cxx_werror_flag"
92514                          || test ! -s conftest.err'
92515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92516   (eval $ac_try) 2>&5
92517   ac_status=$?
92518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92519   (exit $ac_status); }; } &&
92520          { ac_try='test -s conftest.$ac_objext'
92521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92522   (eval $ac_try) 2>&5
92523   ac_status=$?
92524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92525   (exit $ac_status); }; }; then
92526   glibcxx_cv_func_isinff_use=yes
92527 else
92528   echo "$as_me: failed program was:" >&5
92529 sed 's/^/| /' conftest.$ac_ext >&5
92530
92531 glibcxx_cv_func_isinff_use=no
92532 fi
92533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92534       ac_ext=c
92535 ac_cpp='$CPP $CPPFLAGS'
92536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92539
92540
92541 fi
92542
92543   fi
92544   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
92545 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
92546
92547   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
92548
92549 for ac_func in isinff
92550 do
92551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92552 echo "$as_me:$LINENO: checking for $ac_func" >&5
92553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92554 if eval "test \"\${$as_ac_var+set}\" = set"; then
92555   echo $ECHO_N "(cached) $ECHO_C" >&6
92556 else
92557   if test x$gcc_no_link = xyes; then
92558   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92560    { (exit 1); exit 1; }; }
92561 fi
92562 cat >conftest.$ac_ext <<_ACEOF
92563 /* confdefs.h.  */
92564 _ACEOF
92565 cat confdefs.h >>conftest.$ac_ext
92566 cat >>conftest.$ac_ext <<_ACEOF
92567 /* end confdefs.h.  */
92568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92569    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92570 #define $ac_func innocuous_$ac_func
92571
92572 /* System header to define __stub macros and hopefully few prototypes,
92573     which can conflict with char $ac_func (); below.
92574     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92575     <limits.h> exists even on freestanding compilers.  */
92576
92577 #ifdef __STDC__
92578 # include <limits.h>
92579 #else
92580 # include <assert.h>
92581 #endif
92582
92583 #undef $ac_func
92584
92585 /* Override any gcc2 internal prototype to avoid an error.  */
92586 #ifdef __cplusplus
92587 extern "C"
92588 {
92589 #endif
92590 /* We use char because int might match the return type of a gcc2
92591    builtin and then its argument prototype would still apply.  */
92592 char $ac_func ();
92593 /* The GNU C library defines this for functions which it implements
92594     to always fail with ENOSYS.  Some functions are actually named
92595     something starting with __ and the normal name is an alias.  */
92596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92597 choke me
92598 #else
92599 char (*f) () = $ac_func;
92600 #endif
92601 #ifdef __cplusplus
92602 }
92603 #endif
92604
92605 int
92606 main ()
92607 {
92608 return f != $ac_func;
92609   ;
92610   return 0;
92611 }
92612 _ACEOF
92613 rm -f conftest.$ac_objext conftest$ac_exeext
92614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92615   (eval $ac_link) 2>conftest.er1
92616   ac_status=$?
92617   grep -v '^ *+' conftest.er1 >conftest.err
92618   rm -f conftest.er1
92619   cat conftest.err >&5
92620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92621   (exit $ac_status); } &&
92622          { ac_try='test -z "$ac_c_werror_flag"
92623                          || test ! -s conftest.err'
92624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92625   (eval $ac_try) 2>&5
92626   ac_status=$?
92627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92628   (exit $ac_status); }; } &&
92629          { ac_try='test -s conftest$ac_exeext'
92630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92631   (eval $ac_try) 2>&5
92632   ac_status=$?
92633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92634   (exit $ac_status); }; }; then
92635   eval "$as_ac_var=yes"
92636 else
92637   echo "$as_me: failed program was:" >&5
92638 sed 's/^/| /' conftest.$ac_ext >&5
92639
92640 eval "$as_ac_var=no"
92641 fi
92642 rm -f conftest.err conftest.$ac_objext \
92643       conftest$ac_exeext conftest.$ac_ext
92644 fi
92645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92647 if test `eval echo '${'$as_ac_var'}'` = yes; then
92648   cat >>confdefs.h <<_ACEOF
92649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92650 _ACEOF
92651
92652 fi
92653 done
92654
92655   else
92656
92657   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
92658 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
92659   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
92660     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
92661   echo $ECHO_N "(cached) $ECHO_C" >&6
92662 else
92663
92664
92665
92666       ac_ext=cc
92667 ac_cpp='$CXXCPP $CPPFLAGS'
92668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92671
92672       cat >conftest.$ac_ext <<_ACEOF
92673 /* confdefs.h.  */
92674 _ACEOF
92675 cat confdefs.h >>conftest.$ac_ext
92676 cat >>conftest.$ac_ext <<_ACEOF
92677 /* end confdefs.h.  */
92678 #include <math.h>
92679                       #ifdef HAVE_IEEEFP_H
92680                       #include <ieeefp.h>
92681                       #endif
92682
92683 int
92684 main ()
92685 {
92686  _isinff(0);
92687   ;
92688   return 0;
92689 }
92690 _ACEOF
92691 rm -f conftest.$ac_objext
92692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92693   (eval $ac_compile) 2>conftest.er1
92694   ac_status=$?
92695   grep -v '^ *+' conftest.er1 >conftest.err
92696   rm -f conftest.er1
92697   cat conftest.err >&5
92698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92699   (exit $ac_status); } &&
92700          { ac_try='test -z "$ac_cxx_werror_flag"
92701                          || test ! -s conftest.err'
92702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92703   (eval $ac_try) 2>&5
92704   ac_status=$?
92705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92706   (exit $ac_status); }; } &&
92707          { ac_try='test -s conftest.$ac_objext'
92708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92709   (eval $ac_try) 2>&5
92710   ac_status=$?
92711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92712   (exit $ac_status); }; }; then
92713   glibcxx_cv_func__isinff_use=yes
92714 else
92715   echo "$as_me: failed program was:" >&5
92716 sed 's/^/| /' conftest.$ac_ext >&5
92717
92718 glibcxx_cv_func__isinff_use=no
92719 fi
92720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92721       ac_ext=c
92722 ac_cpp='$CPP $CPPFLAGS'
92723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92726
92727
92728 fi
92729
92730   fi
92731   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
92732 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
92733
92734     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
92735
92736 for ac_func in _isinff
92737 do
92738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92739 echo "$as_me:$LINENO: checking for $ac_func" >&5
92740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92741 if eval "test \"\${$as_ac_var+set}\" = set"; then
92742   echo $ECHO_N "(cached) $ECHO_C" >&6
92743 else
92744   if test x$gcc_no_link = xyes; then
92745   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92747    { (exit 1); exit 1; }; }
92748 fi
92749 cat >conftest.$ac_ext <<_ACEOF
92750 /* confdefs.h.  */
92751 _ACEOF
92752 cat confdefs.h >>conftest.$ac_ext
92753 cat >>conftest.$ac_ext <<_ACEOF
92754 /* end confdefs.h.  */
92755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92756    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92757 #define $ac_func innocuous_$ac_func
92758
92759 /* System header to define __stub macros and hopefully few prototypes,
92760     which can conflict with char $ac_func (); below.
92761     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92762     <limits.h> exists even on freestanding compilers.  */
92763
92764 #ifdef __STDC__
92765 # include <limits.h>
92766 #else
92767 # include <assert.h>
92768 #endif
92769
92770 #undef $ac_func
92771
92772 /* Override any gcc2 internal prototype to avoid an error.  */
92773 #ifdef __cplusplus
92774 extern "C"
92775 {
92776 #endif
92777 /* We use char because int might match the return type of a gcc2
92778    builtin and then its argument prototype would still apply.  */
92779 char $ac_func ();
92780 /* The GNU C library defines this for functions which it implements
92781     to always fail with ENOSYS.  Some functions are actually named
92782     something starting with __ and the normal name is an alias.  */
92783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92784 choke me
92785 #else
92786 char (*f) () = $ac_func;
92787 #endif
92788 #ifdef __cplusplus
92789 }
92790 #endif
92791
92792 int
92793 main ()
92794 {
92795 return f != $ac_func;
92796   ;
92797   return 0;
92798 }
92799 _ACEOF
92800 rm -f conftest.$ac_objext conftest$ac_exeext
92801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92802   (eval $ac_link) 2>conftest.er1
92803   ac_status=$?
92804   grep -v '^ *+' conftest.er1 >conftest.err
92805   rm -f conftest.er1
92806   cat conftest.err >&5
92807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92808   (exit $ac_status); } &&
92809          { ac_try='test -z "$ac_c_werror_flag"
92810                          || test ! -s conftest.err'
92811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92812   (eval $ac_try) 2>&5
92813   ac_status=$?
92814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92815   (exit $ac_status); }; } &&
92816          { ac_try='test -s conftest$ac_exeext'
92817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92818   (eval $ac_try) 2>&5
92819   ac_status=$?
92820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92821   (exit $ac_status); }; }; then
92822   eval "$as_ac_var=yes"
92823 else
92824   echo "$as_me: failed program was:" >&5
92825 sed 's/^/| /' conftest.$ac_ext >&5
92826
92827 eval "$as_ac_var=no"
92828 fi
92829 rm -f conftest.err conftest.$ac_objext \
92830       conftest$ac_exeext conftest.$ac_ext
92831 fi
92832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92834 if test `eval echo '${'$as_ac_var'}'` = yes; then
92835   cat >>confdefs.h <<_ACEOF
92836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92837 _ACEOF
92838
92839 fi
92840 done
92841
92842     fi
92843   fi
92844
92845
92846
92847
92848
92849
92850   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
92851 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
92852   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
92853     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
92854   echo $ECHO_N "(cached) $ECHO_C" >&6
92855 else
92856
92857
92858
92859       ac_ext=cc
92860 ac_cpp='$CXXCPP $CPPFLAGS'
92861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92864
92865       cat >conftest.$ac_ext <<_ACEOF
92866 /* confdefs.h.  */
92867 _ACEOF
92868 cat confdefs.h >>conftest.$ac_ext
92869 cat >>conftest.$ac_ext <<_ACEOF
92870 /* end confdefs.h.  */
92871 #include <math.h>
92872 int
92873 main ()
92874 {
92875  atan2f(0, 0);
92876   ;
92877   return 0;
92878 }
92879 _ACEOF
92880 rm -f conftest.$ac_objext
92881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92882   (eval $ac_compile) 2>conftest.er1
92883   ac_status=$?
92884   grep -v '^ *+' conftest.er1 >conftest.err
92885   rm -f conftest.er1
92886   cat conftest.err >&5
92887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92888   (exit $ac_status); } &&
92889          { ac_try='test -z "$ac_cxx_werror_flag"
92890                          || test ! -s conftest.err'
92891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92892   (eval $ac_try) 2>&5
92893   ac_status=$?
92894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92895   (exit $ac_status); }; } &&
92896          { ac_try='test -s conftest.$ac_objext'
92897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92898   (eval $ac_try) 2>&5
92899   ac_status=$?
92900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92901   (exit $ac_status); }; }; then
92902   glibcxx_cv_func_atan2f_use=yes
92903 else
92904   echo "$as_me: failed program was:" >&5
92905 sed 's/^/| /' conftest.$ac_ext >&5
92906
92907 glibcxx_cv_func_atan2f_use=no
92908 fi
92909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92910       ac_ext=c
92911 ac_cpp='$CPP $CPPFLAGS'
92912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92915
92916
92917 fi
92918
92919   fi
92920   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
92921 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
92922
92923   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
92924
92925 for ac_func in atan2f
92926 do
92927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92928 echo "$as_me:$LINENO: checking for $ac_func" >&5
92929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92930 if eval "test \"\${$as_ac_var+set}\" = set"; then
92931   echo $ECHO_N "(cached) $ECHO_C" >&6
92932 else
92933   if test x$gcc_no_link = xyes; then
92934   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92936    { (exit 1); exit 1; }; }
92937 fi
92938 cat >conftest.$ac_ext <<_ACEOF
92939 /* confdefs.h.  */
92940 _ACEOF
92941 cat confdefs.h >>conftest.$ac_ext
92942 cat >>conftest.$ac_ext <<_ACEOF
92943 /* end confdefs.h.  */
92944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92945    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92946 #define $ac_func innocuous_$ac_func
92947
92948 /* System header to define __stub macros and hopefully few prototypes,
92949     which can conflict with char $ac_func (); below.
92950     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92951     <limits.h> exists even on freestanding compilers.  */
92952
92953 #ifdef __STDC__
92954 # include <limits.h>
92955 #else
92956 # include <assert.h>
92957 #endif
92958
92959 #undef $ac_func
92960
92961 /* Override any gcc2 internal prototype to avoid an error.  */
92962 #ifdef __cplusplus
92963 extern "C"
92964 {
92965 #endif
92966 /* We use char because int might match the return type of a gcc2
92967    builtin and then its argument prototype would still apply.  */
92968 char $ac_func ();
92969 /* The GNU C library defines this for functions which it implements
92970     to always fail with ENOSYS.  Some functions are actually named
92971     something starting with __ and the normal name is an alias.  */
92972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92973 choke me
92974 #else
92975 char (*f) () = $ac_func;
92976 #endif
92977 #ifdef __cplusplus
92978 }
92979 #endif
92980
92981 int
92982 main ()
92983 {
92984 return f != $ac_func;
92985   ;
92986   return 0;
92987 }
92988 _ACEOF
92989 rm -f conftest.$ac_objext conftest$ac_exeext
92990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92991   (eval $ac_link) 2>conftest.er1
92992   ac_status=$?
92993   grep -v '^ *+' conftest.er1 >conftest.err
92994   rm -f conftest.er1
92995   cat conftest.err >&5
92996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92997   (exit $ac_status); } &&
92998          { ac_try='test -z "$ac_c_werror_flag"
92999                          || test ! -s conftest.err'
93000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93001   (eval $ac_try) 2>&5
93002   ac_status=$?
93003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93004   (exit $ac_status); }; } &&
93005          { ac_try='test -s conftest$ac_exeext'
93006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93007   (eval $ac_try) 2>&5
93008   ac_status=$?
93009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93010   (exit $ac_status); }; }; then
93011   eval "$as_ac_var=yes"
93012 else
93013   echo "$as_me: failed program was:" >&5
93014 sed 's/^/| /' conftest.$ac_ext >&5
93015
93016 eval "$as_ac_var=no"
93017 fi
93018 rm -f conftest.err conftest.$ac_objext \
93019       conftest$ac_exeext conftest.$ac_ext
93020 fi
93021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93023 if test `eval echo '${'$as_ac_var'}'` = yes; then
93024   cat >>confdefs.h <<_ACEOF
93025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93026 _ACEOF
93027
93028 fi
93029 done
93030
93031   else
93032
93033   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
93034 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
93035   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
93036     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
93037   echo $ECHO_N "(cached) $ECHO_C" >&6
93038 else
93039
93040
93041
93042       ac_ext=cc
93043 ac_cpp='$CXXCPP $CPPFLAGS'
93044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93047
93048       cat >conftest.$ac_ext <<_ACEOF
93049 /* confdefs.h.  */
93050 _ACEOF
93051 cat confdefs.h >>conftest.$ac_ext
93052 cat >>conftest.$ac_ext <<_ACEOF
93053 /* end confdefs.h.  */
93054 #include <math.h>
93055 int
93056 main ()
93057 {
93058  _atan2f(0, 0);
93059   ;
93060   return 0;
93061 }
93062 _ACEOF
93063 rm -f conftest.$ac_objext
93064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93065   (eval $ac_compile) 2>conftest.er1
93066   ac_status=$?
93067   grep -v '^ *+' conftest.er1 >conftest.err
93068   rm -f conftest.er1
93069   cat conftest.err >&5
93070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93071   (exit $ac_status); } &&
93072          { ac_try='test -z "$ac_cxx_werror_flag"
93073                          || test ! -s conftest.err'
93074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93075   (eval $ac_try) 2>&5
93076   ac_status=$?
93077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93078   (exit $ac_status); }; } &&
93079          { ac_try='test -s conftest.$ac_objext'
93080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93081   (eval $ac_try) 2>&5
93082   ac_status=$?
93083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93084   (exit $ac_status); }; }; then
93085   glibcxx_cv_func__atan2f_use=yes
93086 else
93087   echo "$as_me: failed program was:" >&5
93088 sed 's/^/| /' conftest.$ac_ext >&5
93089
93090 glibcxx_cv_func__atan2f_use=no
93091 fi
93092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93093       ac_ext=c
93094 ac_cpp='$CPP $CPPFLAGS'
93095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93098
93099
93100 fi
93101
93102   fi
93103   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
93104 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
93105
93106     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
93107
93108 for ac_func in _atan2f
93109 do
93110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93111 echo "$as_me:$LINENO: checking for $ac_func" >&5
93112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93113 if eval "test \"\${$as_ac_var+set}\" = set"; then
93114   echo $ECHO_N "(cached) $ECHO_C" >&6
93115 else
93116   if test x$gcc_no_link = xyes; then
93117   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93119    { (exit 1); exit 1; }; }
93120 fi
93121 cat >conftest.$ac_ext <<_ACEOF
93122 /* confdefs.h.  */
93123 _ACEOF
93124 cat confdefs.h >>conftest.$ac_ext
93125 cat >>conftest.$ac_ext <<_ACEOF
93126 /* end confdefs.h.  */
93127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93128    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93129 #define $ac_func innocuous_$ac_func
93130
93131 /* System header to define __stub macros and hopefully few prototypes,
93132     which can conflict with char $ac_func (); below.
93133     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93134     <limits.h> exists even on freestanding compilers.  */
93135
93136 #ifdef __STDC__
93137 # include <limits.h>
93138 #else
93139 # include <assert.h>
93140 #endif
93141
93142 #undef $ac_func
93143
93144 /* Override any gcc2 internal prototype to avoid an error.  */
93145 #ifdef __cplusplus
93146 extern "C"
93147 {
93148 #endif
93149 /* We use char because int might match the return type of a gcc2
93150    builtin and then its argument prototype would still apply.  */
93151 char $ac_func ();
93152 /* The GNU C library defines this for functions which it implements
93153     to always fail with ENOSYS.  Some functions are actually named
93154     something starting with __ and the normal name is an alias.  */
93155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93156 choke me
93157 #else
93158 char (*f) () = $ac_func;
93159 #endif
93160 #ifdef __cplusplus
93161 }
93162 #endif
93163
93164 int
93165 main ()
93166 {
93167 return f != $ac_func;
93168   ;
93169   return 0;
93170 }
93171 _ACEOF
93172 rm -f conftest.$ac_objext conftest$ac_exeext
93173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93174   (eval $ac_link) 2>conftest.er1
93175   ac_status=$?
93176   grep -v '^ *+' conftest.er1 >conftest.err
93177   rm -f conftest.er1
93178   cat conftest.err >&5
93179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93180   (exit $ac_status); } &&
93181          { ac_try='test -z "$ac_c_werror_flag"
93182                          || test ! -s conftest.err'
93183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93184   (eval $ac_try) 2>&5
93185   ac_status=$?
93186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93187   (exit $ac_status); }; } &&
93188          { ac_try='test -s conftest$ac_exeext'
93189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93190   (eval $ac_try) 2>&5
93191   ac_status=$?
93192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93193   (exit $ac_status); }; }; then
93194   eval "$as_ac_var=yes"
93195 else
93196   echo "$as_me: failed program was:" >&5
93197 sed 's/^/| /' conftest.$ac_ext >&5
93198
93199 eval "$as_ac_var=no"
93200 fi
93201 rm -f conftest.err conftest.$ac_objext \
93202       conftest$ac_exeext conftest.$ac_ext
93203 fi
93204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93206 if test `eval echo '${'$as_ac_var'}'` = yes; then
93207   cat >>confdefs.h <<_ACEOF
93208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93209 _ACEOF
93210
93211 fi
93212 done
93213
93214     fi
93215   fi
93216
93217
93218
93219
93220
93221
93222   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
93223 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
93224   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
93225     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
93226   echo $ECHO_N "(cached) $ECHO_C" >&6
93227 else
93228
93229
93230
93231       ac_ext=cc
93232 ac_cpp='$CXXCPP $CPPFLAGS'
93233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93236
93237       cat >conftest.$ac_ext <<_ACEOF
93238 /* confdefs.h.  */
93239 _ACEOF
93240 cat confdefs.h >>conftest.$ac_ext
93241 cat >>conftest.$ac_ext <<_ACEOF
93242 /* end confdefs.h.  */
93243 #include <math.h>
93244                       #ifdef HAVE_IEEEFP_H
93245                       #include <ieeefp.h>
93246                       #endif
93247
93248 int
93249 main ()
93250 {
93251  fabsf(0);
93252   ;
93253   return 0;
93254 }
93255 _ACEOF
93256 rm -f conftest.$ac_objext
93257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93258   (eval $ac_compile) 2>conftest.er1
93259   ac_status=$?
93260   grep -v '^ *+' conftest.er1 >conftest.err
93261   rm -f conftest.er1
93262   cat conftest.err >&5
93263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93264   (exit $ac_status); } &&
93265          { ac_try='test -z "$ac_cxx_werror_flag"
93266                          || test ! -s conftest.err'
93267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93268   (eval $ac_try) 2>&5
93269   ac_status=$?
93270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93271   (exit $ac_status); }; } &&
93272          { ac_try='test -s conftest.$ac_objext'
93273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93274   (eval $ac_try) 2>&5
93275   ac_status=$?
93276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93277   (exit $ac_status); }; }; then
93278   glibcxx_cv_func_fabsf_use=yes
93279 else
93280   echo "$as_me: failed program was:" >&5
93281 sed 's/^/| /' conftest.$ac_ext >&5
93282
93283 glibcxx_cv_func_fabsf_use=no
93284 fi
93285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93286       ac_ext=c
93287 ac_cpp='$CPP $CPPFLAGS'
93288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93291
93292
93293 fi
93294
93295   fi
93296   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
93297 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
93298
93299   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
93300
93301 for ac_func in fabsf
93302 do
93303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93304 echo "$as_me:$LINENO: checking for $ac_func" >&5
93305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93306 if eval "test \"\${$as_ac_var+set}\" = set"; then
93307   echo $ECHO_N "(cached) $ECHO_C" >&6
93308 else
93309   if test x$gcc_no_link = xyes; then
93310   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93312    { (exit 1); exit 1; }; }
93313 fi
93314 cat >conftest.$ac_ext <<_ACEOF
93315 /* confdefs.h.  */
93316 _ACEOF
93317 cat confdefs.h >>conftest.$ac_ext
93318 cat >>conftest.$ac_ext <<_ACEOF
93319 /* end confdefs.h.  */
93320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93321    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93322 #define $ac_func innocuous_$ac_func
93323
93324 /* System header to define __stub macros and hopefully few prototypes,
93325     which can conflict with char $ac_func (); below.
93326     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93327     <limits.h> exists even on freestanding compilers.  */
93328
93329 #ifdef __STDC__
93330 # include <limits.h>
93331 #else
93332 # include <assert.h>
93333 #endif
93334
93335 #undef $ac_func
93336
93337 /* Override any gcc2 internal prototype to avoid an error.  */
93338 #ifdef __cplusplus
93339 extern "C"
93340 {
93341 #endif
93342 /* We use char because int might match the return type of a gcc2
93343    builtin and then its argument prototype would still apply.  */
93344 char $ac_func ();
93345 /* The GNU C library defines this for functions which it implements
93346     to always fail with ENOSYS.  Some functions are actually named
93347     something starting with __ and the normal name is an alias.  */
93348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93349 choke me
93350 #else
93351 char (*f) () = $ac_func;
93352 #endif
93353 #ifdef __cplusplus
93354 }
93355 #endif
93356
93357 int
93358 main ()
93359 {
93360 return f != $ac_func;
93361   ;
93362   return 0;
93363 }
93364 _ACEOF
93365 rm -f conftest.$ac_objext conftest$ac_exeext
93366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93367   (eval $ac_link) 2>conftest.er1
93368   ac_status=$?
93369   grep -v '^ *+' conftest.er1 >conftest.err
93370   rm -f conftest.er1
93371   cat conftest.err >&5
93372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93373   (exit $ac_status); } &&
93374          { ac_try='test -z "$ac_c_werror_flag"
93375                          || test ! -s conftest.err'
93376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93377   (eval $ac_try) 2>&5
93378   ac_status=$?
93379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93380   (exit $ac_status); }; } &&
93381          { ac_try='test -s conftest$ac_exeext'
93382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93383   (eval $ac_try) 2>&5
93384   ac_status=$?
93385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93386   (exit $ac_status); }; }; then
93387   eval "$as_ac_var=yes"
93388 else
93389   echo "$as_me: failed program was:" >&5
93390 sed 's/^/| /' conftest.$ac_ext >&5
93391
93392 eval "$as_ac_var=no"
93393 fi
93394 rm -f conftest.err conftest.$ac_objext \
93395       conftest$ac_exeext conftest.$ac_ext
93396 fi
93397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93399 if test `eval echo '${'$as_ac_var'}'` = yes; then
93400   cat >>confdefs.h <<_ACEOF
93401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93402 _ACEOF
93403
93404 fi
93405 done
93406
93407   else
93408
93409   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
93410 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
93411   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
93412     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
93413   echo $ECHO_N "(cached) $ECHO_C" >&6
93414 else
93415
93416
93417
93418       ac_ext=cc
93419 ac_cpp='$CXXCPP $CPPFLAGS'
93420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93423
93424       cat >conftest.$ac_ext <<_ACEOF
93425 /* confdefs.h.  */
93426 _ACEOF
93427 cat confdefs.h >>conftest.$ac_ext
93428 cat >>conftest.$ac_ext <<_ACEOF
93429 /* end confdefs.h.  */
93430 #include <math.h>
93431                       #ifdef HAVE_IEEEFP_H
93432                       #include <ieeefp.h>
93433                       #endif
93434
93435 int
93436 main ()
93437 {
93438  _fabsf(0);
93439   ;
93440   return 0;
93441 }
93442 _ACEOF
93443 rm -f conftest.$ac_objext
93444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93445   (eval $ac_compile) 2>conftest.er1
93446   ac_status=$?
93447   grep -v '^ *+' conftest.er1 >conftest.err
93448   rm -f conftest.er1
93449   cat conftest.err >&5
93450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93451   (exit $ac_status); } &&
93452          { ac_try='test -z "$ac_cxx_werror_flag"
93453                          || test ! -s conftest.err'
93454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93455   (eval $ac_try) 2>&5
93456   ac_status=$?
93457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93458   (exit $ac_status); }; } &&
93459          { ac_try='test -s conftest.$ac_objext'
93460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93461   (eval $ac_try) 2>&5
93462   ac_status=$?
93463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93464   (exit $ac_status); }; }; then
93465   glibcxx_cv_func__fabsf_use=yes
93466 else
93467   echo "$as_me: failed program was:" >&5
93468 sed 's/^/| /' conftest.$ac_ext >&5
93469
93470 glibcxx_cv_func__fabsf_use=no
93471 fi
93472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93473       ac_ext=c
93474 ac_cpp='$CPP $CPPFLAGS'
93475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93478
93479
93480 fi
93481
93482   fi
93483   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
93484 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
93485
93486     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
93487
93488 for ac_func in _fabsf
93489 do
93490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93491 echo "$as_me:$LINENO: checking for $ac_func" >&5
93492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93493 if eval "test \"\${$as_ac_var+set}\" = set"; then
93494   echo $ECHO_N "(cached) $ECHO_C" >&6
93495 else
93496   if test x$gcc_no_link = xyes; then
93497   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93499    { (exit 1); exit 1; }; }
93500 fi
93501 cat >conftest.$ac_ext <<_ACEOF
93502 /* confdefs.h.  */
93503 _ACEOF
93504 cat confdefs.h >>conftest.$ac_ext
93505 cat >>conftest.$ac_ext <<_ACEOF
93506 /* end confdefs.h.  */
93507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93508    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93509 #define $ac_func innocuous_$ac_func
93510
93511 /* System header to define __stub macros and hopefully few prototypes,
93512     which can conflict with char $ac_func (); below.
93513     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93514     <limits.h> exists even on freestanding compilers.  */
93515
93516 #ifdef __STDC__
93517 # include <limits.h>
93518 #else
93519 # include <assert.h>
93520 #endif
93521
93522 #undef $ac_func
93523
93524 /* Override any gcc2 internal prototype to avoid an error.  */
93525 #ifdef __cplusplus
93526 extern "C"
93527 {
93528 #endif
93529 /* We use char because int might match the return type of a gcc2
93530    builtin and then its argument prototype would still apply.  */
93531 char $ac_func ();
93532 /* The GNU C library defines this for functions which it implements
93533     to always fail with ENOSYS.  Some functions are actually named
93534     something starting with __ and the normal name is an alias.  */
93535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93536 choke me
93537 #else
93538 char (*f) () = $ac_func;
93539 #endif
93540 #ifdef __cplusplus
93541 }
93542 #endif
93543
93544 int
93545 main ()
93546 {
93547 return f != $ac_func;
93548   ;
93549   return 0;
93550 }
93551 _ACEOF
93552 rm -f conftest.$ac_objext conftest$ac_exeext
93553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93554   (eval $ac_link) 2>conftest.er1
93555   ac_status=$?
93556   grep -v '^ *+' conftest.er1 >conftest.err
93557   rm -f conftest.er1
93558   cat conftest.err >&5
93559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93560   (exit $ac_status); } &&
93561          { ac_try='test -z "$ac_c_werror_flag"
93562                          || test ! -s conftest.err'
93563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93564   (eval $ac_try) 2>&5
93565   ac_status=$?
93566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93567   (exit $ac_status); }; } &&
93568          { ac_try='test -s conftest$ac_exeext'
93569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93570   (eval $ac_try) 2>&5
93571   ac_status=$?
93572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93573   (exit $ac_status); }; }; then
93574   eval "$as_ac_var=yes"
93575 else
93576   echo "$as_me: failed program was:" >&5
93577 sed 's/^/| /' conftest.$ac_ext >&5
93578
93579 eval "$as_ac_var=no"
93580 fi
93581 rm -f conftest.err conftest.$ac_objext \
93582       conftest$ac_exeext conftest.$ac_ext
93583 fi
93584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93586 if test `eval echo '${'$as_ac_var'}'` = yes; then
93587   cat >>confdefs.h <<_ACEOF
93588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93589 _ACEOF
93590
93591 fi
93592 done
93593
93594     fi
93595   fi
93596
93597
93598
93599
93600
93601
93602   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
93603 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
93604   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
93605     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
93606   echo $ECHO_N "(cached) $ECHO_C" >&6
93607 else
93608
93609
93610
93611       ac_ext=cc
93612 ac_cpp='$CXXCPP $CPPFLAGS'
93613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93616
93617       cat >conftest.$ac_ext <<_ACEOF
93618 /* confdefs.h.  */
93619 _ACEOF
93620 cat confdefs.h >>conftest.$ac_ext
93621 cat >>conftest.$ac_ext <<_ACEOF
93622 /* end confdefs.h.  */
93623 #include <math.h>
93624 int
93625 main ()
93626 {
93627  fmodf(0, 0);
93628   ;
93629   return 0;
93630 }
93631 _ACEOF
93632 rm -f conftest.$ac_objext
93633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93634   (eval $ac_compile) 2>conftest.er1
93635   ac_status=$?
93636   grep -v '^ *+' conftest.er1 >conftest.err
93637   rm -f conftest.er1
93638   cat conftest.err >&5
93639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93640   (exit $ac_status); } &&
93641          { ac_try='test -z "$ac_cxx_werror_flag"
93642                          || test ! -s conftest.err'
93643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93644   (eval $ac_try) 2>&5
93645   ac_status=$?
93646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93647   (exit $ac_status); }; } &&
93648          { ac_try='test -s conftest.$ac_objext'
93649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93650   (eval $ac_try) 2>&5
93651   ac_status=$?
93652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93653   (exit $ac_status); }; }; then
93654   glibcxx_cv_func_fmodf_use=yes
93655 else
93656   echo "$as_me: failed program was:" >&5
93657 sed 's/^/| /' conftest.$ac_ext >&5
93658
93659 glibcxx_cv_func_fmodf_use=no
93660 fi
93661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93662       ac_ext=c
93663 ac_cpp='$CPP $CPPFLAGS'
93664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93667
93668
93669 fi
93670
93671   fi
93672   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
93673 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
93674
93675   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
93676
93677 for ac_func in fmodf
93678 do
93679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93680 echo "$as_me:$LINENO: checking for $ac_func" >&5
93681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93682 if eval "test \"\${$as_ac_var+set}\" = set"; then
93683   echo $ECHO_N "(cached) $ECHO_C" >&6
93684 else
93685   if test x$gcc_no_link = xyes; then
93686   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93688    { (exit 1); exit 1; }; }
93689 fi
93690 cat >conftest.$ac_ext <<_ACEOF
93691 /* confdefs.h.  */
93692 _ACEOF
93693 cat confdefs.h >>conftest.$ac_ext
93694 cat >>conftest.$ac_ext <<_ACEOF
93695 /* end confdefs.h.  */
93696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93697    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93698 #define $ac_func innocuous_$ac_func
93699
93700 /* System header to define __stub macros and hopefully few prototypes,
93701     which can conflict with char $ac_func (); below.
93702     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93703     <limits.h> exists even on freestanding compilers.  */
93704
93705 #ifdef __STDC__
93706 # include <limits.h>
93707 #else
93708 # include <assert.h>
93709 #endif
93710
93711 #undef $ac_func
93712
93713 /* Override any gcc2 internal prototype to avoid an error.  */
93714 #ifdef __cplusplus
93715 extern "C"
93716 {
93717 #endif
93718 /* We use char because int might match the return type of a gcc2
93719    builtin and then its argument prototype would still apply.  */
93720 char $ac_func ();
93721 /* The GNU C library defines this for functions which it implements
93722     to always fail with ENOSYS.  Some functions are actually named
93723     something starting with __ and the normal name is an alias.  */
93724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93725 choke me
93726 #else
93727 char (*f) () = $ac_func;
93728 #endif
93729 #ifdef __cplusplus
93730 }
93731 #endif
93732
93733 int
93734 main ()
93735 {
93736 return f != $ac_func;
93737   ;
93738   return 0;
93739 }
93740 _ACEOF
93741 rm -f conftest.$ac_objext conftest$ac_exeext
93742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93743   (eval $ac_link) 2>conftest.er1
93744   ac_status=$?
93745   grep -v '^ *+' conftest.er1 >conftest.err
93746   rm -f conftest.er1
93747   cat conftest.err >&5
93748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93749   (exit $ac_status); } &&
93750          { ac_try='test -z "$ac_c_werror_flag"
93751                          || test ! -s conftest.err'
93752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93753   (eval $ac_try) 2>&5
93754   ac_status=$?
93755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93756   (exit $ac_status); }; } &&
93757          { ac_try='test -s conftest$ac_exeext'
93758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93759   (eval $ac_try) 2>&5
93760   ac_status=$?
93761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93762   (exit $ac_status); }; }; then
93763   eval "$as_ac_var=yes"
93764 else
93765   echo "$as_me: failed program was:" >&5
93766 sed 's/^/| /' conftest.$ac_ext >&5
93767
93768 eval "$as_ac_var=no"
93769 fi
93770 rm -f conftest.err conftest.$ac_objext \
93771       conftest$ac_exeext conftest.$ac_ext
93772 fi
93773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93775 if test `eval echo '${'$as_ac_var'}'` = yes; then
93776   cat >>confdefs.h <<_ACEOF
93777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93778 _ACEOF
93779
93780 fi
93781 done
93782
93783   else
93784
93785   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
93786 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
93787   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
93788     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
93789   echo $ECHO_N "(cached) $ECHO_C" >&6
93790 else
93791
93792
93793
93794       ac_ext=cc
93795 ac_cpp='$CXXCPP $CPPFLAGS'
93796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93799
93800       cat >conftest.$ac_ext <<_ACEOF
93801 /* confdefs.h.  */
93802 _ACEOF
93803 cat confdefs.h >>conftest.$ac_ext
93804 cat >>conftest.$ac_ext <<_ACEOF
93805 /* end confdefs.h.  */
93806 #include <math.h>
93807 int
93808 main ()
93809 {
93810  _fmodf(0, 0);
93811   ;
93812   return 0;
93813 }
93814 _ACEOF
93815 rm -f conftest.$ac_objext
93816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93817   (eval $ac_compile) 2>conftest.er1
93818   ac_status=$?
93819   grep -v '^ *+' conftest.er1 >conftest.err
93820   rm -f conftest.er1
93821   cat conftest.err >&5
93822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93823   (exit $ac_status); } &&
93824          { ac_try='test -z "$ac_cxx_werror_flag"
93825                          || test ! -s conftest.err'
93826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93827   (eval $ac_try) 2>&5
93828   ac_status=$?
93829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93830   (exit $ac_status); }; } &&
93831          { ac_try='test -s conftest.$ac_objext'
93832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93833   (eval $ac_try) 2>&5
93834   ac_status=$?
93835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93836   (exit $ac_status); }; }; then
93837   glibcxx_cv_func__fmodf_use=yes
93838 else
93839   echo "$as_me: failed program was:" >&5
93840 sed 's/^/| /' conftest.$ac_ext >&5
93841
93842 glibcxx_cv_func__fmodf_use=no
93843 fi
93844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93845       ac_ext=c
93846 ac_cpp='$CPP $CPPFLAGS'
93847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93850
93851
93852 fi
93853
93854   fi
93855   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
93856 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
93857
93858     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
93859
93860 for ac_func in _fmodf
93861 do
93862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93863 echo "$as_me:$LINENO: checking for $ac_func" >&5
93864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93865 if eval "test \"\${$as_ac_var+set}\" = set"; then
93866   echo $ECHO_N "(cached) $ECHO_C" >&6
93867 else
93868   if test x$gcc_no_link = xyes; then
93869   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93871    { (exit 1); exit 1; }; }
93872 fi
93873 cat >conftest.$ac_ext <<_ACEOF
93874 /* confdefs.h.  */
93875 _ACEOF
93876 cat confdefs.h >>conftest.$ac_ext
93877 cat >>conftest.$ac_ext <<_ACEOF
93878 /* end confdefs.h.  */
93879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93880    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93881 #define $ac_func innocuous_$ac_func
93882
93883 /* System header to define __stub macros and hopefully few prototypes,
93884     which can conflict with char $ac_func (); below.
93885     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93886     <limits.h> exists even on freestanding compilers.  */
93887
93888 #ifdef __STDC__
93889 # include <limits.h>
93890 #else
93891 # include <assert.h>
93892 #endif
93893
93894 #undef $ac_func
93895
93896 /* Override any gcc2 internal prototype to avoid an error.  */
93897 #ifdef __cplusplus
93898 extern "C"
93899 {
93900 #endif
93901 /* We use char because int might match the return type of a gcc2
93902    builtin and then its argument prototype would still apply.  */
93903 char $ac_func ();
93904 /* The GNU C library defines this for functions which it implements
93905     to always fail with ENOSYS.  Some functions are actually named
93906     something starting with __ and the normal name is an alias.  */
93907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93908 choke me
93909 #else
93910 char (*f) () = $ac_func;
93911 #endif
93912 #ifdef __cplusplus
93913 }
93914 #endif
93915
93916 int
93917 main ()
93918 {
93919 return f != $ac_func;
93920   ;
93921   return 0;
93922 }
93923 _ACEOF
93924 rm -f conftest.$ac_objext conftest$ac_exeext
93925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93926   (eval $ac_link) 2>conftest.er1
93927   ac_status=$?
93928   grep -v '^ *+' conftest.er1 >conftest.err
93929   rm -f conftest.er1
93930   cat conftest.err >&5
93931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93932   (exit $ac_status); } &&
93933          { ac_try='test -z "$ac_c_werror_flag"
93934                          || test ! -s conftest.err'
93935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93936   (eval $ac_try) 2>&5
93937   ac_status=$?
93938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93939   (exit $ac_status); }; } &&
93940          { ac_try='test -s conftest$ac_exeext'
93941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93942   (eval $ac_try) 2>&5
93943   ac_status=$?
93944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93945   (exit $ac_status); }; }; then
93946   eval "$as_ac_var=yes"
93947 else
93948   echo "$as_me: failed program was:" >&5
93949 sed 's/^/| /' conftest.$ac_ext >&5
93950
93951 eval "$as_ac_var=no"
93952 fi
93953 rm -f conftest.err conftest.$ac_objext \
93954       conftest$ac_exeext conftest.$ac_ext
93955 fi
93956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93958 if test `eval echo '${'$as_ac_var'}'` = yes; then
93959   cat >>confdefs.h <<_ACEOF
93960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93961 _ACEOF
93962
93963 fi
93964 done
93965
93966     fi
93967   fi
93968
93969
93970
93971
93972
93973
93974   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
93975 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
93976   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
93977     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
93978   echo $ECHO_N "(cached) $ECHO_C" >&6
93979 else
93980
93981
93982
93983       ac_ext=cc
93984 ac_cpp='$CXXCPP $CPPFLAGS'
93985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93988
93989       cat >conftest.$ac_ext <<_ACEOF
93990 /* confdefs.h.  */
93991 _ACEOF
93992 cat confdefs.h >>conftest.$ac_ext
93993 cat >>conftest.$ac_ext <<_ACEOF
93994 /* end confdefs.h.  */
93995 #include <math.h>
93996 int
93997 main ()
93998 {
93999  frexpf(0, 0);
94000   ;
94001   return 0;
94002 }
94003 _ACEOF
94004 rm -f conftest.$ac_objext
94005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94006   (eval $ac_compile) 2>conftest.er1
94007   ac_status=$?
94008   grep -v '^ *+' conftest.er1 >conftest.err
94009   rm -f conftest.er1
94010   cat conftest.err >&5
94011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94012   (exit $ac_status); } &&
94013          { ac_try='test -z "$ac_cxx_werror_flag"
94014                          || test ! -s conftest.err'
94015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94016   (eval $ac_try) 2>&5
94017   ac_status=$?
94018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94019   (exit $ac_status); }; } &&
94020          { ac_try='test -s conftest.$ac_objext'
94021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94022   (eval $ac_try) 2>&5
94023   ac_status=$?
94024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94025   (exit $ac_status); }; }; then
94026   glibcxx_cv_func_frexpf_use=yes
94027 else
94028   echo "$as_me: failed program was:" >&5
94029 sed 's/^/| /' conftest.$ac_ext >&5
94030
94031 glibcxx_cv_func_frexpf_use=no
94032 fi
94033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94034       ac_ext=c
94035 ac_cpp='$CPP $CPPFLAGS'
94036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94039
94040
94041 fi
94042
94043   fi
94044   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
94045 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
94046
94047   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
94048
94049 for ac_func in frexpf
94050 do
94051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94052 echo "$as_me:$LINENO: checking for $ac_func" >&5
94053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94054 if eval "test \"\${$as_ac_var+set}\" = set"; then
94055   echo $ECHO_N "(cached) $ECHO_C" >&6
94056 else
94057   if test x$gcc_no_link = xyes; then
94058   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94060    { (exit 1); exit 1; }; }
94061 fi
94062 cat >conftest.$ac_ext <<_ACEOF
94063 /* confdefs.h.  */
94064 _ACEOF
94065 cat confdefs.h >>conftest.$ac_ext
94066 cat >>conftest.$ac_ext <<_ACEOF
94067 /* end confdefs.h.  */
94068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94069    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94070 #define $ac_func innocuous_$ac_func
94071
94072 /* System header to define __stub macros and hopefully few prototypes,
94073     which can conflict with char $ac_func (); below.
94074     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94075     <limits.h> exists even on freestanding compilers.  */
94076
94077 #ifdef __STDC__
94078 # include <limits.h>
94079 #else
94080 # include <assert.h>
94081 #endif
94082
94083 #undef $ac_func
94084
94085 /* Override any gcc2 internal prototype to avoid an error.  */
94086 #ifdef __cplusplus
94087 extern "C"
94088 {
94089 #endif
94090 /* We use char because int might match the return type of a gcc2
94091    builtin and then its argument prototype would still apply.  */
94092 char $ac_func ();
94093 /* The GNU C library defines this for functions which it implements
94094     to always fail with ENOSYS.  Some functions are actually named
94095     something starting with __ and the normal name is an alias.  */
94096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94097 choke me
94098 #else
94099 char (*f) () = $ac_func;
94100 #endif
94101 #ifdef __cplusplus
94102 }
94103 #endif
94104
94105 int
94106 main ()
94107 {
94108 return f != $ac_func;
94109   ;
94110   return 0;
94111 }
94112 _ACEOF
94113 rm -f conftest.$ac_objext conftest$ac_exeext
94114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94115   (eval $ac_link) 2>conftest.er1
94116   ac_status=$?
94117   grep -v '^ *+' conftest.er1 >conftest.err
94118   rm -f conftest.er1
94119   cat conftest.err >&5
94120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94121   (exit $ac_status); } &&
94122          { ac_try='test -z "$ac_c_werror_flag"
94123                          || test ! -s conftest.err'
94124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94125   (eval $ac_try) 2>&5
94126   ac_status=$?
94127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94128   (exit $ac_status); }; } &&
94129          { ac_try='test -s conftest$ac_exeext'
94130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94131   (eval $ac_try) 2>&5
94132   ac_status=$?
94133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94134   (exit $ac_status); }; }; then
94135   eval "$as_ac_var=yes"
94136 else
94137   echo "$as_me: failed program was:" >&5
94138 sed 's/^/| /' conftest.$ac_ext >&5
94139
94140 eval "$as_ac_var=no"
94141 fi
94142 rm -f conftest.err conftest.$ac_objext \
94143       conftest$ac_exeext conftest.$ac_ext
94144 fi
94145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94147 if test `eval echo '${'$as_ac_var'}'` = yes; then
94148   cat >>confdefs.h <<_ACEOF
94149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94150 _ACEOF
94151
94152 fi
94153 done
94154
94155   else
94156
94157   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
94158 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
94159   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
94160     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
94161   echo $ECHO_N "(cached) $ECHO_C" >&6
94162 else
94163
94164
94165
94166       ac_ext=cc
94167 ac_cpp='$CXXCPP $CPPFLAGS'
94168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94171
94172       cat >conftest.$ac_ext <<_ACEOF
94173 /* confdefs.h.  */
94174 _ACEOF
94175 cat confdefs.h >>conftest.$ac_ext
94176 cat >>conftest.$ac_ext <<_ACEOF
94177 /* end confdefs.h.  */
94178 #include <math.h>
94179 int
94180 main ()
94181 {
94182  _frexpf(0, 0);
94183   ;
94184   return 0;
94185 }
94186 _ACEOF
94187 rm -f conftest.$ac_objext
94188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94189   (eval $ac_compile) 2>conftest.er1
94190   ac_status=$?
94191   grep -v '^ *+' conftest.er1 >conftest.err
94192   rm -f conftest.er1
94193   cat conftest.err >&5
94194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94195   (exit $ac_status); } &&
94196          { ac_try='test -z "$ac_cxx_werror_flag"
94197                          || test ! -s conftest.err'
94198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94199   (eval $ac_try) 2>&5
94200   ac_status=$?
94201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94202   (exit $ac_status); }; } &&
94203          { ac_try='test -s conftest.$ac_objext'
94204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94205   (eval $ac_try) 2>&5
94206   ac_status=$?
94207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94208   (exit $ac_status); }; }; then
94209   glibcxx_cv_func__frexpf_use=yes
94210 else
94211   echo "$as_me: failed program was:" >&5
94212 sed 's/^/| /' conftest.$ac_ext >&5
94213
94214 glibcxx_cv_func__frexpf_use=no
94215 fi
94216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94217       ac_ext=c
94218 ac_cpp='$CPP $CPPFLAGS'
94219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94222
94223
94224 fi
94225
94226   fi
94227   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
94228 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
94229
94230     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
94231
94232 for ac_func in _frexpf
94233 do
94234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94235 echo "$as_me:$LINENO: checking for $ac_func" >&5
94236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94237 if eval "test \"\${$as_ac_var+set}\" = set"; then
94238   echo $ECHO_N "(cached) $ECHO_C" >&6
94239 else
94240   if test x$gcc_no_link = xyes; then
94241   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94243    { (exit 1); exit 1; }; }
94244 fi
94245 cat >conftest.$ac_ext <<_ACEOF
94246 /* confdefs.h.  */
94247 _ACEOF
94248 cat confdefs.h >>conftest.$ac_ext
94249 cat >>conftest.$ac_ext <<_ACEOF
94250 /* end confdefs.h.  */
94251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94252    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94253 #define $ac_func innocuous_$ac_func
94254
94255 /* System header to define __stub macros and hopefully few prototypes,
94256     which can conflict with char $ac_func (); below.
94257     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94258     <limits.h> exists even on freestanding compilers.  */
94259
94260 #ifdef __STDC__
94261 # include <limits.h>
94262 #else
94263 # include <assert.h>
94264 #endif
94265
94266 #undef $ac_func
94267
94268 /* Override any gcc2 internal prototype to avoid an error.  */
94269 #ifdef __cplusplus
94270 extern "C"
94271 {
94272 #endif
94273 /* We use char because int might match the return type of a gcc2
94274    builtin and then its argument prototype would still apply.  */
94275 char $ac_func ();
94276 /* The GNU C library defines this for functions which it implements
94277     to always fail with ENOSYS.  Some functions are actually named
94278     something starting with __ and the normal name is an alias.  */
94279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94280 choke me
94281 #else
94282 char (*f) () = $ac_func;
94283 #endif
94284 #ifdef __cplusplus
94285 }
94286 #endif
94287
94288 int
94289 main ()
94290 {
94291 return f != $ac_func;
94292   ;
94293   return 0;
94294 }
94295 _ACEOF
94296 rm -f conftest.$ac_objext conftest$ac_exeext
94297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94298   (eval $ac_link) 2>conftest.er1
94299   ac_status=$?
94300   grep -v '^ *+' conftest.er1 >conftest.err
94301   rm -f conftest.er1
94302   cat conftest.err >&5
94303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94304   (exit $ac_status); } &&
94305          { ac_try='test -z "$ac_c_werror_flag"
94306                          || test ! -s conftest.err'
94307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94308   (eval $ac_try) 2>&5
94309   ac_status=$?
94310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94311   (exit $ac_status); }; } &&
94312          { ac_try='test -s conftest$ac_exeext'
94313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94314   (eval $ac_try) 2>&5
94315   ac_status=$?
94316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94317   (exit $ac_status); }; }; then
94318   eval "$as_ac_var=yes"
94319 else
94320   echo "$as_me: failed program was:" >&5
94321 sed 's/^/| /' conftest.$ac_ext >&5
94322
94323 eval "$as_ac_var=no"
94324 fi
94325 rm -f conftest.err conftest.$ac_objext \
94326       conftest$ac_exeext conftest.$ac_ext
94327 fi
94328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94330 if test `eval echo '${'$as_ac_var'}'` = yes; then
94331   cat >>confdefs.h <<_ACEOF
94332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94333 _ACEOF
94334
94335 fi
94336 done
94337
94338     fi
94339   fi
94340
94341
94342
94343
94344
94345
94346   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
94347 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
94348   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
94349     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
94350   echo $ECHO_N "(cached) $ECHO_C" >&6
94351 else
94352
94353
94354
94355       ac_ext=cc
94356 ac_cpp='$CXXCPP $CPPFLAGS'
94357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94360
94361       cat >conftest.$ac_ext <<_ACEOF
94362 /* confdefs.h.  */
94363 _ACEOF
94364 cat confdefs.h >>conftest.$ac_ext
94365 cat >>conftest.$ac_ext <<_ACEOF
94366 /* end confdefs.h.  */
94367 #include <math.h>
94368 int
94369 main ()
94370 {
94371  hypotf(0, 0);
94372   ;
94373   return 0;
94374 }
94375 _ACEOF
94376 rm -f conftest.$ac_objext
94377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94378   (eval $ac_compile) 2>conftest.er1
94379   ac_status=$?
94380   grep -v '^ *+' conftest.er1 >conftest.err
94381   rm -f conftest.er1
94382   cat conftest.err >&5
94383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94384   (exit $ac_status); } &&
94385          { ac_try='test -z "$ac_cxx_werror_flag"
94386                          || test ! -s conftest.err'
94387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94388   (eval $ac_try) 2>&5
94389   ac_status=$?
94390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94391   (exit $ac_status); }; } &&
94392          { ac_try='test -s conftest.$ac_objext'
94393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94394   (eval $ac_try) 2>&5
94395   ac_status=$?
94396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94397   (exit $ac_status); }; }; then
94398   glibcxx_cv_func_hypotf_use=yes
94399 else
94400   echo "$as_me: failed program was:" >&5
94401 sed 's/^/| /' conftest.$ac_ext >&5
94402
94403 glibcxx_cv_func_hypotf_use=no
94404 fi
94405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94406       ac_ext=c
94407 ac_cpp='$CPP $CPPFLAGS'
94408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94411
94412
94413 fi
94414
94415   fi
94416   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
94417 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
94418
94419   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
94420
94421 for ac_func in hypotf
94422 do
94423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94424 echo "$as_me:$LINENO: checking for $ac_func" >&5
94425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94426 if eval "test \"\${$as_ac_var+set}\" = set"; then
94427   echo $ECHO_N "(cached) $ECHO_C" >&6
94428 else
94429   if test x$gcc_no_link = xyes; then
94430   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94432    { (exit 1); exit 1; }; }
94433 fi
94434 cat >conftest.$ac_ext <<_ACEOF
94435 /* confdefs.h.  */
94436 _ACEOF
94437 cat confdefs.h >>conftest.$ac_ext
94438 cat >>conftest.$ac_ext <<_ACEOF
94439 /* end confdefs.h.  */
94440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94441    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94442 #define $ac_func innocuous_$ac_func
94443
94444 /* System header to define __stub macros and hopefully few prototypes,
94445     which can conflict with char $ac_func (); below.
94446     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94447     <limits.h> exists even on freestanding compilers.  */
94448
94449 #ifdef __STDC__
94450 # include <limits.h>
94451 #else
94452 # include <assert.h>
94453 #endif
94454
94455 #undef $ac_func
94456
94457 /* Override any gcc2 internal prototype to avoid an error.  */
94458 #ifdef __cplusplus
94459 extern "C"
94460 {
94461 #endif
94462 /* We use char because int might match the return type of a gcc2
94463    builtin and then its argument prototype would still apply.  */
94464 char $ac_func ();
94465 /* The GNU C library defines this for functions which it implements
94466     to always fail with ENOSYS.  Some functions are actually named
94467     something starting with __ and the normal name is an alias.  */
94468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94469 choke me
94470 #else
94471 char (*f) () = $ac_func;
94472 #endif
94473 #ifdef __cplusplus
94474 }
94475 #endif
94476
94477 int
94478 main ()
94479 {
94480 return f != $ac_func;
94481   ;
94482   return 0;
94483 }
94484 _ACEOF
94485 rm -f conftest.$ac_objext conftest$ac_exeext
94486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94487   (eval $ac_link) 2>conftest.er1
94488   ac_status=$?
94489   grep -v '^ *+' conftest.er1 >conftest.err
94490   rm -f conftest.er1
94491   cat conftest.err >&5
94492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94493   (exit $ac_status); } &&
94494          { ac_try='test -z "$ac_c_werror_flag"
94495                          || test ! -s conftest.err'
94496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94497   (eval $ac_try) 2>&5
94498   ac_status=$?
94499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94500   (exit $ac_status); }; } &&
94501          { ac_try='test -s conftest$ac_exeext'
94502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94503   (eval $ac_try) 2>&5
94504   ac_status=$?
94505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94506   (exit $ac_status); }; }; then
94507   eval "$as_ac_var=yes"
94508 else
94509   echo "$as_me: failed program was:" >&5
94510 sed 's/^/| /' conftest.$ac_ext >&5
94511
94512 eval "$as_ac_var=no"
94513 fi
94514 rm -f conftest.err conftest.$ac_objext \
94515       conftest$ac_exeext conftest.$ac_ext
94516 fi
94517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94519 if test `eval echo '${'$as_ac_var'}'` = yes; then
94520   cat >>confdefs.h <<_ACEOF
94521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94522 _ACEOF
94523
94524 fi
94525 done
94526
94527   else
94528
94529   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
94530 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
94531   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
94532     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
94533   echo $ECHO_N "(cached) $ECHO_C" >&6
94534 else
94535
94536
94537
94538       ac_ext=cc
94539 ac_cpp='$CXXCPP $CPPFLAGS'
94540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94543
94544       cat >conftest.$ac_ext <<_ACEOF
94545 /* confdefs.h.  */
94546 _ACEOF
94547 cat confdefs.h >>conftest.$ac_ext
94548 cat >>conftest.$ac_ext <<_ACEOF
94549 /* end confdefs.h.  */
94550 #include <math.h>
94551 int
94552 main ()
94553 {
94554  _hypotf(0, 0);
94555   ;
94556   return 0;
94557 }
94558 _ACEOF
94559 rm -f conftest.$ac_objext
94560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94561   (eval $ac_compile) 2>conftest.er1
94562   ac_status=$?
94563   grep -v '^ *+' conftest.er1 >conftest.err
94564   rm -f conftest.er1
94565   cat conftest.err >&5
94566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94567   (exit $ac_status); } &&
94568          { ac_try='test -z "$ac_cxx_werror_flag"
94569                          || test ! -s conftest.err'
94570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94571   (eval $ac_try) 2>&5
94572   ac_status=$?
94573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94574   (exit $ac_status); }; } &&
94575          { ac_try='test -s conftest.$ac_objext'
94576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94577   (eval $ac_try) 2>&5
94578   ac_status=$?
94579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94580   (exit $ac_status); }; }; then
94581   glibcxx_cv_func__hypotf_use=yes
94582 else
94583   echo "$as_me: failed program was:" >&5
94584 sed 's/^/| /' conftest.$ac_ext >&5
94585
94586 glibcxx_cv_func__hypotf_use=no
94587 fi
94588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94589       ac_ext=c
94590 ac_cpp='$CPP $CPPFLAGS'
94591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94594
94595
94596 fi
94597
94598   fi
94599   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
94600 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
94601
94602     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
94603
94604 for ac_func in _hypotf
94605 do
94606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94607 echo "$as_me:$LINENO: checking for $ac_func" >&5
94608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94609 if eval "test \"\${$as_ac_var+set}\" = set"; then
94610   echo $ECHO_N "(cached) $ECHO_C" >&6
94611 else
94612   if test x$gcc_no_link = xyes; then
94613   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94615    { (exit 1); exit 1; }; }
94616 fi
94617 cat >conftest.$ac_ext <<_ACEOF
94618 /* confdefs.h.  */
94619 _ACEOF
94620 cat confdefs.h >>conftest.$ac_ext
94621 cat >>conftest.$ac_ext <<_ACEOF
94622 /* end confdefs.h.  */
94623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94624    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94625 #define $ac_func innocuous_$ac_func
94626
94627 /* System header to define __stub macros and hopefully few prototypes,
94628     which can conflict with char $ac_func (); below.
94629     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94630     <limits.h> exists even on freestanding compilers.  */
94631
94632 #ifdef __STDC__
94633 # include <limits.h>
94634 #else
94635 # include <assert.h>
94636 #endif
94637
94638 #undef $ac_func
94639
94640 /* Override any gcc2 internal prototype to avoid an error.  */
94641 #ifdef __cplusplus
94642 extern "C"
94643 {
94644 #endif
94645 /* We use char because int might match the return type of a gcc2
94646    builtin and then its argument prototype would still apply.  */
94647 char $ac_func ();
94648 /* The GNU C library defines this for functions which it implements
94649     to always fail with ENOSYS.  Some functions are actually named
94650     something starting with __ and the normal name is an alias.  */
94651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94652 choke me
94653 #else
94654 char (*f) () = $ac_func;
94655 #endif
94656 #ifdef __cplusplus
94657 }
94658 #endif
94659
94660 int
94661 main ()
94662 {
94663 return f != $ac_func;
94664   ;
94665   return 0;
94666 }
94667 _ACEOF
94668 rm -f conftest.$ac_objext conftest$ac_exeext
94669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94670   (eval $ac_link) 2>conftest.er1
94671   ac_status=$?
94672   grep -v '^ *+' conftest.er1 >conftest.err
94673   rm -f conftest.er1
94674   cat conftest.err >&5
94675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94676   (exit $ac_status); } &&
94677          { ac_try='test -z "$ac_c_werror_flag"
94678                          || test ! -s conftest.err'
94679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94680   (eval $ac_try) 2>&5
94681   ac_status=$?
94682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94683   (exit $ac_status); }; } &&
94684          { ac_try='test -s conftest$ac_exeext'
94685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94686   (eval $ac_try) 2>&5
94687   ac_status=$?
94688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94689   (exit $ac_status); }; }; then
94690   eval "$as_ac_var=yes"
94691 else
94692   echo "$as_me: failed program was:" >&5
94693 sed 's/^/| /' conftest.$ac_ext >&5
94694
94695 eval "$as_ac_var=no"
94696 fi
94697 rm -f conftest.err conftest.$ac_objext \
94698       conftest$ac_exeext conftest.$ac_ext
94699 fi
94700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94702 if test `eval echo '${'$as_ac_var'}'` = yes; then
94703   cat >>confdefs.h <<_ACEOF
94704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94705 _ACEOF
94706
94707 fi
94708 done
94709
94710     fi
94711   fi
94712
94713
94714
94715
94716
94717
94718   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
94719 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
94720   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
94721     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
94722   echo $ECHO_N "(cached) $ECHO_C" >&6
94723 else
94724
94725
94726
94727       ac_ext=cc
94728 ac_cpp='$CXXCPP $CPPFLAGS'
94729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94732
94733       cat >conftest.$ac_ext <<_ACEOF
94734 /* confdefs.h.  */
94735 _ACEOF
94736 cat confdefs.h >>conftest.$ac_ext
94737 cat >>conftest.$ac_ext <<_ACEOF
94738 /* end confdefs.h.  */
94739 #include <math.h>
94740 int
94741 main ()
94742 {
94743  ldexpf(0, 0);
94744   ;
94745   return 0;
94746 }
94747 _ACEOF
94748 rm -f conftest.$ac_objext
94749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94750   (eval $ac_compile) 2>conftest.er1
94751   ac_status=$?
94752   grep -v '^ *+' conftest.er1 >conftest.err
94753   rm -f conftest.er1
94754   cat conftest.err >&5
94755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94756   (exit $ac_status); } &&
94757          { ac_try='test -z "$ac_cxx_werror_flag"
94758                          || test ! -s conftest.err'
94759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94760   (eval $ac_try) 2>&5
94761   ac_status=$?
94762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94763   (exit $ac_status); }; } &&
94764          { ac_try='test -s conftest.$ac_objext'
94765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94766   (eval $ac_try) 2>&5
94767   ac_status=$?
94768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94769   (exit $ac_status); }; }; then
94770   glibcxx_cv_func_ldexpf_use=yes
94771 else
94772   echo "$as_me: failed program was:" >&5
94773 sed 's/^/| /' conftest.$ac_ext >&5
94774
94775 glibcxx_cv_func_ldexpf_use=no
94776 fi
94777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94778       ac_ext=c
94779 ac_cpp='$CPP $CPPFLAGS'
94780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94783
94784
94785 fi
94786
94787   fi
94788   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
94789 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
94790
94791   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
94792
94793 for ac_func in ldexpf
94794 do
94795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94796 echo "$as_me:$LINENO: checking for $ac_func" >&5
94797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94798 if eval "test \"\${$as_ac_var+set}\" = set"; then
94799   echo $ECHO_N "(cached) $ECHO_C" >&6
94800 else
94801   if test x$gcc_no_link = xyes; then
94802   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94804    { (exit 1); exit 1; }; }
94805 fi
94806 cat >conftest.$ac_ext <<_ACEOF
94807 /* confdefs.h.  */
94808 _ACEOF
94809 cat confdefs.h >>conftest.$ac_ext
94810 cat >>conftest.$ac_ext <<_ACEOF
94811 /* end confdefs.h.  */
94812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94813    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94814 #define $ac_func innocuous_$ac_func
94815
94816 /* System header to define __stub macros and hopefully few prototypes,
94817     which can conflict with char $ac_func (); below.
94818     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94819     <limits.h> exists even on freestanding compilers.  */
94820
94821 #ifdef __STDC__
94822 # include <limits.h>
94823 #else
94824 # include <assert.h>
94825 #endif
94826
94827 #undef $ac_func
94828
94829 /* Override any gcc2 internal prototype to avoid an error.  */
94830 #ifdef __cplusplus
94831 extern "C"
94832 {
94833 #endif
94834 /* We use char because int might match the return type of a gcc2
94835    builtin and then its argument prototype would still apply.  */
94836 char $ac_func ();
94837 /* The GNU C library defines this for functions which it implements
94838     to always fail with ENOSYS.  Some functions are actually named
94839     something starting with __ and the normal name is an alias.  */
94840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94841 choke me
94842 #else
94843 char (*f) () = $ac_func;
94844 #endif
94845 #ifdef __cplusplus
94846 }
94847 #endif
94848
94849 int
94850 main ()
94851 {
94852 return f != $ac_func;
94853   ;
94854   return 0;
94855 }
94856 _ACEOF
94857 rm -f conftest.$ac_objext conftest$ac_exeext
94858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94859   (eval $ac_link) 2>conftest.er1
94860   ac_status=$?
94861   grep -v '^ *+' conftest.er1 >conftest.err
94862   rm -f conftest.er1
94863   cat conftest.err >&5
94864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94865   (exit $ac_status); } &&
94866          { ac_try='test -z "$ac_c_werror_flag"
94867                          || test ! -s conftest.err'
94868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94869   (eval $ac_try) 2>&5
94870   ac_status=$?
94871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94872   (exit $ac_status); }; } &&
94873          { ac_try='test -s conftest$ac_exeext'
94874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94875   (eval $ac_try) 2>&5
94876   ac_status=$?
94877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94878   (exit $ac_status); }; }; then
94879   eval "$as_ac_var=yes"
94880 else
94881   echo "$as_me: failed program was:" >&5
94882 sed 's/^/| /' conftest.$ac_ext >&5
94883
94884 eval "$as_ac_var=no"
94885 fi
94886 rm -f conftest.err conftest.$ac_objext \
94887       conftest$ac_exeext conftest.$ac_ext
94888 fi
94889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94891 if test `eval echo '${'$as_ac_var'}'` = yes; then
94892   cat >>confdefs.h <<_ACEOF
94893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94894 _ACEOF
94895
94896 fi
94897 done
94898
94899   else
94900
94901   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
94902 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
94903   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
94904     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
94905   echo $ECHO_N "(cached) $ECHO_C" >&6
94906 else
94907
94908
94909
94910       ac_ext=cc
94911 ac_cpp='$CXXCPP $CPPFLAGS'
94912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94915
94916       cat >conftest.$ac_ext <<_ACEOF
94917 /* confdefs.h.  */
94918 _ACEOF
94919 cat confdefs.h >>conftest.$ac_ext
94920 cat >>conftest.$ac_ext <<_ACEOF
94921 /* end confdefs.h.  */
94922 #include <math.h>
94923 int
94924 main ()
94925 {
94926  _ldexpf(0, 0);
94927   ;
94928   return 0;
94929 }
94930 _ACEOF
94931 rm -f conftest.$ac_objext
94932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94933   (eval $ac_compile) 2>conftest.er1
94934   ac_status=$?
94935   grep -v '^ *+' conftest.er1 >conftest.err
94936   rm -f conftest.er1
94937   cat conftest.err >&5
94938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94939   (exit $ac_status); } &&
94940          { ac_try='test -z "$ac_cxx_werror_flag"
94941                          || test ! -s conftest.err'
94942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94943   (eval $ac_try) 2>&5
94944   ac_status=$?
94945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94946   (exit $ac_status); }; } &&
94947          { ac_try='test -s conftest.$ac_objext'
94948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94949   (eval $ac_try) 2>&5
94950   ac_status=$?
94951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94952   (exit $ac_status); }; }; then
94953   glibcxx_cv_func__ldexpf_use=yes
94954 else
94955   echo "$as_me: failed program was:" >&5
94956 sed 's/^/| /' conftest.$ac_ext >&5
94957
94958 glibcxx_cv_func__ldexpf_use=no
94959 fi
94960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94961       ac_ext=c
94962 ac_cpp='$CPP $CPPFLAGS'
94963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94966
94967
94968 fi
94969
94970   fi
94971   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
94972 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
94973
94974     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
94975
94976 for ac_func in _ldexpf
94977 do
94978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94979 echo "$as_me:$LINENO: checking for $ac_func" >&5
94980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94981 if eval "test \"\${$as_ac_var+set}\" = set"; then
94982   echo $ECHO_N "(cached) $ECHO_C" >&6
94983 else
94984   if test x$gcc_no_link = xyes; then
94985   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94987    { (exit 1); exit 1; }; }
94988 fi
94989 cat >conftest.$ac_ext <<_ACEOF
94990 /* confdefs.h.  */
94991 _ACEOF
94992 cat confdefs.h >>conftest.$ac_ext
94993 cat >>conftest.$ac_ext <<_ACEOF
94994 /* end confdefs.h.  */
94995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94996    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94997 #define $ac_func innocuous_$ac_func
94998
94999 /* System header to define __stub macros and hopefully few prototypes,
95000     which can conflict with char $ac_func (); below.
95001     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95002     <limits.h> exists even on freestanding compilers.  */
95003
95004 #ifdef __STDC__
95005 # include <limits.h>
95006 #else
95007 # include <assert.h>
95008 #endif
95009
95010 #undef $ac_func
95011
95012 /* Override any gcc2 internal prototype to avoid an error.  */
95013 #ifdef __cplusplus
95014 extern "C"
95015 {
95016 #endif
95017 /* We use char because int might match the return type of a gcc2
95018    builtin and then its argument prototype would still apply.  */
95019 char $ac_func ();
95020 /* The GNU C library defines this for functions which it implements
95021     to always fail with ENOSYS.  Some functions are actually named
95022     something starting with __ and the normal name is an alias.  */
95023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95024 choke me
95025 #else
95026 char (*f) () = $ac_func;
95027 #endif
95028 #ifdef __cplusplus
95029 }
95030 #endif
95031
95032 int
95033 main ()
95034 {
95035 return f != $ac_func;
95036   ;
95037   return 0;
95038 }
95039 _ACEOF
95040 rm -f conftest.$ac_objext conftest$ac_exeext
95041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95042   (eval $ac_link) 2>conftest.er1
95043   ac_status=$?
95044   grep -v '^ *+' conftest.er1 >conftest.err
95045   rm -f conftest.er1
95046   cat conftest.err >&5
95047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95048   (exit $ac_status); } &&
95049          { ac_try='test -z "$ac_c_werror_flag"
95050                          || test ! -s conftest.err'
95051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95052   (eval $ac_try) 2>&5
95053   ac_status=$?
95054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95055   (exit $ac_status); }; } &&
95056          { ac_try='test -s conftest$ac_exeext'
95057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95058   (eval $ac_try) 2>&5
95059   ac_status=$?
95060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95061   (exit $ac_status); }; }; then
95062   eval "$as_ac_var=yes"
95063 else
95064   echo "$as_me: failed program was:" >&5
95065 sed 's/^/| /' conftest.$ac_ext >&5
95066
95067 eval "$as_ac_var=no"
95068 fi
95069 rm -f conftest.err conftest.$ac_objext \
95070       conftest$ac_exeext conftest.$ac_ext
95071 fi
95072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95074 if test `eval echo '${'$as_ac_var'}'` = yes; then
95075   cat >>confdefs.h <<_ACEOF
95076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95077 _ACEOF
95078
95079 fi
95080 done
95081
95082     fi
95083   fi
95084
95085
95086
95087
95088
95089
95090   echo "$as_me:$LINENO: checking for logf declaration" >&5
95091 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
95092   if test x${glibcxx_cv_func_logf_use+set} != xset; then
95093     if test "${glibcxx_cv_func_logf_use+set}" = set; then
95094   echo $ECHO_N "(cached) $ECHO_C" >&6
95095 else
95096
95097
95098
95099       ac_ext=cc
95100 ac_cpp='$CXXCPP $CPPFLAGS'
95101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95104
95105       cat >conftest.$ac_ext <<_ACEOF
95106 /* confdefs.h.  */
95107 _ACEOF
95108 cat confdefs.h >>conftest.$ac_ext
95109 cat >>conftest.$ac_ext <<_ACEOF
95110 /* end confdefs.h.  */
95111 #include <math.h>
95112                       #ifdef HAVE_IEEEFP_H
95113                       #include <ieeefp.h>
95114                       #endif
95115
95116 int
95117 main ()
95118 {
95119  logf(0);
95120   ;
95121   return 0;
95122 }
95123 _ACEOF
95124 rm -f conftest.$ac_objext
95125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95126   (eval $ac_compile) 2>conftest.er1
95127   ac_status=$?
95128   grep -v '^ *+' conftest.er1 >conftest.err
95129   rm -f conftest.er1
95130   cat conftest.err >&5
95131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95132   (exit $ac_status); } &&
95133          { ac_try='test -z "$ac_cxx_werror_flag"
95134                          || test ! -s conftest.err'
95135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95136   (eval $ac_try) 2>&5
95137   ac_status=$?
95138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95139   (exit $ac_status); }; } &&
95140          { ac_try='test -s conftest.$ac_objext'
95141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95142   (eval $ac_try) 2>&5
95143   ac_status=$?
95144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95145   (exit $ac_status); }; }; then
95146   glibcxx_cv_func_logf_use=yes
95147 else
95148   echo "$as_me: failed program was:" >&5
95149 sed 's/^/| /' conftest.$ac_ext >&5
95150
95151 glibcxx_cv_func_logf_use=no
95152 fi
95153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95154       ac_ext=c
95155 ac_cpp='$CPP $CPPFLAGS'
95156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95159
95160
95161 fi
95162
95163   fi
95164   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
95165 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
95166
95167   if test x$glibcxx_cv_func_logf_use = x"yes"; then
95168
95169 for ac_func in logf
95170 do
95171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95172 echo "$as_me:$LINENO: checking for $ac_func" >&5
95173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95174 if eval "test \"\${$as_ac_var+set}\" = set"; then
95175   echo $ECHO_N "(cached) $ECHO_C" >&6
95176 else
95177   if test x$gcc_no_link = xyes; then
95178   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95180    { (exit 1); exit 1; }; }
95181 fi
95182 cat >conftest.$ac_ext <<_ACEOF
95183 /* confdefs.h.  */
95184 _ACEOF
95185 cat confdefs.h >>conftest.$ac_ext
95186 cat >>conftest.$ac_ext <<_ACEOF
95187 /* end confdefs.h.  */
95188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95189    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95190 #define $ac_func innocuous_$ac_func
95191
95192 /* System header to define __stub macros and hopefully few prototypes,
95193     which can conflict with char $ac_func (); below.
95194     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95195     <limits.h> exists even on freestanding compilers.  */
95196
95197 #ifdef __STDC__
95198 # include <limits.h>
95199 #else
95200 # include <assert.h>
95201 #endif
95202
95203 #undef $ac_func
95204
95205 /* Override any gcc2 internal prototype to avoid an error.  */
95206 #ifdef __cplusplus
95207 extern "C"
95208 {
95209 #endif
95210 /* We use char because int might match the return type of a gcc2
95211    builtin and then its argument prototype would still apply.  */
95212 char $ac_func ();
95213 /* The GNU C library defines this for functions which it implements
95214     to always fail with ENOSYS.  Some functions are actually named
95215     something starting with __ and the normal name is an alias.  */
95216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95217 choke me
95218 #else
95219 char (*f) () = $ac_func;
95220 #endif
95221 #ifdef __cplusplus
95222 }
95223 #endif
95224
95225 int
95226 main ()
95227 {
95228 return f != $ac_func;
95229   ;
95230   return 0;
95231 }
95232 _ACEOF
95233 rm -f conftest.$ac_objext conftest$ac_exeext
95234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95235   (eval $ac_link) 2>conftest.er1
95236   ac_status=$?
95237   grep -v '^ *+' conftest.er1 >conftest.err
95238   rm -f conftest.er1
95239   cat conftest.err >&5
95240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95241   (exit $ac_status); } &&
95242          { ac_try='test -z "$ac_c_werror_flag"
95243                          || test ! -s conftest.err'
95244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95245   (eval $ac_try) 2>&5
95246   ac_status=$?
95247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95248   (exit $ac_status); }; } &&
95249          { ac_try='test -s conftest$ac_exeext'
95250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95251   (eval $ac_try) 2>&5
95252   ac_status=$?
95253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95254   (exit $ac_status); }; }; then
95255   eval "$as_ac_var=yes"
95256 else
95257   echo "$as_me: failed program was:" >&5
95258 sed 's/^/| /' conftest.$ac_ext >&5
95259
95260 eval "$as_ac_var=no"
95261 fi
95262 rm -f conftest.err conftest.$ac_objext \
95263       conftest$ac_exeext conftest.$ac_ext
95264 fi
95265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95267 if test `eval echo '${'$as_ac_var'}'` = yes; then
95268   cat >>confdefs.h <<_ACEOF
95269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95270 _ACEOF
95271
95272 fi
95273 done
95274
95275   else
95276
95277   echo "$as_me:$LINENO: checking for _logf declaration" >&5
95278 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
95279   if test x${glibcxx_cv_func__logf_use+set} != xset; then
95280     if test "${glibcxx_cv_func__logf_use+set}" = set; then
95281   echo $ECHO_N "(cached) $ECHO_C" >&6
95282 else
95283
95284
95285
95286       ac_ext=cc
95287 ac_cpp='$CXXCPP $CPPFLAGS'
95288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95291
95292       cat >conftest.$ac_ext <<_ACEOF
95293 /* confdefs.h.  */
95294 _ACEOF
95295 cat confdefs.h >>conftest.$ac_ext
95296 cat >>conftest.$ac_ext <<_ACEOF
95297 /* end confdefs.h.  */
95298 #include <math.h>
95299                       #ifdef HAVE_IEEEFP_H
95300                       #include <ieeefp.h>
95301                       #endif
95302
95303 int
95304 main ()
95305 {
95306  _logf(0);
95307   ;
95308   return 0;
95309 }
95310 _ACEOF
95311 rm -f conftest.$ac_objext
95312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95313   (eval $ac_compile) 2>conftest.er1
95314   ac_status=$?
95315   grep -v '^ *+' conftest.er1 >conftest.err
95316   rm -f conftest.er1
95317   cat conftest.err >&5
95318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95319   (exit $ac_status); } &&
95320          { ac_try='test -z "$ac_cxx_werror_flag"
95321                          || test ! -s conftest.err'
95322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95323   (eval $ac_try) 2>&5
95324   ac_status=$?
95325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95326   (exit $ac_status); }; } &&
95327          { ac_try='test -s conftest.$ac_objext'
95328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95329   (eval $ac_try) 2>&5
95330   ac_status=$?
95331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95332   (exit $ac_status); }; }; then
95333   glibcxx_cv_func__logf_use=yes
95334 else
95335   echo "$as_me: failed program was:" >&5
95336 sed 's/^/| /' conftest.$ac_ext >&5
95337
95338 glibcxx_cv_func__logf_use=no
95339 fi
95340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95341       ac_ext=c
95342 ac_cpp='$CPP $CPPFLAGS'
95343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95346
95347
95348 fi
95349
95350   fi
95351   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
95352 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
95353
95354     if test x$glibcxx_cv_func__logf_use = x"yes"; then
95355
95356 for ac_func in _logf
95357 do
95358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95359 echo "$as_me:$LINENO: checking for $ac_func" >&5
95360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95361 if eval "test \"\${$as_ac_var+set}\" = set"; then
95362   echo $ECHO_N "(cached) $ECHO_C" >&6
95363 else
95364   if test x$gcc_no_link = xyes; then
95365   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95367    { (exit 1); exit 1; }; }
95368 fi
95369 cat >conftest.$ac_ext <<_ACEOF
95370 /* confdefs.h.  */
95371 _ACEOF
95372 cat confdefs.h >>conftest.$ac_ext
95373 cat >>conftest.$ac_ext <<_ACEOF
95374 /* end confdefs.h.  */
95375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95376    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95377 #define $ac_func innocuous_$ac_func
95378
95379 /* System header to define __stub macros and hopefully few prototypes,
95380     which can conflict with char $ac_func (); below.
95381     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95382     <limits.h> exists even on freestanding compilers.  */
95383
95384 #ifdef __STDC__
95385 # include <limits.h>
95386 #else
95387 # include <assert.h>
95388 #endif
95389
95390 #undef $ac_func
95391
95392 /* Override any gcc2 internal prototype to avoid an error.  */
95393 #ifdef __cplusplus
95394 extern "C"
95395 {
95396 #endif
95397 /* We use char because int might match the return type of a gcc2
95398    builtin and then its argument prototype would still apply.  */
95399 char $ac_func ();
95400 /* The GNU C library defines this for functions which it implements
95401     to always fail with ENOSYS.  Some functions are actually named
95402     something starting with __ and the normal name is an alias.  */
95403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95404 choke me
95405 #else
95406 char (*f) () = $ac_func;
95407 #endif
95408 #ifdef __cplusplus
95409 }
95410 #endif
95411
95412 int
95413 main ()
95414 {
95415 return f != $ac_func;
95416   ;
95417   return 0;
95418 }
95419 _ACEOF
95420 rm -f conftest.$ac_objext conftest$ac_exeext
95421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95422   (eval $ac_link) 2>conftest.er1
95423   ac_status=$?
95424   grep -v '^ *+' conftest.er1 >conftest.err
95425   rm -f conftest.er1
95426   cat conftest.err >&5
95427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95428   (exit $ac_status); } &&
95429          { ac_try='test -z "$ac_c_werror_flag"
95430                          || test ! -s conftest.err'
95431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95432   (eval $ac_try) 2>&5
95433   ac_status=$?
95434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95435   (exit $ac_status); }; } &&
95436          { ac_try='test -s conftest$ac_exeext'
95437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95438   (eval $ac_try) 2>&5
95439   ac_status=$?
95440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95441   (exit $ac_status); }; }; then
95442   eval "$as_ac_var=yes"
95443 else
95444   echo "$as_me: failed program was:" >&5
95445 sed 's/^/| /' conftest.$ac_ext >&5
95446
95447 eval "$as_ac_var=no"
95448 fi
95449 rm -f conftest.err conftest.$ac_objext \
95450       conftest$ac_exeext conftest.$ac_ext
95451 fi
95452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95454 if test `eval echo '${'$as_ac_var'}'` = yes; then
95455   cat >>confdefs.h <<_ACEOF
95456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95457 _ACEOF
95458
95459 fi
95460 done
95461
95462     fi
95463   fi
95464
95465
95466
95467
95468
95469
95470   echo "$as_me:$LINENO: checking for log10f declaration" >&5
95471 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
95472   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
95473     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
95474   echo $ECHO_N "(cached) $ECHO_C" >&6
95475 else
95476
95477
95478
95479       ac_ext=cc
95480 ac_cpp='$CXXCPP $CPPFLAGS'
95481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95484
95485       cat >conftest.$ac_ext <<_ACEOF
95486 /* confdefs.h.  */
95487 _ACEOF
95488 cat confdefs.h >>conftest.$ac_ext
95489 cat >>conftest.$ac_ext <<_ACEOF
95490 /* end confdefs.h.  */
95491 #include <math.h>
95492                       #ifdef HAVE_IEEEFP_H
95493                       #include <ieeefp.h>
95494                       #endif
95495
95496 int
95497 main ()
95498 {
95499  log10f(0);
95500   ;
95501   return 0;
95502 }
95503 _ACEOF
95504 rm -f conftest.$ac_objext
95505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95506   (eval $ac_compile) 2>conftest.er1
95507   ac_status=$?
95508   grep -v '^ *+' conftest.er1 >conftest.err
95509   rm -f conftest.er1
95510   cat conftest.err >&5
95511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95512   (exit $ac_status); } &&
95513          { ac_try='test -z "$ac_cxx_werror_flag"
95514                          || test ! -s conftest.err'
95515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95516   (eval $ac_try) 2>&5
95517   ac_status=$?
95518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95519   (exit $ac_status); }; } &&
95520          { ac_try='test -s conftest.$ac_objext'
95521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95522   (eval $ac_try) 2>&5
95523   ac_status=$?
95524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95525   (exit $ac_status); }; }; then
95526   glibcxx_cv_func_log10f_use=yes
95527 else
95528   echo "$as_me: failed program was:" >&5
95529 sed 's/^/| /' conftest.$ac_ext >&5
95530
95531 glibcxx_cv_func_log10f_use=no
95532 fi
95533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95534       ac_ext=c
95535 ac_cpp='$CPP $CPPFLAGS'
95536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95539
95540
95541 fi
95542
95543   fi
95544   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
95545 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
95546
95547   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
95548
95549 for ac_func in log10f
95550 do
95551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95552 echo "$as_me:$LINENO: checking for $ac_func" >&5
95553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95554 if eval "test \"\${$as_ac_var+set}\" = set"; then
95555   echo $ECHO_N "(cached) $ECHO_C" >&6
95556 else
95557   if test x$gcc_no_link = xyes; then
95558   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95560    { (exit 1); exit 1; }; }
95561 fi
95562 cat >conftest.$ac_ext <<_ACEOF
95563 /* confdefs.h.  */
95564 _ACEOF
95565 cat confdefs.h >>conftest.$ac_ext
95566 cat >>conftest.$ac_ext <<_ACEOF
95567 /* end confdefs.h.  */
95568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95569    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95570 #define $ac_func innocuous_$ac_func
95571
95572 /* System header to define __stub macros and hopefully few prototypes,
95573     which can conflict with char $ac_func (); below.
95574     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95575     <limits.h> exists even on freestanding compilers.  */
95576
95577 #ifdef __STDC__
95578 # include <limits.h>
95579 #else
95580 # include <assert.h>
95581 #endif
95582
95583 #undef $ac_func
95584
95585 /* Override any gcc2 internal prototype to avoid an error.  */
95586 #ifdef __cplusplus
95587 extern "C"
95588 {
95589 #endif
95590 /* We use char because int might match the return type of a gcc2
95591    builtin and then its argument prototype would still apply.  */
95592 char $ac_func ();
95593 /* The GNU C library defines this for functions which it implements
95594     to always fail with ENOSYS.  Some functions are actually named
95595     something starting with __ and the normal name is an alias.  */
95596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95597 choke me
95598 #else
95599 char (*f) () = $ac_func;
95600 #endif
95601 #ifdef __cplusplus
95602 }
95603 #endif
95604
95605 int
95606 main ()
95607 {
95608 return f != $ac_func;
95609   ;
95610   return 0;
95611 }
95612 _ACEOF
95613 rm -f conftest.$ac_objext conftest$ac_exeext
95614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95615   (eval $ac_link) 2>conftest.er1
95616   ac_status=$?
95617   grep -v '^ *+' conftest.er1 >conftest.err
95618   rm -f conftest.er1
95619   cat conftest.err >&5
95620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95621   (exit $ac_status); } &&
95622          { ac_try='test -z "$ac_c_werror_flag"
95623                          || test ! -s conftest.err'
95624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95625   (eval $ac_try) 2>&5
95626   ac_status=$?
95627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95628   (exit $ac_status); }; } &&
95629          { ac_try='test -s conftest$ac_exeext'
95630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95631   (eval $ac_try) 2>&5
95632   ac_status=$?
95633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95634   (exit $ac_status); }; }; then
95635   eval "$as_ac_var=yes"
95636 else
95637   echo "$as_me: failed program was:" >&5
95638 sed 's/^/| /' conftest.$ac_ext >&5
95639
95640 eval "$as_ac_var=no"
95641 fi
95642 rm -f conftest.err conftest.$ac_objext \
95643       conftest$ac_exeext conftest.$ac_ext
95644 fi
95645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95647 if test `eval echo '${'$as_ac_var'}'` = yes; then
95648   cat >>confdefs.h <<_ACEOF
95649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95650 _ACEOF
95651
95652 fi
95653 done
95654
95655   else
95656
95657   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
95658 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
95659   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
95660     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
95661   echo $ECHO_N "(cached) $ECHO_C" >&6
95662 else
95663
95664
95665
95666       ac_ext=cc
95667 ac_cpp='$CXXCPP $CPPFLAGS'
95668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95671
95672       cat >conftest.$ac_ext <<_ACEOF
95673 /* confdefs.h.  */
95674 _ACEOF
95675 cat confdefs.h >>conftest.$ac_ext
95676 cat >>conftest.$ac_ext <<_ACEOF
95677 /* end confdefs.h.  */
95678 #include <math.h>
95679                       #ifdef HAVE_IEEEFP_H
95680                       #include <ieeefp.h>
95681                       #endif
95682
95683 int
95684 main ()
95685 {
95686  _log10f(0);
95687   ;
95688   return 0;
95689 }
95690 _ACEOF
95691 rm -f conftest.$ac_objext
95692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95693   (eval $ac_compile) 2>conftest.er1
95694   ac_status=$?
95695   grep -v '^ *+' conftest.er1 >conftest.err
95696   rm -f conftest.er1
95697   cat conftest.err >&5
95698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95699   (exit $ac_status); } &&
95700          { ac_try='test -z "$ac_cxx_werror_flag"
95701                          || test ! -s conftest.err'
95702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95703   (eval $ac_try) 2>&5
95704   ac_status=$?
95705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95706   (exit $ac_status); }; } &&
95707          { ac_try='test -s conftest.$ac_objext'
95708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95709   (eval $ac_try) 2>&5
95710   ac_status=$?
95711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95712   (exit $ac_status); }; }; then
95713   glibcxx_cv_func__log10f_use=yes
95714 else
95715   echo "$as_me: failed program was:" >&5
95716 sed 's/^/| /' conftest.$ac_ext >&5
95717
95718 glibcxx_cv_func__log10f_use=no
95719 fi
95720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95721       ac_ext=c
95722 ac_cpp='$CPP $CPPFLAGS'
95723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95726
95727
95728 fi
95729
95730   fi
95731   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
95732 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
95733
95734     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
95735
95736 for ac_func in _log10f
95737 do
95738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95739 echo "$as_me:$LINENO: checking for $ac_func" >&5
95740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95741 if eval "test \"\${$as_ac_var+set}\" = set"; then
95742   echo $ECHO_N "(cached) $ECHO_C" >&6
95743 else
95744   if test x$gcc_no_link = xyes; then
95745   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95747    { (exit 1); exit 1; }; }
95748 fi
95749 cat >conftest.$ac_ext <<_ACEOF
95750 /* confdefs.h.  */
95751 _ACEOF
95752 cat confdefs.h >>conftest.$ac_ext
95753 cat >>conftest.$ac_ext <<_ACEOF
95754 /* end confdefs.h.  */
95755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95756    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95757 #define $ac_func innocuous_$ac_func
95758
95759 /* System header to define __stub macros and hopefully few prototypes,
95760     which can conflict with char $ac_func (); below.
95761     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95762     <limits.h> exists even on freestanding compilers.  */
95763
95764 #ifdef __STDC__
95765 # include <limits.h>
95766 #else
95767 # include <assert.h>
95768 #endif
95769
95770 #undef $ac_func
95771
95772 /* Override any gcc2 internal prototype to avoid an error.  */
95773 #ifdef __cplusplus
95774 extern "C"
95775 {
95776 #endif
95777 /* We use char because int might match the return type of a gcc2
95778    builtin and then its argument prototype would still apply.  */
95779 char $ac_func ();
95780 /* The GNU C library defines this for functions which it implements
95781     to always fail with ENOSYS.  Some functions are actually named
95782     something starting with __ and the normal name is an alias.  */
95783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95784 choke me
95785 #else
95786 char (*f) () = $ac_func;
95787 #endif
95788 #ifdef __cplusplus
95789 }
95790 #endif
95791
95792 int
95793 main ()
95794 {
95795 return f != $ac_func;
95796   ;
95797   return 0;
95798 }
95799 _ACEOF
95800 rm -f conftest.$ac_objext conftest$ac_exeext
95801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95802   (eval $ac_link) 2>conftest.er1
95803   ac_status=$?
95804   grep -v '^ *+' conftest.er1 >conftest.err
95805   rm -f conftest.er1
95806   cat conftest.err >&5
95807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95808   (exit $ac_status); } &&
95809          { ac_try='test -z "$ac_c_werror_flag"
95810                          || test ! -s conftest.err'
95811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95812   (eval $ac_try) 2>&5
95813   ac_status=$?
95814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95815   (exit $ac_status); }; } &&
95816          { ac_try='test -s conftest$ac_exeext'
95817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95818   (eval $ac_try) 2>&5
95819   ac_status=$?
95820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95821   (exit $ac_status); }; }; then
95822   eval "$as_ac_var=yes"
95823 else
95824   echo "$as_me: failed program was:" >&5
95825 sed 's/^/| /' conftest.$ac_ext >&5
95826
95827 eval "$as_ac_var=no"
95828 fi
95829 rm -f conftest.err conftest.$ac_objext \
95830       conftest$ac_exeext conftest.$ac_ext
95831 fi
95832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95834 if test `eval echo '${'$as_ac_var'}'` = yes; then
95835   cat >>confdefs.h <<_ACEOF
95836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95837 _ACEOF
95838
95839 fi
95840 done
95841
95842     fi
95843   fi
95844
95845
95846
95847
95848
95849
95850   echo "$as_me:$LINENO: checking for modff declaration" >&5
95851 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
95852   if test x${glibcxx_cv_func_modff_use+set} != xset; then
95853     if test "${glibcxx_cv_func_modff_use+set}" = set; then
95854   echo $ECHO_N "(cached) $ECHO_C" >&6
95855 else
95856
95857
95858
95859       ac_ext=cc
95860 ac_cpp='$CXXCPP $CPPFLAGS'
95861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95864
95865       cat >conftest.$ac_ext <<_ACEOF
95866 /* confdefs.h.  */
95867 _ACEOF
95868 cat confdefs.h >>conftest.$ac_ext
95869 cat >>conftest.$ac_ext <<_ACEOF
95870 /* end confdefs.h.  */
95871 #include <math.h>
95872 int
95873 main ()
95874 {
95875  modff(0, 0);
95876   ;
95877   return 0;
95878 }
95879 _ACEOF
95880 rm -f conftest.$ac_objext
95881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95882   (eval $ac_compile) 2>conftest.er1
95883   ac_status=$?
95884   grep -v '^ *+' conftest.er1 >conftest.err
95885   rm -f conftest.er1
95886   cat conftest.err >&5
95887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95888   (exit $ac_status); } &&
95889          { ac_try='test -z "$ac_cxx_werror_flag"
95890                          || test ! -s conftest.err'
95891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95892   (eval $ac_try) 2>&5
95893   ac_status=$?
95894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95895   (exit $ac_status); }; } &&
95896          { ac_try='test -s conftest.$ac_objext'
95897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95898   (eval $ac_try) 2>&5
95899   ac_status=$?
95900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95901   (exit $ac_status); }; }; then
95902   glibcxx_cv_func_modff_use=yes
95903 else
95904   echo "$as_me: failed program was:" >&5
95905 sed 's/^/| /' conftest.$ac_ext >&5
95906
95907 glibcxx_cv_func_modff_use=no
95908 fi
95909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95910       ac_ext=c
95911 ac_cpp='$CPP $CPPFLAGS'
95912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95915
95916
95917 fi
95918
95919   fi
95920   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
95921 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
95922
95923   if test x$glibcxx_cv_func_modff_use = x"yes"; then
95924
95925 for ac_func in modff
95926 do
95927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95928 echo "$as_me:$LINENO: checking for $ac_func" >&5
95929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95930 if eval "test \"\${$as_ac_var+set}\" = set"; then
95931   echo $ECHO_N "(cached) $ECHO_C" >&6
95932 else
95933   if test x$gcc_no_link = xyes; then
95934   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95936    { (exit 1); exit 1; }; }
95937 fi
95938 cat >conftest.$ac_ext <<_ACEOF
95939 /* confdefs.h.  */
95940 _ACEOF
95941 cat confdefs.h >>conftest.$ac_ext
95942 cat >>conftest.$ac_ext <<_ACEOF
95943 /* end confdefs.h.  */
95944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95945    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95946 #define $ac_func innocuous_$ac_func
95947
95948 /* System header to define __stub macros and hopefully few prototypes,
95949     which can conflict with char $ac_func (); below.
95950     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95951     <limits.h> exists even on freestanding compilers.  */
95952
95953 #ifdef __STDC__
95954 # include <limits.h>
95955 #else
95956 # include <assert.h>
95957 #endif
95958
95959 #undef $ac_func
95960
95961 /* Override any gcc2 internal prototype to avoid an error.  */
95962 #ifdef __cplusplus
95963 extern "C"
95964 {
95965 #endif
95966 /* We use char because int might match the return type of a gcc2
95967    builtin and then its argument prototype would still apply.  */
95968 char $ac_func ();
95969 /* The GNU C library defines this for functions which it implements
95970     to always fail with ENOSYS.  Some functions are actually named
95971     something starting with __ and the normal name is an alias.  */
95972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95973 choke me
95974 #else
95975 char (*f) () = $ac_func;
95976 #endif
95977 #ifdef __cplusplus
95978 }
95979 #endif
95980
95981 int
95982 main ()
95983 {
95984 return f != $ac_func;
95985   ;
95986   return 0;
95987 }
95988 _ACEOF
95989 rm -f conftest.$ac_objext conftest$ac_exeext
95990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95991   (eval $ac_link) 2>conftest.er1
95992   ac_status=$?
95993   grep -v '^ *+' conftest.er1 >conftest.err
95994   rm -f conftest.er1
95995   cat conftest.err >&5
95996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95997   (exit $ac_status); } &&
95998          { ac_try='test -z "$ac_c_werror_flag"
95999                          || test ! -s conftest.err'
96000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96001   (eval $ac_try) 2>&5
96002   ac_status=$?
96003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96004   (exit $ac_status); }; } &&
96005          { ac_try='test -s conftest$ac_exeext'
96006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96007   (eval $ac_try) 2>&5
96008   ac_status=$?
96009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96010   (exit $ac_status); }; }; then
96011   eval "$as_ac_var=yes"
96012 else
96013   echo "$as_me: failed program was:" >&5
96014 sed 's/^/| /' conftest.$ac_ext >&5
96015
96016 eval "$as_ac_var=no"
96017 fi
96018 rm -f conftest.err conftest.$ac_objext \
96019       conftest$ac_exeext conftest.$ac_ext
96020 fi
96021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96023 if test `eval echo '${'$as_ac_var'}'` = yes; then
96024   cat >>confdefs.h <<_ACEOF
96025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96026 _ACEOF
96027
96028 fi
96029 done
96030
96031   else
96032
96033   echo "$as_me:$LINENO: checking for _modff declaration" >&5
96034 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
96035   if test x${glibcxx_cv_func__modff_use+set} != xset; then
96036     if test "${glibcxx_cv_func__modff_use+set}" = set; then
96037   echo $ECHO_N "(cached) $ECHO_C" >&6
96038 else
96039
96040
96041
96042       ac_ext=cc
96043 ac_cpp='$CXXCPP $CPPFLAGS'
96044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96047
96048       cat >conftest.$ac_ext <<_ACEOF
96049 /* confdefs.h.  */
96050 _ACEOF
96051 cat confdefs.h >>conftest.$ac_ext
96052 cat >>conftest.$ac_ext <<_ACEOF
96053 /* end confdefs.h.  */
96054 #include <math.h>
96055 int
96056 main ()
96057 {
96058  _modff(0, 0);
96059   ;
96060   return 0;
96061 }
96062 _ACEOF
96063 rm -f conftest.$ac_objext
96064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96065   (eval $ac_compile) 2>conftest.er1
96066   ac_status=$?
96067   grep -v '^ *+' conftest.er1 >conftest.err
96068   rm -f conftest.er1
96069   cat conftest.err >&5
96070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96071   (exit $ac_status); } &&
96072          { ac_try='test -z "$ac_cxx_werror_flag"
96073                          || test ! -s conftest.err'
96074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96075   (eval $ac_try) 2>&5
96076   ac_status=$?
96077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96078   (exit $ac_status); }; } &&
96079          { ac_try='test -s conftest.$ac_objext'
96080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96081   (eval $ac_try) 2>&5
96082   ac_status=$?
96083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96084   (exit $ac_status); }; }; then
96085   glibcxx_cv_func__modff_use=yes
96086 else
96087   echo "$as_me: failed program was:" >&5
96088 sed 's/^/| /' conftest.$ac_ext >&5
96089
96090 glibcxx_cv_func__modff_use=no
96091 fi
96092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96093       ac_ext=c
96094 ac_cpp='$CPP $CPPFLAGS'
96095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96098
96099
96100 fi
96101
96102   fi
96103   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
96104 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
96105
96106     if test x$glibcxx_cv_func__modff_use = x"yes"; then
96107
96108 for ac_func in _modff
96109 do
96110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96111 echo "$as_me:$LINENO: checking for $ac_func" >&5
96112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96113 if eval "test \"\${$as_ac_var+set}\" = set"; then
96114   echo $ECHO_N "(cached) $ECHO_C" >&6
96115 else
96116   if test x$gcc_no_link = xyes; then
96117   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96119    { (exit 1); exit 1; }; }
96120 fi
96121 cat >conftest.$ac_ext <<_ACEOF
96122 /* confdefs.h.  */
96123 _ACEOF
96124 cat confdefs.h >>conftest.$ac_ext
96125 cat >>conftest.$ac_ext <<_ACEOF
96126 /* end confdefs.h.  */
96127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96128    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96129 #define $ac_func innocuous_$ac_func
96130
96131 /* System header to define __stub macros and hopefully few prototypes,
96132     which can conflict with char $ac_func (); below.
96133     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96134     <limits.h> exists even on freestanding compilers.  */
96135
96136 #ifdef __STDC__
96137 # include <limits.h>
96138 #else
96139 # include <assert.h>
96140 #endif
96141
96142 #undef $ac_func
96143
96144 /* Override any gcc2 internal prototype to avoid an error.  */
96145 #ifdef __cplusplus
96146 extern "C"
96147 {
96148 #endif
96149 /* We use char because int might match the return type of a gcc2
96150    builtin and then its argument prototype would still apply.  */
96151 char $ac_func ();
96152 /* The GNU C library defines this for functions which it implements
96153     to always fail with ENOSYS.  Some functions are actually named
96154     something starting with __ and the normal name is an alias.  */
96155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96156 choke me
96157 #else
96158 char (*f) () = $ac_func;
96159 #endif
96160 #ifdef __cplusplus
96161 }
96162 #endif
96163
96164 int
96165 main ()
96166 {
96167 return f != $ac_func;
96168   ;
96169   return 0;
96170 }
96171 _ACEOF
96172 rm -f conftest.$ac_objext conftest$ac_exeext
96173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96174   (eval $ac_link) 2>conftest.er1
96175   ac_status=$?
96176   grep -v '^ *+' conftest.er1 >conftest.err
96177   rm -f conftest.er1
96178   cat conftest.err >&5
96179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96180   (exit $ac_status); } &&
96181          { ac_try='test -z "$ac_c_werror_flag"
96182                          || test ! -s conftest.err'
96183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96184   (eval $ac_try) 2>&5
96185   ac_status=$?
96186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96187   (exit $ac_status); }; } &&
96188          { ac_try='test -s conftest$ac_exeext'
96189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96190   (eval $ac_try) 2>&5
96191   ac_status=$?
96192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96193   (exit $ac_status); }; }; then
96194   eval "$as_ac_var=yes"
96195 else
96196   echo "$as_me: failed program was:" >&5
96197 sed 's/^/| /' conftest.$ac_ext >&5
96198
96199 eval "$as_ac_var=no"
96200 fi
96201 rm -f conftest.err conftest.$ac_objext \
96202       conftest$ac_exeext conftest.$ac_ext
96203 fi
96204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96206 if test `eval echo '${'$as_ac_var'}'` = yes; then
96207   cat >>confdefs.h <<_ACEOF
96208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96209 _ACEOF
96210
96211 fi
96212 done
96213
96214     fi
96215   fi
96216
96217
96218
96219
96220
96221
96222   echo "$as_me:$LINENO: checking for modf declaration" >&5
96223 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
96224   if test x${glibcxx_cv_func_modf_use+set} != xset; then
96225     if test "${glibcxx_cv_func_modf_use+set}" = set; then
96226   echo $ECHO_N "(cached) $ECHO_C" >&6
96227 else
96228
96229
96230
96231       ac_ext=cc
96232 ac_cpp='$CXXCPP $CPPFLAGS'
96233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96236
96237       cat >conftest.$ac_ext <<_ACEOF
96238 /* confdefs.h.  */
96239 _ACEOF
96240 cat confdefs.h >>conftest.$ac_ext
96241 cat >>conftest.$ac_ext <<_ACEOF
96242 /* end confdefs.h.  */
96243 #include <math.h>
96244 int
96245 main ()
96246 {
96247  modf(0, 0);
96248   ;
96249   return 0;
96250 }
96251 _ACEOF
96252 rm -f conftest.$ac_objext
96253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96254   (eval $ac_compile) 2>conftest.er1
96255   ac_status=$?
96256   grep -v '^ *+' conftest.er1 >conftest.err
96257   rm -f conftest.er1
96258   cat conftest.err >&5
96259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96260   (exit $ac_status); } &&
96261          { ac_try='test -z "$ac_cxx_werror_flag"
96262                          || test ! -s conftest.err'
96263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96264   (eval $ac_try) 2>&5
96265   ac_status=$?
96266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96267   (exit $ac_status); }; } &&
96268          { ac_try='test -s conftest.$ac_objext'
96269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96270   (eval $ac_try) 2>&5
96271   ac_status=$?
96272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96273   (exit $ac_status); }; }; then
96274   glibcxx_cv_func_modf_use=yes
96275 else
96276   echo "$as_me: failed program was:" >&5
96277 sed 's/^/| /' conftest.$ac_ext >&5
96278
96279 glibcxx_cv_func_modf_use=no
96280 fi
96281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96282       ac_ext=c
96283 ac_cpp='$CPP $CPPFLAGS'
96284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96287
96288
96289 fi
96290
96291   fi
96292   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
96293 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
96294
96295   if test x$glibcxx_cv_func_modf_use = x"yes"; then
96296
96297 for ac_func in modf
96298 do
96299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96300 echo "$as_me:$LINENO: checking for $ac_func" >&5
96301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96302 if eval "test \"\${$as_ac_var+set}\" = set"; then
96303   echo $ECHO_N "(cached) $ECHO_C" >&6
96304 else
96305   if test x$gcc_no_link = xyes; then
96306   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96308    { (exit 1); exit 1; }; }
96309 fi
96310 cat >conftest.$ac_ext <<_ACEOF
96311 /* confdefs.h.  */
96312 _ACEOF
96313 cat confdefs.h >>conftest.$ac_ext
96314 cat >>conftest.$ac_ext <<_ACEOF
96315 /* end confdefs.h.  */
96316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96317    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96318 #define $ac_func innocuous_$ac_func
96319
96320 /* System header to define __stub macros and hopefully few prototypes,
96321     which can conflict with char $ac_func (); below.
96322     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96323     <limits.h> exists even on freestanding compilers.  */
96324
96325 #ifdef __STDC__
96326 # include <limits.h>
96327 #else
96328 # include <assert.h>
96329 #endif
96330
96331 #undef $ac_func
96332
96333 /* Override any gcc2 internal prototype to avoid an error.  */
96334 #ifdef __cplusplus
96335 extern "C"
96336 {
96337 #endif
96338 /* We use char because int might match the return type of a gcc2
96339    builtin and then its argument prototype would still apply.  */
96340 char $ac_func ();
96341 /* The GNU C library defines this for functions which it implements
96342     to always fail with ENOSYS.  Some functions are actually named
96343     something starting with __ and the normal name is an alias.  */
96344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96345 choke me
96346 #else
96347 char (*f) () = $ac_func;
96348 #endif
96349 #ifdef __cplusplus
96350 }
96351 #endif
96352
96353 int
96354 main ()
96355 {
96356 return f != $ac_func;
96357   ;
96358   return 0;
96359 }
96360 _ACEOF
96361 rm -f conftest.$ac_objext conftest$ac_exeext
96362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96363   (eval $ac_link) 2>conftest.er1
96364   ac_status=$?
96365   grep -v '^ *+' conftest.er1 >conftest.err
96366   rm -f conftest.er1
96367   cat conftest.err >&5
96368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96369   (exit $ac_status); } &&
96370          { ac_try='test -z "$ac_c_werror_flag"
96371                          || test ! -s conftest.err'
96372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96373   (eval $ac_try) 2>&5
96374   ac_status=$?
96375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96376   (exit $ac_status); }; } &&
96377          { ac_try='test -s conftest$ac_exeext'
96378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96379   (eval $ac_try) 2>&5
96380   ac_status=$?
96381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96382   (exit $ac_status); }; }; then
96383   eval "$as_ac_var=yes"
96384 else
96385   echo "$as_me: failed program was:" >&5
96386 sed 's/^/| /' conftest.$ac_ext >&5
96387
96388 eval "$as_ac_var=no"
96389 fi
96390 rm -f conftest.err conftest.$ac_objext \
96391       conftest$ac_exeext conftest.$ac_ext
96392 fi
96393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96395 if test `eval echo '${'$as_ac_var'}'` = yes; then
96396   cat >>confdefs.h <<_ACEOF
96397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96398 _ACEOF
96399
96400 fi
96401 done
96402
96403   else
96404
96405   echo "$as_me:$LINENO: checking for _modf declaration" >&5
96406 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
96407   if test x${glibcxx_cv_func__modf_use+set} != xset; then
96408     if test "${glibcxx_cv_func__modf_use+set}" = set; then
96409   echo $ECHO_N "(cached) $ECHO_C" >&6
96410 else
96411
96412
96413
96414       ac_ext=cc
96415 ac_cpp='$CXXCPP $CPPFLAGS'
96416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96419
96420       cat >conftest.$ac_ext <<_ACEOF
96421 /* confdefs.h.  */
96422 _ACEOF
96423 cat confdefs.h >>conftest.$ac_ext
96424 cat >>conftest.$ac_ext <<_ACEOF
96425 /* end confdefs.h.  */
96426 #include <math.h>
96427 int
96428 main ()
96429 {
96430  _modf(0, 0);
96431   ;
96432   return 0;
96433 }
96434 _ACEOF
96435 rm -f conftest.$ac_objext
96436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96437   (eval $ac_compile) 2>conftest.er1
96438   ac_status=$?
96439   grep -v '^ *+' conftest.er1 >conftest.err
96440   rm -f conftest.er1
96441   cat conftest.err >&5
96442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96443   (exit $ac_status); } &&
96444          { ac_try='test -z "$ac_cxx_werror_flag"
96445                          || test ! -s conftest.err'
96446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96447   (eval $ac_try) 2>&5
96448   ac_status=$?
96449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96450   (exit $ac_status); }; } &&
96451          { ac_try='test -s conftest.$ac_objext'
96452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96453   (eval $ac_try) 2>&5
96454   ac_status=$?
96455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96456   (exit $ac_status); }; }; then
96457   glibcxx_cv_func__modf_use=yes
96458 else
96459   echo "$as_me: failed program was:" >&5
96460 sed 's/^/| /' conftest.$ac_ext >&5
96461
96462 glibcxx_cv_func__modf_use=no
96463 fi
96464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96465       ac_ext=c
96466 ac_cpp='$CPP $CPPFLAGS'
96467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96470
96471
96472 fi
96473
96474   fi
96475   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
96476 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
96477
96478     if test x$glibcxx_cv_func__modf_use = x"yes"; then
96479
96480 for ac_func in _modf
96481 do
96482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96483 echo "$as_me:$LINENO: checking for $ac_func" >&5
96484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96485 if eval "test \"\${$as_ac_var+set}\" = set"; then
96486   echo $ECHO_N "(cached) $ECHO_C" >&6
96487 else
96488   if test x$gcc_no_link = xyes; then
96489   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96491    { (exit 1); exit 1; }; }
96492 fi
96493 cat >conftest.$ac_ext <<_ACEOF
96494 /* confdefs.h.  */
96495 _ACEOF
96496 cat confdefs.h >>conftest.$ac_ext
96497 cat >>conftest.$ac_ext <<_ACEOF
96498 /* end confdefs.h.  */
96499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96500    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96501 #define $ac_func innocuous_$ac_func
96502
96503 /* System header to define __stub macros and hopefully few prototypes,
96504     which can conflict with char $ac_func (); below.
96505     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96506     <limits.h> exists even on freestanding compilers.  */
96507
96508 #ifdef __STDC__
96509 # include <limits.h>
96510 #else
96511 # include <assert.h>
96512 #endif
96513
96514 #undef $ac_func
96515
96516 /* Override any gcc2 internal prototype to avoid an error.  */
96517 #ifdef __cplusplus
96518 extern "C"
96519 {
96520 #endif
96521 /* We use char because int might match the return type of a gcc2
96522    builtin and then its argument prototype would still apply.  */
96523 char $ac_func ();
96524 /* The GNU C library defines this for functions which it implements
96525     to always fail with ENOSYS.  Some functions are actually named
96526     something starting with __ and the normal name is an alias.  */
96527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96528 choke me
96529 #else
96530 char (*f) () = $ac_func;
96531 #endif
96532 #ifdef __cplusplus
96533 }
96534 #endif
96535
96536 int
96537 main ()
96538 {
96539 return f != $ac_func;
96540   ;
96541   return 0;
96542 }
96543 _ACEOF
96544 rm -f conftest.$ac_objext conftest$ac_exeext
96545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96546   (eval $ac_link) 2>conftest.er1
96547   ac_status=$?
96548   grep -v '^ *+' conftest.er1 >conftest.err
96549   rm -f conftest.er1
96550   cat conftest.err >&5
96551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96552   (exit $ac_status); } &&
96553          { ac_try='test -z "$ac_c_werror_flag"
96554                          || test ! -s conftest.err'
96555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96556   (eval $ac_try) 2>&5
96557   ac_status=$?
96558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96559   (exit $ac_status); }; } &&
96560          { ac_try='test -s conftest$ac_exeext'
96561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96562   (eval $ac_try) 2>&5
96563   ac_status=$?
96564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96565   (exit $ac_status); }; }; then
96566   eval "$as_ac_var=yes"
96567 else
96568   echo "$as_me: failed program was:" >&5
96569 sed 's/^/| /' conftest.$ac_ext >&5
96570
96571 eval "$as_ac_var=no"
96572 fi
96573 rm -f conftest.err conftest.$ac_objext \
96574       conftest$ac_exeext conftest.$ac_ext
96575 fi
96576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96578 if test `eval echo '${'$as_ac_var'}'` = yes; then
96579   cat >>confdefs.h <<_ACEOF
96580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96581 _ACEOF
96582
96583 fi
96584 done
96585
96586     fi
96587   fi
96588
96589
96590
96591
96592
96593
96594   echo "$as_me:$LINENO: checking for powf declaration" >&5
96595 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
96596   if test x${glibcxx_cv_func_powf_use+set} != xset; then
96597     if test "${glibcxx_cv_func_powf_use+set}" = set; then
96598   echo $ECHO_N "(cached) $ECHO_C" >&6
96599 else
96600
96601
96602
96603       ac_ext=cc
96604 ac_cpp='$CXXCPP $CPPFLAGS'
96605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96608
96609       cat >conftest.$ac_ext <<_ACEOF
96610 /* confdefs.h.  */
96611 _ACEOF
96612 cat confdefs.h >>conftest.$ac_ext
96613 cat >>conftest.$ac_ext <<_ACEOF
96614 /* end confdefs.h.  */
96615 #include <math.h>
96616 int
96617 main ()
96618 {
96619  powf(0, 0);
96620   ;
96621   return 0;
96622 }
96623 _ACEOF
96624 rm -f conftest.$ac_objext
96625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96626   (eval $ac_compile) 2>conftest.er1
96627   ac_status=$?
96628   grep -v '^ *+' conftest.er1 >conftest.err
96629   rm -f conftest.er1
96630   cat conftest.err >&5
96631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96632   (exit $ac_status); } &&
96633          { ac_try='test -z "$ac_cxx_werror_flag"
96634                          || test ! -s conftest.err'
96635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96636   (eval $ac_try) 2>&5
96637   ac_status=$?
96638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96639   (exit $ac_status); }; } &&
96640          { ac_try='test -s conftest.$ac_objext'
96641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96642   (eval $ac_try) 2>&5
96643   ac_status=$?
96644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96645   (exit $ac_status); }; }; then
96646   glibcxx_cv_func_powf_use=yes
96647 else
96648   echo "$as_me: failed program was:" >&5
96649 sed 's/^/| /' conftest.$ac_ext >&5
96650
96651 glibcxx_cv_func_powf_use=no
96652 fi
96653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96654       ac_ext=c
96655 ac_cpp='$CPP $CPPFLAGS'
96656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96659
96660
96661 fi
96662
96663   fi
96664   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
96665 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
96666
96667   if test x$glibcxx_cv_func_powf_use = x"yes"; then
96668
96669 for ac_func in powf
96670 do
96671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96672 echo "$as_me:$LINENO: checking for $ac_func" >&5
96673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96674 if eval "test \"\${$as_ac_var+set}\" = set"; then
96675   echo $ECHO_N "(cached) $ECHO_C" >&6
96676 else
96677   if test x$gcc_no_link = xyes; then
96678   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96680    { (exit 1); exit 1; }; }
96681 fi
96682 cat >conftest.$ac_ext <<_ACEOF
96683 /* confdefs.h.  */
96684 _ACEOF
96685 cat confdefs.h >>conftest.$ac_ext
96686 cat >>conftest.$ac_ext <<_ACEOF
96687 /* end confdefs.h.  */
96688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96689    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96690 #define $ac_func innocuous_$ac_func
96691
96692 /* System header to define __stub macros and hopefully few prototypes,
96693     which can conflict with char $ac_func (); below.
96694     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96695     <limits.h> exists even on freestanding compilers.  */
96696
96697 #ifdef __STDC__
96698 # include <limits.h>
96699 #else
96700 # include <assert.h>
96701 #endif
96702
96703 #undef $ac_func
96704
96705 /* Override any gcc2 internal prototype to avoid an error.  */
96706 #ifdef __cplusplus
96707 extern "C"
96708 {
96709 #endif
96710 /* We use char because int might match the return type of a gcc2
96711    builtin and then its argument prototype would still apply.  */
96712 char $ac_func ();
96713 /* The GNU C library defines this for functions which it implements
96714     to always fail with ENOSYS.  Some functions are actually named
96715     something starting with __ and the normal name is an alias.  */
96716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96717 choke me
96718 #else
96719 char (*f) () = $ac_func;
96720 #endif
96721 #ifdef __cplusplus
96722 }
96723 #endif
96724
96725 int
96726 main ()
96727 {
96728 return f != $ac_func;
96729   ;
96730   return 0;
96731 }
96732 _ACEOF
96733 rm -f conftest.$ac_objext conftest$ac_exeext
96734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96735   (eval $ac_link) 2>conftest.er1
96736   ac_status=$?
96737   grep -v '^ *+' conftest.er1 >conftest.err
96738   rm -f conftest.er1
96739   cat conftest.err >&5
96740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96741   (exit $ac_status); } &&
96742          { ac_try='test -z "$ac_c_werror_flag"
96743                          || test ! -s conftest.err'
96744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96745   (eval $ac_try) 2>&5
96746   ac_status=$?
96747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96748   (exit $ac_status); }; } &&
96749          { ac_try='test -s conftest$ac_exeext'
96750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96751   (eval $ac_try) 2>&5
96752   ac_status=$?
96753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96754   (exit $ac_status); }; }; then
96755   eval "$as_ac_var=yes"
96756 else
96757   echo "$as_me: failed program was:" >&5
96758 sed 's/^/| /' conftest.$ac_ext >&5
96759
96760 eval "$as_ac_var=no"
96761 fi
96762 rm -f conftest.err conftest.$ac_objext \
96763       conftest$ac_exeext conftest.$ac_ext
96764 fi
96765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96767 if test `eval echo '${'$as_ac_var'}'` = yes; then
96768   cat >>confdefs.h <<_ACEOF
96769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96770 _ACEOF
96771
96772 fi
96773 done
96774
96775   else
96776
96777   echo "$as_me:$LINENO: checking for _powf declaration" >&5
96778 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
96779   if test x${glibcxx_cv_func__powf_use+set} != xset; then
96780     if test "${glibcxx_cv_func__powf_use+set}" = set; then
96781   echo $ECHO_N "(cached) $ECHO_C" >&6
96782 else
96783
96784
96785
96786       ac_ext=cc
96787 ac_cpp='$CXXCPP $CPPFLAGS'
96788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96791
96792       cat >conftest.$ac_ext <<_ACEOF
96793 /* confdefs.h.  */
96794 _ACEOF
96795 cat confdefs.h >>conftest.$ac_ext
96796 cat >>conftest.$ac_ext <<_ACEOF
96797 /* end confdefs.h.  */
96798 #include <math.h>
96799 int
96800 main ()
96801 {
96802  _powf(0, 0);
96803   ;
96804   return 0;
96805 }
96806 _ACEOF
96807 rm -f conftest.$ac_objext
96808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96809   (eval $ac_compile) 2>conftest.er1
96810   ac_status=$?
96811   grep -v '^ *+' conftest.er1 >conftest.err
96812   rm -f conftest.er1
96813   cat conftest.err >&5
96814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96815   (exit $ac_status); } &&
96816          { ac_try='test -z "$ac_cxx_werror_flag"
96817                          || test ! -s conftest.err'
96818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96819   (eval $ac_try) 2>&5
96820   ac_status=$?
96821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96822   (exit $ac_status); }; } &&
96823          { ac_try='test -s conftest.$ac_objext'
96824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96825   (eval $ac_try) 2>&5
96826   ac_status=$?
96827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96828   (exit $ac_status); }; }; then
96829   glibcxx_cv_func__powf_use=yes
96830 else
96831   echo "$as_me: failed program was:" >&5
96832 sed 's/^/| /' conftest.$ac_ext >&5
96833
96834 glibcxx_cv_func__powf_use=no
96835 fi
96836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96837       ac_ext=c
96838 ac_cpp='$CPP $CPPFLAGS'
96839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96842
96843
96844 fi
96845
96846   fi
96847   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
96848 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
96849
96850     if test x$glibcxx_cv_func__powf_use = x"yes"; then
96851
96852 for ac_func in _powf
96853 do
96854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96855 echo "$as_me:$LINENO: checking for $ac_func" >&5
96856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96857 if eval "test \"\${$as_ac_var+set}\" = set"; then
96858   echo $ECHO_N "(cached) $ECHO_C" >&6
96859 else
96860   if test x$gcc_no_link = xyes; then
96861   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96863    { (exit 1); exit 1; }; }
96864 fi
96865 cat >conftest.$ac_ext <<_ACEOF
96866 /* confdefs.h.  */
96867 _ACEOF
96868 cat confdefs.h >>conftest.$ac_ext
96869 cat >>conftest.$ac_ext <<_ACEOF
96870 /* end confdefs.h.  */
96871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96872    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96873 #define $ac_func innocuous_$ac_func
96874
96875 /* System header to define __stub macros and hopefully few prototypes,
96876     which can conflict with char $ac_func (); below.
96877     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96878     <limits.h> exists even on freestanding compilers.  */
96879
96880 #ifdef __STDC__
96881 # include <limits.h>
96882 #else
96883 # include <assert.h>
96884 #endif
96885
96886 #undef $ac_func
96887
96888 /* Override any gcc2 internal prototype to avoid an error.  */
96889 #ifdef __cplusplus
96890 extern "C"
96891 {
96892 #endif
96893 /* We use char because int might match the return type of a gcc2
96894    builtin and then its argument prototype would still apply.  */
96895 char $ac_func ();
96896 /* The GNU C library defines this for functions which it implements
96897     to always fail with ENOSYS.  Some functions are actually named
96898     something starting with __ and the normal name is an alias.  */
96899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96900 choke me
96901 #else
96902 char (*f) () = $ac_func;
96903 #endif
96904 #ifdef __cplusplus
96905 }
96906 #endif
96907
96908 int
96909 main ()
96910 {
96911 return f != $ac_func;
96912   ;
96913   return 0;
96914 }
96915 _ACEOF
96916 rm -f conftest.$ac_objext conftest$ac_exeext
96917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96918   (eval $ac_link) 2>conftest.er1
96919   ac_status=$?
96920   grep -v '^ *+' conftest.er1 >conftest.err
96921   rm -f conftest.er1
96922   cat conftest.err >&5
96923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96924   (exit $ac_status); } &&
96925          { ac_try='test -z "$ac_c_werror_flag"
96926                          || test ! -s conftest.err'
96927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96928   (eval $ac_try) 2>&5
96929   ac_status=$?
96930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96931   (exit $ac_status); }; } &&
96932          { ac_try='test -s conftest$ac_exeext'
96933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96934   (eval $ac_try) 2>&5
96935   ac_status=$?
96936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96937   (exit $ac_status); }; }; then
96938   eval "$as_ac_var=yes"
96939 else
96940   echo "$as_me: failed program was:" >&5
96941 sed 's/^/| /' conftest.$ac_ext >&5
96942
96943 eval "$as_ac_var=no"
96944 fi
96945 rm -f conftest.err conftest.$ac_objext \
96946       conftest$ac_exeext conftest.$ac_ext
96947 fi
96948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96950 if test `eval echo '${'$as_ac_var'}'` = yes; then
96951   cat >>confdefs.h <<_ACEOF
96952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96953 _ACEOF
96954
96955 fi
96956 done
96957
96958     fi
96959   fi
96960
96961
96962
96963
96964
96965
96966   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
96967 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
96968   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
96969     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
96970   echo $ECHO_N "(cached) $ECHO_C" >&6
96971 else
96972
96973
96974
96975       ac_ext=cc
96976 ac_cpp='$CXXCPP $CPPFLAGS'
96977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96980
96981       cat >conftest.$ac_ext <<_ACEOF
96982 /* confdefs.h.  */
96983 _ACEOF
96984 cat confdefs.h >>conftest.$ac_ext
96985 cat >>conftest.$ac_ext <<_ACEOF
96986 /* end confdefs.h.  */
96987 #include <math.h>
96988                       #ifdef HAVE_IEEEFP_H
96989                       #include <ieeefp.h>
96990                       #endif
96991
96992 int
96993 main ()
96994 {
96995  sqrtf(0);
96996   ;
96997   return 0;
96998 }
96999 _ACEOF
97000 rm -f conftest.$ac_objext
97001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97002   (eval $ac_compile) 2>conftest.er1
97003   ac_status=$?
97004   grep -v '^ *+' conftest.er1 >conftest.err
97005   rm -f conftest.er1
97006   cat conftest.err >&5
97007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97008   (exit $ac_status); } &&
97009          { ac_try='test -z "$ac_cxx_werror_flag"
97010                          || test ! -s conftest.err'
97011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97012   (eval $ac_try) 2>&5
97013   ac_status=$?
97014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97015   (exit $ac_status); }; } &&
97016          { ac_try='test -s conftest.$ac_objext'
97017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97018   (eval $ac_try) 2>&5
97019   ac_status=$?
97020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97021   (exit $ac_status); }; }; then
97022   glibcxx_cv_func_sqrtf_use=yes
97023 else
97024   echo "$as_me: failed program was:" >&5
97025 sed 's/^/| /' conftest.$ac_ext >&5
97026
97027 glibcxx_cv_func_sqrtf_use=no
97028 fi
97029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97030       ac_ext=c
97031 ac_cpp='$CPP $CPPFLAGS'
97032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97035
97036
97037 fi
97038
97039   fi
97040   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
97041 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
97042
97043   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
97044
97045 for ac_func in sqrtf
97046 do
97047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97048 echo "$as_me:$LINENO: checking for $ac_func" >&5
97049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97050 if eval "test \"\${$as_ac_var+set}\" = set"; then
97051   echo $ECHO_N "(cached) $ECHO_C" >&6
97052 else
97053   if test x$gcc_no_link = xyes; then
97054   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97056    { (exit 1); exit 1; }; }
97057 fi
97058 cat >conftest.$ac_ext <<_ACEOF
97059 /* confdefs.h.  */
97060 _ACEOF
97061 cat confdefs.h >>conftest.$ac_ext
97062 cat >>conftest.$ac_ext <<_ACEOF
97063 /* end confdefs.h.  */
97064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97065    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97066 #define $ac_func innocuous_$ac_func
97067
97068 /* System header to define __stub macros and hopefully few prototypes,
97069     which can conflict with char $ac_func (); below.
97070     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97071     <limits.h> exists even on freestanding compilers.  */
97072
97073 #ifdef __STDC__
97074 # include <limits.h>
97075 #else
97076 # include <assert.h>
97077 #endif
97078
97079 #undef $ac_func
97080
97081 /* Override any gcc2 internal prototype to avoid an error.  */
97082 #ifdef __cplusplus
97083 extern "C"
97084 {
97085 #endif
97086 /* We use char because int might match the return type of a gcc2
97087    builtin and then its argument prototype would still apply.  */
97088 char $ac_func ();
97089 /* The GNU C library defines this for functions which it implements
97090     to always fail with ENOSYS.  Some functions are actually named
97091     something starting with __ and the normal name is an alias.  */
97092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97093 choke me
97094 #else
97095 char (*f) () = $ac_func;
97096 #endif
97097 #ifdef __cplusplus
97098 }
97099 #endif
97100
97101 int
97102 main ()
97103 {
97104 return f != $ac_func;
97105   ;
97106   return 0;
97107 }
97108 _ACEOF
97109 rm -f conftest.$ac_objext conftest$ac_exeext
97110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97111   (eval $ac_link) 2>conftest.er1
97112   ac_status=$?
97113   grep -v '^ *+' conftest.er1 >conftest.err
97114   rm -f conftest.er1
97115   cat conftest.err >&5
97116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97117   (exit $ac_status); } &&
97118          { ac_try='test -z "$ac_c_werror_flag"
97119                          || test ! -s conftest.err'
97120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97121   (eval $ac_try) 2>&5
97122   ac_status=$?
97123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97124   (exit $ac_status); }; } &&
97125          { ac_try='test -s conftest$ac_exeext'
97126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97127   (eval $ac_try) 2>&5
97128   ac_status=$?
97129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97130   (exit $ac_status); }; }; then
97131   eval "$as_ac_var=yes"
97132 else
97133   echo "$as_me: failed program was:" >&5
97134 sed 's/^/| /' conftest.$ac_ext >&5
97135
97136 eval "$as_ac_var=no"
97137 fi
97138 rm -f conftest.err conftest.$ac_objext \
97139       conftest$ac_exeext conftest.$ac_ext
97140 fi
97141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97143 if test `eval echo '${'$as_ac_var'}'` = yes; then
97144   cat >>confdefs.h <<_ACEOF
97145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97146 _ACEOF
97147
97148 fi
97149 done
97150
97151   else
97152
97153   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
97154 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
97155   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
97156     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
97157   echo $ECHO_N "(cached) $ECHO_C" >&6
97158 else
97159
97160
97161
97162       ac_ext=cc
97163 ac_cpp='$CXXCPP $CPPFLAGS'
97164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97167
97168       cat >conftest.$ac_ext <<_ACEOF
97169 /* confdefs.h.  */
97170 _ACEOF
97171 cat confdefs.h >>conftest.$ac_ext
97172 cat >>conftest.$ac_ext <<_ACEOF
97173 /* end confdefs.h.  */
97174 #include <math.h>
97175                       #ifdef HAVE_IEEEFP_H
97176                       #include <ieeefp.h>
97177                       #endif
97178
97179 int
97180 main ()
97181 {
97182  _sqrtf(0);
97183   ;
97184   return 0;
97185 }
97186 _ACEOF
97187 rm -f conftest.$ac_objext
97188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97189   (eval $ac_compile) 2>conftest.er1
97190   ac_status=$?
97191   grep -v '^ *+' conftest.er1 >conftest.err
97192   rm -f conftest.er1
97193   cat conftest.err >&5
97194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97195   (exit $ac_status); } &&
97196          { ac_try='test -z "$ac_cxx_werror_flag"
97197                          || test ! -s conftest.err'
97198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97199   (eval $ac_try) 2>&5
97200   ac_status=$?
97201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97202   (exit $ac_status); }; } &&
97203          { ac_try='test -s conftest.$ac_objext'
97204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97205   (eval $ac_try) 2>&5
97206   ac_status=$?
97207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97208   (exit $ac_status); }; }; then
97209   glibcxx_cv_func__sqrtf_use=yes
97210 else
97211   echo "$as_me: failed program was:" >&5
97212 sed 's/^/| /' conftest.$ac_ext >&5
97213
97214 glibcxx_cv_func__sqrtf_use=no
97215 fi
97216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97217       ac_ext=c
97218 ac_cpp='$CPP $CPPFLAGS'
97219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97222
97223
97224 fi
97225
97226   fi
97227   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
97228 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
97229
97230     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
97231
97232 for ac_func in _sqrtf
97233 do
97234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97235 echo "$as_me:$LINENO: checking for $ac_func" >&5
97236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97237 if eval "test \"\${$as_ac_var+set}\" = set"; then
97238   echo $ECHO_N "(cached) $ECHO_C" >&6
97239 else
97240   if test x$gcc_no_link = xyes; then
97241   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97243    { (exit 1); exit 1; }; }
97244 fi
97245 cat >conftest.$ac_ext <<_ACEOF
97246 /* confdefs.h.  */
97247 _ACEOF
97248 cat confdefs.h >>conftest.$ac_ext
97249 cat >>conftest.$ac_ext <<_ACEOF
97250 /* end confdefs.h.  */
97251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97252    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97253 #define $ac_func innocuous_$ac_func
97254
97255 /* System header to define __stub macros and hopefully few prototypes,
97256     which can conflict with char $ac_func (); below.
97257     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97258     <limits.h> exists even on freestanding compilers.  */
97259
97260 #ifdef __STDC__
97261 # include <limits.h>
97262 #else
97263 # include <assert.h>
97264 #endif
97265
97266 #undef $ac_func
97267
97268 /* Override any gcc2 internal prototype to avoid an error.  */
97269 #ifdef __cplusplus
97270 extern "C"
97271 {
97272 #endif
97273 /* We use char because int might match the return type of a gcc2
97274    builtin and then its argument prototype would still apply.  */
97275 char $ac_func ();
97276 /* The GNU C library defines this for functions which it implements
97277     to always fail with ENOSYS.  Some functions are actually named
97278     something starting with __ and the normal name is an alias.  */
97279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97280 choke me
97281 #else
97282 char (*f) () = $ac_func;
97283 #endif
97284 #ifdef __cplusplus
97285 }
97286 #endif
97287
97288 int
97289 main ()
97290 {
97291 return f != $ac_func;
97292   ;
97293   return 0;
97294 }
97295 _ACEOF
97296 rm -f conftest.$ac_objext conftest$ac_exeext
97297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97298   (eval $ac_link) 2>conftest.er1
97299   ac_status=$?
97300   grep -v '^ *+' conftest.er1 >conftest.err
97301   rm -f conftest.er1
97302   cat conftest.err >&5
97303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97304   (exit $ac_status); } &&
97305          { ac_try='test -z "$ac_c_werror_flag"
97306                          || test ! -s conftest.err'
97307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97308   (eval $ac_try) 2>&5
97309   ac_status=$?
97310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97311   (exit $ac_status); }; } &&
97312          { ac_try='test -s conftest$ac_exeext'
97313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97314   (eval $ac_try) 2>&5
97315   ac_status=$?
97316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97317   (exit $ac_status); }; }; then
97318   eval "$as_ac_var=yes"
97319 else
97320   echo "$as_me: failed program was:" >&5
97321 sed 's/^/| /' conftest.$ac_ext >&5
97322
97323 eval "$as_ac_var=no"
97324 fi
97325 rm -f conftest.err conftest.$ac_objext \
97326       conftest$ac_exeext conftest.$ac_ext
97327 fi
97328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97330 if test `eval echo '${'$as_ac_var'}'` = yes; then
97331   cat >>confdefs.h <<_ACEOF
97332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97333 _ACEOF
97334
97335 fi
97336 done
97337
97338     fi
97339   fi
97340
97341
97342
97343
97344
97345
97346   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
97347 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
97348   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
97349     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
97350   echo $ECHO_N "(cached) $ECHO_C" >&6
97351 else
97352
97353
97354
97355       ac_ext=cc
97356 ac_cpp='$CXXCPP $CPPFLAGS'
97357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97360
97361       cat >conftest.$ac_ext <<_ACEOF
97362 /* confdefs.h.  */
97363 _ACEOF
97364 cat confdefs.h >>conftest.$ac_ext
97365 cat >>conftest.$ac_ext <<_ACEOF
97366 /* end confdefs.h.  */
97367 #include <math.h>
97368 int
97369 main ()
97370 {
97371  sincosf(0, 0, 0);
97372   ;
97373   return 0;
97374 }
97375 _ACEOF
97376 rm -f conftest.$ac_objext
97377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97378   (eval $ac_compile) 2>conftest.er1
97379   ac_status=$?
97380   grep -v '^ *+' conftest.er1 >conftest.err
97381   rm -f conftest.er1
97382   cat conftest.err >&5
97383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97384   (exit $ac_status); } &&
97385          { ac_try='test -z "$ac_cxx_werror_flag"
97386                          || test ! -s conftest.err'
97387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97388   (eval $ac_try) 2>&5
97389   ac_status=$?
97390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97391   (exit $ac_status); }; } &&
97392          { ac_try='test -s conftest.$ac_objext'
97393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97394   (eval $ac_try) 2>&5
97395   ac_status=$?
97396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97397   (exit $ac_status); }; }; then
97398   glibcxx_cv_func_sincosf_use=yes
97399 else
97400   echo "$as_me: failed program was:" >&5
97401 sed 's/^/| /' conftest.$ac_ext >&5
97402
97403 glibcxx_cv_func_sincosf_use=no
97404 fi
97405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97406       ac_ext=c
97407 ac_cpp='$CPP $CPPFLAGS'
97408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97411
97412
97413 fi
97414
97415   fi
97416   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
97417 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
97418
97419   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
97420
97421 for ac_func in sincosf
97422 do
97423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97424 echo "$as_me:$LINENO: checking for $ac_func" >&5
97425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97426 if eval "test \"\${$as_ac_var+set}\" = set"; then
97427   echo $ECHO_N "(cached) $ECHO_C" >&6
97428 else
97429   if test x$gcc_no_link = xyes; then
97430   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97432    { (exit 1); exit 1; }; }
97433 fi
97434 cat >conftest.$ac_ext <<_ACEOF
97435 /* confdefs.h.  */
97436 _ACEOF
97437 cat confdefs.h >>conftest.$ac_ext
97438 cat >>conftest.$ac_ext <<_ACEOF
97439 /* end confdefs.h.  */
97440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97441    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97442 #define $ac_func innocuous_$ac_func
97443
97444 /* System header to define __stub macros and hopefully few prototypes,
97445     which can conflict with char $ac_func (); below.
97446     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97447     <limits.h> exists even on freestanding compilers.  */
97448
97449 #ifdef __STDC__
97450 # include <limits.h>
97451 #else
97452 # include <assert.h>
97453 #endif
97454
97455 #undef $ac_func
97456
97457 /* Override any gcc2 internal prototype to avoid an error.  */
97458 #ifdef __cplusplus
97459 extern "C"
97460 {
97461 #endif
97462 /* We use char because int might match the return type of a gcc2
97463    builtin and then its argument prototype would still apply.  */
97464 char $ac_func ();
97465 /* The GNU C library defines this for functions which it implements
97466     to always fail with ENOSYS.  Some functions are actually named
97467     something starting with __ and the normal name is an alias.  */
97468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97469 choke me
97470 #else
97471 char (*f) () = $ac_func;
97472 #endif
97473 #ifdef __cplusplus
97474 }
97475 #endif
97476
97477 int
97478 main ()
97479 {
97480 return f != $ac_func;
97481   ;
97482   return 0;
97483 }
97484 _ACEOF
97485 rm -f conftest.$ac_objext conftest$ac_exeext
97486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97487   (eval $ac_link) 2>conftest.er1
97488   ac_status=$?
97489   grep -v '^ *+' conftest.er1 >conftest.err
97490   rm -f conftest.er1
97491   cat conftest.err >&5
97492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97493   (exit $ac_status); } &&
97494          { ac_try='test -z "$ac_c_werror_flag"
97495                          || test ! -s conftest.err'
97496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97497   (eval $ac_try) 2>&5
97498   ac_status=$?
97499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97500   (exit $ac_status); }; } &&
97501          { ac_try='test -s conftest$ac_exeext'
97502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97503   (eval $ac_try) 2>&5
97504   ac_status=$?
97505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97506   (exit $ac_status); }; }; then
97507   eval "$as_ac_var=yes"
97508 else
97509   echo "$as_me: failed program was:" >&5
97510 sed 's/^/| /' conftest.$ac_ext >&5
97511
97512 eval "$as_ac_var=no"
97513 fi
97514 rm -f conftest.err conftest.$ac_objext \
97515       conftest$ac_exeext conftest.$ac_ext
97516 fi
97517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97519 if test `eval echo '${'$as_ac_var'}'` = yes; then
97520   cat >>confdefs.h <<_ACEOF
97521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97522 _ACEOF
97523
97524 fi
97525 done
97526
97527   else
97528
97529   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
97530 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
97531   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
97532     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
97533   echo $ECHO_N "(cached) $ECHO_C" >&6
97534 else
97535
97536
97537
97538       ac_ext=cc
97539 ac_cpp='$CXXCPP $CPPFLAGS'
97540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97543
97544       cat >conftest.$ac_ext <<_ACEOF
97545 /* confdefs.h.  */
97546 _ACEOF
97547 cat confdefs.h >>conftest.$ac_ext
97548 cat >>conftest.$ac_ext <<_ACEOF
97549 /* end confdefs.h.  */
97550 #include <math.h>
97551 int
97552 main ()
97553 {
97554  _sincosf(0, 0, 0);
97555   ;
97556   return 0;
97557 }
97558 _ACEOF
97559 rm -f conftest.$ac_objext
97560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97561   (eval $ac_compile) 2>conftest.er1
97562   ac_status=$?
97563   grep -v '^ *+' conftest.er1 >conftest.err
97564   rm -f conftest.er1
97565   cat conftest.err >&5
97566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97567   (exit $ac_status); } &&
97568          { ac_try='test -z "$ac_cxx_werror_flag"
97569                          || test ! -s conftest.err'
97570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97571   (eval $ac_try) 2>&5
97572   ac_status=$?
97573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97574   (exit $ac_status); }; } &&
97575          { ac_try='test -s conftest.$ac_objext'
97576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97577   (eval $ac_try) 2>&5
97578   ac_status=$?
97579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97580   (exit $ac_status); }; }; then
97581   glibcxx_cv_func__sincosf_use=yes
97582 else
97583   echo "$as_me: failed program was:" >&5
97584 sed 's/^/| /' conftest.$ac_ext >&5
97585
97586 glibcxx_cv_func__sincosf_use=no
97587 fi
97588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97589       ac_ext=c
97590 ac_cpp='$CPP $CPPFLAGS'
97591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97594
97595
97596 fi
97597
97598   fi
97599   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
97600 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
97601
97602     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
97603
97604 for ac_func in _sincosf
97605 do
97606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97607 echo "$as_me:$LINENO: checking for $ac_func" >&5
97608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97609 if eval "test \"\${$as_ac_var+set}\" = set"; then
97610   echo $ECHO_N "(cached) $ECHO_C" >&6
97611 else
97612   if test x$gcc_no_link = xyes; then
97613   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97615    { (exit 1); exit 1; }; }
97616 fi
97617 cat >conftest.$ac_ext <<_ACEOF
97618 /* confdefs.h.  */
97619 _ACEOF
97620 cat confdefs.h >>conftest.$ac_ext
97621 cat >>conftest.$ac_ext <<_ACEOF
97622 /* end confdefs.h.  */
97623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97624    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97625 #define $ac_func innocuous_$ac_func
97626
97627 /* System header to define __stub macros and hopefully few prototypes,
97628     which can conflict with char $ac_func (); below.
97629     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97630     <limits.h> exists even on freestanding compilers.  */
97631
97632 #ifdef __STDC__
97633 # include <limits.h>
97634 #else
97635 # include <assert.h>
97636 #endif
97637
97638 #undef $ac_func
97639
97640 /* Override any gcc2 internal prototype to avoid an error.  */
97641 #ifdef __cplusplus
97642 extern "C"
97643 {
97644 #endif
97645 /* We use char because int might match the return type of a gcc2
97646    builtin and then its argument prototype would still apply.  */
97647 char $ac_func ();
97648 /* The GNU C library defines this for functions which it implements
97649     to always fail with ENOSYS.  Some functions are actually named
97650     something starting with __ and the normal name is an alias.  */
97651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97652 choke me
97653 #else
97654 char (*f) () = $ac_func;
97655 #endif
97656 #ifdef __cplusplus
97657 }
97658 #endif
97659
97660 int
97661 main ()
97662 {
97663 return f != $ac_func;
97664   ;
97665   return 0;
97666 }
97667 _ACEOF
97668 rm -f conftest.$ac_objext conftest$ac_exeext
97669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97670   (eval $ac_link) 2>conftest.er1
97671   ac_status=$?
97672   grep -v '^ *+' conftest.er1 >conftest.err
97673   rm -f conftest.er1
97674   cat conftest.err >&5
97675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97676   (exit $ac_status); } &&
97677          { ac_try='test -z "$ac_c_werror_flag"
97678                          || test ! -s conftest.err'
97679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97680   (eval $ac_try) 2>&5
97681   ac_status=$?
97682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97683   (exit $ac_status); }; } &&
97684          { ac_try='test -s conftest$ac_exeext'
97685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97686   (eval $ac_try) 2>&5
97687   ac_status=$?
97688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97689   (exit $ac_status); }; }; then
97690   eval "$as_ac_var=yes"
97691 else
97692   echo "$as_me: failed program was:" >&5
97693 sed 's/^/| /' conftest.$ac_ext >&5
97694
97695 eval "$as_ac_var=no"
97696 fi
97697 rm -f conftest.err conftest.$ac_objext \
97698       conftest$ac_exeext conftest.$ac_ext
97699 fi
97700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97702 if test `eval echo '${'$as_ac_var'}'` = yes; then
97703   cat >>confdefs.h <<_ACEOF
97704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97705 _ACEOF
97706
97707 fi
97708 done
97709
97710     fi
97711   fi
97712
97713
97714
97715
97716
97717
97718   echo "$as_me:$LINENO: checking for finitef declaration" >&5
97719 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
97720   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
97721     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
97722   echo $ECHO_N "(cached) $ECHO_C" >&6
97723 else
97724
97725
97726
97727       ac_ext=cc
97728 ac_cpp='$CXXCPP $CPPFLAGS'
97729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97732
97733       cat >conftest.$ac_ext <<_ACEOF
97734 /* confdefs.h.  */
97735 _ACEOF
97736 cat confdefs.h >>conftest.$ac_ext
97737 cat >>conftest.$ac_ext <<_ACEOF
97738 /* end confdefs.h.  */
97739 #include <math.h>
97740                       #ifdef HAVE_IEEEFP_H
97741                       #include <ieeefp.h>
97742                       #endif
97743
97744 int
97745 main ()
97746 {
97747  finitef(0);
97748   ;
97749   return 0;
97750 }
97751 _ACEOF
97752 rm -f conftest.$ac_objext
97753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97754   (eval $ac_compile) 2>conftest.er1
97755   ac_status=$?
97756   grep -v '^ *+' conftest.er1 >conftest.err
97757   rm -f conftest.er1
97758   cat conftest.err >&5
97759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97760   (exit $ac_status); } &&
97761          { ac_try='test -z "$ac_cxx_werror_flag"
97762                          || test ! -s conftest.err'
97763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97764   (eval $ac_try) 2>&5
97765   ac_status=$?
97766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97767   (exit $ac_status); }; } &&
97768          { ac_try='test -s conftest.$ac_objext'
97769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97770   (eval $ac_try) 2>&5
97771   ac_status=$?
97772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97773   (exit $ac_status); }; }; then
97774   glibcxx_cv_func_finitef_use=yes
97775 else
97776   echo "$as_me: failed program was:" >&5
97777 sed 's/^/| /' conftest.$ac_ext >&5
97778
97779 glibcxx_cv_func_finitef_use=no
97780 fi
97781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97782       ac_ext=c
97783 ac_cpp='$CPP $CPPFLAGS'
97784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97787
97788
97789 fi
97790
97791   fi
97792   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
97793 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
97794
97795   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
97796
97797 for ac_func in finitef
97798 do
97799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97800 echo "$as_me:$LINENO: checking for $ac_func" >&5
97801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97802 if eval "test \"\${$as_ac_var+set}\" = set"; then
97803   echo $ECHO_N "(cached) $ECHO_C" >&6
97804 else
97805   if test x$gcc_no_link = xyes; then
97806   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97808    { (exit 1); exit 1; }; }
97809 fi
97810 cat >conftest.$ac_ext <<_ACEOF
97811 /* confdefs.h.  */
97812 _ACEOF
97813 cat confdefs.h >>conftest.$ac_ext
97814 cat >>conftest.$ac_ext <<_ACEOF
97815 /* end confdefs.h.  */
97816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97817    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97818 #define $ac_func innocuous_$ac_func
97819
97820 /* System header to define __stub macros and hopefully few prototypes,
97821     which can conflict with char $ac_func (); below.
97822     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97823     <limits.h> exists even on freestanding compilers.  */
97824
97825 #ifdef __STDC__
97826 # include <limits.h>
97827 #else
97828 # include <assert.h>
97829 #endif
97830
97831 #undef $ac_func
97832
97833 /* Override any gcc2 internal prototype to avoid an error.  */
97834 #ifdef __cplusplus
97835 extern "C"
97836 {
97837 #endif
97838 /* We use char because int might match the return type of a gcc2
97839    builtin and then its argument prototype would still apply.  */
97840 char $ac_func ();
97841 /* The GNU C library defines this for functions which it implements
97842     to always fail with ENOSYS.  Some functions are actually named
97843     something starting with __ and the normal name is an alias.  */
97844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97845 choke me
97846 #else
97847 char (*f) () = $ac_func;
97848 #endif
97849 #ifdef __cplusplus
97850 }
97851 #endif
97852
97853 int
97854 main ()
97855 {
97856 return f != $ac_func;
97857   ;
97858   return 0;
97859 }
97860 _ACEOF
97861 rm -f conftest.$ac_objext conftest$ac_exeext
97862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97863   (eval $ac_link) 2>conftest.er1
97864   ac_status=$?
97865   grep -v '^ *+' conftest.er1 >conftest.err
97866   rm -f conftest.er1
97867   cat conftest.err >&5
97868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97869   (exit $ac_status); } &&
97870          { ac_try='test -z "$ac_c_werror_flag"
97871                          || test ! -s conftest.err'
97872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97873   (eval $ac_try) 2>&5
97874   ac_status=$?
97875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97876   (exit $ac_status); }; } &&
97877          { ac_try='test -s conftest$ac_exeext'
97878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97879   (eval $ac_try) 2>&5
97880   ac_status=$?
97881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97882   (exit $ac_status); }; }; then
97883   eval "$as_ac_var=yes"
97884 else
97885   echo "$as_me: failed program was:" >&5
97886 sed 's/^/| /' conftest.$ac_ext >&5
97887
97888 eval "$as_ac_var=no"
97889 fi
97890 rm -f conftest.err conftest.$ac_objext \
97891       conftest$ac_exeext conftest.$ac_ext
97892 fi
97893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97895 if test `eval echo '${'$as_ac_var'}'` = yes; then
97896   cat >>confdefs.h <<_ACEOF
97897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97898 _ACEOF
97899
97900 fi
97901 done
97902
97903   else
97904
97905   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
97906 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
97907   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
97908     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
97909   echo $ECHO_N "(cached) $ECHO_C" >&6
97910 else
97911
97912
97913
97914       ac_ext=cc
97915 ac_cpp='$CXXCPP $CPPFLAGS'
97916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97919
97920       cat >conftest.$ac_ext <<_ACEOF
97921 /* confdefs.h.  */
97922 _ACEOF
97923 cat confdefs.h >>conftest.$ac_ext
97924 cat >>conftest.$ac_ext <<_ACEOF
97925 /* end confdefs.h.  */
97926 #include <math.h>
97927                       #ifdef HAVE_IEEEFP_H
97928                       #include <ieeefp.h>
97929                       #endif
97930
97931 int
97932 main ()
97933 {
97934  _finitef(0);
97935   ;
97936   return 0;
97937 }
97938 _ACEOF
97939 rm -f conftest.$ac_objext
97940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97941   (eval $ac_compile) 2>conftest.er1
97942   ac_status=$?
97943   grep -v '^ *+' conftest.er1 >conftest.err
97944   rm -f conftest.er1
97945   cat conftest.err >&5
97946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97947   (exit $ac_status); } &&
97948          { ac_try='test -z "$ac_cxx_werror_flag"
97949                          || test ! -s conftest.err'
97950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97951   (eval $ac_try) 2>&5
97952   ac_status=$?
97953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97954   (exit $ac_status); }; } &&
97955          { ac_try='test -s conftest.$ac_objext'
97956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97957   (eval $ac_try) 2>&5
97958   ac_status=$?
97959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97960   (exit $ac_status); }; }; then
97961   glibcxx_cv_func__finitef_use=yes
97962 else
97963   echo "$as_me: failed program was:" >&5
97964 sed 's/^/| /' conftest.$ac_ext >&5
97965
97966 glibcxx_cv_func__finitef_use=no
97967 fi
97968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97969       ac_ext=c
97970 ac_cpp='$CPP $CPPFLAGS'
97971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97974
97975
97976 fi
97977
97978   fi
97979   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
97980 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
97981
97982     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
97983
97984 for ac_func in _finitef
97985 do
97986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97987 echo "$as_me:$LINENO: checking for $ac_func" >&5
97988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97989 if eval "test \"\${$as_ac_var+set}\" = set"; then
97990   echo $ECHO_N "(cached) $ECHO_C" >&6
97991 else
97992   if test x$gcc_no_link = xyes; then
97993   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97995    { (exit 1); exit 1; }; }
97996 fi
97997 cat >conftest.$ac_ext <<_ACEOF
97998 /* confdefs.h.  */
97999 _ACEOF
98000 cat confdefs.h >>conftest.$ac_ext
98001 cat >>conftest.$ac_ext <<_ACEOF
98002 /* end confdefs.h.  */
98003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98004    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98005 #define $ac_func innocuous_$ac_func
98006
98007 /* System header to define __stub macros and hopefully few prototypes,
98008     which can conflict with char $ac_func (); below.
98009     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98010     <limits.h> exists even on freestanding compilers.  */
98011
98012 #ifdef __STDC__
98013 # include <limits.h>
98014 #else
98015 # include <assert.h>
98016 #endif
98017
98018 #undef $ac_func
98019
98020 /* Override any gcc2 internal prototype to avoid an error.  */
98021 #ifdef __cplusplus
98022 extern "C"
98023 {
98024 #endif
98025 /* We use char because int might match the return type of a gcc2
98026    builtin and then its argument prototype would still apply.  */
98027 char $ac_func ();
98028 /* The GNU C library defines this for functions which it implements
98029     to always fail with ENOSYS.  Some functions are actually named
98030     something starting with __ and the normal name is an alias.  */
98031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98032 choke me
98033 #else
98034 char (*f) () = $ac_func;
98035 #endif
98036 #ifdef __cplusplus
98037 }
98038 #endif
98039
98040 int
98041 main ()
98042 {
98043 return f != $ac_func;
98044   ;
98045   return 0;
98046 }
98047 _ACEOF
98048 rm -f conftest.$ac_objext conftest$ac_exeext
98049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98050   (eval $ac_link) 2>conftest.er1
98051   ac_status=$?
98052   grep -v '^ *+' conftest.er1 >conftest.err
98053   rm -f conftest.er1
98054   cat conftest.err >&5
98055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98056   (exit $ac_status); } &&
98057          { ac_try='test -z "$ac_c_werror_flag"
98058                          || test ! -s conftest.err'
98059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98060   (eval $ac_try) 2>&5
98061   ac_status=$?
98062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98063   (exit $ac_status); }; } &&
98064          { ac_try='test -s conftest$ac_exeext'
98065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98066   (eval $ac_try) 2>&5
98067   ac_status=$?
98068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98069   (exit $ac_status); }; }; then
98070   eval "$as_ac_var=yes"
98071 else
98072   echo "$as_me: failed program was:" >&5
98073 sed 's/^/| /' conftest.$ac_ext >&5
98074
98075 eval "$as_ac_var=no"
98076 fi
98077 rm -f conftest.err conftest.$ac_objext \
98078       conftest$ac_exeext conftest.$ac_ext
98079 fi
98080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98082 if test `eval echo '${'$as_ac_var'}'` = yes; then
98083   cat >>confdefs.h <<_ACEOF
98084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98085 _ACEOF
98086
98087 fi
98088 done
98089
98090     fi
98091   fi
98092
98093
98094
98095
98096
98097
98098     echo "$as_me:$LINENO: checking for long double trig functions" >&5
98099 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
98100   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
98101   echo $ECHO_N "(cached) $ECHO_C" >&6
98102 else
98103
98104
98105
98106     ac_ext=cc
98107 ac_cpp='$CXXCPP $CPPFLAGS'
98108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98111
98112     cat >conftest.$ac_ext <<_ACEOF
98113 /* confdefs.h.  */
98114 _ACEOF
98115 cat confdefs.h >>conftest.$ac_ext
98116 cat >>conftest.$ac_ext <<_ACEOF
98117 /* end confdefs.h.  */
98118 #include <math.h>
98119 int
98120 main ()
98121 {
98122 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
98123   ;
98124   return 0;
98125 }
98126 _ACEOF
98127 rm -f conftest.$ac_objext
98128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98129   (eval $ac_compile) 2>conftest.er1
98130   ac_status=$?
98131   grep -v '^ *+' conftest.er1 >conftest.err
98132   rm -f conftest.er1
98133   cat conftest.err >&5
98134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98135   (exit $ac_status); } &&
98136          { ac_try='test -z "$ac_cxx_werror_flag"
98137                          || test ! -s conftest.err'
98138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98139   (eval $ac_try) 2>&5
98140   ac_status=$?
98141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98142   (exit $ac_status); }; } &&
98143          { ac_try='test -s conftest.$ac_objext'
98144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98145   (eval $ac_try) 2>&5
98146   ac_status=$?
98147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98148   (exit $ac_status); }; }; then
98149   glibcxx_cv_func_long_double_trig_use=yes
98150 else
98151   echo "$as_me: failed program was:" >&5
98152 sed 's/^/| /' conftest.$ac_ext >&5
98153
98154 glibcxx_cv_func_long_double_trig_use=no
98155 fi
98156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98157     ac_ext=c
98158 ac_cpp='$CPP $CPPFLAGS'
98159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98162
98163 fi
98164
98165   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
98166 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
98167   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
98168
98169
98170
98171
98172
98173
98174
98175
98176
98177 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
98178 do
98179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98180 echo "$as_me:$LINENO: checking for $ac_func" >&5
98181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98182 if eval "test \"\${$as_ac_var+set}\" = set"; then
98183   echo $ECHO_N "(cached) $ECHO_C" >&6
98184 else
98185   if test x$gcc_no_link = xyes; then
98186   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98188    { (exit 1); exit 1; }; }
98189 fi
98190 cat >conftest.$ac_ext <<_ACEOF
98191 /* confdefs.h.  */
98192 _ACEOF
98193 cat confdefs.h >>conftest.$ac_ext
98194 cat >>conftest.$ac_ext <<_ACEOF
98195 /* end confdefs.h.  */
98196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98197    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98198 #define $ac_func innocuous_$ac_func
98199
98200 /* System header to define __stub macros and hopefully few prototypes,
98201     which can conflict with char $ac_func (); below.
98202     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98203     <limits.h> exists even on freestanding compilers.  */
98204
98205 #ifdef __STDC__
98206 # include <limits.h>
98207 #else
98208 # include <assert.h>
98209 #endif
98210
98211 #undef $ac_func
98212
98213 /* Override any gcc2 internal prototype to avoid an error.  */
98214 #ifdef __cplusplus
98215 extern "C"
98216 {
98217 #endif
98218 /* We use char because int might match the return type of a gcc2
98219    builtin and then its argument prototype would still apply.  */
98220 char $ac_func ();
98221 /* The GNU C library defines this for functions which it implements
98222     to always fail with ENOSYS.  Some functions are actually named
98223     something starting with __ and the normal name is an alias.  */
98224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98225 choke me
98226 #else
98227 char (*f) () = $ac_func;
98228 #endif
98229 #ifdef __cplusplus
98230 }
98231 #endif
98232
98233 int
98234 main ()
98235 {
98236 return f != $ac_func;
98237   ;
98238   return 0;
98239 }
98240 _ACEOF
98241 rm -f conftest.$ac_objext conftest$ac_exeext
98242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98243   (eval $ac_link) 2>conftest.er1
98244   ac_status=$?
98245   grep -v '^ *+' conftest.er1 >conftest.err
98246   rm -f conftest.er1
98247   cat conftest.err >&5
98248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98249   (exit $ac_status); } &&
98250          { ac_try='test -z "$ac_c_werror_flag"
98251                          || test ! -s conftest.err'
98252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98253   (eval $ac_try) 2>&5
98254   ac_status=$?
98255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98256   (exit $ac_status); }; } &&
98257          { ac_try='test -s conftest$ac_exeext'
98258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98259   (eval $ac_try) 2>&5
98260   ac_status=$?
98261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98262   (exit $ac_status); }; }; then
98263   eval "$as_ac_var=yes"
98264 else
98265   echo "$as_me: failed program was:" >&5
98266 sed 's/^/| /' conftest.$ac_ext >&5
98267
98268 eval "$as_ac_var=no"
98269 fi
98270 rm -f conftest.err conftest.$ac_objext \
98271       conftest$ac_exeext conftest.$ac_ext
98272 fi
98273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98275 if test `eval echo '${'$as_ac_var'}'` = yes; then
98276   cat >>confdefs.h <<_ACEOF
98277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98278 _ACEOF
98279
98280 fi
98281 done
98282
98283   else
98284     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
98285 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
98286     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
98287   echo $ECHO_N "(cached) $ECHO_C" >&6
98288 else
98289
98290
98291
98292       ac_ext=cc
98293 ac_cpp='$CXXCPP $CPPFLAGS'
98294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98297
98298       cat >conftest.$ac_ext <<_ACEOF
98299 /* confdefs.h.  */
98300 _ACEOF
98301 cat confdefs.h >>conftest.$ac_ext
98302 cat >>conftest.$ac_ext <<_ACEOF
98303 /* end confdefs.h.  */
98304 #include <math.h>
98305 int
98306 main ()
98307 {
98308 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
98309   ;
98310   return 0;
98311 }
98312 _ACEOF
98313 rm -f conftest.$ac_objext
98314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98315   (eval $ac_compile) 2>conftest.er1
98316   ac_status=$?
98317   grep -v '^ *+' conftest.er1 >conftest.err
98318   rm -f conftest.er1
98319   cat conftest.err >&5
98320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98321   (exit $ac_status); } &&
98322          { ac_try='test -z "$ac_cxx_werror_flag"
98323                          || test ! -s conftest.err'
98324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98325   (eval $ac_try) 2>&5
98326   ac_status=$?
98327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98328   (exit $ac_status); }; } &&
98329          { ac_try='test -s conftest.$ac_objext'
98330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98331   (eval $ac_try) 2>&5
98332   ac_status=$?
98333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98334   (exit $ac_status); }; }; then
98335   glibcxx_cv_func__long_double_trig_use=yes
98336 else
98337   echo "$as_me: failed program was:" >&5
98338 sed 's/^/| /' conftest.$ac_ext >&5
98339
98340 glibcxx_cv_func__long_double_trig_use=no
98341 fi
98342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98343       ac_ext=c
98344 ac_cpp='$CPP $CPPFLAGS'
98345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98348
98349 fi
98350
98351     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
98352 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
98353     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
98354
98355
98356
98357
98358
98359
98360
98361
98362
98363 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
98364 do
98365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98366 echo "$as_me:$LINENO: checking for $ac_func" >&5
98367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98368 if eval "test \"\${$as_ac_var+set}\" = set"; then
98369   echo $ECHO_N "(cached) $ECHO_C" >&6
98370 else
98371   if test x$gcc_no_link = xyes; then
98372   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98374    { (exit 1); exit 1; }; }
98375 fi
98376 cat >conftest.$ac_ext <<_ACEOF
98377 /* confdefs.h.  */
98378 _ACEOF
98379 cat confdefs.h >>conftest.$ac_ext
98380 cat >>conftest.$ac_ext <<_ACEOF
98381 /* end confdefs.h.  */
98382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98383    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98384 #define $ac_func innocuous_$ac_func
98385
98386 /* System header to define __stub macros and hopefully few prototypes,
98387     which can conflict with char $ac_func (); below.
98388     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98389     <limits.h> exists even on freestanding compilers.  */
98390
98391 #ifdef __STDC__
98392 # include <limits.h>
98393 #else
98394 # include <assert.h>
98395 #endif
98396
98397 #undef $ac_func
98398
98399 /* Override any gcc2 internal prototype to avoid an error.  */
98400 #ifdef __cplusplus
98401 extern "C"
98402 {
98403 #endif
98404 /* We use char because int might match the return type of a gcc2
98405    builtin and then its argument prototype would still apply.  */
98406 char $ac_func ();
98407 /* The GNU C library defines this for functions which it implements
98408     to always fail with ENOSYS.  Some functions are actually named
98409     something starting with __ and the normal name is an alias.  */
98410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98411 choke me
98412 #else
98413 char (*f) () = $ac_func;
98414 #endif
98415 #ifdef __cplusplus
98416 }
98417 #endif
98418
98419 int
98420 main ()
98421 {
98422 return f != $ac_func;
98423   ;
98424   return 0;
98425 }
98426 _ACEOF
98427 rm -f conftest.$ac_objext conftest$ac_exeext
98428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98429   (eval $ac_link) 2>conftest.er1
98430   ac_status=$?
98431   grep -v '^ *+' conftest.er1 >conftest.err
98432   rm -f conftest.er1
98433   cat conftest.err >&5
98434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98435   (exit $ac_status); } &&
98436          { ac_try='test -z "$ac_c_werror_flag"
98437                          || test ! -s conftest.err'
98438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98439   (eval $ac_try) 2>&5
98440   ac_status=$?
98441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98442   (exit $ac_status); }; } &&
98443          { ac_try='test -s conftest$ac_exeext'
98444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98445   (eval $ac_try) 2>&5
98446   ac_status=$?
98447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98448   (exit $ac_status); }; }; then
98449   eval "$as_ac_var=yes"
98450 else
98451   echo "$as_me: failed program was:" >&5
98452 sed 's/^/| /' conftest.$ac_ext >&5
98453
98454 eval "$as_ac_var=no"
98455 fi
98456 rm -f conftest.err conftest.$ac_objext \
98457       conftest$ac_exeext conftest.$ac_ext
98458 fi
98459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98461 if test `eval echo '${'$as_ac_var'}'` = yes; then
98462   cat >>confdefs.h <<_ACEOF
98463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98464 _ACEOF
98465
98466 fi
98467 done
98468
98469     fi
98470   fi
98471
98472
98473
98474
98475
98476
98477
98478
98479
98480
98481
98482
98483
98484
98485     echo "$as_me:$LINENO: checking for long double round functions" >&5
98486 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
98487   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
98488   echo $ECHO_N "(cached) $ECHO_C" >&6
98489 else
98490
98491
98492
98493     ac_ext=cc
98494 ac_cpp='$CXXCPP $CPPFLAGS'
98495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98498
98499     cat >conftest.$ac_ext <<_ACEOF
98500 /* confdefs.h.  */
98501 _ACEOF
98502 cat confdefs.h >>conftest.$ac_ext
98503 cat >>conftest.$ac_ext <<_ACEOF
98504 /* end confdefs.h.  */
98505 #include <math.h>
98506 int
98507 main ()
98508 {
98509 ceill (0); floorl (0);
98510   ;
98511   return 0;
98512 }
98513 _ACEOF
98514 rm -f conftest.$ac_objext
98515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98516   (eval $ac_compile) 2>conftest.er1
98517   ac_status=$?
98518   grep -v '^ *+' conftest.er1 >conftest.err
98519   rm -f conftest.er1
98520   cat conftest.err >&5
98521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98522   (exit $ac_status); } &&
98523          { ac_try='test -z "$ac_cxx_werror_flag"
98524                          || test ! -s conftest.err'
98525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98526   (eval $ac_try) 2>&5
98527   ac_status=$?
98528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98529   (exit $ac_status); }; } &&
98530          { ac_try='test -s conftest.$ac_objext'
98531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98532   (eval $ac_try) 2>&5
98533   ac_status=$?
98534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98535   (exit $ac_status); }; }; then
98536   glibcxx_cv_func_long_double_round_use=yes
98537 else
98538   echo "$as_me: failed program was:" >&5
98539 sed 's/^/| /' conftest.$ac_ext >&5
98540
98541 glibcxx_cv_func_long_double_round_use=no
98542 fi
98543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98544     ac_ext=c
98545 ac_cpp='$CPP $CPPFLAGS'
98546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98549
98550 fi
98551
98552   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
98553 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
98554   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
98555
98556
98557 for ac_func in ceill floorl
98558 do
98559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98560 echo "$as_me:$LINENO: checking for $ac_func" >&5
98561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98562 if eval "test \"\${$as_ac_var+set}\" = set"; then
98563   echo $ECHO_N "(cached) $ECHO_C" >&6
98564 else
98565   if test x$gcc_no_link = xyes; then
98566   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98568    { (exit 1); exit 1; }; }
98569 fi
98570 cat >conftest.$ac_ext <<_ACEOF
98571 /* confdefs.h.  */
98572 _ACEOF
98573 cat confdefs.h >>conftest.$ac_ext
98574 cat >>conftest.$ac_ext <<_ACEOF
98575 /* end confdefs.h.  */
98576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98577    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98578 #define $ac_func innocuous_$ac_func
98579
98580 /* System header to define __stub macros and hopefully few prototypes,
98581     which can conflict with char $ac_func (); below.
98582     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98583     <limits.h> exists even on freestanding compilers.  */
98584
98585 #ifdef __STDC__
98586 # include <limits.h>
98587 #else
98588 # include <assert.h>
98589 #endif
98590
98591 #undef $ac_func
98592
98593 /* Override any gcc2 internal prototype to avoid an error.  */
98594 #ifdef __cplusplus
98595 extern "C"
98596 {
98597 #endif
98598 /* We use char because int might match the return type of a gcc2
98599    builtin and then its argument prototype would still apply.  */
98600 char $ac_func ();
98601 /* The GNU C library defines this for functions which it implements
98602     to always fail with ENOSYS.  Some functions are actually named
98603     something starting with __ and the normal name is an alias.  */
98604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98605 choke me
98606 #else
98607 char (*f) () = $ac_func;
98608 #endif
98609 #ifdef __cplusplus
98610 }
98611 #endif
98612
98613 int
98614 main ()
98615 {
98616 return f != $ac_func;
98617   ;
98618   return 0;
98619 }
98620 _ACEOF
98621 rm -f conftest.$ac_objext conftest$ac_exeext
98622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98623   (eval $ac_link) 2>conftest.er1
98624   ac_status=$?
98625   grep -v '^ *+' conftest.er1 >conftest.err
98626   rm -f conftest.er1
98627   cat conftest.err >&5
98628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98629   (exit $ac_status); } &&
98630          { ac_try='test -z "$ac_c_werror_flag"
98631                          || test ! -s conftest.err'
98632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98633   (eval $ac_try) 2>&5
98634   ac_status=$?
98635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98636   (exit $ac_status); }; } &&
98637          { ac_try='test -s conftest$ac_exeext'
98638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98639   (eval $ac_try) 2>&5
98640   ac_status=$?
98641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98642   (exit $ac_status); }; }; then
98643   eval "$as_ac_var=yes"
98644 else
98645   echo "$as_me: failed program was:" >&5
98646 sed 's/^/| /' conftest.$ac_ext >&5
98647
98648 eval "$as_ac_var=no"
98649 fi
98650 rm -f conftest.err conftest.$ac_objext \
98651       conftest$ac_exeext conftest.$ac_ext
98652 fi
98653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98655 if test `eval echo '${'$as_ac_var'}'` = yes; then
98656   cat >>confdefs.h <<_ACEOF
98657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98658 _ACEOF
98659
98660 fi
98661 done
98662
98663   else
98664     echo "$as_me:$LINENO: checking for _long double round functions" >&5
98665 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
98666     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
98667   echo $ECHO_N "(cached) $ECHO_C" >&6
98668 else
98669
98670
98671
98672       ac_ext=cc
98673 ac_cpp='$CXXCPP $CPPFLAGS'
98674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98677
98678       cat >conftest.$ac_ext <<_ACEOF
98679 /* confdefs.h.  */
98680 _ACEOF
98681 cat confdefs.h >>conftest.$ac_ext
98682 cat >>conftest.$ac_ext <<_ACEOF
98683 /* end confdefs.h.  */
98684 #include <math.h>
98685 int
98686 main ()
98687 {
98688 _ceill (0); _floorl (0);
98689   ;
98690   return 0;
98691 }
98692 _ACEOF
98693 rm -f conftest.$ac_objext
98694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98695   (eval $ac_compile) 2>conftest.er1
98696   ac_status=$?
98697   grep -v '^ *+' conftest.er1 >conftest.err
98698   rm -f conftest.er1
98699   cat conftest.err >&5
98700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98701   (exit $ac_status); } &&
98702          { ac_try='test -z "$ac_cxx_werror_flag"
98703                          || test ! -s conftest.err'
98704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98705   (eval $ac_try) 2>&5
98706   ac_status=$?
98707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98708   (exit $ac_status); }; } &&
98709          { ac_try='test -s conftest.$ac_objext'
98710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98711   (eval $ac_try) 2>&5
98712   ac_status=$?
98713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98714   (exit $ac_status); }; }; then
98715   glibcxx_cv_func__long_double_round_use=yes
98716 else
98717   echo "$as_me: failed program was:" >&5
98718 sed 's/^/| /' conftest.$ac_ext >&5
98719
98720 glibcxx_cv_func__long_double_round_use=no
98721 fi
98722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98723       ac_ext=c
98724 ac_cpp='$CPP $CPPFLAGS'
98725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98728
98729 fi
98730
98731     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
98732 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
98733     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
98734
98735
98736 for ac_func in _ceill _floorl
98737 do
98738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98739 echo "$as_me:$LINENO: checking for $ac_func" >&5
98740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98741 if eval "test \"\${$as_ac_var+set}\" = set"; then
98742   echo $ECHO_N "(cached) $ECHO_C" >&6
98743 else
98744   if test x$gcc_no_link = xyes; then
98745   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98747    { (exit 1); exit 1; }; }
98748 fi
98749 cat >conftest.$ac_ext <<_ACEOF
98750 /* confdefs.h.  */
98751 _ACEOF
98752 cat confdefs.h >>conftest.$ac_ext
98753 cat >>conftest.$ac_ext <<_ACEOF
98754 /* end confdefs.h.  */
98755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98756    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98757 #define $ac_func innocuous_$ac_func
98758
98759 /* System header to define __stub macros and hopefully few prototypes,
98760     which can conflict with char $ac_func (); below.
98761     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98762     <limits.h> exists even on freestanding compilers.  */
98763
98764 #ifdef __STDC__
98765 # include <limits.h>
98766 #else
98767 # include <assert.h>
98768 #endif
98769
98770 #undef $ac_func
98771
98772 /* Override any gcc2 internal prototype to avoid an error.  */
98773 #ifdef __cplusplus
98774 extern "C"
98775 {
98776 #endif
98777 /* We use char because int might match the return type of a gcc2
98778    builtin and then its argument prototype would still apply.  */
98779 char $ac_func ();
98780 /* The GNU C library defines this for functions which it implements
98781     to always fail with ENOSYS.  Some functions are actually named
98782     something starting with __ and the normal name is an alias.  */
98783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98784 choke me
98785 #else
98786 char (*f) () = $ac_func;
98787 #endif
98788 #ifdef __cplusplus
98789 }
98790 #endif
98791
98792 int
98793 main ()
98794 {
98795 return f != $ac_func;
98796   ;
98797   return 0;
98798 }
98799 _ACEOF
98800 rm -f conftest.$ac_objext conftest$ac_exeext
98801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98802   (eval $ac_link) 2>conftest.er1
98803   ac_status=$?
98804   grep -v '^ *+' conftest.er1 >conftest.err
98805   rm -f conftest.er1
98806   cat conftest.err >&5
98807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98808   (exit $ac_status); } &&
98809          { ac_try='test -z "$ac_c_werror_flag"
98810                          || test ! -s conftest.err'
98811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98812   (eval $ac_try) 2>&5
98813   ac_status=$?
98814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98815   (exit $ac_status); }; } &&
98816          { ac_try='test -s conftest$ac_exeext'
98817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98818   (eval $ac_try) 2>&5
98819   ac_status=$?
98820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98821   (exit $ac_status); }; }; then
98822   eval "$as_ac_var=yes"
98823 else
98824   echo "$as_me: failed program was:" >&5
98825 sed 's/^/| /' conftest.$ac_ext >&5
98826
98827 eval "$as_ac_var=no"
98828 fi
98829 rm -f conftest.err conftest.$ac_objext \
98830       conftest$ac_exeext conftest.$ac_ext
98831 fi
98832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98834 if test `eval echo '${'$as_ac_var'}'` = yes; then
98835   cat >>confdefs.h <<_ACEOF
98836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98837 _ACEOF
98838
98839 fi
98840 done
98841
98842     fi
98843   fi
98844
98845
98846
98847
98848
98849
98850
98851
98852   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
98853 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
98854   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
98855     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
98856   echo $ECHO_N "(cached) $ECHO_C" >&6
98857 else
98858
98859
98860
98861       ac_ext=cc
98862 ac_cpp='$CXXCPP $CPPFLAGS'
98863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98866
98867       cat >conftest.$ac_ext <<_ACEOF
98868 /* confdefs.h.  */
98869 _ACEOF
98870 cat confdefs.h >>conftest.$ac_ext
98871 cat >>conftest.$ac_ext <<_ACEOF
98872 /* end confdefs.h.  */
98873 #include <math.h>
98874                       #ifdef HAVE_IEEEFP_H
98875                       #include <ieeefp.h>
98876                       #endif
98877
98878 int
98879 main ()
98880 {
98881  isnanl(0);
98882   ;
98883   return 0;
98884 }
98885 _ACEOF
98886 rm -f conftest.$ac_objext
98887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98888   (eval $ac_compile) 2>conftest.er1
98889   ac_status=$?
98890   grep -v '^ *+' conftest.er1 >conftest.err
98891   rm -f conftest.er1
98892   cat conftest.err >&5
98893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98894   (exit $ac_status); } &&
98895          { ac_try='test -z "$ac_cxx_werror_flag"
98896                          || test ! -s conftest.err'
98897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98898   (eval $ac_try) 2>&5
98899   ac_status=$?
98900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98901   (exit $ac_status); }; } &&
98902          { ac_try='test -s conftest.$ac_objext'
98903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98904   (eval $ac_try) 2>&5
98905   ac_status=$?
98906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98907   (exit $ac_status); }; }; then
98908   glibcxx_cv_func_isnanl_use=yes
98909 else
98910   echo "$as_me: failed program was:" >&5
98911 sed 's/^/| /' conftest.$ac_ext >&5
98912
98913 glibcxx_cv_func_isnanl_use=no
98914 fi
98915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98916       ac_ext=c
98917 ac_cpp='$CPP $CPPFLAGS'
98918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98921
98922
98923 fi
98924
98925   fi
98926   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
98927 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
98928
98929   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
98930
98931 for ac_func in isnanl
98932 do
98933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98934 echo "$as_me:$LINENO: checking for $ac_func" >&5
98935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98936 if eval "test \"\${$as_ac_var+set}\" = set"; then
98937   echo $ECHO_N "(cached) $ECHO_C" >&6
98938 else
98939   if test x$gcc_no_link = xyes; then
98940   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98942    { (exit 1); exit 1; }; }
98943 fi
98944 cat >conftest.$ac_ext <<_ACEOF
98945 /* confdefs.h.  */
98946 _ACEOF
98947 cat confdefs.h >>conftest.$ac_ext
98948 cat >>conftest.$ac_ext <<_ACEOF
98949 /* end confdefs.h.  */
98950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98951    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98952 #define $ac_func innocuous_$ac_func
98953
98954 /* System header to define __stub macros and hopefully few prototypes,
98955     which can conflict with char $ac_func (); below.
98956     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98957     <limits.h> exists even on freestanding compilers.  */
98958
98959 #ifdef __STDC__
98960 # include <limits.h>
98961 #else
98962 # include <assert.h>
98963 #endif
98964
98965 #undef $ac_func
98966
98967 /* Override any gcc2 internal prototype to avoid an error.  */
98968 #ifdef __cplusplus
98969 extern "C"
98970 {
98971 #endif
98972 /* We use char because int might match the return type of a gcc2
98973    builtin and then its argument prototype would still apply.  */
98974 char $ac_func ();
98975 /* The GNU C library defines this for functions which it implements
98976     to always fail with ENOSYS.  Some functions are actually named
98977     something starting with __ and the normal name is an alias.  */
98978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98979 choke me
98980 #else
98981 char (*f) () = $ac_func;
98982 #endif
98983 #ifdef __cplusplus
98984 }
98985 #endif
98986
98987 int
98988 main ()
98989 {
98990 return f != $ac_func;
98991   ;
98992   return 0;
98993 }
98994 _ACEOF
98995 rm -f conftest.$ac_objext conftest$ac_exeext
98996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98997   (eval $ac_link) 2>conftest.er1
98998   ac_status=$?
98999   grep -v '^ *+' conftest.er1 >conftest.err
99000   rm -f conftest.er1
99001   cat conftest.err >&5
99002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99003   (exit $ac_status); } &&
99004          { ac_try='test -z "$ac_c_werror_flag"
99005                          || test ! -s conftest.err'
99006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99007   (eval $ac_try) 2>&5
99008   ac_status=$?
99009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99010   (exit $ac_status); }; } &&
99011          { ac_try='test -s conftest$ac_exeext'
99012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99013   (eval $ac_try) 2>&5
99014   ac_status=$?
99015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99016   (exit $ac_status); }; }; then
99017   eval "$as_ac_var=yes"
99018 else
99019   echo "$as_me: failed program was:" >&5
99020 sed 's/^/| /' conftest.$ac_ext >&5
99021
99022 eval "$as_ac_var=no"
99023 fi
99024 rm -f conftest.err conftest.$ac_objext \
99025       conftest$ac_exeext conftest.$ac_ext
99026 fi
99027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99029 if test `eval echo '${'$as_ac_var'}'` = yes; then
99030   cat >>confdefs.h <<_ACEOF
99031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99032 _ACEOF
99033
99034 fi
99035 done
99036
99037   else
99038
99039   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
99040 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
99041   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
99042     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
99043   echo $ECHO_N "(cached) $ECHO_C" >&6
99044 else
99045
99046
99047
99048       ac_ext=cc
99049 ac_cpp='$CXXCPP $CPPFLAGS'
99050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99053
99054       cat >conftest.$ac_ext <<_ACEOF
99055 /* confdefs.h.  */
99056 _ACEOF
99057 cat confdefs.h >>conftest.$ac_ext
99058 cat >>conftest.$ac_ext <<_ACEOF
99059 /* end confdefs.h.  */
99060 #include <math.h>
99061                       #ifdef HAVE_IEEEFP_H
99062                       #include <ieeefp.h>
99063                       #endif
99064
99065 int
99066 main ()
99067 {
99068  _isnanl(0);
99069   ;
99070   return 0;
99071 }
99072 _ACEOF
99073 rm -f conftest.$ac_objext
99074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99075   (eval $ac_compile) 2>conftest.er1
99076   ac_status=$?
99077   grep -v '^ *+' conftest.er1 >conftest.err
99078   rm -f conftest.er1
99079   cat conftest.err >&5
99080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99081   (exit $ac_status); } &&
99082          { ac_try='test -z "$ac_cxx_werror_flag"
99083                          || test ! -s conftest.err'
99084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99085   (eval $ac_try) 2>&5
99086   ac_status=$?
99087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99088   (exit $ac_status); }; } &&
99089          { ac_try='test -s conftest.$ac_objext'
99090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99091   (eval $ac_try) 2>&5
99092   ac_status=$?
99093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99094   (exit $ac_status); }; }; then
99095   glibcxx_cv_func__isnanl_use=yes
99096 else
99097   echo "$as_me: failed program was:" >&5
99098 sed 's/^/| /' conftest.$ac_ext >&5
99099
99100 glibcxx_cv_func__isnanl_use=no
99101 fi
99102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99103       ac_ext=c
99104 ac_cpp='$CPP $CPPFLAGS'
99105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99108
99109
99110 fi
99111
99112   fi
99113   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
99114 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
99115
99116     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
99117
99118 for ac_func in _isnanl
99119 do
99120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99121 echo "$as_me:$LINENO: checking for $ac_func" >&5
99122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99123 if eval "test \"\${$as_ac_var+set}\" = set"; then
99124   echo $ECHO_N "(cached) $ECHO_C" >&6
99125 else
99126   if test x$gcc_no_link = xyes; then
99127   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99129    { (exit 1); exit 1; }; }
99130 fi
99131 cat >conftest.$ac_ext <<_ACEOF
99132 /* confdefs.h.  */
99133 _ACEOF
99134 cat confdefs.h >>conftest.$ac_ext
99135 cat >>conftest.$ac_ext <<_ACEOF
99136 /* end confdefs.h.  */
99137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99138    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99139 #define $ac_func innocuous_$ac_func
99140
99141 /* System header to define __stub macros and hopefully few prototypes,
99142     which can conflict with char $ac_func (); below.
99143     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99144     <limits.h> exists even on freestanding compilers.  */
99145
99146 #ifdef __STDC__
99147 # include <limits.h>
99148 #else
99149 # include <assert.h>
99150 #endif
99151
99152 #undef $ac_func
99153
99154 /* Override any gcc2 internal prototype to avoid an error.  */
99155 #ifdef __cplusplus
99156 extern "C"
99157 {
99158 #endif
99159 /* We use char because int might match the return type of a gcc2
99160    builtin and then its argument prototype would still apply.  */
99161 char $ac_func ();
99162 /* The GNU C library defines this for functions which it implements
99163     to always fail with ENOSYS.  Some functions are actually named
99164     something starting with __ and the normal name is an alias.  */
99165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99166 choke me
99167 #else
99168 char (*f) () = $ac_func;
99169 #endif
99170 #ifdef __cplusplus
99171 }
99172 #endif
99173
99174 int
99175 main ()
99176 {
99177 return f != $ac_func;
99178   ;
99179   return 0;
99180 }
99181 _ACEOF
99182 rm -f conftest.$ac_objext conftest$ac_exeext
99183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99184   (eval $ac_link) 2>conftest.er1
99185   ac_status=$?
99186   grep -v '^ *+' conftest.er1 >conftest.err
99187   rm -f conftest.er1
99188   cat conftest.err >&5
99189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99190   (exit $ac_status); } &&
99191          { ac_try='test -z "$ac_c_werror_flag"
99192                          || test ! -s conftest.err'
99193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99194   (eval $ac_try) 2>&5
99195   ac_status=$?
99196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99197   (exit $ac_status); }; } &&
99198          { ac_try='test -s conftest$ac_exeext'
99199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99200   (eval $ac_try) 2>&5
99201   ac_status=$?
99202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99203   (exit $ac_status); }; }; then
99204   eval "$as_ac_var=yes"
99205 else
99206   echo "$as_me: failed program was:" >&5
99207 sed 's/^/| /' conftest.$ac_ext >&5
99208
99209 eval "$as_ac_var=no"
99210 fi
99211 rm -f conftest.err conftest.$ac_objext \
99212       conftest$ac_exeext conftest.$ac_ext
99213 fi
99214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99216 if test `eval echo '${'$as_ac_var'}'` = yes; then
99217   cat >>confdefs.h <<_ACEOF
99218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99219 _ACEOF
99220
99221 fi
99222 done
99223
99224     fi
99225   fi
99226
99227
99228
99229
99230
99231
99232   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
99233 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
99234   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
99235     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
99236   echo $ECHO_N "(cached) $ECHO_C" >&6
99237 else
99238
99239
99240
99241       ac_ext=cc
99242 ac_cpp='$CXXCPP $CPPFLAGS'
99243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99246
99247       cat >conftest.$ac_ext <<_ACEOF
99248 /* confdefs.h.  */
99249 _ACEOF
99250 cat confdefs.h >>conftest.$ac_ext
99251 cat >>conftest.$ac_ext <<_ACEOF
99252 /* end confdefs.h.  */
99253 #include <math.h>
99254                       #ifdef HAVE_IEEEFP_H
99255                       #include <ieeefp.h>
99256                       #endif
99257
99258 int
99259 main ()
99260 {
99261  isinfl(0);
99262   ;
99263   return 0;
99264 }
99265 _ACEOF
99266 rm -f conftest.$ac_objext
99267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99268   (eval $ac_compile) 2>conftest.er1
99269   ac_status=$?
99270   grep -v '^ *+' conftest.er1 >conftest.err
99271   rm -f conftest.er1
99272   cat conftest.err >&5
99273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99274   (exit $ac_status); } &&
99275          { ac_try='test -z "$ac_cxx_werror_flag"
99276                          || test ! -s conftest.err'
99277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99278   (eval $ac_try) 2>&5
99279   ac_status=$?
99280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99281   (exit $ac_status); }; } &&
99282          { ac_try='test -s conftest.$ac_objext'
99283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99284   (eval $ac_try) 2>&5
99285   ac_status=$?
99286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99287   (exit $ac_status); }; }; then
99288   glibcxx_cv_func_isinfl_use=yes
99289 else
99290   echo "$as_me: failed program was:" >&5
99291 sed 's/^/| /' conftest.$ac_ext >&5
99292
99293 glibcxx_cv_func_isinfl_use=no
99294 fi
99295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99296       ac_ext=c
99297 ac_cpp='$CPP $CPPFLAGS'
99298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99301
99302
99303 fi
99304
99305   fi
99306   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
99307 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
99308
99309   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
99310
99311 for ac_func in isinfl
99312 do
99313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99314 echo "$as_me:$LINENO: checking for $ac_func" >&5
99315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99316 if eval "test \"\${$as_ac_var+set}\" = set"; then
99317   echo $ECHO_N "(cached) $ECHO_C" >&6
99318 else
99319   if test x$gcc_no_link = xyes; then
99320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99322    { (exit 1); exit 1; }; }
99323 fi
99324 cat >conftest.$ac_ext <<_ACEOF
99325 /* confdefs.h.  */
99326 _ACEOF
99327 cat confdefs.h >>conftest.$ac_ext
99328 cat >>conftest.$ac_ext <<_ACEOF
99329 /* end confdefs.h.  */
99330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99331    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99332 #define $ac_func innocuous_$ac_func
99333
99334 /* System header to define __stub macros and hopefully few prototypes,
99335     which can conflict with char $ac_func (); below.
99336     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99337     <limits.h> exists even on freestanding compilers.  */
99338
99339 #ifdef __STDC__
99340 # include <limits.h>
99341 #else
99342 # include <assert.h>
99343 #endif
99344
99345 #undef $ac_func
99346
99347 /* Override any gcc2 internal prototype to avoid an error.  */
99348 #ifdef __cplusplus
99349 extern "C"
99350 {
99351 #endif
99352 /* We use char because int might match the return type of a gcc2
99353    builtin and then its argument prototype would still apply.  */
99354 char $ac_func ();
99355 /* The GNU C library defines this for functions which it implements
99356     to always fail with ENOSYS.  Some functions are actually named
99357     something starting with __ and the normal name is an alias.  */
99358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99359 choke me
99360 #else
99361 char (*f) () = $ac_func;
99362 #endif
99363 #ifdef __cplusplus
99364 }
99365 #endif
99366
99367 int
99368 main ()
99369 {
99370 return f != $ac_func;
99371   ;
99372   return 0;
99373 }
99374 _ACEOF
99375 rm -f conftest.$ac_objext conftest$ac_exeext
99376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99377   (eval $ac_link) 2>conftest.er1
99378   ac_status=$?
99379   grep -v '^ *+' conftest.er1 >conftest.err
99380   rm -f conftest.er1
99381   cat conftest.err >&5
99382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99383   (exit $ac_status); } &&
99384          { ac_try='test -z "$ac_c_werror_flag"
99385                          || test ! -s conftest.err'
99386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99387   (eval $ac_try) 2>&5
99388   ac_status=$?
99389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99390   (exit $ac_status); }; } &&
99391          { ac_try='test -s conftest$ac_exeext'
99392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99393   (eval $ac_try) 2>&5
99394   ac_status=$?
99395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99396   (exit $ac_status); }; }; then
99397   eval "$as_ac_var=yes"
99398 else
99399   echo "$as_me: failed program was:" >&5
99400 sed 's/^/| /' conftest.$ac_ext >&5
99401
99402 eval "$as_ac_var=no"
99403 fi
99404 rm -f conftest.err conftest.$ac_objext \
99405       conftest$ac_exeext conftest.$ac_ext
99406 fi
99407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99409 if test `eval echo '${'$as_ac_var'}'` = yes; then
99410   cat >>confdefs.h <<_ACEOF
99411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99412 _ACEOF
99413
99414 fi
99415 done
99416
99417   else
99418
99419   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
99420 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
99421   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
99422     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
99423   echo $ECHO_N "(cached) $ECHO_C" >&6
99424 else
99425
99426
99427
99428       ac_ext=cc
99429 ac_cpp='$CXXCPP $CPPFLAGS'
99430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99433
99434       cat >conftest.$ac_ext <<_ACEOF
99435 /* confdefs.h.  */
99436 _ACEOF
99437 cat confdefs.h >>conftest.$ac_ext
99438 cat >>conftest.$ac_ext <<_ACEOF
99439 /* end confdefs.h.  */
99440 #include <math.h>
99441                       #ifdef HAVE_IEEEFP_H
99442                       #include <ieeefp.h>
99443                       #endif
99444
99445 int
99446 main ()
99447 {
99448  _isinfl(0);
99449   ;
99450   return 0;
99451 }
99452 _ACEOF
99453 rm -f conftest.$ac_objext
99454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99455   (eval $ac_compile) 2>conftest.er1
99456   ac_status=$?
99457   grep -v '^ *+' conftest.er1 >conftest.err
99458   rm -f conftest.er1
99459   cat conftest.err >&5
99460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99461   (exit $ac_status); } &&
99462          { ac_try='test -z "$ac_cxx_werror_flag"
99463                          || test ! -s conftest.err'
99464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99465   (eval $ac_try) 2>&5
99466   ac_status=$?
99467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99468   (exit $ac_status); }; } &&
99469          { ac_try='test -s conftest.$ac_objext'
99470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99471   (eval $ac_try) 2>&5
99472   ac_status=$?
99473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99474   (exit $ac_status); }; }; then
99475   glibcxx_cv_func__isinfl_use=yes
99476 else
99477   echo "$as_me: failed program was:" >&5
99478 sed 's/^/| /' conftest.$ac_ext >&5
99479
99480 glibcxx_cv_func__isinfl_use=no
99481 fi
99482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99483       ac_ext=c
99484 ac_cpp='$CPP $CPPFLAGS'
99485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99488
99489
99490 fi
99491
99492   fi
99493   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
99494 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
99495
99496     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
99497
99498 for ac_func in _isinfl
99499 do
99500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99501 echo "$as_me:$LINENO: checking for $ac_func" >&5
99502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99503 if eval "test \"\${$as_ac_var+set}\" = set"; then
99504   echo $ECHO_N "(cached) $ECHO_C" >&6
99505 else
99506   if test x$gcc_no_link = xyes; then
99507   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99509    { (exit 1); exit 1; }; }
99510 fi
99511 cat >conftest.$ac_ext <<_ACEOF
99512 /* confdefs.h.  */
99513 _ACEOF
99514 cat confdefs.h >>conftest.$ac_ext
99515 cat >>conftest.$ac_ext <<_ACEOF
99516 /* end confdefs.h.  */
99517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99518    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99519 #define $ac_func innocuous_$ac_func
99520
99521 /* System header to define __stub macros and hopefully few prototypes,
99522     which can conflict with char $ac_func (); below.
99523     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99524     <limits.h> exists even on freestanding compilers.  */
99525
99526 #ifdef __STDC__
99527 # include <limits.h>
99528 #else
99529 # include <assert.h>
99530 #endif
99531
99532 #undef $ac_func
99533
99534 /* Override any gcc2 internal prototype to avoid an error.  */
99535 #ifdef __cplusplus
99536 extern "C"
99537 {
99538 #endif
99539 /* We use char because int might match the return type of a gcc2
99540    builtin and then its argument prototype would still apply.  */
99541 char $ac_func ();
99542 /* The GNU C library defines this for functions which it implements
99543     to always fail with ENOSYS.  Some functions are actually named
99544     something starting with __ and the normal name is an alias.  */
99545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99546 choke me
99547 #else
99548 char (*f) () = $ac_func;
99549 #endif
99550 #ifdef __cplusplus
99551 }
99552 #endif
99553
99554 int
99555 main ()
99556 {
99557 return f != $ac_func;
99558   ;
99559   return 0;
99560 }
99561 _ACEOF
99562 rm -f conftest.$ac_objext conftest$ac_exeext
99563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99564   (eval $ac_link) 2>conftest.er1
99565   ac_status=$?
99566   grep -v '^ *+' conftest.er1 >conftest.err
99567   rm -f conftest.er1
99568   cat conftest.err >&5
99569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99570   (exit $ac_status); } &&
99571          { ac_try='test -z "$ac_c_werror_flag"
99572                          || test ! -s conftest.err'
99573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99574   (eval $ac_try) 2>&5
99575   ac_status=$?
99576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99577   (exit $ac_status); }; } &&
99578          { ac_try='test -s conftest$ac_exeext'
99579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99580   (eval $ac_try) 2>&5
99581   ac_status=$?
99582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99583   (exit $ac_status); }; }; then
99584   eval "$as_ac_var=yes"
99585 else
99586   echo "$as_me: failed program was:" >&5
99587 sed 's/^/| /' conftest.$ac_ext >&5
99588
99589 eval "$as_ac_var=no"
99590 fi
99591 rm -f conftest.err conftest.$ac_objext \
99592       conftest$ac_exeext conftest.$ac_ext
99593 fi
99594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99596 if test `eval echo '${'$as_ac_var'}'` = yes; then
99597   cat >>confdefs.h <<_ACEOF
99598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99599 _ACEOF
99600
99601 fi
99602 done
99603
99604     fi
99605   fi
99606
99607
99608
99609
99610
99611
99612   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
99613 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
99614   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
99615     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
99616   echo $ECHO_N "(cached) $ECHO_C" >&6
99617 else
99618
99619
99620
99621       ac_ext=cc
99622 ac_cpp='$CXXCPP $CPPFLAGS'
99623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99626
99627       cat >conftest.$ac_ext <<_ACEOF
99628 /* confdefs.h.  */
99629 _ACEOF
99630 cat confdefs.h >>conftest.$ac_ext
99631 cat >>conftest.$ac_ext <<_ACEOF
99632 /* end confdefs.h.  */
99633 #include <math.h>
99634 int
99635 main ()
99636 {
99637  copysignl(0, 0);
99638   ;
99639   return 0;
99640 }
99641 _ACEOF
99642 rm -f conftest.$ac_objext
99643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99644   (eval $ac_compile) 2>conftest.er1
99645   ac_status=$?
99646   grep -v '^ *+' conftest.er1 >conftest.err
99647   rm -f conftest.er1
99648   cat conftest.err >&5
99649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99650   (exit $ac_status); } &&
99651          { ac_try='test -z "$ac_cxx_werror_flag"
99652                          || test ! -s conftest.err'
99653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99654   (eval $ac_try) 2>&5
99655   ac_status=$?
99656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99657   (exit $ac_status); }; } &&
99658          { ac_try='test -s conftest.$ac_objext'
99659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99660   (eval $ac_try) 2>&5
99661   ac_status=$?
99662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99663   (exit $ac_status); }; }; then
99664   glibcxx_cv_func_copysignl_use=yes
99665 else
99666   echo "$as_me: failed program was:" >&5
99667 sed 's/^/| /' conftest.$ac_ext >&5
99668
99669 glibcxx_cv_func_copysignl_use=no
99670 fi
99671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99672       ac_ext=c
99673 ac_cpp='$CPP $CPPFLAGS'
99674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99677
99678
99679 fi
99680
99681   fi
99682   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
99683 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
99684
99685   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
99686
99687 for ac_func in copysignl
99688 do
99689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99690 echo "$as_me:$LINENO: checking for $ac_func" >&5
99691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99692 if eval "test \"\${$as_ac_var+set}\" = set"; then
99693   echo $ECHO_N "(cached) $ECHO_C" >&6
99694 else
99695   if test x$gcc_no_link = xyes; then
99696   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99698    { (exit 1); exit 1; }; }
99699 fi
99700 cat >conftest.$ac_ext <<_ACEOF
99701 /* confdefs.h.  */
99702 _ACEOF
99703 cat confdefs.h >>conftest.$ac_ext
99704 cat >>conftest.$ac_ext <<_ACEOF
99705 /* end confdefs.h.  */
99706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99707    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99708 #define $ac_func innocuous_$ac_func
99709
99710 /* System header to define __stub macros and hopefully few prototypes,
99711     which can conflict with char $ac_func (); below.
99712     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99713     <limits.h> exists even on freestanding compilers.  */
99714
99715 #ifdef __STDC__
99716 # include <limits.h>
99717 #else
99718 # include <assert.h>
99719 #endif
99720
99721 #undef $ac_func
99722
99723 /* Override any gcc2 internal prototype to avoid an error.  */
99724 #ifdef __cplusplus
99725 extern "C"
99726 {
99727 #endif
99728 /* We use char because int might match the return type of a gcc2
99729    builtin and then its argument prototype would still apply.  */
99730 char $ac_func ();
99731 /* The GNU C library defines this for functions which it implements
99732     to always fail with ENOSYS.  Some functions are actually named
99733     something starting with __ and the normal name is an alias.  */
99734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99735 choke me
99736 #else
99737 char (*f) () = $ac_func;
99738 #endif
99739 #ifdef __cplusplus
99740 }
99741 #endif
99742
99743 int
99744 main ()
99745 {
99746 return f != $ac_func;
99747   ;
99748   return 0;
99749 }
99750 _ACEOF
99751 rm -f conftest.$ac_objext conftest$ac_exeext
99752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99753   (eval $ac_link) 2>conftest.er1
99754   ac_status=$?
99755   grep -v '^ *+' conftest.er1 >conftest.err
99756   rm -f conftest.er1
99757   cat conftest.err >&5
99758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99759   (exit $ac_status); } &&
99760          { ac_try='test -z "$ac_c_werror_flag"
99761                          || test ! -s conftest.err'
99762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99763   (eval $ac_try) 2>&5
99764   ac_status=$?
99765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99766   (exit $ac_status); }; } &&
99767          { ac_try='test -s conftest$ac_exeext'
99768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99769   (eval $ac_try) 2>&5
99770   ac_status=$?
99771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99772   (exit $ac_status); }; }; then
99773   eval "$as_ac_var=yes"
99774 else
99775   echo "$as_me: failed program was:" >&5
99776 sed 's/^/| /' conftest.$ac_ext >&5
99777
99778 eval "$as_ac_var=no"
99779 fi
99780 rm -f conftest.err conftest.$ac_objext \
99781       conftest$ac_exeext conftest.$ac_ext
99782 fi
99783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99785 if test `eval echo '${'$as_ac_var'}'` = yes; then
99786   cat >>confdefs.h <<_ACEOF
99787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99788 _ACEOF
99789
99790 fi
99791 done
99792
99793   else
99794
99795   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
99796 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
99797   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
99798     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
99799   echo $ECHO_N "(cached) $ECHO_C" >&6
99800 else
99801
99802
99803
99804       ac_ext=cc
99805 ac_cpp='$CXXCPP $CPPFLAGS'
99806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99809
99810       cat >conftest.$ac_ext <<_ACEOF
99811 /* confdefs.h.  */
99812 _ACEOF
99813 cat confdefs.h >>conftest.$ac_ext
99814 cat >>conftest.$ac_ext <<_ACEOF
99815 /* end confdefs.h.  */
99816 #include <math.h>
99817 int
99818 main ()
99819 {
99820  _copysignl(0, 0);
99821   ;
99822   return 0;
99823 }
99824 _ACEOF
99825 rm -f conftest.$ac_objext
99826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99827   (eval $ac_compile) 2>conftest.er1
99828   ac_status=$?
99829   grep -v '^ *+' conftest.er1 >conftest.err
99830   rm -f conftest.er1
99831   cat conftest.err >&5
99832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99833   (exit $ac_status); } &&
99834          { ac_try='test -z "$ac_cxx_werror_flag"
99835                          || test ! -s conftest.err'
99836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99837   (eval $ac_try) 2>&5
99838   ac_status=$?
99839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99840   (exit $ac_status); }; } &&
99841          { ac_try='test -s conftest.$ac_objext'
99842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99843   (eval $ac_try) 2>&5
99844   ac_status=$?
99845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99846   (exit $ac_status); }; }; then
99847   glibcxx_cv_func__copysignl_use=yes
99848 else
99849   echo "$as_me: failed program was:" >&5
99850 sed 's/^/| /' conftest.$ac_ext >&5
99851
99852 glibcxx_cv_func__copysignl_use=no
99853 fi
99854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99855       ac_ext=c
99856 ac_cpp='$CPP $CPPFLAGS'
99857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99860
99861
99862 fi
99863
99864   fi
99865   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
99866 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
99867
99868     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
99869
99870 for ac_func in _copysignl
99871 do
99872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99873 echo "$as_me:$LINENO: checking for $ac_func" >&5
99874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99875 if eval "test \"\${$as_ac_var+set}\" = set"; then
99876   echo $ECHO_N "(cached) $ECHO_C" >&6
99877 else
99878   if test x$gcc_no_link = xyes; then
99879   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99881    { (exit 1); exit 1; }; }
99882 fi
99883 cat >conftest.$ac_ext <<_ACEOF
99884 /* confdefs.h.  */
99885 _ACEOF
99886 cat confdefs.h >>conftest.$ac_ext
99887 cat >>conftest.$ac_ext <<_ACEOF
99888 /* end confdefs.h.  */
99889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99890    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99891 #define $ac_func innocuous_$ac_func
99892
99893 /* System header to define __stub macros and hopefully few prototypes,
99894     which can conflict with char $ac_func (); below.
99895     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99896     <limits.h> exists even on freestanding compilers.  */
99897
99898 #ifdef __STDC__
99899 # include <limits.h>
99900 #else
99901 # include <assert.h>
99902 #endif
99903
99904 #undef $ac_func
99905
99906 /* Override any gcc2 internal prototype to avoid an error.  */
99907 #ifdef __cplusplus
99908 extern "C"
99909 {
99910 #endif
99911 /* We use char because int might match the return type of a gcc2
99912    builtin and then its argument prototype would still apply.  */
99913 char $ac_func ();
99914 /* The GNU C library defines this for functions which it implements
99915     to always fail with ENOSYS.  Some functions are actually named
99916     something starting with __ and the normal name is an alias.  */
99917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99918 choke me
99919 #else
99920 char (*f) () = $ac_func;
99921 #endif
99922 #ifdef __cplusplus
99923 }
99924 #endif
99925
99926 int
99927 main ()
99928 {
99929 return f != $ac_func;
99930   ;
99931   return 0;
99932 }
99933 _ACEOF
99934 rm -f conftest.$ac_objext conftest$ac_exeext
99935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99936   (eval $ac_link) 2>conftest.er1
99937   ac_status=$?
99938   grep -v '^ *+' conftest.er1 >conftest.err
99939   rm -f conftest.er1
99940   cat conftest.err >&5
99941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99942   (exit $ac_status); } &&
99943          { ac_try='test -z "$ac_c_werror_flag"
99944                          || test ! -s conftest.err'
99945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99946   (eval $ac_try) 2>&5
99947   ac_status=$?
99948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99949   (exit $ac_status); }; } &&
99950          { ac_try='test -s conftest$ac_exeext'
99951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99952   (eval $ac_try) 2>&5
99953   ac_status=$?
99954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99955   (exit $ac_status); }; }; then
99956   eval "$as_ac_var=yes"
99957 else
99958   echo "$as_me: failed program was:" >&5
99959 sed 's/^/| /' conftest.$ac_ext >&5
99960
99961 eval "$as_ac_var=no"
99962 fi
99963 rm -f conftest.err conftest.$ac_objext \
99964       conftest$ac_exeext conftest.$ac_ext
99965 fi
99966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99968 if test `eval echo '${'$as_ac_var'}'` = yes; then
99969   cat >>confdefs.h <<_ACEOF
99970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99971 _ACEOF
99972
99973 fi
99974 done
99975
99976     fi
99977   fi
99978
99979
99980
99981
99982
99983
99984   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
99985 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
99986   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
99987     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
99988   echo $ECHO_N "(cached) $ECHO_C" >&6
99989 else
99990
99991
99992
99993       ac_ext=cc
99994 ac_cpp='$CXXCPP $CPPFLAGS'
99995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99998
99999       cat >conftest.$ac_ext <<_ACEOF
100000 /* confdefs.h.  */
100001 _ACEOF
100002 cat confdefs.h >>conftest.$ac_ext
100003 cat >>conftest.$ac_ext <<_ACEOF
100004 /* end confdefs.h.  */
100005 #include <math.h>
100006 int
100007 main ()
100008 {
100009  atan2l(0, 0);
100010   ;
100011   return 0;
100012 }
100013 _ACEOF
100014 rm -f conftest.$ac_objext
100015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100016   (eval $ac_compile) 2>conftest.er1
100017   ac_status=$?
100018   grep -v '^ *+' conftest.er1 >conftest.err
100019   rm -f conftest.er1
100020   cat conftest.err >&5
100021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100022   (exit $ac_status); } &&
100023          { ac_try='test -z "$ac_cxx_werror_flag"
100024                          || test ! -s conftest.err'
100025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100026   (eval $ac_try) 2>&5
100027   ac_status=$?
100028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100029   (exit $ac_status); }; } &&
100030          { ac_try='test -s conftest.$ac_objext'
100031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100032   (eval $ac_try) 2>&5
100033   ac_status=$?
100034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100035   (exit $ac_status); }; }; then
100036   glibcxx_cv_func_atan2l_use=yes
100037 else
100038   echo "$as_me: failed program was:" >&5
100039 sed 's/^/| /' conftest.$ac_ext >&5
100040
100041 glibcxx_cv_func_atan2l_use=no
100042 fi
100043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100044       ac_ext=c
100045 ac_cpp='$CPP $CPPFLAGS'
100046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100049
100050
100051 fi
100052
100053   fi
100054   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
100055 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
100056
100057   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
100058
100059 for ac_func in atan2l
100060 do
100061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100062 echo "$as_me:$LINENO: checking for $ac_func" >&5
100063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100064 if eval "test \"\${$as_ac_var+set}\" = set"; then
100065   echo $ECHO_N "(cached) $ECHO_C" >&6
100066 else
100067   if test x$gcc_no_link = xyes; then
100068   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100070    { (exit 1); exit 1; }; }
100071 fi
100072 cat >conftest.$ac_ext <<_ACEOF
100073 /* confdefs.h.  */
100074 _ACEOF
100075 cat confdefs.h >>conftest.$ac_ext
100076 cat >>conftest.$ac_ext <<_ACEOF
100077 /* end confdefs.h.  */
100078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100079    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100080 #define $ac_func innocuous_$ac_func
100081
100082 /* System header to define __stub macros and hopefully few prototypes,
100083     which can conflict with char $ac_func (); below.
100084     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100085     <limits.h> exists even on freestanding compilers.  */
100086
100087 #ifdef __STDC__
100088 # include <limits.h>
100089 #else
100090 # include <assert.h>
100091 #endif
100092
100093 #undef $ac_func
100094
100095 /* Override any gcc2 internal prototype to avoid an error.  */
100096 #ifdef __cplusplus
100097 extern "C"
100098 {
100099 #endif
100100 /* We use char because int might match the return type of a gcc2
100101    builtin and then its argument prototype would still apply.  */
100102 char $ac_func ();
100103 /* The GNU C library defines this for functions which it implements
100104     to always fail with ENOSYS.  Some functions are actually named
100105     something starting with __ and the normal name is an alias.  */
100106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100107 choke me
100108 #else
100109 char (*f) () = $ac_func;
100110 #endif
100111 #ifdef __cplusplus
100112 }
100113 #endif
100114
100115 int
100116 main ()
100117 {
100118 return f != $ac_func;
100119   ;
100120   return 0;
100121 }
100122 _ACEOF
100123 rm -f conftest.$ac_objext conftest$ac_exeext
100124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100125   (eval $ac_link) 2>conftest.er1
100126   ac_status=$?
100127   grep -v '^ *+' conftest.er1 >conftest.err
100128   rm -f conftest.er1
100129   cat conftest.err >&5
100130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100131   (exit $ac_status); } &&
100132          { ac_try='test -z "$ac_c_werror_flag"
100133                          || test ! -s conftest.err'
100134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100135   (eval $ac_try) 2>&5
100136   ac_status=$?
100137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100138   (exit $ac_status); }; } &&
100139          { ac_try='test -s conftest$ac_exeext'
100140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100141   (eval $ac_try) 2>&5
100142   ac_status=$?
100143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100144   (exit $ac_status); }; }; then
100145   eval "$as_ac_var=yes"
100146 else
100147   echo "$as_me: failed program was:" >&5
100148 sed 's/^/| /' conftest.$ac_ext >&5
100149
100150 eval "$as_ac_var=no"
100151 fi
100152 rm -f conftest.err conftest.$ac_objext \
100153       conftest$ac_exeext conftest.$ac_ext
100154 fi
100155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100157 if test `eval echo '${'$as_ac_var'}'` = yes; then
100158   cat >>confdefs.h <<_ACEOF
100159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100160 _ACEOF
100161
100162 fi
100163 done
100164
100165   else
100166
100167   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
100168 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
100169   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
100170     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
100171   echo $ECHO_N "(cached) $ECHO_C" >&6
100172 else
100173
100174
100175
100176       ac_ext=cc
100177 ac_cpp='$CXXCPP $CPPFLAGS'
100178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100181
100182       cat >conftest.$ac_ext <<_ACEOF
100183 /* confdefs.h.  */
100184 _ACEOF
100185 cat confdefs.h >>conftest.$ac_ext
100186 cat >>conftest.$ac_ext <<_ACEOF
100187 /* end confdefs.h.  */
100188 #include <math.h>
100189 int
100190 main ()
100191 {
100192  _atan2l(0, 0);
100193   ;
100194   return 0;
100195 }
100196 _ACEOF
100197 rm -f conftest.$ac_objext
100198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100199   (eval $ac_compile) 2>conftest.er1
100200   ac_status=$?
100201   grep -v '^ *+' conftest.er1 >conftest.err
100202   rm -f conftest.er1
100203   cat conftest.err >&5
100204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100205   (exit $ac_status); } &&
100206          { ac_try='test -z "$ac_cxx_werror_flag"
100207                          || test ! -s conftest.err'
100208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100209   (eval $ac_try) 2>&5
100210   ac_status=$?
100211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100212   (exit $ac_status); }; } &&
100213          { ac_try='test -s conftest.$ac_objext'
100214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100215   (eval $ac_try) 2>&5
100216   ac_status=$?
100217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100218   (exit $ac_status); }; }; then
100219   glibcxx_cv_func__atan2l_use=yes
100220 else
100221   echo "$as_me: failed program was:" >&5
100222 sed 's/^/| /' conftest.$ac_ext >&5
100223
100224 glibcxx_cv_func__atan2l_use=no
100225 fi
100226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100227       ac_ext=c
100228 ac_cpp='$CPP $CPPFLAGS'
100229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100232
100233
100234 fi
100235
100236   fi
100237   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
100238 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
100239
100240     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
100241
100242 for ac_func in _atan2l
100243 do
100244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100245 echo "$as_me:$LINENO: checking for $ac_func" >&5
100246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100247 if eval "test \"\${$as_ac_var+set}\" = set"; then
100248   echo $ECHO_N "(cached) $ECHO_C" >&6
100249 else
100250   if test x$gcc_no_link = xyes; then
100251   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100253    { (exit 1); exit 1; }; }
100254 fi
100255 cat >conftest.$ac_ext <<_ACEOF
100256 /* confdefs.h.  */
100257 _ACEOF
100258 cat confdefs.h >>conftest.$ac_ext
100259 cat >>conftest.$ac_ext <<_ACEOF
100260 /* end confdefs.h.  */
100261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100262    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100263 #define $ac_func innocuous_$ac_func
100264
100265 /* System header to define __stub macros and hopefully few prototypes,
100266     which can conflict with char $ac_func (); below.
100267     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100268     <limits.h> exists even on freestanding compilers.  */
100269
100270 #ifdef __STDC__
100271 # include <limits.h>
100272 #else
100273 # include <assert.h>
100274 #endif
100275
100276 #undef $ac_func
100277
100278 /* Override any gcc2 internal prototype to avoid an error.  */
100279 #ifdef __cplusplus
100280 extern "C"
100281 {
100282 #endif
100283 /* We use char because int might match the return type of a gcc2
100284    builtin and then its argument prototype would still apply.  */
100285 char $ac_func ();
100286 /* The GNU C library defines this for functions which it implements
100287     to always fail with ENOSYS.  Some functions are actually named
100288     something starting with __ and the normal name is an alias.  */
100289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100290 choke me
100291 #else
100292 char (*f) () = $ac_func;
100293 #endif
100294 #ifdef __cplusplus
100295 }
100296 #endif
100297
100298 int
100299 main ()
100300 {
100301 return f != $ac_func;
100302   ;
100303   return 0;
100304 }
100305 _ACEOF
100306 rm -f conftest.$ac_objext conftest$ac_exeext
100307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100308   (eval $ac_link) 2>conftest.er1
100309   ac_status=$?
100310   grep -v '^ *+' conftest.er1 >conftest.err
100311   rm -f conftest.er1
100312   cat conftest.err >&5
100313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100314   (exit $ac_status); } &&
100315          { ac_try='test -z "$ac_c_werror_flag"
100316                          || test ! -s conftest.err'
100317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100318   (eval $ac_try) 2>&5
100319   ac_status=$?
100320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100321   (exit $ac_status); }; } &&
100322          { ac_try='test -s conftest$ac_exeext'
100323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100324   (eval $ac_try) 2>&5
100325   ac_status=$?
100326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100327   (exit $ac_status); }; }; then
100328   eval "$as_ac_var=yes"
100329 else
100330   echo "$as_me: failed program was:" >&5
100331 sed 's/^/| /' conftest.$ac_ext >&5
100332
100333 eval "$as_ac_var=no"
100334 fi
100335 rm -f conftest.err conftest.$ac_objext \
100336       conftest$ac_exeext conftest.$ac_ext
100337 fi
100338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100340 if test `eval echo '${'$as_ac_var'}'` = yes; then
100341   cat >>confdefs.h <<_ACEOF
100342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100343 _ACEOF
100344
100345 fi
100346 done
100347
100348     fi
100349   fi
100350
100351
100352
100353
100354
100355
100356   echo "$as_me:$LINENO: checking for expl declaration" >&5
100357 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
100358   if test x${glibcxx_cv_func_expl_use+set} != xset; then
100359     if test "${glibcxx_cv_func_expl_use+set}" = set; then
100360   echo $ECHO_N "(cached) $ECHO_C" >&6
100361 else
100362
100363
100364
100365       ac_ext=cc
100366 ac_cpp='$CXXCPP $CPPFLAGS'
100367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100370
100371       cat >conftest.$ac_ext <<_ACEOF
100372 /* confdefs.h.  */
100373 _ACEOF
100374 cat confdefs.h >>conftest.$ac_ext
100375 cat >>conftest.$ac_ext <<_ACEOF
100376 /* end confdefs.h.  */
100377 #include <math.h>
100378                       #ifdef HAVE_IEEEFP_H
100379                       #include <ieeefp.h>
100380                       #endif
100381
100382 int
100383 main ()
100384 {
100385  expl(0);
100386   ;
100387   return 0;
100388 }
100389 _ACEOF
100390 rm -f conftest.$ac_objext
100391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100392   (eval $ac_compile) 2>conftest.er1
100393   ac_status=$?
100394   grep -v '^ *+' conftest.er1 >conftest.err
100395   rm -f conftest.er1
100396   cat conftest.err >&5
100397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100398   (exit $ac_status); } &&
100399          { ac_try='test -z "$ac_cxx_werror_flag"
100400                          || test ! -s conftest.err'
100401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100402   (eval $ac_try) 2>&5
100403   ac_status=$?
100404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100405   (exit $ac_status); }; } &&
100406          { ac_try='test -s conftest.$ac_objext'
100407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100408   (eval $ac_try) 2>&5
100409   ac_status=$?
100410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100411   (exit $ac_status); }; }; then
100412   glibcxx_cv_func_expl_use=yes
100413 else
100414   echo "$as_me: failed program was:" >&5
100415 sed 's/^/| /' conftest.$ac_ext >&5
100416
100417 glibcxx_cv_func_expl_use=no
100418 fi
100419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100420       ac_ext=c
100421 ac_cpp='$CPP $CPPFLAGS'
100422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100425
100426
100427 fi
100428
100429   fi
100430   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
100431 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
100432
100433   if test x$glibcxx_cv_func_expl_use = x"yes"; then
100434
100435 for ac_func in expl
100436 do
100437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100438 echo "$as_me:$LINENO: checking for $ac_func" >&5
100439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100440 if eval "test \"\${$as_ac_var+set}\" = set"; then
100441   echo $ECHO_N "(cached) $ECHO_C" >&6
100442 else
100443   if test x$gcc_no_link = xyes; then
100444   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100446    { (exit 1); exit 1; }; }
100447 fi
100448 cat >conftest.$ac_ext <<_ACEOF
100449 /* confdefs.h.  */
100450 _ACEOF
100451 cat confdefs.h >>conftest.$ac_ext
100452 cat >>conftest.$ac_ext <<_ACEOF
100453 /* end confdefs.h.  */
100454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100455    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100456 #define $ac_func innocuous_$ac_func
100457
100458 /* System header to define __stub macros and hopefully few prototypes,
100459     which can conflict with char $ac_func (); below.
100460     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100461     <limits.h> exists even on freestanding compilers.  */
100462
100463 #ifdef __STDC__
100464 # include <limits.h>
100465 #else
100466 # include <assert.h>
100467 #endif
100468
100469 #undef $ac_func
100470
100471 /* Override any gcc2 internal prototype to avoid an error.  */
100472 #ifdef __cplusplus
100473 extern "C"
100474 {
100475 #endif
100476 /* We use char because int might match the return type of a gcc2
100477    builtin and then its argument prototype would still apply.  */
100478 char $ac_func ();
100479 /* The GNU C library defines this for functions which it implements
100480     to always fail with ENOSYS.  Some functions are actually named
100481     something starting with __ and the normal name is an alias.  */
100482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100483 choke me
100484 #else
100485 char (*f) () = $ac_func;
100486 #endif
100487 #ifdef __cplusplus
100488 }
100489 #endif
100490
100491 int
100492 main ()
100493 {
100494 return f != $ac_func;
100495   ;
100496   return 0;
100497 }
100498 _ACEOF
100499 rm -f conftest.$ac_objext conftest$ac_exeext
100500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100501   (eval $ac_link) 2>conftest.er1
100502   ac_status=$?
100503   grep -v '^ *+' conftest.er1 >conftest.err
100504   rm -f conftest.er1
100505   cat conftest.err >&5
100506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100507   (exit $ac_status); } &&
100508          { ac_try='test -z "$ac_c_werror_flag"
100509                          || test ! -s conftest.err'
100510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100511   (eval $ac_try) 2>&5
100512   ac_status=$?
100513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100514   (exit $ac_status); }; } &&
100515          { ac_try='test -s conftest$ac_exeext'
100516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100517   (eval $ac_try) 2>&5
100518   ac_status=$?
100519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100520   (exit $ac_status); }; }; then
100521   eval "$as_ac_var=yes"
100522 else
100523   echo "$as_me: failed program was:" >&5
100524 sed 's/^/| /' conftest.$ac_ext >&5
100525
100526 eval "$as_ac_var=no"
100527 fi
100528 rm -f conftest.err conftest.$ac_objext \
100529       conftest$ac_exeext conftest.$ac_ext
100530 fi
100531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100533 if test `eval echo '${'$as_ac_var'}'` = yes; then
100534   cat >>confdefs.h <<_ACEOF
100535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100536 _ACEOF
100537
100538 fi
100539 done
100540
100541   else
100542
100543   echo "$as_me:$LINENO: checking for _expl declaration" >&5
100544 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
100545   if test x${glibcxx_cv_func__expl_use+set} != xset; then
100546     if test "${glibcxx_cv_func__expl_use+set}" = set; then
100547   echo $ECHO_N "(cached) $ECHO_C" >&6
100548 else
100549
100550
100551
100552       ac_ext=cc
100553 ac_cpp='$CXXCPP $CPPFLAGS'
100554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100557
100558       cat >conftest.$ac_ext <<_ACEOF
100559 /* confdefs.h.  */
100560 _ACEOF
100561 cat confdefs.h >>conftest.$ac_ext
100562 cat >>conftest.$ac_ext <<_ACEOF
100563 /* end confdefs.h.  */
100564 #include <math.h>
100565                       #ifdef HAVE_IEEEFP_H
100566                       #include <ieeefp.h>
100567                       #endif
100568
100569 int
100570 main ()
100571 {
100572  _expl(0);
100573   ;
100574   return 0;
100575 }
100576 _ACEOF
100577 rm -f conftest.$ac_objext
100578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100579   (eval $ac_compile) 2>conftest.er1
100580   ac_status=$?
100581   grep -v '^ *+' conftest.er1 >conftest.err
100582   rm -f conftest.er1
100583   cat conftest.err >&5
100584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100585   (exit $ac_status); } &&
100586          { ac_try='test -z "$ac_cxx_werror_flag"
100587                          || test ! -s conftest.err'
100588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100589   (eval $ac_try) 2>&5
100590   ac_status=$?
100591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100592   (exit $ac_status); }; } &&
100593          { ac_try='test -s conftest.$ac_objext'
100594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100595   (eval $ac_try) 2>&5
100596   ac_status=$?
100597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100598   (exit $ac_status); }; }; then
100599   glibcxx_cv_func__expl_use=yes
100600 else
100601   echo "$as_me: failed program was:" >&5
100602 sed 's/^/| /' conftest.$ac_ext >&5
100603
100604 glibcxx_cv_func__expl_use=no
100605 fi
100606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100607       ac_ext=c
100608 ac_cpp='$CPP $CPPFLAGS'
100609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100612
100613
100614 fi
100615
100616   fi
100617   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
100618 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
100619
100620     if test x$glibcxx_cv_func__expl_use = x"yes"; then
100621
100622 for ac_func in _expl
100623 do
100624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100625 echo "$as_me:$LINENO: checking for $ac_func" >&5
100626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100627 if eval "test \"\${$as_ac_var+set}\" = set"; then
100628   echo $ECHO_N "(cached) $ECHO_C" >&6
100629 else
100630   if test x$gcc_no_link = xyes; then
100631   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100633    { (exit 1); exit 1; }; }
100634 fi
100635 cat >conftest.$ac_ext <<_ACEOF
100636 /* confdefs.h.  */
100637 _ACEOF
100638 cat confdefs.h >>conftest.$ac_ext
100639 cat >>conftest.$ac_ext <<_ACEOF
100640 /* end confdefs.h.  */
100641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100642    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100643 #define $ac_func innocuous_$ac_func
100644
100645 /* System header to define __stub macros and hopefully few prototypes,
100646     which can conflict with char $ac_func (); below.
100647     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100648     <limits.h> exists even on freestanding compilers.  */
100649
100650 #ifdef __STDC__
100651 # include <limits.h>
100652 #else
100653 # include <assert.h>
100654 #endif
100655
100656 #undef $ac_func
100657
100658 /* Override any gcc2 internal prototype to avoid an error.  */
100659 #ifdef __cplusplus
100660 extern "C"
100661 {
100662 #endif
100663 /* We use char because int might match the return type of a gcc2
100664    builtin and then its argument prototype would still apply.  */
100665 char $ac_func ();
100666 /* The GNU C library defines this for functions which it implements
100667     to always fail with ENOSYS.  Some functions are actually named
100668     something starting with __ and the normal name is an alias.  */
100669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100670 choke me
100671 #else
100672 char (*f) () = $ac_func;
100673 #endif
100674 #ifdef __cplusplus
100675 }
100676 #endif
100677
100678 int
100679 main ()
100680 {
100681 return f != $ac_func;
100682   ;
100683   return 0;
100684 }
100685 _ACEOF
100686 rm -f conftest.$ac_objext conftest$ac_exeext
100687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100688   (eval $ac_link) 2>conftest.er1
100689   ac_status=$?
100690   grep -v '^ *+' conftest.er1 >conftest.err
100691   rm -f conftest.er1
100692   cat conftest.err >&5
100693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100694   (exit $ac_status); } &&
100695          { ac_try='test -z "$ac_c_werror_flag"
100696                          || test ! -s conftest.err'
100697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100698   (eval $ac_try) 2>&5
100699   ac_status=$?
100700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100701   (exit $ac_status); }; } &&
100702          { ac_try='test -s conftest$ac_exeext'
100703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100704   (eval $ac_try) 2>&5
100705   ac_status=$?
100706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100707   (exit $ac_status); }; }; then
100708   eval "$as_ac_var=yes"
100709 else
100710   echo "$as_me: failed program was:" >&5
100711 sed 's/^/| /' conftest.$ac_ext >&5
100712
100713 eval "$as_ac_var=no"
100714 fi
100715 rm -f conftest.err conftest.$ac_objext \
100716       conftest$ac_exeext conftest.$ac_ext
100717 fi
100718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100720 if test `eval echo '${'$as_ac_var'}'` = yes; then
100721   cat >>confdefs.h <<_ACEOF
100722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100723 _ACEOF
100724
100725 fi
100726 done
100727
100728     fi
100729   fi
100730
100731
100732
100733
100734
100735
100736   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
100737 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
100738   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
100739     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
100740   echo $ECHO_N "(cached) $ECHO_C" >&6
100741 else
100742
100743
100744
100745       ac_ext=cc
100746 ac_cpp='$CXXCPP $CPPFLAGS'
100747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100750
100751       cat >conftest.$ac_ext <<_ACEOF
100752 /* confdefs.h.  */
100753 _ACEOF
100754 cat confdefs.h >>conftest.$ac_ext
100755 cat >>conftest.$ac_ext <<_ACEOF
100756 /* end confdefs.h.  */
100757 #include <math.h>
100758                       #ifdef HAVE_IEEEFP_H
100759                       #include <ieeefp.h>
100760                       #endif
100761
100762 int
100763 main ()
100764 {
100765  fabsl(0);
100766   ;
100767   return 0;
100768 }
100769 _ACEOF
100770 rm -f conftest.$ac_objext
100771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100772   (eval $ac_compile) 2>conftest.er1
100773   ac_status=$?
100774   grep -v '^ *+' conftest.er1 >conftest.err
100775   rm -f conftest.er1
100776   cat conftest.err >&5
100777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100778   (exit $ac_status); } &&
100779          { ac_try='test -z "$ac_cxx_werror_flag"
100780                          || test ! -s conftest.err'
100781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100782   (eval $ac_try) 2>&5
100783   ac_status=$?
100784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100785   (exit $ac_status); }; } &&
100786          { ac_try='test -s conftest.$ac_objext'
100787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100788   (eval $ac_try) 2>&5
100789   ac_status=$?
100790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100791   (exit $ac_status); }; }; then
100792   glibcxx_cv_func_fabsl_use=yes
100793 else
100794   echo "$as_me: failed program was:" >&5
100795 sed 's/^/| /' conftest.$ac_ext >&5
100796
100797 glibcxx_cv_func_fabsl_use=no
100798 fi
100799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100800       ac_ext=c
100801 ac_cpp='$CPP $CPPFLAGS'
100802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100805
100806
100807 fi
100808
100809   fi
100810   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
100811 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
100812
100813   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
100814
100815 for ac_func in fabsl
100816 do
100817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100818 echo "$as_me:$LINENO: checking for $ac_func" >&5
100819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100820 if eval "test \"\${$as_ac_var+set}\" = set"; then
100821   echo $ECHO_N "(cached) $ECHO_C" >&6
100822 else
100823   if test x$gcc_no_link = xyes; then
100824   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100826    { (exit 1); exit 1; }; }
100827 fi
100828 cat >conftest.$ac_ext <<_ACEOF
100829 /* confdefs.h.  */
100830 _ACEOF
100831 cat confdefs.h >>conftest.$ac_ext
100832 cat >>conftest.$ac_ext <<_ACEOF
100833 /* end confdefs.h.  */
100834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100835    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100836 #define $ac_func innocuous_$ac_func
100837
100838 /* System header to define __stub macros and hopefully few prototypes,
100839     which can conflict with char $ac_func (); below.
100840     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100841     <limits.h> exists even on freestanding compilers.  */
100842
100843 #ifdef __STDC__
100844 # include <limits.h>
100845 #else
100846 # include <assert.h>
100847 #endif
100848
100849 #undef $ac_func
100850
100851 /* Override any gcc2 internal prototype to avoid an error.  */
100852 #ifdef __cplusplus
100853 extern "C"
100854 {
100855 #endif
100856 /* We use char because int might match the return type of a gcc2
100857    builtin and then its argument prototype would still apply.  */
100858 char $ac_func ();
100859 /* The GNU C library defines this for functions which it implements
100860     to always fail with ENOSYS.  Some functions are actually named
100861     something starting with __ and the normal name is an alias.  */
100862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100863 choke me
100864 #else
100865 char (*f) () = $ac_func;
100866 #endif
100867 #ifdef __cplusplus
100868 }
100869 #endif
100870
100871 int
100872 main ()
100873 {
100874 return f != $ac_func;
100875   ;
100876   return 0;
100877 }
100878 _ACEOF
100879 rm -f conftest.$ac_objext conftest$ac_exeext
100880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100881   (eval $ac_link) 2>conftest.er1
100882   ac_status=$?
100883   grep -v '^ *+' conftest.er1 >conftest.err
100884   rm -f conftest.er1
100885   cat conftest.err >&5
100886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100887   (exit $ac_status); } &&
100888          { ac_try='test -z "$ac_c_werror_flag"
100889                          || test ! -s conftest.err'
100890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100891   (eval $ac_try) 2>&5
100892   ac_status=$?
100893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100894   (exit $ac_status); }; } &&
100895          { ac_try='test -s conftest$ac_exeext'
100896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100897   (eval $ac_try) 2>&5
100898   ac_status=$?
100899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100900   (exit $ac_status); }; }; then
100901   eval "$as_ac_var=yes"
100902 else
100903   echo "$as_me: failed program was:" >&5
100904 sed 's/^/| /' conftest.$ac_ext >&5
100905
100906 eval "$as_ac_var=no"
100907 fi
100908 rm -f conftest.err conftest.$ac_objext \
100909       conftest$ac_exeext conftest.$ac_ext
100910 fi
100911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100913 if test `eval echo '${'$as_ac_var'}'` = yes; then
100914   cat >>confdefs.h <<_ACEOF
100915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100916 _ACEOF
100917
100918 fi
100919 done
100920
100921   else
100922
100923   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
100924 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
100925   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
100926     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
100927   echo $ECHO_N "(cached) $ECHO_C" >&6
100928 else
100929
100930
100931
100932       ac_ext=cc
100933 ac_cpp='$CXXCPP $CPPFLAGS'
100934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100937
100938       cat >conftest.$ac_ext <<_ACEOF
100939 /* confdefs.h.  */
100940 _ACEOF
100941 cat confdefs.h >>conftest.$ac_ext
100942 cat >>conftest.$ac_ext <<_ACEOF
100943 /* end confdefs.h.  */
100944 #include <math.h>
100945                       #ifdef HAVE_IEEEFP_H
100946                       #include <ieeefp.h>
100947                       #endif
100948
100949 int
100950 main ()
100951 {
100952  _fabsl(0);
100953   ;
100954   return 0;
100955 }
100956 _ACEOF
100957 rm -f conftest.$ac_objext
100958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100959   (eval $ac_compile) 2>conftest.er1
100960   ac_status=$?
100961   grep -v '^ *+' conftest.er1 >conftest.err
100962   rm -f conftest.er1
100963   cat conftest.err >&5
100964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100965   (exit $ac_status); } &&
100966          { ac_try='test -z "$ac_cxx_werror_flag"
100967                          || test ! -s conftest.err'
100968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100969   (eval $ac_try) 2>&5
100970   ac_status=$?
100971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100972   (exit $ac_status); }; } &&
100973          { ac_try='test -s conftest.$ac_objext'
100974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100975   (eval $ac_try) 2>&5
100976   ac_status=$?
100977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100978   (exit $ac_status); }; }; then
100979   glibcxx_cv_func__fabsl_use=yes
100980 else
100981   echo "$as_me: failed program was:" >&5
100982 sed 's/^/| /' conftest.$ac_ext >&5
100983
100984 glibcxx_cv_func__fabsl_use=no
100985 fi
100986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100987       ac_ext=c
100988 ac_cpp='$CPP $CPPFLAGS'
100989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100992
100993
100994 fi
100995
100996   fi
100997   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
100998 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
100999
101000     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
101001
101002 for ac_func in _fabsl
101003 do
101004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101005 echo "$as_me:$LINENO: checking for $ac_func" >&5
101006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101007 if eval "test \"\${$as_ac_var+set}\" = set"; then
101008   echo $ECHO_N "(cached) $ECHO_C" >&6
101009 else
101010   if test x$gcc_no_link = xyes; then
101011   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101013    { (exit 1); exit 1; }; }
101014 fi
101015 cat >conftest.$ac_ext <<_ACEOF
101016 /* confdefs.h.  */
101017 _ACEOF
101018 cat confdefs.h >>conftest.$ac_ext
101019 cat >>conftest.$ac_ext <<_ACEOF
101020 /* end confdefs.h.  */
101021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101022    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101023 #define $ac_func innocuous_$ac_func
101024
101025 /* System header to define __stub macros and hopefully few prototypes,
101026     which can conflict with char $ac_func (); below.
101027     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101028     <limits.h> exists even on freestanding compilers.  */
101029
101030 #ifdef __STDC__
101031 # include <limits.h>
101032 #else
101033 # include <assert.h>
101034 #endif
101035
101036 #undef $ac_func
101037
101038 /* Override any gcc2 internal prototype to avoid an error.  */
101039 #ifdef __cplusplus
101040 extern "C"
101041 {
101042 #endif
101043 /* We use char because int might match the return type of a gcc2
101044    builtin and then its argument prototype would still apply.  */
101045 char $ac_func ();
101046 /* The GNU C library defines this for functions which it implements
101047     to always fail with ENOSYS.  Some functions are actually named
101048     something starting with __ and the normal name is an alias.  */
101049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101050 choke me
101051 #else
101052 char (*f) () = $ac_func;
101053 #endif
101054 #ifdef __cplusplus
101055 }
101056 #endif
101057
101058 int
101059 main ()
101060 {
101061 return f != $ac_func;
101062   ;
101063   return 0;
101064 }
101065 _ACEOF
101066 rm -f conftest.$ac_objext conftest$ac_exeext
101067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101068   (eval $ac_link) 2>conftest.er1
101069   ac_status=$?
101070   grep -v '^ *+' conftest.er1 >conftest.err
101071   rm -f conftest.er1
101072   cat conftest.err >&5
101073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101074   (exit $ac_status); } &&
101075          { ac_try='test -z "$ac_c_werror_flag"
101076                          || test ! -s conftest.err'
101077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101078   (eval $ac_try) 2>&5
101079   ac_status=$?
101080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101081   (exit $ac_status); }; } &&
101082          { ac_try='test -s conftest$ac_exeext'
101083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101084   (eval $ac_try) 2>&5
101085   ac_status=$?
101086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101087   (exit $ac_status); }; }; then
101088   eval "$as_ac_var=yes"
101089 else
101090   echo "$as_me: failed program was:" >&5
101091 sed 's/^/| /' conftest.$ac_ext >&5
101092
101093 eval "$as_ac_var=no"
101094 fi
101095 rm -f conftest.err conftest.$ac_objext \
101096       conftest$ac_exeext conftest.$ac_ext
101097 fi
101098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101100 if test `eval echo '${'$as_ac_var'}'` = yes; then
101101   cat >>confdefs.h <<_ACEOF
101102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101103 _ACEOF
101104
101105 fi
101106 done
101107
101108     fi
101109   fi
101110
101111
101112
101113
101114
101115
101116   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
101117 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
101118   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
101119     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
101120   echo $ECHO_N "(cached) $ECHO_C" >&6
101121 else
101122
101123
101124
101125       ac_ext=cc
101126 ac_cpp='$CXXCPP $CPPFLAGS'
101127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101130
101131       cat >conftest.$ac_ext <<_ACEOF
101132 /* confdefs.h.  */
101133 _ACEOF
101134 cat confdefs.h >>conftest.$ac_ext
101135 cat >>conftest.$ac_ext <<_ACEOF
101136 /* end confdefs.h.  */
101137 #include <math.h>
101138 int
101139 main ()
101140 {
101141  fmodl(0, 0);
101142   ;
101143   return 0;
101144 }
101145 _ACEOF
101146 rm -f conftest.$ac_objext
101147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101148   (eval $ac_compile) 2>conftest.er1
101149   ac_status=$?
101150   grep -v '^ *+' conftest.er1 >conftest.err
101151   rm -f conftest.er1
101152   cat conftest.err >&5
101153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101154   (exit $ac_status); } &&
101155          { ac_try='test -z "$ac_cxx_werror_flag"
101156                          || test ! -s conftest.err'
101157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101158   (eval $ac_try) 2>&5
101159   ac_status=$?
101160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101161   (exit $ac_status); }; } &&
101162          { ac_try='test -s conftest.$ac_objext'
101163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101164   (eval $ac_try) 2>&5
101165   ac_status=$?
101166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101167   (exit $ac_status); }; }; then
101168   glibcxx_cv_func_fmodl_use=yes
101169 else
101170   echo "$as_me: failed program was:" >&5
101171 sed 's/^/| /' conftest.$ac_ext >&5
101172
101173 glibcxx_cv_func_fmodl_use=no
101174 fi
101175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101176       ac_ext=c
101177 ac_cpp='$CPP $CPPFLAGS'
101178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101181
101182
101183 fi
101184
101185   fi
101186   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
101187 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
101188
101189   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
101190
101191 for ac_func in fmodl
101192 do
101193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101194 echo "$as_me:$LINENO: checking for $ac_func" >&5
101195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101196 if eval "test \"\${$as_ac_var+set}\" = set"; then
101197   echo $ECHO_N "(cached) $ECHO_C" >&6
101198 else
101199   if test x$gcc_no_link = xyes; then
101200   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101202    { (exit 1); exit 1; }; }
101203 fi
101204 cat >conftest.$ac_ext <<_ACEOF
101205 /* confdefs.h.  */
101206 _ACEOF
101207 cat confdefs.h >>conftest.$ac_ext
101208 cat >>conftest.$ac_ext <<_ACEOF
101209 /* end confdefs.h.  */
101210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101211    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101212 #define $ac_func innocuous_$ac_func
101213
101214 /* System header to define __stub macros and hopefully few prototypes,
101215     which can conflict with char $ac_func (); below.
101216     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101217     <limits.h> exists even on freestanding compilers.  */
101218
101219 #ifdef __STDC__
101220 # include <limits.h>
101221 #else
101222 # include <assert.h>
101223 #endif
101224
101225 #undef $ac_func
101226
101227 /* Override any gcc2 internal prototype to avoid an error.  */
101228 #ifdef __cplusplus
101229 extern "C"
101230 {
101231 #endif
101232 /* We use char because int might match the return type of a gcc2
101233    builtin and then its argument prototype would still apply.  */
101234 char $ac_func ();
101235 /* The GNU C library defines this for functions which it implements
101236     to always fail with ENOSYS.  Some functions are actually named
101237     something starting with __ and the normal name is an alias.  */
101238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101239 choke me
101240 #else
101241 char (*f) () = $ac_func;
101242 #endif
101243 #ifdef __cplusplus
101244 }
101245 #endif
101246
101247 int
101248 main ()
101249 {
101250 return f != $ac_func;
101251   ;
101252   return 0;
101253 }
101254 _ACEOF
101255 rm -f conftest.$ac_objext conftest$ac_exeext
101256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101257   (eval $ac_link) 2>conftest.er1
101258   ac_status=$?
101259   grep -v '^ *+' conftest.er1 >conftest.err
101260   rm -f conftest.er1
101261   cat conftest.err >&5
101262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101263   (exit $ac_status); } &&
101264          { ac_try='test -z "$ac_c_werror_flag"
101265                          || test ! -s conftest.err'
101266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101267   (eval $ac_try) 2>&5
101268   ac_status=$?
101269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101270   (exit $ac_status); }; } &&
101271          { ac_try='test -s conftest$ac_exeext'
101272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101273   (eval $ac_try) 2>&5
101274   ac_status=$?
101275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101276   (exit $ac_status); }; }; then
101277   eval "$as_ac_var=yes"
101278 else
101279   echo "$as_me: failed program was:" >&5
101280 sed 's/^/| /' conftest.$ac_ext >&5
101281
101282 eval "$as_ac_var=no"
101283 fi
101284 rm -f conftest.err conftest.$ac_objext \
101285       conftest$ac_exeext conftest.$ac_ext
101286 fi
101287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101289 if test `eval echo '${'$as_ac_var'}'` = yes; then
101290   cat >>confdefs.h <<_ACEOF
101291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101292 _ACEOF
101293
101294 fi
101295 done
101296
101297   else
101298
101299   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
101300 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
101301   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
101302     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
101303   echo $ECHO_N "(cached) $ECHO_C" >&6
101304 else
101305
101306
101307
101308       ac_ext=cc
101309 ac_cpp='$CXXCPP $CPPFLAGS'
101310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101313
101314       cat >conftest.$ac_ext <<_ACEOF
101315 /* confdefs.h.  */
101316 _ACEOF
101317 cat confdefs.h >>conftest.$ac_ext
101318 cat >>conftest.$ac_ext <<_ACEOF
101319 /* end confdefs.h.  */
101320 #include <math.h>
101321 int
101322 main ()
101323 {
101324  _fmodl(0, 0);
101325   ;
101326   return 0;
101327 }
101328 _ACEOF
101329 rm -f conftest.$ac_objext
101330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101331   (eval $ac_compile) 2>conftest.er1
101332   ac_status=$?
101333   grep -v '^ *+' conftest.er1 >conftest.err
101334   rm -f conftest.er1
101335   cat conftest.err >&5
101336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101337   (exit $ac_status); } &&
101338          { ac_try='test -z "$ac_cxx_werror_flag"
101339                          || test ! -s conftest.err'
101340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101341   (eval $ac_try) 2>&5
101342   ac_status=$?
101343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101344   (exit $ac_status); }; } &&
101345          { ac_try='test -s conftest.$ac_objext'
101346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101347   (eval $ac_try) 2>&5
101348   ac_status=$?
101349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101350   (exit $ac_status); }; }; then
101351   glibcxx_cv_func__fmodl_use=yes
101352 else
101353   echo "$as_me: failed program was:" >&5
101354 sed 's/^/| /' conftest.$ac_ext >&5
101355
101356 glibcxx_cv_func__fmodl_use=no
101357 fi
101358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101359       ac_ext=c
101360 ac_cpp='$CPP $CPPFLAGS'
101361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101364
101365
101366 fi
101367
101368   fi
101369   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
101370 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
101371
101372     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
101373
101374 for ac_func in _fmodl
101375 do
101376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101377 echo "$as_me:$LINENO: checking for $ac_func" >&5
101378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101379 if eval "test \"\${$as_ac_var+set}\" = set"; then
101380   echo $ECHO_N "(cached) $ECHO_C" >&6
101381 else
101382   if test x$gcc_no_link = xyes; then
101383   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101385    { (exit 1); exit 1; }; }
101386 fi
101387 cat >conftest.$ac_ext <<_ACEOF
101388 /* confdefs.h.  */
101389 _ACEOF
101390 cat confdefs.h >>conftest.$ac_ext
101391 cat >>conftest.$ac_ext <<_ACEOF
101392 /* end confdefs.h.  */
101393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101394    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101395 #define $ac_func innocuous_$ac_func
101396
101397 /* System header to define __stub macros and hopefully few prototypes,
101398     which can conflict with char $ac_func (); below.
101399     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101400     <limits.h> exists even on freestanding compilers.  */
101401
101402 #ifdef __STDC__
101403 # include <limits.h>
101404 #else
101405 # include <assert.h>
101406 #endif
101407
101408 #undef $ac_func
101409
101410 /* Override any gcc2 internal prototype to avoid an error.  */
101411 #ifdef __cplusplus
101412 extern "C"
101413 {
101414 #endif
101415 /* We use char because int might match the return type of a gcc2
101416    builtin and then its argument prototype would still apply.  */
101417 char $ac_func ();
101418 /* The GNU C library defines this for functions which it implements
101419     to always fail with ENOSYS.  Some functions are actually named
101420     something starting with __ and the normal name is an alias.  */
101421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101422 choke me
101423 #else
101424 char (*f) () = $ac_func;
101425 #endif
101426 #ifdef __cplusplus
101427 }
101428 #endif
101429
101430 int
101431 main ()
101432 {
101433 return f != $ac_func;
101434   ;
101435   return 0;
101436 }
101437 _ACEOF
101438 rm -f conftest.$ac_objext conftest$ac_exeext
101439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101440   (eval $ac_link) 2>conftest.er1
101441   ac_status=$?
101442   grep -v '^ *+' conftest.er1 >conftest.err
101443   rm -f conftest.er1
101444   cat conftest.err >&5
101445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101446   (exit $ac_status); } &&
101447          { ac_try='test -z "$ac_c_werror_flag"
101448                          || test ! -s conftest.err'
101449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101450   (eval $ac_try) 2>&5
101451   ac_status=$?
101452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101453   (exit $ac_status); }; } &&
101454          { ac_try='test -s conftest$ac_exeext'
101455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101456   (eval $ac_try) 2>&5
101457   ac_status=$?
101458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101459   (exit $ac_status); }; }; then
101460   eval "$as_ac_var=yes"
101461 else
101462   echo "$as_me: failed program was:" >&5
101463 sed 's/^/| /' conftest.$ac_ext >&5
101464
101465 eval "$as_ac_var=no"
101466 fi
101467 rm -f conftest.err conftest.$ac_objext \
101468       conftest$ac_exeext conftest.$ac_ext
101469 fi
101470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101472 if test `eval echo '${'$as_ac_var'}'` = yes; then
101473   cat >>confdefs.h <<_ACEOF
101474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101475 _ACEOF
101476
101477 fi
101478 done
101479
101480     fi
101481   fi
101482
101483
101484
101485
101486
101487
101488   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
101489 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
101490   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
101491     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
101492   echo $ECHO_N "(cached) $ECHO_C" >&6
101493 else
101494
101495
101496
101497       ac_ext=cc
101498 ac_cpp='$CXXCPP $CPPFLAGS'
101499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101502
101503       cat >conftest.$ac_ext <<_ACEOF
101504 /* confdefs.h.  */
101505 _ACEOF
101506 cat confdefs.h >>conftest.$ac_ext
101507 cat >>conftest.$ac_ext <<_ACEOF
101508 /* end confdefs.h.  */
101509 #include <math.h>
101510 int
101511 main ()
101512 {
101513  frexpl(0, 0);
101514   ;
101515   return 0;
101516 }
101517 _ACEOF
101518 rm -f conftest.$ac_objext
101519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101520   (eval $ac_compile) 2>conftest.er1
101521   ac_status=$?
101522   grep -v '^ *+' conftest.er1 >conftest.err
101523   rm -f conftest.er1
101524   cat conftest.err >&5
101525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101526   (exit $ac_status); } &&
101527          { ac_try='test -z "$ac_cxx_werror_flag"
101528                          || test ! -s conftest.err'
101529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101530   (eval $ac_try) 2>&5
101531   ac_status=$?
101532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101533   (exit $ac_status); }; } &&
101534          { ac_try='test -s conftest.$ac_objext'
101535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101536   (eval $ac_try) 2>&5
101537   ac_status=$?
101538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101539   (exit $ac_status); }; }; then
101540   glibcxx_cv_func_frexpl_use=yes
101541 else
101542   echo "$as_me: failed program was:" >&5
101543 sed 's/^/| /' conftest.$ac_ext >&5
101544
101545 glibcxx_cv_func_frexpl_use=no
101546 fi
101547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101548       ac_ext=c
101549 ac_cpp='$CPP $CPPFLAGS'
101550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101553
101554
101555 fi
101556
101557   fi
101558   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
101559 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
101560
101561   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
101562
101563 for ac_func in frexpl
101564 do
101565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101566 echo "$as_me:$LINENO: checking for $ac_func" >&5
101567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101568 if eval "test \"\${$as_ac_var+set}\" = set"; then
101569   echo $ECHO_N "(cached) $ECHO_C" >&6
101570 else
101571   if test x$gcc_no_link = xyes; then
101572   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101574    { (exit 1); exit 1; }; }
101575 fi
101576 cat >conftest.$ac_ext <<_ACEOF
101577 /* confdefs.h.  */
101578 _ACEOF
101579 cat confdefs.h >>conftest.$ac_ext
101580 cat >>conftest.$ac_ext <<_ACEOF
101581 /* end confdefs.h.  */
101582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101583    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101584 #define $ac_func innocuous_$ac_func
101585
101586 /* System header to define __stub macros and hopefully few prototypes,
101587     which can conflict with char $ac_func (); below.
101588     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101589     <limits.h> exists even on freestanding compilers.  */
101590
101591 #ifdef __STDC__
101592 # include <limits.h>
101593 #else
101594 # include <assert.h>
101595 #endif
101596
101597 #undef $ac_func
101598
101599 /* Override any gcc2 internal prototype to avoid an error.  */
101600 #ifdef __cplusplus
101601 extern "C"
101602 {
101603 #endif
101604 /* We use char because int might match the return type of a gcc2
101605    builtin and then its argument prototype would still apply.  */
101606 char $ac_func ();
101607 /* The GNU C library defines this for functions which it implements
101608     to always fail with ENOSYS.  Some functions are actually named
101609     something starting with __ and the normal name is an alias.  */
101610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101611 choke me
101612 #else
101613 char (*f) () = $ac_func;
101614 #endif
101615 #ifdef __cplusplus
101616 }
101617 #endif
101618
101619 int
101620 main ()
101621 {
101622 return f != $ac_func;
101623   ;
101624   return 0;
101625 }
101626 _ACEOF
101627 rm -f conftest.$ac_objext conftest$ac_exeext
101628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101629   (eval $ac_link) 2>conftest.er1
101630   ac_status=$?
101631   grep -v '^ *+' conftest.er1 >conftest.err
101632   rm -f conftest.er1
101633   cat conftest.err >&5
101634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101635   (exit $ac_status); } &&
101636          { ac_try='test -z "$ac_c_werror_flag"
101637                          || test ! -s conftest.err'
101638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101639   (eval $ac_try) 2>&5
101640   ac_status=$?
101641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101642   (exit $ac_status); }; } &&
101643          { ac_try='test -s conftest$ac_exeext'
101644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101645   (eval $ac_try) 2>&5
101646   ac_status=$?
101647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101648   (exit $ac_status); }; }; then
101649   eval "$as_ac_var=yes"
101650 else
101651   echo "$as_me: failed program was:" >&5
101652 sed 's/^/| /' conftest.$ac_ext >&5
101653
101654 eval "$as_ac_var=no"
101655 fi
101656 rm -f conftest.err conftest.$ac_objext \
101657       conftest$ac_exeext conftest.$ac_ext
101658 fi
101659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101661 if test `eval echo '${'$as_ac_var'}'` = yes; then
101662   cat >>confdefs.h <<_ACEOF
101663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101664 _ACEOF
101665
101666 fi
101667 done
101668
101669   else
101670
101671   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
101672 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
101673   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
101674     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
101675   echo $ECHO_N "(cached) $ECHO_C" >&6
101676 else
101677
101678
101679
101680       ac_ext=cc
101681 ac_cpp='$CXXCPP $CPPFLAGS'
101682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101685
101686       cat >conftest.$ac_ext <<_ACEOF
101687 /* confdefs.h.  */
101688 _ACEOF
101689 cat confdefs.h >>conftest.$ac_ext
101690 cat >>conftest.$ac_ext <<_ACEOF
101691 /* end confdefs.h.  */
101692 #include <math.h>
101693 int
101694 main ()
101695 {
101696  _frexpl(0, 0);
101697   ;
101698   return 0;
101699 }
101700 _ACEOF
101701 rm -f conftest.$ac_objext
101702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101703   (eval $ac_compile) 2>conftest.er1
101704   ac_status=$?
101705   grep -v '^ *+' conftest.er1 >conftest.err
101706   rm -f conftest.er1
101707   cat conftest.err >&5
101708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101709   (exit $ac_status); } &&
101710          { ac_try='test -z "$ac_cxx_werror_flag"
101711                          || test ! -s conftest.err'
101712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101713   (eval $ac_try) 2>&5
101714   ac_status=$?
101715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101716   (exit $ac_status); }; } &&
101717          { ac_try='test -s conftest.$ac_objext'
101718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101719   (eval $ac_try) 2>&5
101720   ac_status=$?
101721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101722   (exit $ac_status); }; }; then
101723   glibcxx_cv_func__frexpl_use=yes
101724 else
101725   echo "$as_me: failed program was:" >&5
101726 sed 's/^/| /' conftest.$ac_ext >&5
101727
101728 glibcxx_cv_func__frexpl_use=no
101729 fi
101730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101731       ac_ext=c
101732 ac_cpp='$CPP $CPPFLAGS'
101733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101736
101737
101738 fi
101739
101740   fi
101741   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
101742 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
101743
101744     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
101745
101746 for ac_func in _frexpl
101747 do
101748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101749 echo "$as_me:$LINENO: checking for $ac_func" >&5
101750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101751 if eval "test \"\${$as_ac_var+set}\" = set"; then
101752   echo $ECHO_N "(cached) $ECHO_C" >&6
101753 else
101754   if test x$gcc_no_link = xyes; then
101755   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101757    { (exit 1); exit 1; }; }
101758 fi
101759 cat >conftest.$ac_ext <<_ACEOF
101760 /* confdefs.h.  */
101761 _ACEOF
101762 cat confdefs.h >>conftest.$ac_ext
101763 cat >>conftest.$ac_ext <<_ACEOF
101764 /* end confdefs.h.  */
101765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101766    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101767 #define $ac_func innocuous_$ac_func
101768
101769 /* System header to define __stub macros and hopefully few prototypes,
101770     which can conflict with char $ac_func (); below.
101771     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101772     <limits.h> exists even on freestanding compilers.  */
101773
101774 #ifdef __STDC__
101775 # include <limits.h>
101776 #else
101777 # include <assert.h>
101778 #endif
101779
101780 #undef $ac_func
101781
101782 /* Override any gcc2 internal prototype to avoid an error.  */
101783 #ifdef __cplusplus
101784 extern "C"
101785 {
101786 #endif
101787 /* We use char because int might match the return type of a gcc2
101788    builtin and then its argument prototype would still apply.  */
101789 char $ac_func ();
101790 /* The GNU C library defines this for functions which it implements
101791     to always fail with ENOSYS.  Some functions are actually named
101792     something starting with __ and the normal name is an alias.  */
101793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101794 choke me
101795 #else
101796 char (*f) () = $ac_func;
101797 #endif
101798 #ifdef __cplusplus
101799 }
101800 #endif
101801
101802 int
101803 main ()
101804 {
101805 return f != $ac_func;
101806   ;
101807   return 0;
101808 }
101809 _ACEOF
101810 rm -f conftest.$ac_objext conftest$ac_exeext
101811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101812   (eval $ac_link) 2>conftest.er1
101813   ac_status=$?
101814   grep -v '^ *+' conftest.er1 >conftest.err
101815   rm -f conftest.er1
101816   cat conftest.err >&5
101817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101818   (exit $ac_status); } &&
101819          { ac_try='test -z "$ac_c_werror_flag"
101820                          || test ! -s conftest.err'
101821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101822   (eval $ac_try) 2>&5
101823   ac_status=$?
101824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101825   (exit $ac_status); }; } &&
101826          { ac_try='test -s conftest$ac_exeext'
101827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101828   (eval $ac_try) 2>&5
101829   ac_status=$?
101830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101831   (exit $ac_status); }; }; then
101832   eval "$as_ac_var=yes"
101833 else
101834   echo "$as_me: failed program was:" >&5
101835 sed 's/^/| /' conftest.$ac_ext >&5
101836
101837 eval "$as_ac_var=no"
101838 fi
101839 rm -f conftest.err conftest.$ac_objext \
101840       conftest$ac_exeext conftest.$ac_ext
101841 fi
101842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101844 if test `eval echo '${'$as_ac_var'}'` = yes; then
101845   cat >>confdefs.h <<_ACEOF
101846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101847 _ACEOF
101848
101849 fi
101850 done
101851
101852     fi
101853   fi
101854
101855
101856
101857
101858
101859
101860   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
101861 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
101862   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
101863     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
101864   echo $ECHO_N "(cached) $ECHO_C" >&6
101865 else
101866
101867
101868
101869       ac_ext=cc
101870 ac_cpp='$CXXCPP $CPPFLAGS'
101871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101874
101875       cat >conftest.$ac_ext <<_ACEOF
101876 /* confdefs.h.  */
101877 _ACEOF
101878 cat confdefs.h >>conftest.$ac_ext
101879 cat >>conftest.$ac_ext <<_ACEOF
101880 /* end confdefs.h.  */
101881 #include <math.h>
101882 int
101883 main ()
101884 {
101885  hypotl(0, 0);
101886   ;
101887   return 0;
101888 }
101889 _ACEOF
101890 rm -f conftest.$ac_objext
101891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101892   (eval $ac_compile) 2>conftest.er1
101893   ac_status=$?
101894   grep -v '^ *+' conftest.er1 >conftest.err
101895   rm -f conftest.er1
101896   cat conftest.err >&5
101897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101898   (exit $ac_status); } &&
101899          { ac_try='test -z "$ac_cxx_werror_flag"
101900                          || test ! -s conftest.err'
101901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101902   (eval $ac_try) 2>&5
101903   ac_status=$?
101904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101905   (exit $ac_status); }; } &&
101906          { ac_try='test -s conftest.$ac_objext'
101907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101908   (eval $ac_try) 2>&5
101909   ac_status=$?
101910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101911   (exit $ac_status); }; }; then
101912   glibcxx_cv_func_hypotl_use=yes
101913 else
101914   echo "$as_me: failed program was:" >&5
101915 sed 's/^/| /' conftest.$ac_ext >&5
101916
101917 glibcxx_cv_func_hypotl_use=no
101918 fi
101919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101920       ac_ext=c
101921 ac_cpp='$CPP $CPPFLAGS'
101922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101925
101926
101927 fi
101928
101929   fi
101930   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
101931 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
101932
101933   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
101934
101935 for ac_func in hypotl
101936 do
101937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101938 echo "$as_me:$LINENO: checking for $ac_func" >&5
101939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101940 if eval "test \"\${$as_ac_var+set}\" = set"; then
101941   echo $ECHO_N "(cached) $ECHO_C" >&6
101942 else
101943   if test x$gcc_no_link = xyes; then
101944   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101946    { (exit 1); exit 1; }; }
101947 fi
101948 cat >conftest.$ac_ext <<_ACEOF
101949 /* confdefs.h.  */
101950 _ACEOF
101951 cat confdefs.h >>conftest.$ac_ext
101952 cat >>conftest.$ac_ext <<_ACEOF
101953 /* end confdefs.h.  */
101954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101955    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101956 #define $ac_func innocuous_$ac_func
101957
101958 /* System header to define __stub macros and hopefully few prototypes,
101959     which can conflict with char $ac_func (); below.
101960     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101961     <limits.h> exists even on freestanding compilers.  */
101962
101963 #ifdef __STDC__
101964 # include <limits.h>
101965 #else
101966 # include <assert.h>
101967 #endif
101968
101969 #undef $ac_func
101970
101971 /* Override any gcc2 internal prototype to avoid an error.  */
101972 #ifdef __cplusplus
101973 extern "C"
101974 {
101975 #endif
101976 /* We use char because int might match the return type of a gcc2
101977    builtin and then its argument prototype would still apply.  */
101978 char $ac_func ();
101979 /* The GNU C library defines this for functions which it implements
101980     to always fail with ENOSYS.  Some functions are actually named
101981     something starting with __ and the normal name is an alias.  */
101982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101983 choke me
101984 #else
101985 char (*f) () = $ac_func;
101986 #endif
101987 #ifdef __cplusplus
101988 }
101989 #endif
101990
101991 int
101992 main ()
101993 {
101994 return f != $ac_func;
101995   ;
101996   return 0;
101997 }
101998 _ACEOF
101999 rm -f conftest.$ac_objext conftest$ac_exeext
102000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102001   (eval $ac_link) 2>conftest.er1
102002   ac_status=$?
102003   grep -v '^ *+' conftest.er1 >conftest.err
102004   rm -f conftest.er1
102005   cat conftest.err >&5
102006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102007   (exit $ac_status); } &&
102008          { ac_try='test -z "$ac_c_werror_flag"
102009                          || test ! -s conftest.err'
102010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102011   (eval $ac_try) 2>&5
102012   ac_status=$?
102013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102014   (exit $ac_status); }; } &&
102015          { ac_try='test -s conftest$ac_exeext'
102016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102017   (eval $ac_try) 2>&5
102018   ac_status=$?
102019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102020   (exit $ac_status); }; }; then
102021   eval "$as_ac_var=yes"
102022 else
102023   echo "$as_me: failed program was:" >&5
102024 sed 's/^/| /' conftest.$ac_ext >&5
102025
102026 eval "$as_ac_var=no"
102027 fi
102028 rm -f conftest.err conftest.$ac_objext \
102029       conftest$ac_exeext conftest.$ac_ext
102030 fi
102031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102033 if test `eval echo '${'$as_ac_var'}'` = yes; then
102034   cat >>confdefs.h <<_ACEOF
102035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102036 _ACEOF
102037
102038 fi
102039 done
102040
102041   else
102042
102043   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
102044 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
102045   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
102046     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
102047   echo $ECHO_N "(cached) $ECHO_C" >&6
102048 else
102049
102050
102051
102052       ac_ext=cc
102053 ac_cpp='$CXXCPP $CPPFLAGS'
102054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102057
102058       cat >conftest.$ac_ext <<_ACEOF
102059 /* confdefs.h.  */
102060 _ACEOF
102061 cat confdefs.h >>conftest.$ac_ext
102062 cat >>conftest.$ac_ext <<_ACEOF
102063 /* end confdefs.h.  */
102064 #include <math.h>
102065 int
102066 main ()
102067 {
102068  _hypotl(0, 0);
102069   ;
102070   return 0;
102071 }
102072 _ACEOF
102073 rm -f conftest.$ac_objext
102074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102075   (eval $ac_compile) 2>conftest.er1
102076   ac_status=$?
102077   grep -v '^ *+' conftest.er1 >conftest.err
102078   rm -f conftest.er1
102079   cat conftest.err >&5
102080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102081   (exit $ac_status); } &&
102082          { ac_try='test -z "$ac_cxx_werror_flag"
102083                          || test ! -s conftest.err'
102084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102085   (eval $ac_try) 2>&5
102086   ac_status=$?
102087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102088   (exit $ac_status); }; } &&
102089          { ac_try='test -s conftest.$ac_objext'
102090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102091   (eval $ac_try) 2>&5
102092   ac_status=$?
102093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102094   (exit $ac_status); }; }; then
102095   glibcxx_cv_func__hypotl_use=yes
102096 else
102097   echo "$as_me: failed program was:" >&5
102098 sed 's/^/| /' conftest.$ac_ext >&5
102099
102100 glibcxx_cv_func__hypotl_use=no
102101 fi
102102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102103       ac_ext=c
102104 ac_cpp='$CPP $CPPFLAGS'
102105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102108
102109
102110 fi
102111
102112   fi
102113   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
102114 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
102115
102116     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
102117
102118 for ac_func in _hypotl
102119 do
102120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102121 echo "$as_me:$LINENO: checking for $ac_func" >&5
102122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102123 if eval "test \"\${$as_ac_var+set}\" = set"; then
102124   echo $ECHO_N "(cached) $ECHO_C" >&6
102125 else
102126   if test x$gcc_no_link = xyes; then
102127   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102129    { (exit 1); exit 1; }; }
102130 fi
102131 cat >conftest.$ac_ext <<_ACEOF
102132 /* confdefs.h.  */
102133 _ACEOF
102134 cat confdefs.h >>conftest.$ac_ext
102135 cat >>conftest.$ac_ext <<_ACEOF
102136 /* end confdefs.h.  */
102137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102138    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102139 #define $ac_func innocuous_$ac_func
102140
102141 /* System header to define __stub macros and hopefully few prototypes,
102142     which can conflict with char $ac_func (); below.
102143     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102144     <limits.h> exists even on freestanding compilers.  */
102145
102146 #ifdef __STDC__
102147 # include <limits.h>
102148 #else
102149 # include <assert.h>
102150 #endif
102151
102152 #undef $ac_func
102153
102154 /* Override any gcc2 internal prototype to avoid an error.  */
102155 #ifdef __cplusplus
102156 extern "C"
102157 {
102158 #endif
102159 /* We use char because int might match the return type of a gcc2
102160    builtin and then its argument prototype would still apply.  */
102161 char $ac_func ();
102162 /* The GNU C library defines this for functions which it implements
102163     to always fail with ENOSYS.  Some functions are actually named
102164     something starting with __ and the normal name is an alias.  */
102165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102166 choke me
102167 #else
102168 char (*f) () = $ac_func;
102169 #endif
102170 #ifdef __cplusplus
102171 }
102172 #endif
102173
102174 int
102175 main ()
102176 {
102177 return f != $ac_func;
102178   ;
102179   return 0;
102180 }
102181 _ACEOF
102182 rm -f conftest.$ac_objext conftest$ac_exeext
102183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102184   (eval $ac_link) 2>conftest.er1
102185   ac_status=$?
102186   grep -v '^ *+' conftest.er1 >conftest.err
102187   rm -f conftest.er1
102188   cat conftest.err >&5
102189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102190   (exit $ac_status); } &&
102191          { ac_try='test -z "$ac_c_werror_flag"
102192                          || test ! -s conftest.err'
102193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102194   (eval $ac_try) 2>&5
102195   ac_status=$?
102196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102197   (exit $ac_status); }; } &&
102198          { ac_try='test -s conftest$ac_exeext'
102199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102200   (eval $ac_try) 2>&5
102201   ac_status=$?
102202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102203   (exit $ac_status); }; }; then
102204   eval "$as_ac_var=yes"
102205 else
102206   echo "$as_me: failed program was:" >&5
102207 sed 's/^/| /' conftest.$ac_ext >&5
102208
102209 eval "$as_ac_var=no"
102210 fi
102211 rm -f conftest.err conftest.$ac_objext \
102212       conftest$ac_exeext conftest.$ac_ext
102213 fi
102214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102216 if test `eval echo '${'$as_ac_var'}'` = yes; then
102217   cat >>confdefs.h <<_ACEOF
102218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102219 _ACEOF
102220
102221 fi
102222 done
102223
102224     fi
102225   fi
102226
102227
102228
102229
102230
102231
102232   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
102233 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
102234   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
102235     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
102236   echo $ECHO_N "(cached) $ECHO_C" >&6
102237 else
102238
102239
102240
102241       ac_ext=cc
102242 ac_cpp='$CXXCPP $CPPFLAGS'
102243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102246
102247       cat >conftest.$ac_ext <<_ACEOF
102248 /* confdefs.h.  */
102249 _ACEOF
102250 cat confdefs.h >>conftest.$ac_ext
102251 cat >>conftest.$ac_ext <<_ACEOF
102252 /* end confdefs.h.  */
102253 #include <math.h>
102254 int
102255 main ()
102256 {
102257  ldexpl(0, 0);
102258   ;
102259   return 0;
102260 }
102261 _ACEOF
102262 rm -f conftest.$ac_objext
102263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102264   (eval $ac_compile) 2>conftest.er1
102265   ac_status=$?
102266   grep -v '^ *+' conftest.er1 >conftest.err
102267   rm -f conftest.er1
102268   cat conftest.err >&5
102269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102270   (exit $ac_status); } &&
102271          { ac_try='test -z "$ac_cxx_werror_flag"
102272                          || test ! -s conftest.err'
102273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102274   (eval $ac_try) 2>&5
102275   ac_status=$?
102276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102277   (exit $ac_status); }; } &&
102278          { ac_try='test -s conftest.$ac_objext'
102279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102280   (eval $ac_try) 2>&5
102281   ac_status=$?
102282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102283   (exit $ac_status); }; }; then
102284   glibcxx_cv_func_ldexpl_use=yes
102285 else
102286   echo "$as_me: failed program was:" >&5
102287 sed 's/^/| /' conftest.$ac_ext >&5
102288
102289 glibcxx_cv_func_ldexpl_use=no
102290 fi
102291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102292       ac_ext=c
102293 ac_cpp='$CPP $CPPFLAGS'
102294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102297
102298
102299 fi
102300
102301   fi
102302   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
102303 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
102304
102305   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
102306
102307 for ac_func in ldexpl
102308 do
102309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102310 echo "$as_me:$LINENO: checking for $ac_func" >&5
102311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102312 if eval "test \"\${$as_ac_var+set}\" = set"; then
102313   echo $ECHO_N "(cached) $ECHO_C" >&6
102314 else
102315   if test x$gcc_no_link = xyes; then
102316   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102318    { (exit 1); exit 1; }; }
102319 fi
102320 cat >conftest.$ac_ext <<_ACEOF
102321 /* confdefs.h.  */
102322 _ACEOF
102323 cat confdefs.h >>conftest.$ac_ext
102324 cat >>conftest.$ac_ext <<_ACEOF
102325 /* end confdefs.h.  */
102326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102327    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102328 #define $ac_func innocuous_$ac_func
102329
102330 /* System header to define __stub macros and hopefully few prototypes,
102331     which can conflict with char $ac_func (); below.
102332     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102333     <limits.h> exists even on freestanding compilers.  */
102334
102335 #ifdef __STDC__
102336 # include <limits.h>
102337 #else
102338 # include <assert.h>
102339 #endif
102340
102341 #undef $ac_func
102342
102343 /* Override any gcc2 internal prototype to avoid an error.  */
102344 #ifdef __cplusplus
102345 extern "C"
102346 {
102347 #endif
102348 /* We use char because int might match the return type of a gcc2
102349    builtin and then its argument prototype would still apply.  */
102350 char $ac_func ();
102351 /* The GNU C library defines this for functions which it implements
102352     to always fail with ENOSYS.  Some functions are actually named
102353     something starting with __ and the normal name is an alias.  */
102354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102355 choke me
102356 #else
102357 char (*f) () = $ac_func;
102358 #endif
102359 #ifdef __cplusplus
102360 }
102361 #endif
102362
102363 int
102364 main ()
102365 {
102366 return f != $ac_func;
102367   ;
102368   return 0;
102369 }
102370 _ACEOF
102371 rm -f conftest.$ac_objext conftest$ac_exeext
102372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102373   (eval $ac_link) 2>conftest.er1
102374   ac_status=$?
102375   grep -v '^ *+' conftest.er1 >conftest.err
102376   rm -f conftest.er1
102377   cat conftest.err >&5
102378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102379   (exit $ac_status); } &&
102380          { ac_try='test -z "$ac_c_werror_flag"
102381                          || test ! -s conftest.err'
102382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102383   (eval $ac_try) 2>&5
102384   ac_status=$?
102385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102386   (exit $ac_status); }; } &&
102387          { ac_try='test -s conftest$ac_exeext'
102388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102389   (eval $ac_try) 2>&5
102390   ac_status=$?
102391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102392   (exit $ac_status); }; }; then
102393   eval "$as_ac_var=yes"
102394 else
102395   echo "$as_me: failed program was:" >&5
102396 sed 's/^/| /' conftest.$ac_ext >&5
102397
102398 eval "$as_ac_var=no"
102399 fi
102400 rm -f conftest.err conftest.$ac_objext \
102401       conftest$ac_exeext conftest.$ac_ext
102402 fi
102403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102405 if test `eval echo '${'$as_ac_var'}'` = yes; then
102406   cat >>confdefs.h <<_ACEOF
102407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102408 _ACEOF
102409
102410 fi
102411 done
102412
102413   else
102414
102415   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
102416 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
102417   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
102418     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
102419   echo $ECHO_N "(cached) $ECHO_C" >&6
102420 else
102421
102422
102423
102424       ac_ext=cc
102425 ac_cpp='$CXXCPP $CPPFLAGS'
102426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102429
102430       cat >conftest.$ac_ext <<_ACEOF
102431 /* confdefs.h.  */
102432 _ACEOF
102433 cat confdefs.h >>conftest.$ac_ext
102434 cat >>conftest.$ac_ext <<_ACEOF
102435 /* end confdefs.h.  */
102436 #include <math.h>
102437 int
102438 main ()
102439 {
102440  _ldexpl(0, 0);
102441   ;
102442   return 0;
102443 }
102444 _ACEOF
102445 rm -f conftest.$ac_objext
102446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102447   (eval $ac_compile) 2>conftest.er1
102448   ac_status=$?
102449   grep -v '^ *+' conftest.er1 >conftest.err
102450   rm -f conftest.er1
102451   cat conftest.err >&5
102452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102453   (exit $ac_status); } &&
102454          { ac_try='test -z "$ac_cxx_werror_flag"
102455                          || test ! -s conftest.err'
102456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102457   (eval $ac_try) 2>&5
102458   ac_status=$?
102459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102460   (exit $ac_status); }; } &&
102461          { ac_try='test -s conftest.$ac_objext'
102462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102463   (eval $ac_try) 2>&5
102464   ac_status=$?
102465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102466   (exit $ac_status); }; }; then
102467   glibcxx_cv_func__ldexpl_use=yes
102468 else
102469   echo "$as_me: failed program was:" >&5
102470 sed 's/^/| /' conftest.$ac_ext >&5
102471
102472 glibcxx_cv_func__ldexpl_use=no
102473 fi
102474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102475       ac_ext=c
102476 ac_cpp='$CPP $CPPFLAGS'
102477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102480
102481
102482 fi
102483
102484   fi
102485   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
102486 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
102487
102488     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
102489
102490 for ac_func in _ldexpl
102491 do
102492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102493 echo "$as_me:$LINENO: checking for $ac_func" >&5
102494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102495 if eval "test \"\${$as_ac_var+set}\" = set"; then
102496   echo $ECHO_N "(cached) $ECHO_C" >&6
102497 else
102498   if test x$gcc_no_link = xyes; then
102499   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102501    { (exit 1); exit 1; }; }
102502 fi
102503 cat >conftest.$ac_ext <<_ACEOF
102504 /* confdefs.h.  */
102505 _ACEOF
102506 cat confdefs.h >>conftest.$ac_ext
102507 cat >>conftest.$ac_ext <<_ACEOF
102508 /* end confdefs.h.  */
102509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102510    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102511 #define $ac_func innocuous_$ac_func
102512
102513 /* System header to define __stub macros and hopefully few prototypes,
102514     which can conflict with char $ac_func (); below.
102515     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102516     <limits.h> exists even on freestanding compilers.  */
102517
102518 #ifdef __STDC__
102519 # include <limits.h>
102520 #else
102521 # include <assert.h>
102522 #endif
102523
102524 #undef $ac_func
102525
102526 /* Override any gcc2 internal prototype to avoid an error.  */
102527 #ifdef __cplusplus
102528 extern "C"
102529 {
102530 #endif
102531 /* We use char because int might match the return type of a gcc2
102532    builtin and then its argument prototype would still apply.  */
102533 char $ac_func ();
102534 /* The GNU C library defines this for functions which it implements
102535     to always fail with ENOSYS.  Some functions are actually named
102536     something starting with __ and the normal name is an alias.  */
102537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102538 choke me
102539 #else
102540 char (*f) () = $ac_func;
102541 #endif
102542 #ifdef __cplusplus
102543 }
102544 #endif
102545
102546 int
102547 main ()
102548 {
102549 return f != $ac_func;
102550   ;
102551   return 0;
102552 }
102553 _ACEOF
102554 rm -f conftest.$ac_objext conftest$ac_exeext
102555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102556   (eval $ac_link) 2>conftest.er1
102557   ac_status=$?
102558   grep -v '^ *+' conftest.er1 >conftest.err
102559   rm -f conftest.er1
102560   cat conftest.err >&5
102561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102562   (exit $ac_status); } &&
102563          { ac_try='test -z "$ac_c_werror_flag"
102564                          || test ! -s conftest.err'
102565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102566   (eval $ac_try) 2>&5
102567   ac_status=$?
102568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102569   (exit $ac_status); }; } &&
102570          { ac_try='test -s conftest$ac_exeext'
102571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102572   (eval $ac_try) 2>&5
102573   ac_status=$?
102574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102575   (exit $ac_status); }; }; then
102576   eval "$as_ac_var=yes"
102577 else
102578   echo "$as_me: failed program was:" >&5
102579 sed 's/^/| /' conftest.$ac_ext >&5
102580
102581 eval "$as_ac_var=no"
102582 fi
102583 rm -f conftest.err conftest.$ac_objext \
102584       conftest$ac_exeext conftest.$ac_ext
102585 fi
102586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102588 if test `eval echo '${'$as_ac_var'}'` = yes; then
102589   cat >>confdefs.h <<_ACEOF
102590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102591 _ACEOF
102592
102593 fi
102594 done
102595
102596     fi
102597   fi
102598
102599
102600
102601
102602
102603
102604   echo "$as_me:$LINENO: checking for logl declaration" >&5
102605 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
102606   if test x${glibcxx_cv_func_logl_use+set} != xset; then
102607     if test "${glibcxx_cv_func_logl_use+set}" = set; then
102608   echo $ECHO_N "(cached) $ECHO_C" >&6
102609 else
102610
102611
102612
102613       ac_ext=cc
102614 ac_cpp='$CXXCPP $CPPFLAGS'
102615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102618
102619       cat >conftest.$ac_ext <<_ACEOF
102620 /* confdefs.h.  */
102621 _ACEOF
102622 cat confdefs.h >>conftest.$ac_ext
102623 cat >>conftest.$ac_ext <<_ACEOF
102624 /* end confdefs.h.  */
102625 #include <math.h>
102626                       #ifdef HAVE_IEEEFP_H
102627                       #include <ieeefp.h>
102628                       #endif
102629
102630 int
102631 main ()
102632 {
102633  logl(0);
102634   ;
102635   return 0;
102636 }
102637 _ACEOF
102638 rm -f conftest.$ac_objext
102639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102640   (eval $ac_compile) 2>conftest.er1
102641   ac_status=$?
102642   grep -v '^ *+' conftest.er1 >conftest.err
102643   rm -f conftest.er1
102644   cat conftest.err >&5
102645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102646   (exit $ac_status); } &&
102647          { ac_try='test -z "$ac_cxx_werror_flag"
102648                          || test ! -s conftest.err'
102649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102650   (eval $ac_try) 2>&5
102651   ac_status=$?
102652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102653   (exit $ac_status); }; } &&
102654          { ac_try='test -s conftest.$ac_objext'
102655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102656   (eval $ac_try) 2>&5
102657   ac_status=$?
102658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102659   (exit $ac_status); }; }; then
102660   glibcxx_cv_func_logl_use=yes
102661 else
102662   echo "$as_me: failed program was:" >&5
102663 sed 's/^/| /' conftest.$ac_ext >&5
102664
102665 glibcxx_cv_func_logl_use=no
102666 fi
102667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102668       ac_ext=c
102669 ac_cpp='$CPP $CPPFLAGS'
102670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102673
102674
102675 fi
102676
102677   fi
102678   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
102679 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
102680
102681   if test x$glibcxx_cv_func_logl_use = x"yes"; then
102682
102683 for ac_func in logl
102684 do
102685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102686 echo "$as_me:$LINENO: checking for $ac_func" >&5
102687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102688 if eval "test \"\${$as_ac_var+set}\" = set"; then
102689   echo $ECHO_N "(cached) $ECHO_C" >&6
102690 else
102691   if test x$gcc_no_link = xyes; then
102692   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102694    { (exit 1); exit 1; }; }
102695 fi
102696 cat >conftest.$ac_ext <<_ACEOF
102697 /* confdefs.h.  */
102698 _ACEOF
102699 cat confdefs.h >>conftest.$ac_ext
102700 cat >>conftest.$ac_ext <<_ACEOF
102701 /* end confdefs.h.  */
102702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102703    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102704 #define $ac_func innocuous_$ac_func
102705
102706 /* System header to define __stub macros and hopefully few prototypes,
102707     which can conflict with char $ac_func (); below.
102708     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102709     <limits.h> exists even on freestanding compilers.  */
102710
102711 #ifdef __STDC__
102712 # include <limits.h>
102713 #else
102714 # include <assert.h>
102715 #endif
102716
102717 #undef $ac_func
102718
102719 /* Override any gcc2 internal prototype to avoid an error.  */
102720 #ifdef __cplusplus
102721 extern "C"
102722 {
102723 #endif
102724 /* We use char because int might match the return type of a gcc2
102725    builtin and then its argument prototype would still apply.  */
102726 char $ac_func ();
102727 /* The GNU C library defines this for functions which it implements
102728     to always fail with ENOSYS.  Some functions are actually named
102729     something starting with __ and the normal name is an alias.  */
102730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102731 choke me
102732 #else
102733 char (*f) () = $ac_func;
102734 #endif
102735 #ifdef __cplusplus
102736 }
102737 #endif
102738
102739 int
102740 main ()
102741 {
102742 return f != $ac_func;
102743   ;
102744   return 0;
102745 }
102746 _ACEOF
102747 rm -f conftest.$ac_objext conftest$ac_exeext
102748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102749   (eval $ac_link) 2>conftest.er1
102750   ac_status=$?
102751   grep -v '^ *+' conftest.er1 >conftest.err
102752   rm -f conftest.er1
102753   cat conftest.err >&5
102754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102755   (exit $ac_status); } &&
102756          { ac_try='test -z "$ac_c_werror_flag"
102757                          || test ! -s conftest.err'
102758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102759   (eval $ac_try) 2>&5
102760   ac_status=$?
102761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102762   (exit $ac_status); }; } &&
102763          { ac_try='test -s conftest$ac_exeext'
102764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102765   (eval $ac_try) 2>&5
102766   ac_status=$?
102767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102768   (exit $ac_status); }; }; then
102769   eval "$as_ac_var=yes"
102770 else
102771   echo "$as_me: failed program was:" >&5
102772 sed 's/^/| /' conftest.$ac_ext >&5
102773
102774 eval "$as_ac_var=no"
102775 fi
102776 rm -f conftest.err conftest.$ac_objext \
102777       conftest$ac_exeext conftest.$ac_ext
102778 fi
102779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102781 if test `eval echo '${'$as_ac_var'}'` = yes; then
102782   cat >>confdefs.h <<_ACEOF
102783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102784 _ACEOF
102785
102786 fi
102787 done
102788
102789   else
102790
102791   echo "$as_me:$LINENO: checking for _logl declaration" >&5
102792 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
102793   if test x${glibcxx_cv_func__logl_use+set} != xset; then
102794     if test "${glibcxx_cv_func__logl_use+set}" = set; then
102795   echo $ECHO_N "(cached) $ECHO_C" >&6
102796 else
102797
102798
102799
102800       ac_ext=cc
102801 ac_cpp='$CXXCPP $CPPFLAGS'
102802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102805
102806       cat >conftest.$ac_ext <<_ACEOF
102807 /* confdefs.h.  */
102808 _ACEOF
102809 cat confdefs.h >>conftest.$ac_ext
102810 cat >>conftest.$ac_ext <<_ACEOF
102811 /* end confdefs.h.  */
102812 #include <math.h>
102813                       #ifdef HAVE_IEEEFP_H
102814                       #include <ieeefp.h>
102815                       #endif
102816
102817 int
102818 main ()
102819 {
102820  _logl(0);
102821   ;
102822   return 0;
102823 }
102824 _ACEOF
102825 rm -f conftest.$ac_objext
102826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102827   (eval $ac_compile) 2>conftest.er1
102828   ac_status=$?
102829   grep -v '^ *+' conftest.er1 >conftest.err
102830   rm -f conftest.er1
102831   cat conftest.err >&5
102832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102833   (exit $ac_status); } &&
102834          { ac_try='test -z "$ac_cxx_werror_flag"
102835                          || test ! -s conftest.err'
102836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102837   (eval $ac_try) 2>&5
102838   ac_status=$?
102839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102840   (exit $ac_status); }; } &&
102841          { ac_try='test -s conftest.$ac_objext'
102842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102843   (eval $ac_try) 2>&5
102844   ac_status=$?
102845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102846   (exit $ac_status); }; }; then
102847   glibcxx_cv_func__logl_use=yes
102848 else
102849   echo "$as_me: failed program was:" >&5
102850 sed 's/^/| /' conftest.$ac_ext >&5
102851
102852 glibcxx_cv_func__logl_use=no
102853 fi
102854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102855       ac_ext=c
102856 ac_cpp='$CPP $CPPFLAGS'
102857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102860
102861
102862 fi
102863
102864   fi
102865   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
102866 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
102867
102868     if test x$glibcxx_cv_func__logl_use = x"yes"; then
102869
102870 for ac_func in _logl
102871 do
102872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102873 echo "$as_me:$LINENO: checking for $ac_func" >&5
102874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102875 if eval "test \"\${$as_ac_var+set}\" = set"; then
102876   echo $ECHO_N "(cached) $ECHO_C" >&6
102877 else
102878   if test x$gcc_no_link = xyes; then
102879   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102881    { (exit 1); exit 1; }; }
102882 fi
102883 cat >conftest.$ac_ext <<_ACEOF
102884 /* confdefs.h.  */
102885 _ACEOF
102886 cat confdefs.h >>conftest.$ac_ext
102887 cat >>conftest.$ac_ext <<_ACEOF
102888 /* end confdefs.h.  */
102889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102890    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102891 #define $ac_func innocuous_$ac_func
102892
102893 /* System header to define __stub macros and hopefully few prototypes,
102894     which can conflict with char $ac_func (); below.
102895     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102896     <limits.h> exists even on freestanding compilers.  */
102897
102898 #ifdef __STDC__
102899 # include <limits.h>
102900 #else
102901 # include <assert.h>
102902 #endif
102903
102904 #undef $ac_func
102905
102906 /* Override any gcc2 internal prototype to avoid an error.  */
102907 #ifdef __cplusplus
102908 extern "C"
102909 {
102910 #endif
102911 /* We use char because int might match the return type of a gcc2
102912    builtin and then its argument prototype would still apply.  */
102913 char $ac_func ();
102914 /* The GNU C library defines this for functions which it implements
102915     to always fail with ENOSYS.  Some functions are actually named
102916     something starting with __ and the normal name is an alias.  */
102917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102918 choke me
102919 #else
102920 char (*f) () = $ac_func;
102921 #endif
102922 #ifdef __cplusplus
102923 }
102924 #endif
102925
102926 int
102927 main ()
102928 {
102929 return f != $ac_func;
102930   ;
102931   return 0;
102932 }
102933 _ACEOF
102934 rm -f conftest.$ac_objext conftest$ac_exeext
102935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102936   (eval $ac_link) 2>conftest.er1
102937   ac_status=$?
102938   grep -v '^ *+' conftest.er1 >conftest.err
102939   rm -f conftest.er1
102940   cat conftest.err >&5
102941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102942   (exit $ac_status); } &&
102943          { ac_try='test -z "$ac_c_werror_flag"
102944                          || test ! -s conftest.err'
102945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102946   (eval $ac_try) 2>&5
102947   ac_status=$?
102948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102949   (exit $ac_status); }; } &&
102950          { ac_try='test -s conftest$ac_exeext'
102951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102952   (eval $ac_try) 2>&5
102953   ac_status=$?
102954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102955   (exit $ac_status); }; }; then
102956   eval "$as_ac_var=yes"
102957 else
102958   echo "$as_me: failed program was:" >&5
102959 sed 's/^/| /' conftest.$ac_ext >&5
102960
102961 eval "$as_ac_var=no"
102962 fi
102963 rm -f conftest.err conftest.$ac_objext \
102964       conftest$ac_exeext conftest.$ac_ext
102965 fi
102966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102968 if test `eval echo '${'$as_ac_var'}'` = yes; then
102969   cat >>confdefs.h <<_ACEOF
102970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102971 _ACEOF
102972
102973 fi
102974 done
102975
102976     fi
102977   fi
102978
102979
102980
102981
102982
102983
102984   echo "$as_me:$LINENO: checking for log10l declaration" >&5
102985 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
102986   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
102987     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
102988   echo $ECHO_N "(cached) $ECHO_C" >&6
102989 else
102990
102991
102992
102993       ac_ext=cc
102994 ac_cpp='$CXXCPP $CPPFLAGS'
102995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102998
102999       cat >conftest.$ac_ext <<_ACEOF
103000 /* confdefs.h.  */
103001 _ACEOF
103002 cat confdefs.h >>conftest.$ac_ext
103003 cat >>conftest.$ac_ext <<_ACEOF
103004 /* end confdefs.h.  */
103005 #include <math.h>
103006                       #ifdef HAVE_IEEEFP_H
103007                       #include <ieeefp.h>
103008                       #endif
103009
103010 int
103011 main ()
103012 {
103013  log10l(0);
103014   ;
103015   return 0;
103016 }
103017 _ACEOF
103018 rm -f conftest.$ac_objext
103019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103020   (eval $ac_compile) 2>conftest.er1
103021   ac_status=$?
103022   grep -v '^ *+' conftest.er1 >conftest.err
103023   rm -f conftest.er1
103024   cat conftest.err >&5
103025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103026   (exit $ac_status); } &&
103027          { ac_try='test -z "$ac_cxx_werror_flag"
103028                          || test ! -s conftest.err'
103029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103030   (eval $ac_try) 2>&5
103031   ac_status=$?
103032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103033   (exit $ac_status); }; } &&
103034          { ac_try='test -s conftest.$ac_objext'
103035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103036   (eval $ac_try) 2>&5
103037   ac_status=$?
103038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103039   (exit $ac_status); }; }; then
103040   glibcxx_cv_func_log10l_use=yes
103041 else
103042   echo "$as_me: failed program was:" >&5
103043 sed 's/^/| /' conftest.$ac_ext >&5
103044
103045 glibcxx_cv_func_log10l_use=no
103046 fi
103047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103048       ac_ext=c
103049 ac_cpp='$CPP $CPPFLAGS'
103050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103053
103054
103055 fi
103056
103057   fi
103058   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
103059 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
103060
103061   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
103062
103063 for ac_func in log10l
103064 do
103065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103066 echo "$as_me:$LINENO: checking for $ac_func" >&5
103067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103068 if eval "test \"\${$as_ac_var+set}\" = set"; then
103069   echo $ECHO_N "(cached) $ECHO_C" >&6
103070 else
103071   if test x$gcc_no_link = xyes; then
103072   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103074    { (exit 1); exit 1; }; }
103075 fi
103076 cat >conftest.$ac_ext <<_ACEOF
103077 /* confdefs.h.  */
103078 _ACEOF
103079 cat confdefs.h >>conftest.$ac_ext
103080 cat >>conftest.$ac_ext <<_ACEOF
103081 /* end confdefs.h.  */
103082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103083    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103084 #define $ac_func innocuous_$ac_func
103085
103086 /* System header to define __stub macros and hopefully few prototypes,
103087     which can conflict with char $ac_func (); below.
103088     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103089     <limits.h> exists even on freestanding compilers.  */
103090
103091 #ifdef __STDC__
103092 # include <limits.h>
103093 #else
103094 # include <assert.h>
103095 #endif
103096
103097 #undef $ac_func
103098
103099 /* Override any gcc2 internal prototype to avoid an error.  */
103100 #ifdef __cplusplus
103101 extern "C"
103102 {
103103 #endif
103104 /* We use char because int might match the return type of a gcc2
103105    builtin and then its argument prototype would still apply.  */
103106 char $ac_func ();
103107 /* The GNU C library defines this for functions which it implements
103108     to always fail with ENOSYS.  Some functions are actually named
103109     something starting with __ and the normal name is an alias.  */
103110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103111 choke me
103112 #else
103113 char (*f) () = $ac_func;
103114 #endif
103115 #ifdef __cplusplus
103116 }
103117 #endif
103118
103119 int
103120 main ()
103121 {
103122 return f != $ac_func;
103123   ;
103124   return 0;
103125 }
103126 _ACEOF
103127 rm -f conftest.$ac_objext conftest$ac_exeext
103128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103129   (eval $ac_link) 2>conftest.er1
103130   ac_status=$?
103131   grep -v '^ *+' conftest.er1 >conftest.err
103132   rm -f conftest.er1
103133   cat conftest.err >&5
103134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103135   (exit $ac_status); } &&
103136          { ac_try='test -z "$ac_c_werror_flag"
103137                          || test ! -s conftest.err'
103138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103139   (eval $ac_try) 2>&5
103140   ac_status=$?
103141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103142   (exit $ac_status); }; } &&
103143          { ac_try='test -s conftest$ac_exeext'
103144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103145   (eval $ac_try) 2>&5
103146   ac_status=$?
103147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103148   (exit $ac_status); }; }; then
103149   eval "$as_ac_var=yes"
103150 else
103151   echo "$as_me: failed program was:" >&5
103152 sed 's/^/| /' conftest.$ac_ext >&5
103153
103154 eval "$as_ac_var=no"
103155 fi
103156 rm -f conftest.err conftest.$ac_objext \
103157       conftest$ac_exeext conftest.$ac_ext
103158 fi
103159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103161 if test `eval echo '${'$as_ac_var'}'` = yes; then
103162   cat >>confdefs.h <<_ACEOF
103163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103164 _ACEOF
103165
103166 fi
103167 done
103168
103169   else
103170
103171   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
103172 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
103173   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
103174     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
103175   echo $ECHO_N "(cached) $ECHO_C" >&6
103176 else
103177
103178
103179
103180       ac_ext=cc
103181 ac_cpp='$CXXCPP $CPPFLAGS'
103182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103185
103186       cat >conftest.$ac_ext <<_ACEOF
103187 /* confdefs.h.  */
103188 _ACEOF
103189 cat confdefs.h >>conftest.$ac_ext
103190 cat >>conftest.$ac_ext <<_ACEOF
103191 /* end confdefs.h.  */
103192 #include <math.h>
103193                       #ifdef HAVE_IEEEFP_H
103194                       #include <ieeefp.h>
103195                       #endif
103196
103197 int
103198 main ()
103199 {
103200  _log10l(0);
103201   ;
103202   return 0;
103203 }
103204 _ACEOF
103205 rm -f conftest.$ac_objext
103206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103207   (eval $ac_compile) 2>conftest.er1
103208   ac_status=$?
103209   grep -v '^ *+' conftest.er1 >conftest.err
103210   rm -f conftest.er1
103211   cat conftest.err >&5
103212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103213   (exit $ac_status); } &&
103214          { ac_try='test -z "$ac_cxx_werror_flag"
103215                          || test ! -s conftest.err'
103216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103217   (eval $ac_try) 2>&5
103218   ac_status=$?
103219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103220   (exit $ac_status); }; } &&
103221          { ac_try='test -s conftest.$ac_objext'
103222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103223   (eval $ac_try) 2>&5
103224   ac_status=$?
103225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103226   (exit $ac_status); }; }; then
103227   glibcxx_cv_func__log10l_use=yes
103228 else
103229   echo "$as_me: failed program was:" >&5
103230 sed 's/^/| /' conftest.$ac_ext >&5
103231
103232 glibcxx_cv_func__log10l_use=no
103233 fi
103234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103235       ac_ext=c
103236 ac_cpp='$CPP $CPPFLAGS'
103237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103240
103241
103242 fi
103243
103244   fi
103245   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
103246 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
103247
103248     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
103249
103250 for ac_func in _log10l
103251 do
103252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103253 echo "$as_me:$LINENO: checking for $ac_func" >&5
103254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103255 if eval "test \"\${$as_ac_var+set}\" = set"; then
103256   echo $ECHO_N "(cached) $ECHO_C" >&6
103257 else
103258   if test x$gcc_no_link = xyes; then
103259   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103261    { (exit 1); exit 1; }; }
103262 fi
103263 cat >conftest.$ac_ext <<_ACEOF
103264 /* confdefs.h.  */
103265 _ACEOF
103266 cat confdefs.h >>conftest.$ac_ext
103267 cat >>conftest.$ac_ext <<_ACEOF
103268 /* end confdefs.h.  */
103269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103270    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103271 #define $ac_func innocuous_$ac_func
103272
103273 /* System header to define __stub macros and hopefully few prototypes,
103274     which can conflict with char $ac_func (); below.
103275     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103276     <limits.h> exists even on freestanding compilers.  */
103277
103278 #ifdef __STDC__
103279 # include <limits.h>
103280 #else
103281 # include <assert.h>
103282 #endif
103283
103284 #undef $ac_func
103285
103286 /* Override any gcc2 internal prototype to avoid an error.  */
103287 #ifdef __cplusplus
103288 extern "C"
103289 {
103290 #endif
103291 /* We use char because int might match the return type of a gcc2
103292    builtin and then its argument prototype would still apply.  */
103293 char $ac_func ();
103294 /* The GNU C library defines this for functions which it implements
103295     to always fail with ENOSYS.  Some functions are actually named
103296     something starting with __ and the normal name is an alias.  */
103297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103298 choke me
103299 #else
103300 char (*f) () = $ac_func;
103301 #endif
103302 #ifdef __cplusplus
103303 }
103304 #endif
103305
103306 int
103307 main ()
103308 {
103309 return f != $ac_func;
103310   ;
103311   return 0;
103312 }
103313 _ACEOF
103314 rm -f conftest.$ac_objext conftest$ac_exeext
103315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103316   (eval $ac_link) 2>conftest.er1
103317   ac_status=$?
103318   grep -v '^ *+' conftest.er1 >conftest.err
103319   rm -f conftest.er1
103320   cat conftest.err >&5
103321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103322   (exit $ac_status); } &&
103323          { ac_try='test -z "$ac_c_werror_flag"
103324                          || test ! -s conftest.err'
103325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103326   (eval $ac_try) 2>&5
103327   ac_status=$?
103328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103329   (exit $ac_status); }; } &&
103330          { ac_try='test -s conftest$ac_exeext'
103331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103332   (eval $ac_try) 2>&5
103333   ac_status=$?
103334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103335   (exit $ac_status); }; }; then
103336   eval "$as_ac_var=yes"
103337 else
103338   echo "$as_me: failed program was:" >&5
103339 sed 's/^/| /' conftest.$ac_ext >&5
103340
103341 eval "$as_ac_var=no"
103342 fi
103343 rm -f conftest.err conftest.$ac_objext \
103344       conftest$ac_exeext conftest.$ac_ext
103345 fi
103346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103348 if test `eval echo '${'$as_ac_var'}'` = yes; then
103349   cat >>confdefs.h <<_ACEOF
103350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103351 _ACEOF
103352
103353 fi
103354 done
103355
103356     fi
103357   fi
103358
103359
103360
103361
103362
103363
103364   echo "$as_me:$LINENO: checking for modfl declaration" >&5
103365 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
103366   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
103367     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
103368   echo $ECHO_N "(cached) $ECHO_C" >&6
103369 else
103370
103371
103372
103373       ac_ext=cc
103374 ac_cpp='$CXXCPP $CPPFLAGS'
103375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103378
103379       cat >conftest.$ac_ext <<_ACEOF
103380 /* confdefs.h.  */
103381 _ACEOF
103382 cat confdefs.h >>conftest.$ac_ext
103383 cat >>conftest.$ac_ext <<_ACEOF
103384 /* end confdefs.h.  */
103385 #include <math.h>
103386 int
103387 main ()
103388 {
103389  modfl(0, 0);
103390   ;
103391   return 0;
103392 }
103393 _ACEOF
103394 rm -f conftest.$ac_objext
103395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103396   (eval $ac_compile) 2>conftest.er1
103397   ac_status=$?
103398   grep -v '^ *+' conftest.er1 >conftest.err
103399   rm -f conftest.er1
103400   cat conftest.err >&5
103401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103402   (exit $ac_status); } &&
103403          { ac_try='test -z "$ac_cxx_werror_flag"
103404                          || test ! -s conftest.err'
103405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103406   (eval $ac_try) 2>&5
103407   ac_status=$?
103408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103409   (exit $ac_status); }; } &&
103410          { ac_try='test -s conftest.$ac_objext'
103411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103412   (eval $ac_try) 2>&5
103413   ac_status=$?
103414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103415   (exit $ac_status); }; }; then
103416   glibcxx_cv_func_modfl_use=yes
103417 else
103418   echo "$as_me: failed program was:" >&5
103419 sed 's/^/| /' conftest.$ac_ext >&5
103420
103421 glibcxx_cv_func_modfl_use=no
103422 fi
103423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103424       ac_ext=c
103425 ac_cpp='$CPP $CPPFLAGS'
103426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103429
103430
103431 fi
103432
103433   fi
103434   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
103435 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
103436
103437   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
103438
103439 for ac_func in modfl
103440 do
103441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103442 echo "$as_me:$LINENO: checking for $ac_func" >&5
103443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103444 if eval "test \"\${$as_ac_var+set}\" = set"; then
103445   echo $ECHO_N "(cached) $ECHO_C" >&6
103446 else
103447   if test x$gcc_no_link = xyes; then
103448   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103450    { (exit 1); exit 1; }; }
103451 fi
103452 cat >conftest.$ac_ext <<_ACEOF
103453 /* confdefs.h.  */
103454 _ACEOF
103455 cat confdefs.h >>conftest.$ac_ext
103456 cat >>conftest.$ac_ext <<_ACEOF
103457 /* end confdefs.h.  */
103458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103459    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103460 #define $ac_func innocuous_$ac_func
103461
103462 /* System header to define __stub macros and hopefully few prototypes,
103463     which can conflict with char $ac_func (); below.
103464     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103465     <limits.h> exists even on freestanding compilers.  */
103466
103467 #ifdef __STDC__
103468 # include <limits.h>
103469 #else
103470 # include <assert.h>
103471 #endif
103472
103473 #undef $ac_func
103474
103475 /* Override any gcc2 internal prototype to avoid an error.  */
103476 #ifdef __cplusplus
103477 extern "C"
103478 {
103479 #endif
103480 /* We use char because int might match the return type of a gcc2
103481    builtin and then its argument prototype would still apply.  */
103482 char $ac_func ();
103483 /* The GNU C library defines this for functions which it implements
103484     to always fail with ENOSYS.  Some functions are actually named
103485     something starting with __ and the normal name is an alias.  */
103486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103487 choke me
103488 #else
103489 char (*f) () = $ac_func;
103490 #endif
103491 #ifdef __cplusplus
103492 }
103493 #endif
103494
103495 int
103496 main ()
103497 {
103498 return f != $ac_func;
103499   ;
103500   return 0;
103501 }
103502 _ACEOF
103503 rm -f conftest.$ac_objext conftest$ac_exeext
103504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103505   (eval $ac_link) 2>conftest.er1
103506   ac_status=$?
103507   grep -v '^ *+' conftest.er1 >conftest.err
103508   rm -f conftest.er1
103509   cat conftest.err >&5
103510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103511   (exit $ac_status); } &&
103512          { ac_try='test -z "$ac_c_werror_flag"
103513                          || test ! -s conftest.err'
103514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103515   (eval $ac_try) 2>&5
103516   ac_status=$?
103517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103518   (exit $ac_status); }; } &&
103519          { ac_try='test -s conftest$ac_exeext'
103520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103521   (eval $ac_try) 2>&5
103522   ac_status=$?
103523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103524   (exit $ac_status); }; }; then
103525   eval "$as_ac_var=yes"
103526 else
103527   echo "$as_me: failed program was:" >&5
103528 sed 's/^/| /' conftest.$ac_ext >&5
103529
103530 eval "$as_ac_var=no"
103531 fi
103532 rm -f conftest.err conftest.$ac_objext \
103533       conftest$ac_exeext conftest.$ac_ext
103534 fi
103535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103537 if test `eval echo '${'$as_ac_var'}'` = yes; then
103538   cat >>confdefs.h <<_ACEOF
103539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103540 _ACEOF
103541
103542 fi
103543 done
103544
103545   else
103546
103547   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
103548 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
103549   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
103550     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
103551   echo $ECHO_N "(cached) $ECHO_C" >&6
103552 else
103553
103554
103555
103556       ac_ext=cc
103557 ac_cpp='$CXXCPP $CPPFLAGS'
103558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103561
103562       cat >conftest.$ac_ext <<_ACEOF
103563 /* confdefs.h.  */
103564 _ACEOF
103565 cat confdefs.h >>conftest.$ac_ext
103566 cat >>conftest.$ac_ext <<_ACEOF
103567 /* end confdefs.h.  */
103568 #include <math.h>
103569 int
103570 main ()
103571 {
103572  _modfl(0, 0);
103573   ;
103574   return 0;
103575 }
103576 _ACEOF
103577 rm -f conftest.$ac_objext
103578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103579   (eval $ac_compile) 2>conftest.er1
103580   ac_status=$?
103581   grep -v '^ *+' conftest.er1 >conftest.err
103582   rm -f conftest.er1
103583   cat conftest.err >&5
103584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103585   (exit $ac_status); } &&
103586          { ac_try='test -z "$ac_cxx_werror_flag"
103587                          || test ! -s conftest.err'
103588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103589   (eval $ac_try) 2>&5
103590   ac_status=$?
103591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103592   (exit $ac_status); }; } &&
103593          { ac_try='test -s conftest.$ac_objext'
103594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103595   (eval $ac_try) 2>&5
103596   ac_status=$?
103597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103598   (exit $ac_status); }; }; then
103599   glibcxx_cv_func__modfl_use=yes
103600 else
103601   echo "$as_me: failed program was:" >&5
103602 sed 's/^/| /' conftest.$ac_ext >&5
103603
103604 glibcxx_cv_func__modfl_use=no
103605 fi
103606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103607       ac_ext=c
103608 ac_cpp='$CPP $CPPFLAGS'
103609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103612
103613
103614 fi
103615
103616   fi
103617   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
103618 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
103619
103620     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
103621
103622 for ac_func in _modfl
103623 do
103624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103625 echo "$as_me:$LINENO: checking for $ac_func" >&5
103626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103627 if eval "test \"\${$as_ac_var+set}\" = set"; then
103628   echo $ECHO_N "(cached) $ECHO_C" >&6
103629 else
103630   if test x$gcc_no_link = xyes; then
103631   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103633    { (exit 1); exit 1; }; }
103634 fi
103635 cat >conftest.$ac_ext <<_ACEOF
103636 /* confdefs.h.  */
103637 _ACEOF
103638 cat confdefs.h >>conftest.$ac_ext
103639 cat >>conftest.$ac_ext <<_ACEOF
103640 /* end confdefs.h.  */
103641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103642    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103643 #define $ac_func innocuous_$ac_func
103644
103645 /* System header to define __stub macros and hopefully few prototypes,
103646     which can conflict with char $ac_func (); below.
103647     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103648     <limits.h> exists even on freestanding compilers.  */
103649
103650 #ifdef __STDC__
103651 # include <limits.h>
103652 #else
103653 # include <assert.h>
103654 #endif
103655
103656 #undef $ac_func
103657
103658 /* Override any gcc2 internal prototype to avoid an error.  */
103659 #ifdef __cplusplus
103660 extern "C"
103661 {
103662 #endif
103663 /* We use char because int might match the return type of a gcc2
103664    builtin and then its argument prototype would still apply.  */
103665 char $ac_func ();
103666 /* The GNU C library defines this for functions which it implements
103667     to always fail with ENOSYS.  Some functions are actually named
103668     something starting with __ and the normal name is an alias.  */
103669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103670 choke me
103671 #else
103672 char (*f) () = $ac_func;
103673 #endif
103674 #ifdef __cplusplus
103675 }
103676 #endif
103677
103678 int
103679 main ()
103680 {
103681 return f != $ac_func;
103682   ;
103683   return 0;
103684 }
103685 _ACEOF
103686 rm -f conftest.$ac_objext conftest$ac_exeext
103687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103688   (eval $ac_link) 2>conftest.er1
103689   ac_status=$?
103690   grep -v '^ *+' conftest.er1 >conftest.err
103691   rm -f conftest.er1
103692   cat conftest.err >&5
103693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103694   (exit $ac_status); } &&
103695          { ac_try='test -z "$ac_c_werror_flag"
103696                          || test ! -s conftest.err'
103697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103698   (eval $ac_try) 2>&5
103699   ac_status=$?
103700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103701   (exit $ac_status); }; } &&
103702          { ac_try='test -s conftest$ac_exeext'
103703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103704   (eval $ac_try) 2>&5
103705   ac_status=$?
103706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103707   (exit $ac_status); }; }; then
103708   eval "$as_ac_var=yes"
103709 else
103710   echo "$as_me: failed program was:" >&5
103711 sed 's/^/| /' conftest.$ac_ext >&5
103712
103713 eval "$as_ac_var=no"
103714 fi
103715 rm -f conftest.err conftest.$ac_objext \
103716       conftest$ac_exeext conftest.$ac_ext
103717 fi
103718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103720 if test `eval echo '${'$as_ac_var'}'` = yes; then
103721   cat >>confdefs.h <<_ACEOF
103722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103723 _ACEOF
103724
103725 fi
103726 done
103727
103728     fi
103729   fi
103730
103731
103732
103733
103734
103735
103736   echo "$as_me:$LINENO: checking for powl declaration" >&5
103737 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
103738   if test x${glibcxx_cv_func_powl_use+set} != xset; then
103739     if test "${glibcxx_cv_func_powl_use+set}" = set; then
103740   echo $ECHO_N "(cached) $ECHO_C" >&6
103741 else
103742
103743
103744
103745       ac_ext=cc
103746 ac_cpp='$CXXCPP $CPPFLAGS'
103747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103750
103751       cat >conftest.$ac_ext <<_ACEOF
103752 /* confdefs.h.  */
103753 _ACEOF
103754 cat confdefs.h >>conftest.$ac_ext
103755 cat >>conftest.$ac_ext <<_ACEOF
103756 /* end confdefs.h.  */
103757 #include <math.h>
103758 int
103759 main ()
103760 {
103761  powl(0, 0);
103762   ;
103763   return 0;
103764 }
103765 _ACEOF
103766 rm -f conftest.$ac_objext
103767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103768   (eval $ac_compile) 2>conftest.er1
103769   ac_status=$?
103770   grep -v '^ *+' conftest.er1 >conftest.err
103771   rm -f conftest.er1
103772   cat conftest.err >&5
103773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103774   (exit $ac_status); } &&
103775          { ac_try='test -z "$ac_cxx_werror_flag"
103776                          || test ! -s conftest.err'
103777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103778   (eval $ac_try) 2>&5
103779   ac_status=$?
103780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103781   (exit $ac_status); }; } &&
103782          { ac_try='test -s conftest.$ac_objext'
103783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103784   (eval $ac_try) 2>&5
103785   ac_status=$?
103786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103787   (exit $ac_status); }; }; then
103788   glibcxx_cv_func_powl_use=yes
103789 else
103790   echo "$as_me: failed program was:" >&5
103791 sed 's/^/| /' conftest.$ac_ext >&5
103792
103793 glibcxx_cv_func_powl_use=no
103794 fi
103795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103796       ac_ext=c
103797 ac_cpp='$CPP $CPPFLAGS'
103798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103801
103802
103803 fi
103804
103805   fi
103806   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
103807 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
103808
103809   if test x$glibcxx_cv_func_powl_use = x"yes"; then
103810
103811 for ac_func in powl
103812 do
103813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103814 echo "$as_me:$LINENO: checking for $ac_func" >&5
103815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103816 if eval "test \"\${$as_ac_var+set}\" = set"; then
103817   echo $ECHO_N "(cached) $ECHO_C" >&6
103818 else
103819   if test x$gcc_no_link = xyes; then
103820   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103822    { (exit 1); exit 1; }; }
103823 fi
103824 cat >conftest.$ac_ext <<_ACEOF
103825 /* confdefs.h.  */
103826 _ACEOF
103827 cat confdefs.h >>conftest.$ac_ext
103828 cat >>conftest.$ac_ext <<_ACEOF
103829 /* end confdefs.h.  */
103830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103831    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103832 #define $ac_func innocuous_$ac_func
103833
103834 /* System header to define __stub macros and hopefully few prototypes,
103835     which can conflict with char $ac_func (); below.
103836     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103837     <limits.h> exists even on freestanding compilers.  */
103838
103839 #ifdef __STDC__
103840 # include <limits.h>
103841 #else
103842 # include <assert.h>
103843 #endif
103844
103845 #undef $ac_func
103846
103847 /* Override any gcc2 internal prototype to avoid an error.  */
103848 #ifdef __cplusplus
103849 extern "C"
103850 {
103851 #endif
103852 /* We use char because int might match the return type of a gcc2
103853    builtin and then its argument prototype would still apply.  */
103854 char $ac_func ();
103855 /* The GNU C library defines this for functions which it implements
103856     to always fail with ENOSYS.  Some functions are actually named
103857     something starting with __ and the normal name is an alias.  */
103858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103859 choke me
103860 #else
103861 char (*f) () = $ac_func;
103862 #endif
103863 #ifdef __cplusplus
103864 }
103865 #endif
103866
103867 int
103868 main ()
103869 {
103870 return f != $ac_func;
103871   ;
103872   return 0;
103873 }
103874 _ACEOF
103875 rm -f conftest.$ac_objext conftest$ac_exeext
103876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103877   (eval $ac_link) 2>conftest.er1
103878   ac_status=$?
103879   grep -v '^ *+' conftest.er1 >conftest.err
103880   rm -f conftest.er1
103881   cat conftest.err >&5
103882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103883   (exit $ac_status); } &&
103884          { ac_try='test -z "$ac_c_werror_flag"
103885                          || test ! -s conftest.err'
103886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103887   (eval $ac_try) 2>&5
103888   ac_status=$?
103889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103890   (exit $ac_status); }; } &&
103891          { ac_try='test -s conftest$ac_exeext'
103892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103893   (eval $ac_try) 2>&5
103894   ac_status=$?
103895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103896   (exit $ac_status); }; }; then
103897   eval "$as_ac_var=yes"
103898 else
103899   echo "$as_me: failed program was:" >&5
103900 sed 's/^/| /' conftest.$ac_ext >&5
103901
103902 eval "$as_ac_var=no"
103903 fi
103904 rm -f conftest.err conftest.$ac_objext \
103905       conftest$ac_exeext conftest.$ac_ext
103906 fi
103907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103909 if test `eval echo '${'$as_ac_var'}'` = yes; then
103910   cat >>confdefs.h <<_ACEOF
103911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103912 _ACEOF
103913
103914 fi
103915 done
103916
103917   else
103918
103919   echo "$as_me:$LINENO: checking for _powl declaration" >&5
103920 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
103921   if test x${glibcxx_cv_func__powl_use+set} != xset; then
103922     if test "${glibcxx_cv_func__powl_use+set}" = set; then
103923   echo $ECHO_N "(cached) $ECHO_C" >&6
103924 else
103925
103926
103927
103928       ac_ext=cc
103929 ac_cpp='$CXXCPP $CPPFLAGS'
103930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103933
103934       cat >conftest.$ac_ext <<_ACEOF
103935 /* confdefs.h.  */
103936 _ACEOF
103937 cat confdefs.h >>conftest.$ac_ext
103938 cat >>conftest.$ac_ext <<_ACEOF
103939 /* end confdefs.h.  */
103940 #include <math.h>
103941 int
103942 main ()
103943 {
103944  _powl(0, 0);
103945   ;
103946   return 0;
103947 }
103948 _ACEOF
103949 rm -f conftest.$ac_objext
103950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103951   (eval $ac_compile) 2>conftest.er1
103952   ac_status=$?
103953   grep -v '^ *+' conftest.er1 >conftest.err
103954   rm -f conftest.er1
103955   cat conftest.err >&5
103956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103957   (exit $ac_status); } &&
103958          { ac_try='test -z "$ac_cxx_werror_flag"
103959                          || test ! -s conftest.err'
103960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103961   (eval $ac_try) 2>&5
103962   ac_status=$?
103963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103964   (exit $ac_status); }; } &&
103965          { ac_try='test -s conftest.$ac_objext'
103966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103967   (eval $ac_try) 2>&5
103968   ac_status=$?
103969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103970   (exit $ac_status); }; }; then
103971   glibcxx_cv_func__powl_use=yes
103972 else
103973   echo "$as_me: failed program was:" >&5
103974 sed 's/^/| /' conftest.$ac_ext >&5
103975
103976 glibcxx_cv_func__powl_use=no
103977 fi
103978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103979       ac_ext=c
103980 ac_cpp='$CPP $CPPFLAGS'
103981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103984
103985
103986 fi
103987
103988   fi
103989   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
103990 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
103991
103992     if test x$glibcxx_cv_func__powl_use = x"yes"; then
103993
103994 for ac_func in _powl
103995 do
103996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103997 echo "$as_me:$LINENO: checking for $ac_func" >&5
103998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103999 if eval "test \"\${$as_ac_var+set}\" = set"; then
104000   echo $ECHO_N "(cached) $ECHO_C" >&6
104001 else
104002   if test x$gcc_no_link = xyes; then
104003   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104005    { (exit 1); exit 1; }; }
104006 fi
104007 cat >conftest.$ac_ext <<_ACEOF
104008 /* confdefs.h.  */
104009 _ACEOF
104010 cat confdefs.h >>conftest.$ac_ext
104011 cat >>conftest.$ac_ext <<_ACEOF
104012 /* end confdefs.h.  */
104013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104014    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104015 #define $ac_func innocuous_$ac_func
104016
104017 /* System header to define __stub macros and hopefully few prototypes,
104018     which can conflict with char $ac_func (); below.
104019     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104020     <limits.h> exists even on freestanding compilers.  */
104021
104022 #ifdef __STDC__
104023 # include <limits.h>
104024 #else
104025 # include <assert.h>
104026 #endif
104027
104028 #undef $ac_func
104029
104030 /* Override any gcc2 internal prototype to avoid an error.  */
104031 #ifdef __cplusplus
104032 extern "C"
104033 {
104034 #endif
104035 /* We use char because int might match the return type of a gcc2
104036    builtin and then its argument prototype would still apply.  */
104037 char $ac_func ();
104038 /* The GNU C library defines this for functions which it implements
104039     to always fail with ENOSYS.  Some functions are actually named
104040     something starting with __ and the normal name is an alias.  */
104041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104042 choke me
104043 #else
104044 char (*f) () = $ac_func;
104045 #endif
104046 #ifdef __cplusplus
104047 }
104048 #endif
104049
104050 int
104051 main ()
104052 {
104053 return f != $ac_func;
104054   ;
104055   return 0;
104056 }
104057 _ACEOF
104058 rm -f conftest.$ac_objext conftest$ac_exeext
104059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104060   (eval $ac_link) 2>conftest.er1
104061   ac_status=$?
104062   grep -v '^ *+' conftest.er1 >conftest.err
104063   rm -f conftest.er1
104064   cat conftest.err >&5
104065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104066   (exit $ac_status); } &&
104067          { ac_try='test -z "$ac_c_werror_flag"
104068                          || test ! -s conftest.err'
104069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104070   (eval $ac_try) 2>&5
104071   ac_status=$?
104072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104073   (exit $ac_status); }; } &&
104074          { ac_try='test -s conftest$ac_exeext'
104075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104076   (eval $ac_try) 2>&5
104077   ac_status=$?
104078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104079   (exit $ac_status); }; }; then
104080   eval "$as_ac_var=yes"
104081 else
104082   echo "$as_me: failed program was:" >&5
104083 sed 's/^/| /' conftest.$ac_ext >&5
104084
104085 eval "$as_ac_var=no"
104086 fi
104087 rm -f conftest.err conftest.$ac_objext \
104088       conftest$ac_exeext conftest.$ac_ext
104089 fi
104090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104092 if test `eval echo '${'$as_ac_var'}'` = yes; then
104093   cat >>confdefs.h <<_ACEOF
104094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104095 _ACEOF
104096
104097 fi
104098 done
104099
104100     fi
104101   fi
104102
104103
104104
104105
104106
104107
104108   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
104109 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
104110   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
104111     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
104112   echo $ECHO_N "(cached) $ECHO_C" >&6
104113 else
104114
104115
104116
104117       ac_ext=cc
104118 ac_cpp='$CXXCPP $CPPFLAGS'
104119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104122
104123       cat >conftest.$ac_ext <<_ACEOF
104124 /* confdefs.h.  */
104125 _ACEOF
104126 cat confdefs.h >>conftest.$ac_ext
104127 cat >>conftest.$ac_ext <<_ACEOF
104128 /* end confdefs.h.  */
104129 #include <math.h>
104130                       #ifdef HAVE_IEEEFP_H
104131                       #include <ieeefp.h>
104132                       #endif
104133
104134 int
104135 main ()
104136 {
104137  sqrtl(0);
104138   ;
104139   return 0;
104140 }
104141 _ACEOF
104142 rm -f conftest.$ac_objext
104143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104144   (eval $ac_compile) 2>conftest.er1
104145   ac_status=$?
104146   grep -v '^ *+' conftest.er1 >conftest.err
104147   rm -f conftest.er1
104148   cat conftest.err >&5
104149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104150   (exit $ac_status); } &&
104151          { ac_try='test -z "$ac_cxx_werror_flag"
104152                          || test ! -s conftest.err'
104153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104154   (eval $ac_try) 2>&5
104155   ac_status=$?
104156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104157   (exit $ac_status); }; } &&
104158          { ac_try='test -s conftest.$ac_objext'
104159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104160   (eval $ac_try) 2>&5
104161   ac_status=$?
104162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104163   (exit $ac_status); }; }; then
104164   glibcxx_cv_func_sqrtl_use=yes
104165 else
104166   echo "$as_me: failed program was:" >&5
104167 sed 's/^/| /' conftest.$ac_ext >&5
104168
104169 glibcxx_cv_func_sqrtl_use=no
104170 fi
104171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104172       ac_ext=c
104173 ac_cpp='$CPP $CPPFLAGS'
104174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104177
104178
104179 fi
104180
104181   fi
104182   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
104183 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
104184
104185   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
104186
104187 for ac_func in sqrtl
104188 do
104189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104190 echo "$as_me:$LINENO: checking for $ac_func" >&5
104191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104192 if eval "test \"\${$as_ac_var+set}\" = set"; then
104193   echo $ECHO_N "(cached) $ECHO_C" >&6
104194 else
104195   if test x$gcc_no_link = xyes; then
104196   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104198    { (exit 1); exit 1; }; }
104199 fi
104200 cat >conftest.$ac_ext <<_ACEOF
104201 /* confdefs.h.  */
104202 _ACEOF
104203 cat confdefs.h >>conftest.$ac_ext
104204 cat >>conftest.$ac_ext <<_ACEOF
104205 /* end confdefs.h.  */
104206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104207    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104208 #define $ac_func innocuous_$ac_func
104209
104210 /* System header to define __stub macros and hopefully few prototypes,
104211     which can conflict with char $ac_func (); below.
104212     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104213     <limits.h> exists even on freestanding compilers.  */
104214
104215 #ifdef __STDC__
104216 # include <limits.h>
104217 #else
104218 # include <assert.h>
104219 #endif
104220
104221 #undef $ac_func
104222
104223 /* Override any gcc2 internal prototype to avoid an error.  */
104224 #ifdef __cplusplus
104225 extern "C"
104226 {
104227 #endif
104228 /* We use char because int might match the return type of a gcc2
104229    builtin and then its argument prototype would still apply.  */
104230 char $ac_func ();
104231 /* The GNU C library defines this for functions which it implements
104232     to always fail with ENOSYS.  Some functions are actually named
104233     something starting with __ and the normal name is an alias.  */
104234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104235 choke me
104236 #else
104237 char (*f) () = $ac_func;
104238 #endif
104239 #ifdef __cplusplus
104240 }
104241 #endif
104242
104243 int
104244 main ()
104245 {
104246 return f != $ac_func;
104247   ;
104248   return 0;
104249 }
104250 _ACEOF
104251 rm -f conftest.$ac_objext conftest$ac_exeext
104252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104253   (eval $ac_link) 2>conftest.er1
104254   ac_status=$?
104255   grep -v '^ *+' conftest.er1 >conftest.err
104256   rm -f conftest.er1
104257   cat conftest.err >&5
104258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104259   (exit $ac_status); } &&
104260          { ac_try='test -z "$ac_c_werror_flag"
104261                          || test ! -s conftest.err'
104262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104263   (eval $ac_try) 2>&5
104264   ac_status=$?
104265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104266   (exit $ac_status); }; } &&
104267          { ac_try='test -s conftest$ac_exeext'
104268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104269   (eval $ac_try) 2>&5
104270   ac_status=$?
104271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104272   (exit $ac_status); }; }; then
104273   eval "$as_ac_var=yes"
104274 else
104275   echo "$as_me: failed program was:" >&5
104276 sed 's/^/| /' conftest.$ac_ext >&5
104277
104278 eval "$as_ac_var=no"
104279 fi
104280 rm -f conftest.err conftest.$ac_objext \
104281       conftest$ac_exeext conftest.$ac_ext
104282 fi
104283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104285 if test `eval echo '${'$as_ac_var'}'` = yes; then
104286   cat >>confdefs.h <<_ACEOF
104287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104288 _ACEOF
104289
104290 fi
104291 done
104292
104293   else
104294
104295   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
104296 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
104297   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
104298     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
104299   echo $ECHO_N "(cached) $ECHO_C" >&6
104300 else
104301
104302
104303
104304       ac_ext=cc
104305 ac_cpp='$CXXCPP $CPPFLAGS'
104306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104309
104310       cat >conftest.$ac_ext <<_ACEOF
104311 /* confdefs.h.  */
104312 _ACEOF
104313 cat confdefs.h >>conftest.$ac_ext
104314 cat >>conftest.$ac_ext <<_ACEOF
104315 /* end confdefs.h.  */
104316 #include <math.h>
104317                       #ifdef HAVE_IEEEFP_H
104318                       #include <ieeefp.h>
104319                       #endif
104320
104321 int
104322 main ()
104323 {
104324  _sqrtl(0);
104325   ;
104326   return 0;
104327 }
104328 _ACEOF
104329 rm -f conftest.$ac_objext
104330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104331   (eval $ac_compile) 2>conftest.er1
104332   ac_status=$?
104333   grep -v '^ *+' conftest.er1 >conftest.err
104334   rm -f conftest.er1
104335   cat conftest.err >&5
104336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104337   (exit $ac_status); } &&
104338          { ac_try='test -z "$ac_cxx_werror_flag"
104339                          || test ! -s conftest.err'
104340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104341   (eval $ac_try) 2>&5
104342   ac_status=$?
104343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104344   (exit $ac_status); }; } &&
104345          { ac_try='test -s conftest.$ac_objext'
104346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104347   (eval $ac_try) 2>&5
104348   ac_status=$?
104349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104350   (exit $ac_status); }; }; then
104351   glibcxx_cv_func__sqrtl_use=yes
104352 else
104353   echo "$as_me: failed program was:" >&5
104354 sed 's/^/| /' conftest.$ac_ext >&5
104355
104356 glibcxx_cv_func__sqrtl_use=no
104357 fi
104358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104359       ac_ext=c
104360 ac_cpp='$CPP $CPPFLAGS'
104361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104364
104365
104366 fi
104367
104368   fi
104369   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
104370 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
104371
104372     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
104373
104374 for ac_func in _sqrtl
104375 do
104376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104377 echo "$as_me:$LINENO: checking for $ac_func" >&5
104378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104379 if eval "test \"\${$as_ac_var+set}\" = set"; then
104380   echo $ECHO_N "(cached) $ECHO_C" >&6
104381 else
104382   if test x$gcc_no_link = xyes; then
104383   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104385    { (exit 1); exit 1; }; }
104386 fi
104387 cat >conftest.$ac_ext <<_ACEOF
104388 /* confdefs.h.  */
104389 _ACEOF
104390 cat confdefs.h >>conftest.$ac_ext
104391 cat >>conftest.$ac_ext <<_ACEOF
104392 /* end confdefs.h.  */
104393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104394    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104395 #define $ac_func innocuous_$ac_func
104396
104397 /* System header to define __stub macros and hopefully few prototypes,
104398     which can conflict with char $ac_func (); below.
104399     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104400     <limits.h> exists even on freestanding compilers.  */
104401
104402 #ifdef __STDC__
104403 # include <limits.h>
104404 #else
104405 # include <assert.h>
104406 #endif
104407
104408 #undef $ac_func
104409
104410 /* Override any gcc2 internal prototype to avoid an error.  */
104411 #ifdef __cplusplus
104412 extern "C"
104413 {
104414 #endif
104415 /* We use char because int might match the return type of a gcc2
104416    builtin and then its argument prototype would still apply.  */
104417 char $ac_func ();
104418 /* The GNU C library defines this for functions which it implements
104419     to always fail with ENOSYS.  Some functions are actually named
104420     something starting with __ and the normal name is an alias.  */
104421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104422 choke me
104423 #else
104424 char (*f) () = $ac_func;
104425 #endif
104426 #ifdef __cplusplus
104427 }
104428 #endif
104429
104430 int
104431 main ()
104432 {
104433 return f != $ac_func;
104434   ;
104435   return 0;
104436 }
104437 _ACEOF
104438 rm -f conftest.$ac_objext conftest$ac_exeext
104439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104440   (eval $ac_link) 2>conftest.er1
104441   ac_status=$?
104442   grep -v '^ *+' conftest.er1 >conftest.err
104443   rm -f conftest.er1
104444   cat conftest.err >&5
104445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104446   (exit $ac_status); } &&
104447          { ac_try='test -z "$ac_c_werror_flag"
104448                          || test ! -s conftest.err'
104449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104450   (eval $ac_try) 2>&5
104451   ac_status=$?
104452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104453   (exit $ac_status); }; } &&
104454          { ac_try='test -s conftest$ac_exeext'
104455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104456   (eval $ac_try) 2>&5
104457   ac_status=$?
104458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104459   (exit $ac_status); }; }; then
104460   eval "$as_ac_var=yes"
104461 else
104462   echo "$as_me: failed program was:" >&5
104463 sed 's/^/| /' conftest.$ac_ext >&5
104464
104465 eval "$as_ac_var=no"
104466 fi
104467 rm -f conftest.err conftest.$ac_objext \
104468       conftest$ac_exeext conftest.$ac_ext
104469 fi
104470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104472 if test `eval echo '${'$as_ac_var'}'` = yes; then
104473   cat >>confdefs.h <<_ACEOF
104474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104475 _ACEOF
104476
104477 fi
104478 done
104479
104480     fi
104481   fi
104482
104483
104484
104485
104486
104487
104488   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
104489 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
104490   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
104491     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
104492   echo $ECHO_N "(cached) $ECHO_C" >&6
104493 else
104494
104495
104496
104497       ac_ext=cc
104498 ac_cpp='$CXXCPP $CPPFLAGS'
104499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104502
104503       cat >conftest.$ac_ext <<_ACEOF
104504 /* confdefs.h.  */
104505 _ACEOF
104506 cat confdefs.h >>conftest.$ac_ext
104507 cat >>conftest.$ac_ext <<_ACEOF
104508 /* end confdefs.h.  */
104509 #include <math.h>
104510 int
104511 main ()
104512 {
104513  sincosl(0, 0, 0);
104514   ;
104515   return 0;
104516 }
104517 _ACEOF
104518 rm -f conftest.$ac_objext
104519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104520   (eval $ac_compile) 2>conftest.er1
104521   ac_status=$?
104522   grep -v '^ *+' conftest.er1 >conftest.err
104523   rm -f conftest.er1
104524   cat conftest.err >&5
104525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104526   (exit $ac_status); } &&
104527          { ac_try='test -z "$ac_cxx_werror_flag"
104528                          || test ! -s conftest.err'
104529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104530   (eval $ac_try) 2>&5
104531   ac_status=$?
104532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104533   (exit $ac_status); }; } &&
104534          { ac_try='test -s conftest.$ac_objext'
104535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104536   (eval $ac_try) 2>&5
104537   ac_status=$?
104538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104539   (exit $ac_status); }; }; then
104540   glibcxx_cv_func_sincosl_use=yes
104541 else
104542   echo "$as_me: failed program was:" >&5
104543 sed 's/^/| /' conftest.$ac_ext >&5
104544
104545 glibcxx_cv_func_sincosl_use=no
104546 fi
104547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104548       ac_ext=c
104549 ac_cpp='$CPP $CPPFLAGS'
104550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104553
104554
104555 fi
104556
104557   fi
104558   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
104559 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
104560
104561   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
104562
104563 for ac_func in sincosl
104564 do
104565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104566 echo "$as_me:$LINENO: checking for $ac_func" >&5
104567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104568 if eval "test \"\${$as_ac_var+set}\" = set"; then
104569   echo $ECHO_N "(cached) $ECHO_C" >&6
104570 else
104571   if test x$gcc_no_link = xyes; then
104572   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104574    { (exit 1); exit 1; }; }
104575 fi
104576 cat >conftest.$ac_ext <<_ACEOF
104577 /* confdefs.h.  */
104578 _ACEOF
104579 cat confdefs.h >>conftest.$ac_ext
104580 cat >>conftest.$ac_ext <<_ACEOF
104581 /* end confdefs.h.  */
104582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104583    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104584 #define $ac_func innocuous_$ac_func
104585
104586 /* System header to define __stub macros and hopefully few prototypes,
104587     which can conflict with char $ac_func (); below.
104588     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104589     <limits.h> exists even on freestanding compilers.  */
104590
104591 #ifdef __STDC__
104592 # include <limits.h>
104593 #else
104594 # include <assert.h>
104595 #endif
104596
104597 #undef $ac_func
104598
104599 /* Override any gcc2 internal prototype to avoid an error.  */
104600 #ifdef __cplusplus
104601 extern "C"
104602 {
104603 #endif
104604 /* We use char because int might match the return type of a gcc2
104605    builtin and then its argument prototype would still apply.  */
104606 char $ac_func ();
104607 /* The GNU C library defines this for functions which it implements
104608     to always fail with ENOSYS.  Some functions are actually named
104609     something starting with __ and the normal name is an alias.  */
104610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104611 choke me
104612 #else
104613 char (*f) () = $ac_func;
104614 #endif
104615 #ifdef __cplusplus
104616 }
104617 #endif
104618
104619 int
104620 main ()
104621 {
104622 return f != $ac_func;
104623   ;
104624   return 0;
104625 }
104626 _ACEOF
104627 rm -f conftest.$ac_objext conftest$ac_exeext
104628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104629   (eval $ac_link) 2>conftest.er1
104630   ac_status=$?
104631   grep -v '^ *+' conftest.er1 >conftest.err
104632   rm -f conftest.er1
104633   cat conftest.err >&5
104634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104635   (exit $ac_status); } &&
104636          { ac_try='test -z "$ac_c_werror_flag"
104637                          || test ! -s conftest.err'
104638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104639   (eval $ac_try) 2>&5
104640   ac_status=$?
104641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104642   (exit $ac_status); }; } &&
104643          { ac_try='test -s conftest$ac_exeext'
104644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104645   (eval $ac_try) 2>&5
104646   ac_status=$?
104647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104648   (exit $ac_status); }; }; then
104649   eval "$as_ac_var=yes"
104650 else
104651   echo "$as_me: failed program was:" >&5
104652 sed 's/^/| /' conftest.$ac_ext >&5
104653
104654 eval "$as_ac_var=no"
104655 fi
104656 rm -f conftest.err conftest.$ac_objext \
104657       conftest$ac_exeext conftest.$ac_ext
104658 fi
104659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104661 if test `eval echo '${'$as_ac_var'}'` = yes; then
104662   cat >>confdefs.h <<_ACEOF
104663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104664 _ACEOF
104665
104666 fi
104667 done
104668
104669   else
104670
104671   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
104672 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
104673   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
104674     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
104675   echo $ECHO_N "(cached) $ECHO_C" >&6
104676 else
104677
104678
104679
104680       ac_ext=cc
104681 ac_cpp='$CXXCPP $CPPFLAGS'
104682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104685
104686       cat >conftest.$ac_ext <<_ACEOF
104687 /* confdefs.h.  */
104688 _ACEOF
104689 cat confdefs.h >>conftest.$ac_ext
104690 cat >>conftest.$ac_ext <<_ACEOF
104691 /* end confdefs.h.  */
104692 #include <math.h>
104693 int
104694 main ()
104695 {
104696  _sincosl(0, 0, 0);
104697   ;
104698   return 0;
104699 }
104700 _ACEOF
104701 rm -f conftest.$ac_objext
104702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104703   (eval $ac_compile) 2>conftest.er1
104704   ac_status=$?
104705   grep -v '^ *+' conftest.er1 >conftest.err
104706   rm -f conftest.er1
104707   cat conftest.err >&5
104708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104709   (exit $ac_status); } &&
104710          { ac_try='test -z "$ac_cxx_werror_flag"
104711                          || test ! -s conftest.err'
104712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104713   (eval $ac_try) 2>&5
104714   ac_status=$?
104715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104716   (exit $ac_status); }; } &&
104717          { ac_try='test -s conftest.$ac_objext'
104718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104719   (eval $ac_try) 2>&5
104720   ac_status=$?
104721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104722   (exit $ac_status); }; }; then
104723   glibcxx_cv_func__sincosl_use=yes
104724 else
104725   echo "$as_me: failed program was:" >&5
104726 sed 's/^/| /' conftest.$ac_ext >&5
104727
104728 glibcxx_cv_func__sincosl_use=no
104729 fi
104730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104731       ac_ext=c
104732 ac_cpp='$CPP $CPPFLAGS'
104733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104736
104737
104738 fi
104739
104740   fi
104741   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
104742 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
104743
104744     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
104745
104746 for ac_func in _sincosl
104747 do
104748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104749 echo "$as_me:$LINENO: checking for $ac_func" >&5
104750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104751 if eval "test \"\${$as_ac_var+set}\" = set"; then
104752   echo $ECHO_N "(cached) $ECHO_C" >&6
104753 else
104754   if test x$gcc_no_link = xyes; then
104755   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104757    { (exit 1); exit 1; }; }
104758 fi
104759 cat >conftest.$ac_ext <<_ACEOF
104760 /* confdefs.h.  */
104761 _ACEOF
104762 cat confdefs.h >>conftest.$ac_ext
104763 cat >>conftest.$ac_ext <<_ACEOF
104764 /* end confdefs.h.  */
104765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104766    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104767 #define $ac_func innocuous_$ac_func
104768
104769 /* System header to define __stub macros and hopefully few prototypes,
104770     which can conflict with char $ac_func (); below.
104771     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104772     <limits.h> exists even on freestanding compilers.  */
104773
104774 #ifdef __STDC__
104775 # include <limits.h>
104776 #else
104777 # include <assert.h>
104778 #endif
104779
104780 #undef $ac_func
104781
104782 /* Override any gcc2 internal prototype to avoid an error.  */
104783 #ifdef __cplusplus
104784 extern "C"
104785 {
104786 #endif
104787 /* We use char because int might match the return type of a gcc2
104788    builtin and then its argument prototype would still apply.  */
104789 char $ac_func ();
104790 /* The GNU C library defines this for functions which it implements
104791     to always fail with ENOSYS.  Some functions are actually named
104792     something starting with __ and the normal name is an alias.  */
104793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104794 choke me
104795 #else
104796 char (*f) () = $ac_func;
104797 #endif
104798 #ifdef __cplusplus
104799 }
104800 #endif
104801
104802 int
104803 main ()
104804 {
104805 return f != $ac_func;
104806   ;
104807   return 0;
104808 }
104809 _ACEOF
104810 rm -f conftest.$ac_objext conftest$ac_exeext
104811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104812   (eval $ac_link) 2>conftest.er1
104813   ac_status=$?
104814   grep -v '^ *+' conftest.er1 >conftest.err
104815   rm -f conftest.er1
104816   cat conftest.err >&5
104817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104818   (exit $ac_status); } &&
104819          { ac_try='test -z "$ac_c_werror_flag"
104820                          || test ! -s conftest.err'
104821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104822   (eval $ac_try) 2>&5
104823   ac_status=$?
104824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104825   (exit $ac_status); }; } &&
104826          { ac_try='test -s conftest$ac_exeext'
104827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104828   (eval $ac_try) 2>&5
104829   ac_status=$?
104830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104831   (exit $ac_status); }; }; then
104832   eval "$as_ac_var=yes"
104833 else
104834   echo "$as_me: failed program was:" >&5
104835 sed 's/^/| /' conftest.$ac_ext >&5
104836
104837 eval "$as_ac_var=no"
104838 fi
104839 rm -f conftest.err conftest.$ac_objext \
104840       conftest$ac_exeext conftest.$ac_ext
104841 fi
104842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104844 if test `eval echo '${'$as_ac_var'}'` = yes; then
104845   cat >>confdefs.h <<_ACEOF
104846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104847 _ACEOF
104848
104849 fi
104850 done
104851
104852     fi
104853   fi
104854
104855
104856
104857
104858
104859
104860   echo "$as_me:$LINENO: checking for finitel declaration" >&5
104861 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
104862   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
104863     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
104864   echo $ECHO_N "(cached) $ECHO_C" >&6
104865 else
104866
104867
104868
104869       ac_ext=cc
104870 ac_cpp='$CXXCPP $CPPFLAGS'
104871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104874
104875       cat >conftest.$ac_ext <<_ACEOF
104876 /* confdefs.h.  */
104877 _ACEOF
104878 cat confdefs.h >>conftest.$ac_ext
104879 cat >>conftest.$ac_ext <<_ACEOF
104880 /* end confdefs.h.  */
104881 #include <math.h>
104882                       #ifdef HAVE_IEEEFP_H
104883                       #include <ieeefp.h>
104884                       #endif
104885
104886 int
104887 main ()
104888 {
104889  finitel(0);
104890   ;
104891   return 0;
104892 }
104893 _ACEOF
104894 rm -f conftest.$ac_objext
104895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104896   (eval $ac_compile) 2>conftest.er1
104897   ac_status=$?
104898   grep -v '^ *+' conftest.er1 >conftest.err
104899   rm -f conftest.er1
104900   cat conftest.err >&5
104901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104902   (exit $ac_status); } &&
104903          { ac_try='test -z "$ac_cxx_werror_flag"
104904                          || test ! -s conftest.err'
104905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104906   (eval $ac_try) 2>&5
104907   ac_status=$?
104908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104909   (exit $ac_status); }; } &&
104910          { ac_try='test -s conftest.$ac_objext'
104911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104912   (eval $ac_try) 2>&5
104913   ac_status=$?
104914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104915   (exit $ac_status); }; }; then
104916   glibcxx_cv_func_finitel_use=yes
104917 else
104918   echo "$as_me: failed program was:" >&5
104919 sed 's/^/| /' conftest.$ac_ext >&5
104920
104921 glibcxx_cv_func_finitel_use=no
104922 fi
104923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104924       ac_ext=c
104925 ac_cpp='$CPP $CPPFLAGS'
104926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104929
104930
104931 fi
104932
104933   fi
104934   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
104935 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
104936
104937   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
104938
104939 for ac_func in finitel
104940 do
104941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104942 echo "$as_me:$LINENO: checking for $ac_func" >&5
104943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104944 if eval "test \"\${$as_ac_var+set}\" = set"; then
104945   echo $ECHO_N "(cached) $ECHO_C" >&6
104946 else
104947   if test x$gcc_no_link = xyes; then
104948   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104950    { (exit 1); exit 1; }; }
104951 fi
104952 cat >conftest.$ac_ext <<_ACEOF
104953 /* confdefs.h.  */
104954 _ACEOF
104955 cat confdefs.h >>conftest.$ac_ext
104956 cat >>conftest.$ac_ext <<_ACEOF
104957 /* end confdefs.h.  */
104958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104959    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104960 #define $ac_func innocuous_$ac_func
104961
104962 /* System header to define __stub macros and hopefully few prototypes,
104963     which can conflict with char $ac_func (); below.
104964     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104965     <limits.h> exists even on freestanding compilers.  */
104966
104967 #ifdef __STDC__
104968 # include <limits.h>
104969 #else
104970 # include <assert.h>
104971 #endif
104972
104973 #undef $ac_func
104974
104975 /* Override any gcc2 internal prototype to avoid an error.  */
104976 #ifdef __cplusplus
104977 extern "C"
104978 {
104979 #endif
104980 /* We use char because int might match the return type of a gcc2
104981    builtin and then its argument prototype would still apply.  */
104982 char $ac_func ();
104983 /* The GNU C library defines this for functions which it implements
104984     to always fail with ENOSYS.  Some functions are actually named
104985     something starting with __ and the normal name is an alias.  */
104986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104987 choke me
104988 #else
104989 char (*f) () = $ac_func;
104990 #endif
104991 #ifdef __cplusplus
104992 }
104993 #endif
104994
104995 int
104996 main ()
104997 {
104998 return f != $ac_func;
104999   ;
105000   return 0;
105001 }
105002 _ACEOF
105003 rm -f conftest.$ac_objext conftest$ac_exeext
105004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105005   (eval $ac_link) 2>conftest.er1
105006   ac_status=$?
105007   grep -v '^ *+' conftest.er1 >conftest.err
105008   rm -f conftest.er1
105009   cat conftest.err >&5
105010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105011   (exit $ac_status); } &&
105012          { ac_try='test -z "$ac_c_werror_flag"
105013                          || test ! -s conftest.err'
105014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105015   (eval $ac_try) 2>&5
105016   ac_status=$?
105017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105018   (exit $ac_status); }; } &&
105019          { ac_try='test -s conftest$ac_exeext'
105020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105021   (eval $ac_try) 2>&5
105022   ac_status=$?
105023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105024   (exit $ac_status); }; }; then
105025   eval "$as_ac_var=yes"
105026 else
105027   echo "$as_me: failed program was:" >&5
105028 sed 's/^/| /' conftest.$ac_ext >&5
105029
105030 eval "$as_ac_var=no"
105031 fi
105032 rm -f conftest.err conftest.$ac_objext \
105033       conftest$ac_exeext conftest.$ac_ext
105034 fi
105035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105037 if test `eval echo '${'$as_ac_var'}'` = yes; then
105038   cat >>confdefs.h <<_ACEOF
105039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105040 _ACEOF
105041
105042 fi
105043 done
105044
105045   else
105046
105047   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
105048 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
105049   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
105050     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
105051   echo $ECHO_N "(cached) $ECHO_C" >&6
105052 else
105053
105054
105055
105056       ac_ext=cc
105057 ac_cpp='$CXXCPP $CPPFLAGS'
105058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105061
105062       cat >conftest.$ac_ext <<_ACEOF
105063 /* confdefs.h.  */
105064 _ACEOF
105065 cat confdefs.h >>conftest.$ac_ext
105066 cat >>conftest.$ac_ext <<_ACEOF
105067 /* end confdefs.h.  */
105068 #include <math.h>
105069                       #ifdef HAVE_IEEEFP_H
105070                       #include <ieeefp.h>
105071                       #endif
105072
105073 int
105074 main ()
105075 {
105076  _finitel(0);
105077   ;
105078   return 0;
105079 }
105080 _ACEOF
105081 rm -f conftest.$ac_objext
105082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105083   (eval $ac_compile) 2>conftest.er1
105084   ac_status=$?
105085   grep -v '^ *+' conftest.er1 >conftest.err
105086   rm -f conftest.er1
105087   cat conftest.err >&5
105088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105089   (exit $ac_status); } &&
105090          { ac_try='test -z "$ac_cxx_werror_flag"
105091                          || test ! -s conftest.err'
105092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105093   (eval $ac_try) 2>&5
105094   ac_status=$?
105095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105096   (exit $ac_status); }; } &&
105097          { ac_try='test -s conftest.$ac_objext'
105098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105099   (eval $ac_try) 2>&5
105100   ac_status=$?
105101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105102   (exit $ac_status); }; }; then
105103   glibcxx_cv_func__finitel_use=yes
105104 else
105105   echo "$as_me: failed program was:" >&5
105106 sed 's/^/| /' conftest.$ac_ext >&5
105107
105108 glibcxx_cv_func__finitel_use=no
105109 fi
105110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105111       ac_ext=c
105112 ac_cpp='$CPP $CPPFLAGS'
105113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105116
105117
105118 fi
105119
105120   fi
105121   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
105122 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
105123
105124     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
105125
105126 for ac_func in _finitel
105127 do
105128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105129 echo "$as_me:$LINENO: checking for $ac_func" >&5
105130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105131 if eval "test \"\${$as_ac_var+set}\" = set"; then
105132   echo $ECHO_N "(cached) $ECHO_C" >&6
105133 else
105134   if test x$gcc_no_link = xyes; then
105135   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105137    { (exit 1); exit 1; }; }
105138 fi
105139 cat >conftest.$ac_ext <<_ACEOF
105140 /* confdefs.h.  */
105141 _ACEOF
105142 cat confdefs.h >>conftest.$ac_ext
105143 cat >>conftest.$ac_ext <<_ACEOF
105144 /* end confdefs.h.  */
105145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105146    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105147 #define $ac_func innocuous_$ac_func
105148
105149 /* System header to define __stub macros and hopefully few prototypes,
105150     which can conflict with char $ac_func (); below.
105151     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105152     <limits.h> exists even on freestanding compilers.  */
105153
105154 #ifdef __STDC__
105155 # include <limits.h>
105156 #else
105157 # include <assert.h>
105158 #endif
105159
105160 #undef $ac_func
105161
105162 /* Override any gcc2 internal prototype to avoid an error.  */
105163 #ifdef __cplusplus
105164 extern "C"
105165 {
105166 #endif
105167 /* We use char because int might match the return type of a gcc2
105168    builtin and then its argument prototype would still apply.  */
105169 char $ac_func ();
105170 /* The GNU C library defines this for functions which it implements
105171     to always fail with ENOSYS.  Some functions are actually named
105172     something starting with __ and the normal name is an alias.  */
105173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105174 choke me
105175 #else
105176 char (*f) () = $ac_func;
105177 #endif
105178 #ifdef __cplusplus
105179 }
105180 #endif
105181
105182 int
105183 main ()
105184 {
105185 return f != $ac_func;
105186   ;
105187   return 0;
105188 }
105189 _ACEOF
105190 rm -f conftest.$ac_objext conftest$ac_exeext
105191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105192   (eval $ac_link) 2>conftest.er1
105193   ac_status=$?
105194   grep -v '^ *+' conftest.er1 >conftest.err
105195   rm -f conftest.er1
105196   cat conftest.err >&5
105197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105198   (exit $ac_status); } &&
105199          { ac_try='test -z "$ac_c_werror_flag"
105200                          || test ! -s conftest.err'
105201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105202   (eval $ac_try) 2>&5
105203   ac_status=$?
105204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105205   (exit $ac_status); }; } &&
105206          { ac_try='test -s conftest$ac_exeext'
105207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105208   (eval $ac_try) 2>&5
105209   ac_status=$?
105210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105211   (exit $ac_status); }; }; then
105212   eval "$as_ac_var=yes"
105213 else
105214   echo "$as_me: failed program was:" >&5
105215 sed 's/^/| /' conftest.$ac_ext >&5
105216
105217 eval "$as_ac_var=no"
105218 fi
105219 rm -f conftest.err conftest.$ac_objext \
105220       conftest$ac_exeext conftest.$ac_ext
105221 fi
105222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105224 if test `eval echo '${'$as_ac_var'}'` = yes; then
105225   cat >>confdefs.h <<_ACEOF
105226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105227 _ACEOF
105228
105229 fi
105230 done
105231
105232     fi
105233   fi
105234
105235
105236
105237
105238
105239   LIBS="$ac_save_LIBS"
105240   CXXFLAGS="$ac_save_CXXFLAGS"
105241
105242
105243
105244   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
105245 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
105246   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
105247     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
105248   echo $ECHO_N "(cached) $ECHO_C" >&6
105249 else
105250
105251
105252
105253       ac_ext=cc
105254 ac_cpp='$CXXCPP $CPPFLAGS'
105255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105258
105259       cat >conftest.$ac_ext <<_ACEOF
105260 /* confdefs.h.  */
105261 _ACEOF
105262 cat confdefs.h >>conftest.$ac_ext
105263 cat >>conftest.$ac_ext <<_ACEOF
105264 /* end confdefs.h.  */
105265 #include <math.h>
105266 int
105267 main ()
105268 {
105269  __builtin_abs(0);
105270   ;
105271   return 0;
105272 }
105273 _ACEOF
105274 rm -f conftest.$ac_objext
105275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105276   (eval $ac_compile) 2>conftest.er1
105277   ac_status=$?
105278   grep -v '^ *+' conftest.er1 >conftest.err
105279   rm -f conftest.er1
105280   cat conftest.err >&5
105281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105282   (exit $ac_status); } &&
105283          { ac_try='test -z "$ac_cxx_werror_flag"
105284                          || test ! -s conftest.err'
105285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105286   (eval $ac_try) 2>&5
105287   ac_status=$?
105288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105289   (exit $ac_status); }; } &&
105290          { ac_try='test -s conftest.$ac_objext'
105291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105292   (eval $ac_try) 2>&5
105293   ac_status=$?
105294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105295   (exit $ac_status); }; }; then
105296   glibcxx_cv_func___builtin_abs_use=yes
105297 else
105298   echo "$as_me: failed program was:" >&5
105299 sed 's/^/| /' conftest.$ac_ext >&5
105300
105301 glibcxx_cv_func___builtin_abs_use=no
105302 fi
105303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105304       ac_ext=c
105305 ac_cpp='$CPP $CPPFLAGS'
105306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105309
105310
105311 fi
105312
105313   fi
105314   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
105315 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
105316   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
105317     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
105318 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
105319     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
105320       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
105321   echo $ECHO_N "(cached) $ECHO_C" >&6
105322 else
105323
105324         if test x$gcc_no_link = xyes; then
105325   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105327    { (exit 1); exit 1; }; }
105328 fi
105329 cat >conftest.$ac_ext <<_ACEOF
105330 /* confdefs.h.  */
105331 _ACEOF
105332 cat confdefs.h >>conftest.$ac_ext
105333 cat >>conftest.$ac_ext <<_ACEOF
105334 /* end confdefs.h.  */
105335 #include <math.h>
105336 int
105337 main ()
105338 {
105339  __builtin_abs(0);
105340   ;
105341   return 0;
105342 }
105343 _ACEOF
105344 rm -f conftest.$ac_objext conftest$ac_exeext
105345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105346   (eval $ac_link) 2>conftest.er1
105347   ac_status=$?
105348   grep -v '^ *+' conftest.er1 >conftest.err
105349   rm -f conftest.er1
105350   cat conftest.err >&5
105351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105352   (exit $ac_status); } &&
105353          { ac_try='test -z "$ac_c_werror_flag"
105354                          || test ! -s conftest.err'
105355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105356   (eval $ac_try) 2>&5
105357   ac_status=$?
105358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105359   (exit $ac_status); }; } &&
105360          { ac_try='test -s conftest$ac_exeext'
105361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105362   (eval $ac_try) 2>&5
105363   ac_status=$?
105364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105365   (exit $ac_status); }; }; then
105366   glibcxx_cv_func___builtin_abs_link=yes
105367 else
105368   echo "$as_me: failed program was:" >&5
105369 sed 's/^/| /' conftest.$ac_ext >&5
105370
105371 glibcxx_cv_func___builtin_abs_link=no
105372 fi
105373 rm -f conftest.err conftest.$ac_objext \
105374       conftest$ac_exeext conftest.$ac_ext
105375
105376 fi
105377
105378     fi
105379     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
105380 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
105381
105382     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
105383
105384 cat >>confdefs.h <<\_ACEOF
105385 #define HAVE___BUILTIN_ABS 1
105386 _ACEOF
105387
105388     fi
105389
105390   fi
105391
105392
105393   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
105394 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
105395   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
105396     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
105397   echo $ECHO_N "(cached) $ECHO_C" >&6
105398 else
105399
105400
105401
105402       ac_ext=cc
105403 ac_cpp='$CXXCPP $CPPFLAGS'
105404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105407
105408       cat >conftest.$ac_ext <<_ACEOF
105409 /* confdefs.h.  */
105410 _ACEOF
105411 cat confdefs.h >>conftest.$ac_ext
105412 cat >>conftest.$ac_ext <<_ACEOF
105413 /* end confdefs.h.  */
105414 #include <math.h>
105415 int
105416 main ()
105417 {
105418  __builtin_fabsf(0);
105419   ;
105420   return 0;
105421 }
105422 _ACEOF
105423 rm -f conftest.$ac_objext
105424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105425   (eval $ac_compile) 2>conftest.er1
105426   ac_status=$?
105427   grep -v '^ *+' conftest.er1 >conftest.err
105428   rm -f conftest.er1
105429   cat conftest.err >&5
105430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105431   (exit $ac_status); } &&
105432          { ac_try='test -z "$ac_cxx_werror_flag"
105433                          || test ! -s conftest.err'
105434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105435   (eval $ac_try) 2>&5
105436   ac_status=$?
105437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105438   (exit $ac_status); }; } &&
105439          { ac_try='test -s conftest.$ac_objext'
105440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105441   (eval $ac_try) 2>&5
105442   ac_status=$?
105443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105444   (exit $ac_status); }; }; then
105445   glibcxx_cv_func___builtin_fabsf_use=yes
105446 else
105447   echo "$as_me: failed program was:" >&5
105448 sed 's/^/| /' conftest.$ac_ext >&5
105449
105450 glibcxx_cv_func___builtin_fabsf_use=no
105451 fi
105452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105453       ac_ext=c
105454 ac_cpp='$CPP $CPPFLAGS'
105455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105458
105459
105460 fi
105461
105462   fi
105463   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
105464 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
105465   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
105466     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
105467 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
105468     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
105469       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
105470   echo $ECHO_N "(cached) $ECHO_C" >&6
105471 else
105472
105473         if test x$gcc_no_link = xyes; then
105474   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105476    { (exit 1); exit 1; }; }
105477 fi
105478 cat >conftest.$ac_ext <<_ACEOF
105479 /* confdefs.h.  */
105480 _ACEOF
105481 cat confdefs.h >>conftest.$ac_ext
105482 cat >>conftest.$ac_ext <<_ACEOF
105483 /* end confdefs.h.  */
105484 #include <math.h>
105485 int
105486 main ()
105487 {
105488  __builtin_fabsf(0);
105489   ;
105490   return 0;
105491 }
105492 _ACEOF
105493 rm -f conftest.$ac_objext conftest$ac_exeext
105494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105495   (eval $ac_link) 2>conftest.er1
105496   ac_status=$?
105497   grep -v '^ *+' conftest.er1 >conftest.err
105498   rm -f conftest.er1
105499   cat conftest.err >&5
105500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105501   (exit $ac_status); } &&
105502          { ac_try='test -z "$ac_c_werror_flag"
105503                          || test ! -s conftest.err'
105504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105505   (eval $ac_try) 2>&5
105506   ac_status=$?
105507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105508   (exit $ac_status); }; } &&
105509          { ac_try='test -s conftest$ac_exeext'
105510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105511   (eval $ac_try) 2>&5
105512   ac_status=$?
105513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105514   (exit $ac_status); }; }; then
105515   glibcxx_cv_func___builtin_fabsf_link=yes
105516 else
105517   echo "$as_me: failed program was:" >&5
105518 sed 's/^/| /' conftest.$ac_ext >&5
105519
105520 glibcxx_cv_func___builtin_fabsf_link=no
105521 fi
105522 rm -f conftest.err conftest.$ac_objext \
105523       conftest$ac_exeext conftest.$ac_ext
105524
105525 fi
105526
105527     fi
105528     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
105529 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
105530
105531     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
105532
105533 cat >>confdefs.h <<\_ACEOF
105534 #define HAVE___BUILTIN_FABSF 1
105535 _ACEOF
105536
105537     fi
105538
105539   fi
105540
105541
105542   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
105543 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
105544   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
105545     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
105546   echo $ECHO_N "(cached) $ECHO_C" >&6
105547 else
105548
105549
105550
105551       ac_ext=cc
105552 ac_cpp='$CXXCPP $CPPFLAGS'
105553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105556
105557       cat >conftest.$ac_ext <<_ACEOF
105558 /* confdefs.h.  */
105559 _ACEOF
105560 cat confdefs.h >>conftest.$ac_ext
105561 cat >>conftest.$ac_ext <<_ACEOF
105562 /* end confdefs.h.  */
105563 #include <math.h>
105564 int
105565 main ()
105566 {
105567  __builtin_fabs(0);
105568   ;
105569   return 0;
105570 }
105571 _ACEOF
105572 rm -f conftest.$ac_objext
105573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105574   (eval $ac_compile) 2>conftest.er1
105575   ac_status=$?
105576   grep -v '^ *+' conftest.er1 >conftest.err
105577   rm -f conftest.er1
105578   cat conftest.err >&5
105579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105580   (exit $ac_status); } &&
105581          { ac_try='test -z "$ac_cxx_werror_flag"
105582                          || test ! -s conftest.err'
105583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105584   (eval $ac_try) 2>&5
105585   ac_status=$?
105586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105587   (exit $ac_status); }; } &&
105588          { ac_try='test -s conftest.$ac_objext'
105589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105590   (eval $ac_try) 2>&5
105591   ac_status=$?
105592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105593   (exit $ac_status); }; }; then
105594   glibcxx_cv_func___builtin_fabs_use=yes
105595 else
105596   echo "$as_me: failed program was:" >&5
105597 sed 's/^/| /' conftest.$ac_ext >&5
105598
105599 glibcxx_cv_func___builtin_fabs_use=no
105600 fi
105601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105602       ac_ext=c
105603 ac_cpp='$CPP $CPPFLAGS'
105604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105607
105608
105609 fi
105610
105611   fi
105612   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
105613 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
105614   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
105615     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
105616 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
105617     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
105618       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
105619   echo $ECHO_N "(cached) $ECHO_C" >&6
105620 else
105621
105622         if test x$gcc_no_link = xyes; then
105623   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105625    { (exit 1); exit 1; }; }
105626 fi
105627 cat >conftest.$ac_ext <<_ACEOF
105628 /* confdefs.h.  */
105629 _ACEOF
105630 cat confdefs.h >>conftest.$ac_ext
105631 cat >>conftest.$ac_ext <<_ACEOF
105632 /* end confdefs.h.  */
105633 #include <math.h>
105634 int
105635 main ()
105636 {
105637  __builtin_fabs(0);
105638   ;
105639   return 0;
105640 }
105641 _ACEOF
105642 rm -f conftest.$ac_objext conftest$ac_exeext
105643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105644   (eval $ac_link) 2>conftest.er1
105645   ac_status=$?
105646   grep -v '^ *+' conftest.er1 >conftest.err
105647   rm -f conftest.er1
105648   cat conftest.err >&5
105649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105650   (exit $ac_status); } &&
105651          { ac_try='test -z "$ac_c_werror_flag"
105652                          || test ! -s conftest.err'
105653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105654   (eval $ac_try) 2>&5
105655   ac_status=$?
105656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105657   (exit $ac_status); }; } &&
105658          { ac_try='test -s conftest$ac_exeext'
105659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105660   (eval $ac_try) 2>&5
105661   ac_status=$?
105662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105663   (exit $ac_status); }; }; then
105664   glibcxx_cv_func___builtin_fabs_link=yes
105665 else
105666   echo "$as_me: failed program was:" >&5
105667 sed 's/^/| /' conftest.$ac_ext >&5
105668
105669 glibcxx_cv_func___builtin_fabs_link=no
105670 fi
105671 rm -f conftest.err conftest.$ac_objext \
105672       conftest$ac_exeext conftest.$ac_ext
105673
105674 fi
105675
105676     fi
105677     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
105678 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
105679
105680     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
105681
105682 cat >>confdefs.h <<\_ACEOF
105683 #define HAVE___BUILTIN_FABS 1
105684 _ACEOF
105685
105686     fi
105687
105688   fi
105689
105690
105691   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
105692 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
105693   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
105694     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
105695   echo $ECHO_N "(cached) $ECHO_C" >&6
105696 else
105697
105698
105699
105700       ac_ext=cc
105701 ac_cpp='$CXXCPP $CPPFLAGS'
105702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105705
105706       cat >conftest.$ac_ext <<_ACEOF
105707 /* confdefs.h.  */
105708 _ACEOF
105709 cat confdefs.h >>conftest.$ac_ext
105710 cat >>conftest.$ac_ext <<_ACEOF
105711 /* end confdefs.h.  */
105712 #include <math.h>
105713 int
105714 main ()
105715 {
105716  __builtin_fabsl(0);
105717   ;
105718   return 0;
105719 }
105720 _ACEOF
105721 rm -f conftest.$ac_objext
105722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105723   (eval $ac_compile) 2>conftest.er1
105724   ac_status=$?
105725   grep -v '^ *+' conftest.er1 >conftest.err
105726   rm -f conftest.er1
105727   cat conftest.err >&5
105728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105729   (exit $ac_status); } &&
105730          { ac_try='test -z "$ac_cxx_werror_flag"
105731                          || test ! -s conftest.err'
105732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105733   (eval $ac_try) 2>&5
105734   ac_status=$?
105735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105736   (exit $ac_status); }; } &&
105737          { ac_try='test -s conftest.$ac_objext'
105738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105739   (eval $ac_try) 2>&5
105740   ac_status=$?
105741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105742   (exit $ac_status); }; }; then
105743   glibcxx_cv_func___builtin_fabsl_use=yes
105744 else
105745   echo "$as_me: failed program was:" >&5
105746 sed 's/^/| /' conftest.$ac_ext >&5
105747
105748 glibcxx_cv_func___builtin_fabsl_use=no
105749 fi
105750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105751       ac_ext=c
105752 ac_cpp='$CPP $CPPFLAGS'
105753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105756
105757
105758 fi
105759
105760   fi
105761   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
105762 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
105763   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
105764     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
105765 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
105766     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
105767       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
105768   echo $ECHO_N "(cached) $ECHO_C" >&6
105769 else
105770
105771         if test x$gcc_no_link = xyes; then
105772   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105774    { (exit 1); exit 1; }; }
105775 fi
105776 cat >conftest.$ac_ext <<_ACEOF
105777 /* confdefs.h.  */
105778 _ACEOF
105779 cat confdefs.h >>conftest.$ac_ext
105780 cat >>conftest.$ac_ext <<_ACEOF
105781 /* end confdefs.h.  */
105782 #include <math.h>
105783 int
105784 main ()
105785 {
105786  __builtin_fabsl(0);
105787   ;
105788   return 0;
105789 }
105790 _ACEOF
105791 rm -f conftest.$ac_objext conftest$ac_exeext
105792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105793   (eval $ac_link) 2>conftest.er1
105794   ac_status=$?
105795   grep -v '^ *+' conftest.er1 >conftest.err
105796   rm -f conftest.er1
105797   cat conftest.err >&5
105798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105799   (exit $ac_status); } &&
105800          { ac_try='test -z "$ac_c_werror_flag"
105801                          || test ! -s conftest.err'
105802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105803   (eval $ac_try) 2>&5
105804   ac_status=$?
105805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105806   (exit $ac_status); }; } &&
105807          { ac_try='test -s conftest$ac_exeext'
105808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105809   (eval $ac_try) 2>&5
105810   ac_status=$?
105811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105812   (exit $ac_status); }; }; then
105813   glibcxx_cv_func___builtin_fabsl_link=yes
105814 else
105815   echo "$as_me: failed program was:" >&5
105816 sed 's/^/| /' conftest.$ac_ext >&5
105817
105818 glibcxx_cv_func___builtin_fabsl_link=no
105819 fi
105820 rm -f conftest.err conftest.$ac_objext \
105821       conftest$ac_exeext conftest.$ac_ext
105822
105823 fi
105824
105825     fi
105826     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
105827 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
105828
105829     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
105830
105831 cat >>confdefs.h <<\_ACEOF
105832 #define HAVE___BUILTIN_FABSL 1
105833 _ACEOF
105834
105835     fi
105836
105837   fi
105838
105839
105840   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
105841 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
105842   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
105843     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
105844   echo $ECHO_N "(cached) $ECHO_C" >&6
105845 else
105846
105847
105848
105849       ac_ext=cc
105850 ac_cpp='$CXXCPP $CPPFLAGS'
105851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105854
105855       cat >conftest.$ac_ext <<_ACEOF
105856 /* confdefs.h.  */
105857 _ACEOF
105858 cat confdefs.h >>conftest.$ac_ext
105859 cat >>conftest.$ac_ext <<_ACEOF
105860 /* end confdefs.h.  */
105861 #include <math.h>
105862 int
105863 main ()
105864 {
105865  __builtin_labs(0);
105866   ;
105867   return 0;
105868 }
105869 _ACEOF
105870 rm -f conftest.$ac_objext
105871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105872   (eval $ac_compile) 2>conftest.er1
105873   ac_status=$?
105874   grep -v '^ *+' conftest.er1 >conftest.err
105875   rm -f conftest.er1
105876   cat conftest.err >&5
105877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105878   (exit $ac_status); } &&
105879          { ac_try='test -z "$ac_cxx_werror_flag"
105880                          || test ! -s conftest.err'
105881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105882   (eval $ac_try) 2>&5
105883   ac_status=$?
105884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105885   (exit $ac_status); }; } &&
105886          { ac_try='test -s conftest.$ac_objext'
105887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105888   (eval $ac_try) 2>&5
105889   ac_status=$?
105890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105891   (exit $ac_status); }; }; then
105892   glibcxx_cv_func___builtin_labs_use=yes
105893 else
105894   echo "$as_me: failed program was:" >&5
105895 sed 's/^/| /' conftest.$ac_ext >&5
105896
105897 glibcxx_cv_func___builtin_labs_use=no
105898 fi
105899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105900       ac_ext=c
105901 ac_cpp='$CPP $CPPFLAGS'
105902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105905
105906
105907 fi
105908
105909   fi
105910   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
105911 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
105912   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
105913     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
105914 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
105915     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
105916       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
105917   echo $ECHO_N "(cached) $ECHO_C" >&6
105918 else
105919
105920         if test x$gcc_no_link = xyes; then
105921   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105923    { (exit 1); exit 1; }; }
105924 fi
105925 cat >conftest.$ac_ext <<_ACEOF
105926 /* confdefs.h.  */
105927 _ACEOF
105928 cat confdefs.h >>conftest.$ac_ext
105929 cat >>conftest.$ac_ext <<_ACEOF
105930 /* end confdefs.h.  */
105931 #include <math.h>
105932 int
105933 main ()
105934 {
105935  __builtin_labs(0);
105936   ;
105937   return 0;
105938 }
105939 _ACEOF
105940 rm -f conftest.$ac_objext conftest$ac_exeext
105941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105942   (eval $ac_link) 2>conftest.er1
105943   ac_status=$?
105944   grep -v '^ *+' conftest.er1 >conftest.err
105945   rm -f conftest.er1
105946   cat conftest.err >&5
105947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105948   (exit $ac_status); } &&
105949          { ac_try='test -z "$ac_c_werror_flag"
105950                          || test ! -s conftest.err'
105951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105952   (eval $ac_try) 2>&5
105953   ac_status=$?
105954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105955   (exit $ac_status); }; } &&
105956          { ac_try='test -s conftest$ac_exeext'
105957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105958   (eval $ac_try) 2>&5
105959   ac_status=$?
105960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105961   (exit $ac_status); }; }; then
105962   glibcxx_cv_func___builtin_labs_link=yes
105963 else
105964   echo "$as_me: failed program was:" >&5
105965 sed 's/^/| /' conftest.$ac_ext >&5
105966
105967 glibcxx_cv_func___builtin_labs_link=no
105968 fi
105969 rm -f conftest.err conftest.$ac_objext \
105970       conftest$ac_exeext conftest.$ac_ext
105971
105972 fi
105973
105974     fi
105975     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
105976 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
105977
105978     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
105979
105980 cat >>confdefs.h <<\_ACEOF
105981 #define HAVE___BUILTIN_LABS 1
105982 _ACEOF
105983
105984     fi
105985
105986   fi
105987
105988
105989
105990   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
105991 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
105992   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
105993     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
105994   echo $ECHO_N "(cached) $ECHO_C" >&6
105995 else
105996
105997
105998
105999       ac_ext=cc
106000 ac_cpp='$CXXCPP $CPPFLAGS'
106001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106004
106005       cat >conftest.$ac_ext <<_ACEOF
106006 /* confdefs.h.  */
106007 _ACEOF
106008 cat confdefs.h >>conftest.$ac_ext
106009 cat >>conftest.$ac_ext <<_ACEOF
106010 /* end confdefs.h.  */
106011 #include <math.h>
106012 int
106013 main ()
106014 {
106015  __builtin_sqrtf(0);
106016   ;
106017   return 0;
106018 }
106019 _ACEOF
106020 rm -f conftest.$ac_objext
106021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106022   (eval $ac_compile) 2>conftest.er1
106023   ac_status=$?
106024   grep -v '^ *+' conftest.er1 >conftest.err
106025   rm -f conftest.er1
106026   cat conftest.err >&5
106027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106028   (exit $ac_status); } &&
106029          { ac_try='test -z "$ac_cxx_werror_flag"
106030                          || test ! -s conftest.err'
106031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106032   (eval $ac_try) 2>&5
106033   ac_status=$?
106034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106035   (exit $ac_status); }; } &&
106036          { ac_try='test -s conftest.$ac_objext'
106037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106038   (eval $ac_try) 2>&5
106039   ac_status=$?
106040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106041   (exit $ac_status); }; }; then
106042   glibcxx_cv_func___builtin_sqrtf_use=yes
106043 else
106044   echo "$as_me: failed program was:" >&5
106045 sed 's/^/| /' conftest.$ac_ext >&5
106046
106047 glibcxx_cv_func___builtin_sqrtf_use=no
106048 fi
106049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106050       ac_ext=c
106051 ac_cpp='$CPP $CPPFLAGS'
106052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106055
106056
106057 fi
106058
106059   fi
106060   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
106061 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
106062   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
106063     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
106064 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
106065     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
106066       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
106067   echo $ECHO_N "(cached) $ECHO_C" >&6
106068 else
106069
106070         if test x$gcc_no_link = xyes; then
106071   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106073    { (exit 1); exit 1; }; }
106074 fi
106075 cat >conftest.$ac_ext <<_ACEOF
106076 /* confdefs.h.  */
106077 _ACEOF
106078 cat confdefs.h >>conftest.$ac_ext
106079 cat >>conftest.$ac_ext <<_ACEOF
106080 /* end confdefs.h.  */
106081 #include <math.h>
106082 int
106083 main ()
106084 {
106085  __builtin_sqrtf(0);
106086   ;
106087   return 0;
106088 }
106089 _ACEOF
106090 rm -f conftest.$ac_objext conftest$ac_exeext
106091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106092   (eval $ac_link) 2>conftest.er1
106093   ac_status=$?
106094   grep -v '^ *+' conftest.er1 >conftest.err
106095   rm -f conftest.er1
106096   cat conftest.err >&5
106097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106098   (exit $ac_status); } &&
106099          { ac_try='test -z "$ac_c_werror_flag"
106100                          || test ! -s conftest.err'
106101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106102   (eval $ac_try) 2>&5
106103   ac_status=$?
106104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106105   (exit $ac_status); }; } &&
106106          { ac_try='test -s conftest$ac_exeext'
106107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106108   (eval $ac_try) 2>&5
106109   ac_status=$?
106110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106111   (exit $ac_status); }; }; then
106112   glibcxx_cv_func___builtin_sqrtf_link=yes
106113 else
106114   echo "$as_me: failed program was:" >&5
106115 sed 's/^/| /' conftest.$ac_ext >&5
106116
106117 glibcxx_cv_func___builtin_sqrtf_link=no
106118 fi
106119 rm -f conftest.err conftest.$ac_objext \
106120       conftest$ac_exeext conftest.$ac_ext
106121
106122 fi
106123
106124     fi
106125     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
106126 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
106127
106128     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
106129
106130 cat >>confdefs.h <<\_ACEOF
106131 #define HAVE___BUILTIN_SQRTF 1
106132 _ACEOF
106133
106134     fi
106135
106136   fi
106137
106138
106139   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
106140 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
106141   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
106142     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
106143   echo $ECHO_N "(cached) $ECHO_C" >&6
106144 else
106145
106146
106147
106148       ac_ext=cc
106149 ac_cpp='$CXXCPP $CPPFLAGS'
106150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106153
106154       cat >conftest.$ac_ext <<_ACEOF
106155 /* confdefs.h.  */
106156 _ACEOF
106157 cat confdefs.h >>conftest.$ac_ext
106158 cat >>conftest.$ac_ext <<_ACEOF
106159 /* end confdefs.h.  */
106160 #include <math.h>
106161 int
106162 main ()
106163 {
106164  __builtin_sqrt(0);
106165   ;
106166   return 0;
106167 }
106168 _ACEOF
106169 rm -f conftest.$ac_objext
106170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106171   (eval $ac_compile) 2>conftest.er1
106172   ac_status=$?
106173   grep -v '^ *+' conftest.er1 >conftest.err
106174   rm -f conftest.er1
106175   cat conftest.err >&5
106176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106177   (exit $ac_status); } &&
106178          { ac_try='test -z "$ac_cxx_werror_flag"
106179                          || test ! -s conftest.err'
106180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106181   (eval $ac_try) 2>&5
106182   ac_status=$?
106183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106184   (exit $ac_status); }; } &&
106185          { ac_try='test -s conftest.$ac_objext'
106186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106187   (eval $ac_try) 2>&5
106188   ac_status=$?
106189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106190   (exit $ac_status); }; }; then
106191   glibcxx_cv_func___builtin_sqrt_use=yes
106192 else
106193   echo "$as_me: failed program was:" >&5
106194 sed 's/^/| /' conftest.$ac_ext >&5
106195
106196 glibcxx_cv_func___builtin_sqrt_use=no
106197 fi
106198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106199       ac_ext=c
106200 ac_cpp='$CPP $CPPFLAGS'
106201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106204
106205
106206 fi
106207
106208   fi
106209   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
106210 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
106211   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
106212     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
106213 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
106214     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
106215       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
106216   echo $ECHO_N "(cached) $ECHO_C" >&6
106217 else
106218
106219         if test x$gcc_no_link = xyes; then
106220   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106222    { (exit 1); exit 1; }; }
106223 fi
106224 cat >conftest.$ac_ext <<_ACEOF
106225 /* confdefs.h.  */
106226 _ACEOF
106227 cat confdefs.h >>conftest.$ac_ext
106228 cat >>conftest.$ac_ext <<_ACEOF
106229 /* end confdefs.h.  */
106230 #include <math.h>
106231 int
106232 main ()
106233 {
106234  __builtin_sqrt(0);
106235   ;
106236   return 0;
106237 }
106238 _ACEOF
106239 rm -f conftest.$ac_objext conftest$ac_exeext
106240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106241   (eval $ac_link) 2>conftest.er1
106242   ac_status=$?
106243   grep -v '^ *+' conftest.er1 >conftest.err
106244   rm -f conftest.er1
106245   cat conftest.err >&5
106246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106247   (exit $ac_status); } &&
106248          { ac_try='test -z "$ac_c_werror_flag"
106249                          || test ! -s conftest.err'
106250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106251   (eval $ac_try) 2>&5
106252   ac_status=$?
106253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106254   (exit $ac_status); }; } &&
106255          { ac_try='test -s conftest$ac_exeext'
106256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106257   (eval $ac_try) 2>&5
106258   ac_status=$?
106259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106260   (exit $ac_status); }; }; then
106261   glibcxx_cv_func___builtin_sqrt_link=yes
106262 else
106263   echo "$as_me: failed program was:" >&5
106264 sed 's/^/| /' conftest.$ac_ext >&5
106265
106266 glibcxx_cv_func___builtin_sqrt_link=no
106267 fi
106268 rm -f conftest.err conftest.$ac_objext \
106269       conftest$ac_exeext conftest.$ac_ext
106270
106271 fi
106272
106273     fi
106274     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
106275 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
106276
106277     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
106278
106279 cat >>confdefs.h <<\_ACEOF
106280 #define HAVE___BUILTIN_SQRT 1
106281 _ACEOF
106282
106283     fi
106284
106285   fi
106286
106287
106288   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
106289 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
106290   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
106291     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
106292   echo $ECHO_N "(cached) $ECHO_C" >&6
106293 else
106294
106295
106296
106297       ac_ext=cc
106298 ac_cpp='$CXXCPP $CPPFLAGS'
106299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106302
106303       cat >conftest.$ac_ext <<_ACEOF
106304 /* confdefs.h.  */
106305 _ACEOF
106306 cat confdefs.h >>conftest.$ac_ext
106307 cat >>conftest.$ac_ext <<_ACEOF
106308 /* end confdefs.h.  */
106309 #include <math.h>
106310 int
106311 main ()
106312 {
106313  __builtin_sqrtl(0);
106314   ;
106315   return 0;
106316 }
106317 _ACEOF
106318 rm -f conftest.$ac_objext
106319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106320   (eval $ac_compile) 2>conftest.er1
106321   ac_status=$?
106322   grep -v '^ *+' conftest.er1 >conftest.err
106323   rm -f conftest.er1
106324   cat conftest.err >&5
106325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106326   (exit $ac_status); } &&
106327          { ac_try='test -z "$ac_cxx_werror_flag"
106328                          || test ! -s conftest.err'
106329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106330   (eval $ac_try) 2>&5
106331   ac_status=$?
106332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106333   (exit $ac_status); }; } &&
106334          { ac_try='test -s conftest.$ac_objext'
106335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106336   (eval $ac_try) 2>&5
106337   ac_status=$?
106338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106339   (exit $ac_status); }; }; then
106340   glibcxx_cv_func___builtin_sqrtl_use=yes
106341 else
106342   echo "$as_me: failed program was:" >&5
106343 sed 's/^/| /' conftest.$ac_ext >&5
106344
106345 glibcxx_cv_func___builtin_sqrtl_use=no
106346 fi
106347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106348       ac_ext=c
106349 ac_cpp='$CPP $CPPFLAGS'
106350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106353
106354
106355 fi
106356
106357   fi
106358   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
106359 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
106360   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
106361     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
106362 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
106363     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
106364       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
106365   echo $ECHO_N "(cached) $ECHO_C" >&6
106366 else
106367
106368         if test x$gcc_no_link = xyes; then
106369   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106371    { (exit 1); exit 1; }; }
106372 fi
106373 cat >conftest.$ac_ext <<_ACEOF
106374 /* confdefs.h.  */
106375 _ACEOF
106376 cat confdefs.h >>conftest.$ac_ext
106377 cat >>conftest.$ac_ext <<_ACEOF
106378 /* end confdefs.h.  */
106379 #include <math.h>
106380 int
106381 main ()
106382 {
106383  __builtin_sqrtl(0);
106384   ;
106385   return 0;
106386 }
106387 _ACEOF
106388 rm -f conftest.$ac_objext conftest$ac_exeext
106389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106390   (eval $ac_link) 2>conftest.er1
106391   ac_status=$?
106392   grep -v '^ *+' conftest.er1 >conftest.err
106393   rm -f conftest.er1
106394   cat conftest.err >&5
106395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106396   (exit $ac_status); } &&
106397          { ac_try='test -z "$ac_c_werror_flag"
106398                          || test ! -s conftest.err'
106399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106400   (eval $ac_try) 2>&5
106401   ac_status=$?
106402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106403   (exit $ac_status); }; } &&
106404          { ac_try='test -s conftest$ac_exeext'
106405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106406   (eval $ac_try) 2>&5
106407   ac_status=$?
106408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106409   (exit $ac_status); }; }; then
106410   glibcxx_cv_func___builtin_sqrtl_link=yes
106411 else
106412   echo "$as_me: failed program was:" >&5
106413 sed 's/^/| /' conftest.$ac_ext >&5
106414
106415 glibcxx_cv_func___builtin_sqrtl_link=no
106416 fi
106417 rm -f conftest.err conftest.$ac_objext \
106418       conftest$ac_exeext conftest.$ac_ext
106419
106420 fi
106421
106422     fi
106423     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
106424 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
106425
106426     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
106427
106428 cat >>confdefs.h <<\_ACEOF
106429 #define HAVE___BUILTIN_SQRTL 1
106430 _ACEOF
106431
106432     fi
106433
106434   fi
106435
106436
106437
106438   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
106439 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
106440   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
106441     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
106442   echo $ECHO_N "(cached) $ECHO_C" >&6
106443 else
106444
106445
106446
106447       ac_ext=cc
106448 ac_cpp='$CXXCPP $CPPFLAGS'
106449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106452
106453       cat >conftest.$ac_ext <<_ACEOF
106454 /* confdefs.h.  */
106455 _ACEOF
106456 cat confdefs.h >>conftest.$ac_ext
106457 cat >>conftest.$ac_ext <<_ACEOF
106458 /* end confdefs.h.  */
106459 #include <math.h>
106460 int
106461 main ()
106462 {
106463  __builtin_sinf(0);
106464   ;
106465   return 0;
106466 }
106467 _ACEOF
106468 rm -f conftest.$ac_objext
106469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106470   (eval $ac_compile) 2>conftest.er1
106471   ac_status=$?
106472   grep -v '^ *+' conftest.er1 >conftest.err
106473   rm -f conftest.er1
106474   cat conftest.err >&5
106475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106476   (exit $ac_status); } &&
106477          { ac_try='test -z "$ac_cxx_werror_flag"
106478                          || test ! -s conftest.err'
106479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106480   (eval $ac_try) 2>&5
106481   ac_status=$?
106482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106483   (exit $ac_status); }; } &&
106484          { ac_try='test -s conftest.$ac_objext'
106485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106486   (eval $ac_try) 2>&5
106487   ac_status=$?
106488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106489   (exit $ac_status); }; }; then
106490   glibcxx_cv_func___builtin_sinf_use=yes
106491 else
106492   echo "$as_me: failed program was:" >&5
106493 sed 's/^/| /' conftest.$ac_ext >&5
106494
106495 glibcxx_cv_func___builtin_sinf_use=no
106496 fi
106497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106498       ac_ext=c
106499 ac_cpp='$CPP $CPPFLAGS'
106500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106503
106504
106505 fi
106506
106507   fi
106508   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
106509 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
106510   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
106511     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
106512 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
106513     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
106514       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
106515   echo $ECHO_N "(cached) $ECHO_C" >&6
106516 else
106517
106518         if test x$gcc_no_link = xyes; then
106519   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106521    { (exit 1); exit 1; }; }
106522 fi
106523 cat >conftest.$ac_ext <<_ACEOF
106524 /* confdefs.h.  */
106525 _ACEOF
106526 cat confdefs.h >>conftest.$ac_ext
106527 cat >>conftest.$ac_ext <<_ACEOF
106528 /* end confdefs.h.  */
106529 #include <math.h>
106530 int
106531 main ()
106532 {
106533  __builtin_sinf(0);
106534   ;
106535   return 0;
106536 }
106537 _ACEOF
106538 rm -f conftest.$ac_objext conftest$ac_exeext
106539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106540   (eval $ac_link) 2>conftest.er1
106541   ac_status=$?
106542   grep -v '^ *+' conftest.er1 >conftest.err
106543   rm -f conftest.er1
106544   cat conftest.err >&5
106545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106546   (exit $ac_status); } &&
106547          { ac_try='test -z "$ac_c_werror_flag"
106548                          || test ! -s conftest.err'
106549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106550   (eval $ac_try) 2>&5
106551   ac_status=$?
106552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106553   (exit $ac_status); }; } &&
106554          { ac_try='test -s conftest$ac_exeext'
106555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106556   (eval $ac_try) 2>&5
106557   ac_status=$?
106558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106559   (exit $ac_status); }; }; then
106560   glibcxx_cv_func___builtin_sinf_link=yes
106561 else
106562   echo "$as_me: failed program was:" >&5
106563 sed 's/^/| /' conftest.$ac_ext >&5
106564
106565 glibcxx_cv_func___builtin_sinf_link=no
106566 fi
106567 rm -f conftest.err conftest.$ac_objext \
106568       conftest$ac_exeext conftest.$ac_ext
106569
106570 fi
106571
106572     fi
106573     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
106574 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
106575
106576     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
106577
106578 cat >>confdefs.h <<\_ACEOF
106579 #define HAVE___BUILTIN_SINF 1
106580 _ACEOF
106581
106582     fi
106583
106584   fi
106585
106586
106587   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
106588 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
106589   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
106590     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
106591   echo $ECHO_N "(cached) $ECHO_C" >&6
106592 else
106593
106594
106595
106596       ac_ext=cc
106597 ac_cpp='$CXXCPP $CPPFLAGS'
106598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106601
106602       cat >conftest.$ac_ext <<_ACEOF
106603 /* confdefs.h.  */
106604 _ACEOF
106605 cat confdefs.h >>conftest.$ac_ext
106606 cat >>conftest.$ac_ext <<_ACEOF
106607 /* end confdefs.h.  */
106608 #include <math.h>
106609 int
106610 main ()
106611 {
106612  __builtin_sin(0);
106613   ;
106614   return 0;
106615 }
106616 _ACEOF
106617 rm -f conftest.$ac_objext
106618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106619   (eval $ac_compile) 2>conftest.er1
106620   ac_status=$?
106621   grep -v '^ *+' conftest.er1 >conftest.err
106622   rm -f conftest.er1
106623   cat conftest.err >&5
106624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106625   (exit $ac_status); } &&
106626          { ac_try='test -z "$ac_cxx_werror_flag"
106627                          || test ! -s conftest.err'
106628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106629   (eval $ac_try) 2>&5
106630   ac_status=$?
106631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106632   (exit $ac_status); }; } &&
106633          { ac_try='test -s conftest.$ac_objext'
106634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106635   (eval $ac_try) 2>&5
106636   ac_status=$?
106637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106638   (exit $ac_status); }; }; then
106639   glibcxx_cv_func___builtin_sin_use=yes
106640 else
106641   echo "$as_me: failed program was:" >&5
106642 sed 's/^/| /' conftest.$ac_ext >&5
106643
106644 glibcxx_cv_func___builtin_sin_use=no
106645 fi
106646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106647       ac_ext=c
106648 ac_cpp='$CPP $CPPFLAGS'
106649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106652
106653
106654 fi
106655
106656   fi
106657   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
106658 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
106659   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
106660     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
106661 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
106662     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
106663       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
106664   echo $ECHO_N "(cached) $ECHO_C" >&6
106665 else
106666
106667         if test x$gcc_no_link = xyes; then
106668   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106670    { (exit 1); exit 1; }; }
106671 fi
106672 cat >conftest.$ac_ext <<_ACEOF
106673 /* confdefs.h.  */
106674 _ACEOF
106675 cat confdefs.h >>conftest.$ac_ext
106676 cat >>conftest.$ac_ext <<_ACEOF
106677 /* end confdefs.h.  */
106678 #include <math.h>
106679 int
106680 main ()
106681 {
106682  __builtin_sin(0);
106683   ;
106684   return 0;
106685 }
106686 _ACEOF
106687 rm -f conftest.$ac_objext conftest$ac_exeext
106688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106689   (eval $ac_link) 2>conftest.er1
106690   ac_status=$?
106691   grep -v '^ *+' conftest.er1 >conftest.err
106692   rm -f conftest.er1
106693   cat conftest.err >&5
106694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106695   (exit $ac_status); } &&
106696          { ac_try='test -z "$ac_c_werror_flag"
106697                          || test ! -s conftest.err'
106698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106699   (eval $ac_try) 2>&5
106700   ac_status=$?
106701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106702   (exit $ac_status); }; } &&
106703          { ac_try='test -s conftest$ac_exeext'
106704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106705   (eval $ac_try) 2>&5
106706   ac_status=$?
106707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106708   (exit $ac_status); }; }; then
106709   glibcxx_cv_func___builtin_sin_link=yes
106710 else
106711   echo "$as_me: failed program was:" >&5
106712 sed 's/^/| /' conftest.$ac_ext >&5
106713
106714 glibcxx_cv_func___builtin_sin_link=no
106715 fi
106716 rm -f conftest.err conftest.$ac_objext \
106717       conftest$ac_exeext conftest.$ac_ext
106718
106719 fi
106720
106721     fi
106722     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
106723 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
106724
106725     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
106726
106727 cat >>confdefs.h <<\_ACEOF
106728 #define HAVE___BUILTIN_SIN 1
106729 _ACEOF
106730
106731     fi
106732
106733   fi
106734
106735
106736   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
106737 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
106738   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
106739     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
106740   echo $ECHO_N "(cached) $ECHO_C" >&6
106741 else
106742
106743
106744
106745       ac_ext=cc
106746 ac_cpp='$CXXCPP $CPPFLAGS'
106747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106750
106751       cat >conftest.$ac_ext <<_ACEOF
106752 /* confdefs.h.  */
106753 _ACEOF
106754 cat confdefs.h >>conftest.$ac_ext
106755 cat >>conftest.$ac_ext <<_ACEOF
106756 /* end confdefs.h.  */
106757 #include <math.h>
106758 int
106759 main ()
106760 {
106761  __builtin_sinl(0);
106762   ;
106763   return 0;
106764 }
106765 _ACEOF
106766 rm -f conftest.$ac_objext
106767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106768   (eval $ac_compile) 2>conftest.er1
106769   ac_status=$?
106770   grep -v '^ *+' conftest.er1 >conftest.err
106771   rm -f conftest.er1
106772   cat conftest.err >&5
106773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106774   (exit $ac_status); } &&
106775          { ac_try='test -z "$ac_cxx_werror_flag"
106776                          || test ! -s conftest.err'
106777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106778   (eval $ac_try) 2>&5
106779   ac_status=$?
106780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106781   (exit $ac_status); }; } &&
106782          { ac_try='test -s conftest.$ac_objext'
106783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106784   (eval $ac_try) 2>&5
106785   ac_status=$?
106786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106787   (exit $ac_status); }; }; then
106788   glibcxx_cv_func___builtin_sinl_use=yes
106789 else
106790   echo "$as_me: failed program was:" >&5
106791 sed 's/^/| /' conftest.$ac_ext >&5
106792
106793 glibcxx_cv_func___builtin_sinl_use=no
106794 fi
106795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106796       ac_ext=c
106797 ac_cpp='$CPP $CPPFLAGS'
106798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106801
106802
106803 fi
106804
106805   fi
106806   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
106807 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
106808   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
106809     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
106810 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
106811     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
106812       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
106813   echo $ECHO_N "(cached) $ECHO_C" >&6
106814 else
106815
106816         if test x$gcc_no_link = xyes; then
106817   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106819    { (exit 1); exit 1; }; }
106820 fi
106821 cat >conftest.$ac_ext <<_ACEOF
106822 /* confdefs.h.  */
106823 _ACEOF
106824 cat confdefs.h >>conftest.$ac_ext
106825 cat >>conftest.$ac_ext <<_ACEOF
106826 /* end confdefs.h.  */
106827 #include <math.h>
106828 int
106829 main ()
106830 {
106831  __builtin_sinl(0);
106832   ;
106833   return 0;
106834 }
106835 _ACEOF
106836 rm -f conftest.$ac_objext conftest$ac_exeext
106837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106838   (eval $ac_link) 2>conftest.er1
106839   ac_status=$?
106840   grep -v '^ *+' conftest.er1 >conftest.err
106841   rm -f conftest.er1
106842   cat conftest.err >&5
106843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106844   (exit $ac_status); } &&
106845          { ac_try='test -z "$ac_c_werror_flag"
106846                          || test ! -s conftest.err'
106847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106848   (eval $ac_try) 2>&5
106849   ac_status=$?
106850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106851   (exit $ac_status); }; } &&
106852          { ac_try='test -s conftest$ac_exeext'
106853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106854   (eval $ac_try) 2>&5
106855   ac_status=$?
106856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106857   (exit $ac_status); }; }; then
106858   glibcxx_cv_func___builtin_sinl_link=yes
106859 else
106860   echo "$as_me: failed program was:" >&5
106861 sed 's/^/| /' conftest.$ac_ext >&5
106862
106863 glibcxx_cv_func___builtin_sinl_link=no
106864 fi
106865 rm -f conftest.err conftest.$ac_objext \
106866       conftest$ac_exeext conftest.$ac_ext
106867
106868 fi
106869
106870     fi
106871     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
106872 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
106873
106874     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
106875
106876 cat >>confdefs.h <<\_ACEOF
106877 #define HAVE___BUILTIN_SINL 1
106878 _ACEOF
106879
106880     fi
106881
106882   fi
106883
106884
106885
106886   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
106887 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
106888   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
106889     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
106890   echo $ECHO_N "(cached) $ECHO_C" >&6
106891 else
106892
106893
106894
106895       ac_ext=cc
106896 ac_cpp='$CXXCPP $CPPFLAGS'
106897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106900
106901       cat >conftest.$ac_ext <<_ACEOF
106902 /* confdefs.h.  */
106903 _ACEOF
106904 cat confdefs.h >>conftest.$ac_ext
106905 cat >>conftest.$ac_ext <<_ACEOF
106906 /* end confdefs.h.  */
106907 #include <math.h>
106908 int
106909 main ()
106910 {
106911  __builtin_cosf(0);
106912   ;
106913   return 0;
106914 }
106915 _ACEOF
106916 rm -f conftest.$ac_objext
106917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106918   (eval $ac_compile) 2>conftest.er1
106919   ac_status=$?
106920   grep -v '^ *+' conftest.er1 >conftest.err
106921   rm -f conftest.er1
106922   cat conftest.err >&5
106923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106924   (exit $ac_status); } &&
106925          { ac_try='test -z "$ac_cxx_werror_flag"
106926                          || test ! -s conftest.err'
106927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106928   (eval $ac_try) 2>&5
106929   ac_status=$?
106930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106931   (exit $ac_status); }; } &&
106932          { ac_try='test -s conftest.$ac_objext'
106933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106934   (eval $ac_try) 2>&5
106935   ac_status=$?
106936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106937   (exit $ac_status); }; }; then
106938   glibcxx_cv_func___builtin_cosf_use=yes
106939 else
106940   echo "$as_me: failed program was:" >&5
106941 sed 's/^/| /' conftest.$ac_ext >&5
106942
106943 glibcxx_cv_func___builtin_cosf_use=no
106944 fi
106945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106946       ac_ext=c
106947 ac_cpp='$CPP $CPPFLAGS'
106948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106951
106952
106953 fi
106954
106955   fi
106956   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
106957 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
106958   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
106959     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
106960 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
106961     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
106962       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
106963   echo $ECHO_N "(cached) $ECHO_C" >&6
106964 else
106965
106966         if test x$gcc_no_link = xyes; then
106967   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106969    { (exit 1); exit 1; }; }
106970 fi
106971 cat >conftest.$ac_ext <<_ACEOF
106972 /* confdefs.h.  */
106973 _ACEOF
106974 cat confdefs.h >>conftest.$ac_ext
106975 cat >>conftest.$ac_ext <<_ACEOF
106976 /* end confdefs.h.  */
106977 #include <math.h>
106978 int
106979 main ()
106980 {
106981  __builtin_cosf(0);
106982   ;
106983   return 0;
106984 }
106985 _ACEOF
106986 rm -f conftest.$ac_objext conftest$ac_exeext
106987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106988   (eval $ac_link) 2>conftest.er1
106989   ac_status=$?
106990   grep -v '^ *+' conftest.er1 >conftest.err
106991   rm -f conftest.er1
106992   cat conftest.err >&5
106993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106994   (exit $ac_status); } &&
106995          { ac_try='test -z "$ac_c_werror_flag"
106996                          || test ! -s conftest.err'
106997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106998   (eval $ac_try) 2>&5
106999   ac_status=$?
107000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107001   (exit $ac_status); }; } &&
107002          { ac_try='test -s conftest$ac_exeext'
107003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107004   (eval $ac_try) 2>&5
107005   ac_status=$?
107006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107007   (exit $ac_status); }; }; then
107008   glibcxx_cv_func___builtin_cosf_link=yes
107009 else
107010   echo "$as_me: failed program was:" >&5
107011 sed 's/^/| /' conftest.$ac_ext >&5
107012
107013 glibcxx_cv_func___builtin_cosf_link=no
107014 fi
107015 rm -f conftest.err conftest.$ac_objext \
107016       conftest$ac_exeext conftest.$ac_ext
107017
107018 fi
107019
107020     fi
107021     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
107022 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
107023
107024     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
107025
107026 cat >>confdefs.h <<\_ACEOF
107027 #define HAVE___BUILTIN_COSF 1
107028 _ACEOF
107029
107030     fi
107031
107032   fi
107033
107034
107035   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
107036 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
107037   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
107038     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
107039   echo $ECHO_N "(cached) $ECHO_C" >&6
107040 else
107041
107042
107043
107044       ac_ext=cc
107045 ac_cpp='$CXXCPP $CPPFLAGS'
107046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107049
107050       cat >conftest.$ac_ext <<_ACEOF
107051 /* confdefs.h.  */
107052 _ACEOF
107053 cat confdefs.h >>conftest.$ac_ext
107054 cat >>conftest.$ac_ext <<_ACEOF
107055 /* end confdefs.h.  */
107056 #include <math.h>
107057 int
107058 main ()
107059 {
107060  __builtin_cos(0);
107061   ;
107062   return 0;
107063 }
107064 _ACEOF
107065 rm -f conftest.$ac_objext
107066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107067   (eval $ac_compile) 2>conftest.er1
107068   ac_status=$?
107069   grep -v '^ *+' conftest.er1 >conftest.err
107070   rm -f conftest.er1
107071   cat conftest.err >&5
107072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107073   (exit $ac_status); } &&
107074          { ac_try='test -z "$ac_cxx_werror_flag"
107075                          || test ! -s conftest.err'
107076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107077   (eval $ac_try) 2>&5
107078   ac_status=$?
107079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107080   (exit $ac_status); }; } &&
107081          { ac_try='test -s conftest.$ac_objext'
107082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107083   (eval $ac_try) 2>&5
107084   ac_status=$?
107085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107086   (exit $ac_status); }; }; then
107087   glibcxx_cv_func___builtin_cos_use=yes
107088 else
107089   echo "$as_me: failed program was:" >&5
107090 sed 's/^/| /' conftest.$ac_ext >&5
107091
107092 glibcxx_cv_func___builtin_cos_use=no
107093 fi
107094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107095       ac_ext=c
107096 ac_cpp='$CPP $CPPFLAGS'
107097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107100
107101
107102 fi
107103
107104   fi
107105   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
107106 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
107107   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
107108     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
107109 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
107110     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
107111       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
107112   echo $ECHO_N "(cached) $ECHO_C" >&6
107113 else
107114
107115         if test x$gcc_no_link = xyes; then
107116   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107118    { (exit 1); exit 1; }; }
107119 fi
107120 cat >conftest.$ac_ext <<_ACEOF
107121 /* confdefs.h.  */
107122 _ACEOF
107123 cat confdefs.h >>conftest.$ac_ext
107124 cat >>conftest.$ac_ext <<_ACEOF
107125 /* end confdefs.h.  */
107126 #include <math.h>
107127 int
107128 main ()
107129 {
107130  __builtin_cos(0);
107131   ;
107132   return 0;
107133 }
107134 _ACEOF
107135 rm -f conftest.$ac_objext conftest$ac_exeext
107136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107137   (eval $ac_link) 2>conftest.er1
107138   ac_status=$?
107139   grep -v '^ *+' conftest.er1 >conftest.err
107140   rm -f conftest.er1
107141   cat conftest.err >&5
107142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107143   (exit $ac_status); } &&
107144          { ac_try='test -z "$ac_c_werror_flag"
107145                          || test ! -s conftest.err'
107146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107147   (eval $ac_try) 2>&5
107148   ac_status=$?
107149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107150   (exit $ac_status); }; } &&
107151          { ac_try='test -s conftest$ac_exeext'
107152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107153   (eval $ac_try) 2>&5
107154   ac_status=$?
107155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107156   (exit $ac_status); }; }; then
107157   glibcxx_cv_func___builtin_cos_link=yes
107158 else
107159   echo "$as_me: failed program was:" >&5
107160 sed 's/^/| /' conftest.$ac_ext >&5
107161
107162 glibcxx_cv_func___builtin_cos_link=no
107163 fi
107164 rm -f conftest.err conftest.$ac_objext \
107165       conftest$ac_exeext conftest.$ac_ext
107166
107167 fi
107168
107169     fi
107170     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
107171 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
107172
107173     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
107174
107175 cat >>confdefs.h <<\_ACEOF
107176 #define HAVE___BUILTIN_COS 1
107177 _ACEOF
107178
107179     fi
107180
107181   fi
107182
107183
107184   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
107185 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
107186   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
107187     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
107188   echo $ECHO_N "(cached) $ECHO_C" >&6
107189 else
107190
107191
107192
107193       ac_ext=cc
107194 ac_cpp='$CXXCPP $CPPFLAGS'
107195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107198
107199       cat >conftest.$ac_ext <<_ACEOF
107200 /* confdefs.h.  */
107201 _ACEOF
107202 cat confdefs.h >>conftest.$ac_ext
107203 cat >>conftest.$ac_ext <<_ACEOF
107204 /* end confdefs.h.  */
107205 #include <math.h>
107206 int
107207 main ()
107208 {
107209  __builtin_cosl(0);
107210   ;
107211   return 0;
107212 }
107213 _ACEOF
107214 rm -f conftest.$ac_objext
107215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107216   (eval $ac_compile) 2>conftest.er1
107217   ac_status=$?
107218   grep -v '^ *+' conftest.er1 >conftest.err
107219   rm -f conftest.er1
107220   cat conftest.err >&5
107221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107222   (exit $ac_status); } &&
107223          { ac_try='test -z "$ac_cxx_werror_flag"
107224                          || test ! -s conftest.err'
107225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107226   (eval $ac_try) 2>&5
107227   ac_status=$?
107228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107229   (exit $ac_status); }; } &&
107230          { ac_try='test -s conftest.$ac_objext'
107231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107232   (eval $ac_try) 2>&5
107233   ac_status=$?
107234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107235   (exit $ac_status); }; }; then
107236   glibcxx_cv_func___builtin_cosl_use=yes
107237 else
107238   echo "$as_me: failed program was:" >&5
107239 sed 's/^/| /' conftest.$ac_ext >&5
107240
107241 glibcxx_cv_func___builtin_cosl_use=no
107242 fi
107243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107244       ac_ext=c
107245 ac_cpp='$CPP $CPPFLAGS'
107246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107249
107250
107251 fi
107252
107253   fi
107254   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
107255 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
107256   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
107257     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
107258 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
107259     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
107260       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
107261   echo $ECHO_N "(cached) $ECHO_C" >&6
107262 else
107263
107264         if test x$gcc_no_link = xyes; then
107265   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107267    { (exit 1); exit 1; }; }
107268 fi
107269 cat >conftest.$ac_ext <<_ACEOF
107270 /* confdefs.h.  */
107271 _ACEOF
107272 cat confdefs.h >>conftest.$ac_ext
107273 cat >>conftest.$ac_ext <<_ACEOF
107274 /* end confdefs.h.  */
107275 #include <math.h>
107276 int
107277 main ()
107278 {
107279  __builtin_cosl(0);
107280   ;
107281   return 0;
107282 }
107283 _ACEOF
107284 rm -f conftest.$ac_objext conftest$ac_exeext
107285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107286   (eval $ac_link) 2>conftest.er1
107287   ac_status=$?
107288   grep -v '^ *+' conftest.er1 >conftest.err
107289   rm -f conftest.er1
107290   cat conftest.err >&5
107291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107292   (exit $ac_status); } &&
107293          { ac_try='test -z "$ac_c_werror_flag"
107294                          || test ! -s conftest.err'
107295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107296   (eval $ac_try) 2>&5
107297   ac_status=$?
107298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107299   (exit $ac_status); }; } &&
107300          { ac_try='test -s conftest$ac_exeext'
107301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107302   (eval $ac_try) 2>&5
107303   ac_status=$?
107304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107305   (exit $ac_status); }; }; then
107306   glibcxx_cv_func___builtin_cosl_link=yes
107307 else
107308   echo "$as_me: failed program was:" >&5
107309 sed 's/^/| /' conftest.$ac_ext >&5
107310
107311 glibcxx_cv_func___builtin_cosl_link=no
107312 fi
107313 rm -f conftest.err conftest.$ac_objext \
107314       conftest$ac_exeext conftest.$ac_ext
107315
107316 fi
107317
107318     fi
107319     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
107320 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
107321
107322     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
107323
107324 cat >>confdefs.h <<\_ACEOF
107325 #define HAVE___BUILTIN_COSL 1
107326 _ACEOF
107327
107328     fi
107329
107330   fi
107331
107332
107333
107334
107335 echo "$as_me:$LINENO: checking for main in -lm" >&5
107336 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
107337 if test "${ac_cv_lib_m_main+set}" = set; then
107338   echo $ECHO_N "(cached) $ECHO_C" >&6
107339 else
107340   ac_check_lib_save_LIBS=$LIBS
107341 LIBS="-lm  $LIBS"
107342 if test x$gcc_no_link = xyes; then
107343   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107345    { (exit 1); exit 1; }; }
107346 fi
107347 cat >conftest.$ac_ext <<_ACEOF
107348 /* confdefs.h.  */
107349 _ACEOF
107350 cat confdefs.h >>conftest.$ac_ext
107351 cat >>conftest.$ac_ext <<_ACEOF
107352 /* end confdefs.h.  */
107353
107354
107355 int
107356 main ()
107357 {
107358 main ();
107359   ;
107360   return 0;
107361 }
107362 _ACEOF
107363 rm -f conftest.$ac_objext conftest$ac_exeext
107364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107365   (eval $ac_link) 2>conftest.er1
107366   ac_status=$?
107367   grep -v '^ *+' conftest.er1 >conftest.err
107368   rm -f conftest.er1
107369   cat conftest.err >&5
107370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107371   (exit $ac_status); } &&
107372          { ac_try='test -z "$ac_c_werror_flag"
107373                          || test ! -s conftest.err'
107374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107375   (eval $ac_try) 2>&5
107376   ac_status=$?
107377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107378   (exit $ac_status); }; } &&
107379          { ac_try='test -s conftest$ac_exeext'
107380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107381   (eval $ac_try) 2>&5
107382   ac_status=$?
107383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107384   (exit $ac_status); }; }; then
107385   ac_cv_lib_m_main=yes
107386 else
107387   echo "$as_me: failed program was:" >&5
107388 sed 's/^/| /' conftest.$ac_ext >&5
107389
107390 ac_cv_lib_m_main=no
107391 fi
107392 rm -f conftest.err conftest.$ac_objext \
107393       conftest$ac_exeext conftest.$ac_ext
107394 LIBS=$ac_check_lib_save_LIBS
107395 fi
107396 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
107397 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
107398 if test $ac_cv_lib_m_main = yes; then
107399   cat >>confdefs.h <<_ACEOF
107400 #define HAVE_LIBM 1
107401 _ACEOF
107402
107403   LIBS="-lm $LIBS"
107404
107405 fi
107406
107407
107408 for ac_func in copysignf
107409 do
107410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107411 echo "$as_me:$LINENO: checking for $ac_func" >&5
107412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107413 if eval "test \"\${$as_ac_var+set}\" = set"; then
107414   echo $ECHO_N "(cached) $ECHO_C" >&6
107415 else
107416   if test x$gcc_no_link = xyes; then
107417   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107419    { (exit 1); exit 1; }; }
107420 fi
107421 cat >conftest.$ac_ext <<_ACEOF
107422 /* confdefs.h.  */
107423 _ACEOF
107424 cat confdefs.h >>conftest.$ac_ext
107425 cat >>conftest.$ac_ext <<_ACEOF
107426 /* end confdefs.h.  */
107427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107428    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107429 #define $ac_func innocuous_$ac_func
107430
107431 /* System header to define __stub macros and hopefully few prototypes,
107432     which can conflict with char $ac_func (); below.
107433     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107434     <limits.h> exists even on freestanding compilers.  */
107435
107436 #ifdef __STDC__
107437 # include <limits.h>
107438 #else
107439 # include <assert.h>
107440 #endif
107441
107442 #undef $ac_func
107443
107444 /* Override any gcc2 internal prototype to avoid an error.  */
107445 #ifdef __cplusplus
107446 extern "C"
107447 {
107448 #endif
107449 /* We use char because int might match the return type of a gcc2
107450    builtin and then its argument prototype would still apply.  */
107451 char $ac_func ();
107452 /* The GNU C library defines this for functions which it implements
107453     to always fail with ENOSYS.  Some functions are actually named
107454     something starting with __ and the normal name is an alias.  */
107455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107456 choke me
107457 #else
107458 char (*f) () = $ac_func;
107459 #endif
107460 #ifdef __cplusplus
107461 }
107462 #endif
107463
107464 int
107465 main ()
107466 {
107467 return f != $ac_func;
107468   ;
107469   return 0;
107470 }
107471 _ACEOF
107472 rm -f conftest.$ac_objext conftest$ac_exeext
107473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107474   (eval $ac_link) 2>conftest.er1
107475   ac_status=$?
107476   grep -v '^ *+' conftest.er1 >conftest.err
107477   rm -f conftest.er1
107478   cat conftest.err >&5
107479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107480   (exit $ac_status); } &&
107481          { ac_try='test -z "$ac_c_werror_flag"
107482                          || test ! -s conftest.err'
107483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107484   (eval $ac_try) 2>&5
107485   ac_status=$?
107486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107487   (exit $ac_status); }; } &&
107488          { ac_try='test -s conftest$ac_exeext'
107489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107490   (eval $ac_try) 2>&5
107491   ac_status=$?
107492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107493   (exit $ac_status); }; }; then
107494   eval "$as_ac_var=yes"
107495 else
107496   echo "$as_me: failed program was:" >&5
107497 sed 's/^/| /' conftest.$ac_ext >&5
107498
107499 eval "$as_ac_var=no"
107500 fi
107501 rm -f conftest.err conftest.$ac_objext \
107502       conftest$ac_exeext conftest.$ac_ext
107503 fi
107504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107506 if test `eval echo '${'$as_ac_var'}'` = yes; then
107507   cat >>confdefs.h <<_ACEOF
107508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107509 _ACEOF
107510
107511 else
107512   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
107513 fi
107514 done
107515
107516
107517
107518 for ac_func in __signbit
107519 do
107520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107521 echo "$as_me:$LINENO: checking for $ac_func" >&5
107522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107523 if eval "test \"\${$as_ac_var+set}\" = set"; then
107524   echo $ECHO_N "(cached) $ECHO_C" >&6
107525 else
107526   if test x$gcc_no_link = xyes; then
107527   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107529    { (exit 1); exit 1; }; }
107530 fi
107531 cat >conftest.$ac_ext <<_ACEOF
107532 /* confdefs.h.  */
107533 _ACEOF
107534 cat confdefs.h >>conftest.$ac_ext
107535 cat >>conftest.$ac_ext <<_ACEOF
107536 /* end confdefs.h.  */
107537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107538    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107539 #define $ac_func innocuous_$ac_func
107540
107541 /* System header to define __stub macros and hopefully few prototypes,
107542     which can conflict with char $ac_func (); below.
107543     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107544     <limits.h> exists even on freestanding compilers.  */
107545
107546 #ifdef __STDC__
107547 # include <limits.h>
107548 #else
107549 # include <assert.h>
107550 #endif
107551
107552 #undef $ac_func
107553
107554 /* Override any gcc2 internal prototype to avoid an error.  */
107555 #ifdef __cplusplus
107556 extern "C"
107557 {
107558 #endif
107559 /* We use char because int might match the return type of a gcc2
107560    builtin and then its argument prototype would still apply.  */
107561 char $ac_func ();
107562 /* The GNU C library defines this for functions which it implements
107563     to always fail with ENOSYS.  Some functions are actually named
107564     something starting with __ and the normal name is an alias.  */
107565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107566 choke me
107567 #else
107568 char (*f) () = $ac_func;
107569 #endif
107570 #ifdef __cplusplus
107571 }
107572 #endif
107573
107574 int
107575 main ()
107576 {
107577 return f != $ac_func;
107578   ;
107579   return 0;
107580 }
107581 _ACEOF
107582 rm -f conftest.$ac_objext conftest$ac_exeext
107583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107584   (eval $ac_link) 2>conftest.er1
107585   ac_status=$?
107586   grep -v '^ *+' conftest.er1 >conftest.err
107587   rm -f conftest.er1
107588   cat conftest.err >&5
107589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107590   (exit $ac_status); } &&
107591          { ac_try='test -z "$ac_c_werror_flag"
107592                          || test ! -s conftest.err'
107593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107594   (eval $ac_try) 2>&5
107595   ac_status=$?
107596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107597   (exit $ac_status); }; } &&
107598          { ac_try='test -s conftest$ac_exeext'
107599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107600   (eval $ac_try) 2>&5
107601   ac_status=$?
107602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107603   (exit $ac_status); }; }; then
107604   eval "$as_ac_var=yes"
107605 else
107606   echo "$as_me: failed program was:" >&5
107607 sed 's/^/| /' conftest.$ac_ext >&5
107608
107609 eval "$as_ac_var=no"
107610 fi
107611 rm -f conftest.err conftest.$ac_objext \
107612       conftest$ac_exeext conftest.$ac_ext
107613 fi
107614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107616 if test `eval echo '${'$as_ac_var'}'` = yes; then
107617   cat >>confdefs.h <<_ACEOF
107618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107619 _ACEOF
107620
107621 else
107622   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
107623 fi
107624 done
107625
107626
107627
107628 for ac_func in __signbitf
107629 do
107630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107631 echo "$as_me:$LINENO: checking for $ac_func" >&5
107632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107633 if eval "test \"\${$as_ac_var+set}\" = set"; then
107634   echo $ECHO_N "(cached) $ECHO_C" >&6
107635 else
107636   if test x$gcc_no_link = xyes; then
107637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107639    { (exit 1); exit 1; }; }
107640 fi
107641 cat >conftest.$ac_ext <<_ACEOF
107642 /* confdefs.h.  */
107643 _ACEOF
107644 cat confdefs.h >>conftest.$ac_ext
107645 cat >>conftest.$ac_ext <<_ACEOF
107646 /* end confdefs.h.  */
107647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107648    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107649 #define $ac_func innocuous_$ac_func
107650
107651 /* System header to define __stub macros and hopefully few prototypes,
107652     which can conflict with char $ac_func (); below.
107653     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107654     <limits.h> exists even on freestanding compilers.  */
107655
107656 #ifdef __STDC__
107657 # include <limits.h>
107658 #else
107659 # include <assert.h>
107660 #endif
107661
107662 #undef $ac_func
107663
107664 /* Override any gcc2 internal prototype to avoid an error.  */
107665 #ifdef __cplusplus
107666 extern "C"
107667 {
107668 #endif
107669 /* We use char because int might match the return type of a gcc2
107670    builtin and then its argument prototype would still apply.  */
107671 char $ac_func ();
107672 /* The GNU C library defines this for functions which it implements
107673     to always fail with ENOSYS.  Some functions are actually named
107674     something starting with __ and the normal name is an alias.  */
107675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107676 choke me
107677 #else
107678 char (*f) () = $ac_func;
107679 #endif
107680 #ifdef __cplusplus
107681 }
107682 #endif
107683
107684 int
107685 main ()
107686 {
107687 return f != $ac_func;
107688   ;
107689   return 0;
107690 }
107691 _ACEOF
107692 rm -f conftest.$ac_objext conftest$ac_exeext
107693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107694   (eval $ac_link) 2>conftest.er1
107695   ac_status=$?
107696   grep -v '^ *+' conftest.er1 >conftest.err
107697   rm -f conftest.er1
107698   cat conftest.err >&5
107699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107700   (exit $ac_status); } &&
107701          { ac_try='test -z "$ac_c_werror_flag"
107702                          || test ! -s conftest.err'
107703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107704   (eval $ac_try) 2>&5
107705   ac_status=$?
107706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107707   (exit $ac_status); }; } &&
107708          { ac_try='test -s conftest$ac_exeext'
107709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107710   (eval $ac_try) 2>&5
107711   ac_status=$?
107712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107713   (exit $ac_status); }; }; then
107714   eval "$as_ac_var=yes"
107715 else
107716   echo "$as_me: failed program was:" >&5
107717 sed 's/^/| /' conftest.$ac_ext >&5
107718
107719 eval "$as_ac_var=no"
107720 fi
107721 rm -f conftest.err conftest.$ac_objext \
107722       conftest$ac_exeext conftest.$ac_ext
107723 fi
107724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107726 if test `eval echo '${'$as_ac_var'}'` = yes; then
107727   cat >>confdefs.h <<_ACEOF
107728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107729 _ACEOF
107730
107731 else
107732   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
107733 fi
107734 done
107735
107736
107737           if test x$ac_cv_func_copysignl = x"yes"; then
107738
107739 for ac_func in __signbitl
107740 do
107741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107742 echo "$as_me:$LINENO: checking for $ac_func" >&5
107743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107744 if eval "test \"\${$as_ac_var+set}\" = set"; then
107745   echo $ECHO_N "(cached) $ECHO_C" >&6
107746 else
107747   if test x$gcc_no_link = xyes; then
107748   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107750    { (exit 1); exit 1; }; }
107751 fi
107752 cat >conftest.$ac_ext <<_ACEOF
107753 /* confdefs.h.  */
107754 _ACEOF
107755 cat confdefs.h >>conftest.$ac_ext
107756 cat >>conftest.$ac_ext <<_ACEOF
107757 /* end confdefs.h.  */
107758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107759    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107760 #define $ac_func innocuous_$ac_func
107761
107762 /* System header to define __stub macros and hopefully few prototypes,
107763     which can conflict with char $ac_func (); below.
107764     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107765     <limits.h> exists even on freestanding compilers.  */
107766
107767 #ifdef __STDC__
107768 # include <limits.h>
107769 #else
107770 # include <assert.h>
107771 #endif
107772
107773 #undef $ac_func
107774
107775 /* Override any gcc2 internal prototype to avoid an error.  */
107776 #ifdef __cplusplus
107777 extern "C"
107778 {
107779 #endif
107780 /* We use char because int might match the return type of a gcc2
107781    builtin and then its argument prototype would still apply.  */
107782 char $ac_func ();
107783 /* The GNU C library defines this for functions which it implements
107784     to always fail with ENOSYS.  Some functions are actually named
107785     something starting with __ and the normal name is an alias.  */
107786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107787 choke me
107788 #else
107789 char (*f) () = $ac_func;
107790 #endif
107791 #ifdef __cplusplus
107792 }
107793 #endif
107794
107795 int
107796 main ()
107797 {
107798 return f != $ac_func;
107799   ;
107800   return 0;
107801 }
107802 _ACEOF
107803 rm -f conftest.$ac_objext conftest$ac_exeext
107804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107805   (eval $ac_link) 2>conftest.er1
107806   ac_status=$?
107807   grep -v '^ *+' conftest.er1 >conftest.err
107808   rm -f conftest.er1
107809   cat conftest.err >&5
107810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107811   (exit $ac_status); } &&
107812          { ac_try='test -z "$ac_c_werror_flag"
107813                          || test ! -s conftest.err'
107814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107815   (eval $ac_try) 2>&5
107816   ac_status=$?
107817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107818   (exit $ac_status); }; } &&
107819          { ac_try='test -s conftest$ac_exeext'
107820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107821   (eval $ac_try) 2>&5
107822   ac_status=$?
107823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107824   (exit $ac_status); }; }; then
107825   eval "$as_ac_var=yes"
107826 else
107827   echo "$as_me: failed program was:" >&5
107828 sed 's/^/| /' conftest.$ac_ext >&5
107829
107830 eval "$as_ac_var=no"
107831 fi
107832 rm -f conftest.err conftest.$ac_objext \
107833       conftest$ac_exeext conftest.$ac_ext
107834 fi
107835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107837 if test `eval echo '${'$as_ac_var'}'` = yes; then
107838   cat >>confdefs.h <<_ACEOF
107839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107840 _ACEOF
107841
107842 else
107843   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
107844 fi
107845 done
107846
107847   fi
107848
107849   # Used in libmath/Makefile.am.
107850   if test -n "$LIBMATHOBJS"; then
107851     need_libmath=yes
107852   fi
107853
107854
107855
107856   ac_test_CXXFLAGS="${CXXFLAGS+set}"
107857   ac_save_CXXFLAGS="$CXXFLAGS"
107858   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
107859
107860
107861   echo "$as_me:$LINENO: checking for strtold declaration" >&5
107862 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
107863   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
107864     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
107865   echo $ECHO_N "(cached) $ECHO_C" >&6
107866 else
107867
107868
107869
107870       ac_ext=cc
107871 ac_cpp='$CXXCPP $CPPFLAGS'
107872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107875
107876       cat >conftest.$ac_ext <<_ACEOF
107877 /* confdefs.h.  */
107878 _ACEOF
107879 cat confdefs.h >>conftest.$ac_ext
107880 cat >>conftest.$ac_ext <<_ACEOF
107881 /* end confdefs.h.  */
107882 #include <stdlib.h>
107883 int
107884 main ()
107885 {
107886  strtold(0, 0);
107887   ;
107888   return 0;
107889 }
107890 _ACEOF
107891 rm -f conftest.$ac_objext
107892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107893   (eval $ac_compile) 2>conftest.er1
107894   ac_status=$?
107895   grep -v '^ *+' conftest.er1 >conftest.err
107896   rm -f conftest.er1
107897   cat conftest.err >&5
107898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107899   (exit $ac_status); } &&
107900          { ac_try='test -z "$ac_cxx_werror_flag"
107901                          || test ! -s conftest.err'
107902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107903   (eval $ac_try) 2>&5
107904   ac_status=$?
107905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107906   (exit $ac_status); }; } &&
107907          { ac_try='test -s conftest.$ac_objext'
107908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107909   (eval $ac_try) 2>&5
107910   ac_status=$?
107911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107912   (exit $ac_status); }; }; then
107913   glibcxx_cv_func_strtold_use=yes
107914 else
107915   echo "$as_me: failed program was:" >&5
107916 sed 's/^/| /' conftest.$ac_ext >&5
107917
107918 glibcxx_cv_func_strtold_use=no
107919 fi
107920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107921       ac_ext=c
107922 ac_cpp='$CPP $CPPFLAGS'
107923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107926
107927
107928 fi
107929
107930   fi
107931   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
107932 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
107933   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
107934
107935 for ac_func in strtold
107936 do
107937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107938 echo "$as_me:$LINENO: checking for $ac_func" >&5
107939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107940 if eval "test \"\${$as_ac_var+set}\" = set"; then
107941   echo $ECHO_N "(cached) $ECHO_C" >&6
107942 else
107943   if test x$gcc_no_link = xyes; then
107944   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107946    { (exit 1); exit 1; }; }
107947 fi
107948 cat >conftest.$ac_ext <<_ACEOF
107949 /* confdefs.h.  */
107950 _ACEOF
107951 cat confdefs.h >>conftest.$ac_ext
107952 cat >>conftest.$ac_ext <<_ACEOF
107953 /* end confdefs.h.  */
107954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107955    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107956 #define $ac_func innocuous_$ac_func
107957
107958 /* System header to define __stub macros and hopefully few prototypes,
107959     which can conflict with char $ac_func (); below.
107960     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107961     <limits.h> exists even on freestanding compilers.  */
107962
107963 #ifdef __STDC__
107964 # include <limits.h>
107965 #else
107966 # include <assert.h>
107967 #endif
107968
107969 #undef $ac_func
107970
107971 /* Override any gcc2 internal prototype to avoid an error.  */
107972 #ifdef __cplusplus
107973 extern "C"
107974 {
107975 #endif
107976 /* We use char because int might match the return type of a gcc2
107977    builtin and then its argument prototype would still apply.  */
107978 char $ac_func ();
107979 /* The GNU C library defines this for functions which it implements
107980     to always fail with ENOSYS.  Some functions are actually named
107981     something starting with __ and the normal name is an alias.  */
107982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107983 choke me
107984 #else
107985 char (*f) () = $ac_func;
107986 #endif
107987 #ifdef __cplusplus
107988 }
107989 #endif
107990
107991 int
107992 main ()
107993 {
107994 return f != $ac_func;
107995   ;
107996   return 0;
107997 }
107998 _ACEOF
107999 rm -f conftest.$ac_objext conftest$ac_exeext
108000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108001   (eval $ac_link) 2>conftest.er1
108002   ac_status=$?
108003   grep -v '^ *+' conftest.er1 >conftest.err
108004   rm -f conftest.er1
108005   cat conftest.err >&5
108006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108007   (exit $ac_status); } &&
108008          { ac_try='test -z "$ac_c_werror_flag"
108009                          || test ! -s conftest.err'
108010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108011   (eval $ac_try) 2>&5
108012   ac_status=$?
108013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108014   (exit $ac_status); }; } &&
108015          { ac_try='test -s conftest$ac_exeext'
108016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108017   (eval $ac_try) 2>&5
108018   ac_status=$?
108019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108020   (exit $ac_status); }; }; then
108021   eval "$as_ac_var=yes"
108022 else
108023   echo "$as_me: failed program was:" >&5
108024 sed 's/^/| /' conftest.$ac_ext >&5
108025
108026 eval "$as_ac_var=no"
108027 fi
108028 rm -f conftest.err conftest.$ac_objext \
108029       conftest$ac_exeext conftest.$ac_ext
108030 fi
108031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108033 if test `eval echo '${'$as_ac_var'}'` = yes; then
108034   cat >>confdefs.h <<_ACEOF
108035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108036 _ACEOF
108037
108038 fi
108039 done
108040
108041   fi
108042
108043
108044
108045
108046
108047   echo "$as_me:$LINENO: checking for strtof declaration" >&5
108048 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
108049   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
108050     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
108051   echo $ECHO_N "(cached) $ECHO_C" >&6
108052 else
108053
108054
108055
108056       ac_ext=cc
108057 ac_cpp='$CXXCPP $CPPFLAGS'
108058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108061
108062       cat >conftest.$ac_ext <<_ACEOF
108063 /* confdefs.h.  */
108064 _ACEOF
108065 cat confdefs.h >>conftest.$ac_ext
108066 cat >>conftest.$ac_ext <<_ACEOF
108067 /* end confdefs.h.  */
108068 #include <stdlib.h>
108069 int
108070 main ()
108071 {
108072  strtof(0, 0);
108073   ;
108074   return 0;
108075 }
108076 _ACEOF
108077 rm -f conftest.$ac_objext
108078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108079   (eval $ac_compile) 2>conftest.er1
108080   ac_status=$?
108081   grep -v '^ *+' conftest.er1 >conftest.err
108082   rm -f conftest.er1
108083   cat conftest.err >&5
108084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108085   (exit $ac_status); } &&
108086          { ac_try='test -z "$ac_cxx_werror_flag"
108087                          || test ! -s conftest.err'
108088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108089   (eval $ac_try) 2>&5
108090   ac_status=$?
108091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108092   (exit $ac_status); }; } &&
108093          { ac_try='test -s conftest.$ac_objext'
108094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108095   (eval $ac_try) 2>&5
108096   ac_status=$?
108097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108098   (exit $ac_status); }; }; then
108099   glibcxx_cv_func_strtof_use=yes
108100 else
108101   echo "$as_me: failed program was:" >&5
108102 sed 's/^/| /' conftest.$ac_ext >&5
108103
108104 glibcxx_cv_func_strtof_use=no
108105 fi
108106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108107       ac_ext=c
108108 ac_cpp='$CPP $CPPFLAGS'
108109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108112
108113
108114 fi
108115
108116   fi
108117   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
108118 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
108119   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
108120
108121 for ac_func in strtof
108122 do
108123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108124 echo "$as_me:$LINENO: checking for $ac_func" >&5
108125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108126 if eval "test \"\${$as_ac_var+set}\" = set"; then
108127   echo $ECHO_N "(cached) $ECHO_C" >&6
108128 else
108129   if test x$gcc_no_link = xyes; then
108130   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108132    { (exit 1); exit 1; }; }
108133 fi
108134 cat >conftest.$ac_ext <<_ACEOF
108135 /* confdefs.h.  */
108136 _ACEOF
108137 cat confdefs.h >>conftest.$ac_ext
108138 cat >>conftest.$ac_ext <<_ACEOF
108139 /* end confdefs.h.  */
108140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108141    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
108142 #define $ac_func innocuous_$ac_func
108143
108144 /* System header to define __stub macros and hopefully few prototypes,
108145     which can conflict with char $ac_func (); below.
108146     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108147     <limits.h> exists even on freestanding compilers.  */
108148
108149 #ifdef __STDC__
108150 # include <limits.h>
108151 #else
108152 # include <assert.h>
108153 #endif
108154
108155 #undef $ac_func
108156
108157 /* Override any gcc2 internal prototype to avoid an error.  */
108158 #ifdef __cplusplus
108159 extern "C"
108160 {
108161 #endif
108162 /* We use char because int might match the return type of a gcc2
108163    builtin and then its argument prototype would still apply.  */
108164 char $ac_func ();
108165 /* The GNU C library defines this for functions which it implements
108166     to always fail with ENOSYS.  Some functions are actually named
108167     something starting with __ and the normal name is an alias.  */
108168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108169 choke me
108170 #else
108171 char (*f) () = $ac_func;
108172 #endif
108173 #ifdef __cplusplus
108174 }
108175 #endif
108176
108177 int
108178 main ()
108179 {
108180 return f != $ac_func;
108181   ;
108182   return 0;
108183 }
108184 _ACEOF
108185 rm -f conftest.$ac_objext conftest$ac_exeext
108186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108187   (eval $ac_link) 2>conftest.er1
108188   ac_status=$?
108189   grep -v '^ *+' conftest.er1 >conftest.err
108190   rm -f conftest.er1
108191   cat conftest.err >&5
108192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108193   (exit $ac_status); } &&
108194          { ac_try='test -z "$ac_c_werror_flag"
108195                          || test ! -s conftest.err'
108196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108197   (eval $ac_try) 2>&5
108198   ac_status=$?
108199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108200   (exit $ac_status); }; } &&
108201          { ac_try='test -s conftest$ac_exeext'
108202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108203   (eval $ac_try) 2>&5
108204   ac_status=$?
108205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108206   (exit $ac_status); }; }; then
108207   eval "$as_ac_var=yes"
108208 else
108209   echo "$as_me: failed program was:" >&5
108210 sed 's/^/| /' conftest.$ac_ext >&5
108211
108212 eval "$as_ac_var=no"
108213 fi
108214 rm -f conftest.err conftest.$ac_objext \
108215       conftest$ac_exeext conftest.$ac_ext
108216 fi
108217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108219 if test `eval echo '${'$as_ac_var'}'` = yes; then
108220   cat >>confdefs.h <<_ACEOF
108221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108222 _ACEOF
108223
108224 fi
108225 done
108226
108227   fi
108228
108229
108230
108231
108232
108233   CXXFLAGS="$ac_save_CXXFLAGS"
108234
108235
108236     # For LFS.
108237     cat >>confdefs.h <<\_ACEOF
108238 #define HAVE_INT64_T 1
108239 _ACEOF
108240
108241
108242
108243
108244   ac_ext=cc
108245 ac_cpp='$CXXCPP $CPPFLAGS'
108246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108249
108250   ac_save_CXXFLAGS="$CXXFLAGS"
108251   CXXFLAGS="$CXXFLAGS -fno-exceptions"
108252   echo "$as_me:$LINENO: checking for LFS support" >&5
108253 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
108254   if test "${glibcxx_cv_LFS+set}" = set; then
108255   echo $ECHO_N "(cached) $ECHO_C" >&6
108256 else
108257
108258     if test x$gcc_no_link = xyes; then
108259   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108261    { (exit 1); exit 1; }; }
108262 fi
108263 cat >conftest.$ac_ext <<_ACEOF
108264 /* confdefs.h.  */
108265 _ACEOF
108266 cat confdefs.h >>conftest.$ac_ext
108267 cat >>conftest.$ac_ext <<_ACEOF
108268 /* end confdefs.h.  */
108269 #include <unistd.h>
108270        #include <stdio.h>
108271        #include <sys/stat.h>
108272
108273 int
108274 main ()
108275 {
108276 FILE* fp;
108277        fopen64("t", "w");
108278        fseeko64(fp, 0, SEEK_CUR);
108279        ftello64(fp);
108280        lseek64(1, 0, SEEK_CUR);
108281        struct stat64 buf;
108282        fstat64(1, &buf);
108283   ;
108284   return 0;
108285 }
108286 _ACEOF
108287 rm -f conftest.$ac_objext conftest$ac_exeext
108288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108289   (eval $ac_link) 2>conftest.er1
108290   ac_status=$?
108291   grep -v '^ *+' conftest.er1 >conftest.err
108292   rm -f conftest.er1
108293   cat conftest.err >&5
108294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108295   (exit $ac_status); } &&
108296          { ac_try='test -z "$ac_cxx_werror_flag"
108297                          || test ! -s conftest.err'
108298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108299   (eval $ac_try) 2>&5
108300   ac_status=$?
108301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108302   (exit $ac_status); }; } &&
108303          { ac_try='test -s conftest$ac_exeext'
108304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108305   (eval $ac_try) 2>&5
108306   ac_status=$?
108307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108308   (exit $ac_status); }; }; then
108309   glibcxx_cv_LFS=yes
108310 else
108311   echo "$as_me: failed program was:" >&5
108312 sed 's/^/| /' conftest.$ac_ext >&5
108313
108314 glibcxx_cv_LFS=no
108315 fi
108316 rm -f conftest.err conftest.$ac_objext \
108317       conftest$ac_exeext conftest.$ac_ext
108318
108319 fi
108320
108321   if test $glibcxx_cv_LFS = yes; then
108322
108323 cat >>confdefs.h <<\_ACEOF
108324 #define _GLIBCXX_USE_LFS 1
108325 _ACEOF
108326
108327   fi
108328   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
108329 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
108330   CXXFLAGS="$ac_save_CXXFLAGS"
108331   ac_ext=c
108332 ac_cpp='$CPP $CPPFLAGS'
108333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108336
108337
108338
108339     # For showmanyc_helper().
108340
108341
108342 for ac_header in sys/ioctl.h sys/filio.h
108343 do
108344 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108346   echo "$as_me:$LINENO: checking for $ac_header" >&5
108347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108348 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108349   echo $ECHO_N "(cached) $ECHO_C" >&6
108350 fi
108351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108352 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108353 else
108354   # Is the header compilable?
108355 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108356 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108357 cat >conftest.$ac_ext <<_ACEOF
108358 /* confdefs.h.  */
108359 _ACEOF
108360 cat confdefs.h >>conftest.$ac_ext
108361 cat >>conftest.$ac_ext <<_ACEOF
108362 /* end confdefs.h.  */
108363 $ac_includes_default
108364 #include <$ac_header>
108365 _ACEOF
108366 rm -f conftest.$ac_objext
108367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108368   (eval $ac_compile) 2>conftest.er1
108369   ac_status=$?
108370   grep -v '^ *+' conftest.er1 >conftest.err
108371   rm -f conftest.er1
108372   cat conftest.err >&5
108373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108374   (exit $ac_status); } &&
108375          { ac_try='test -z "$ac_c_werror_flag"
108376                          || test ! -s conftest.err'
108377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108378   (eval $ac_try) 2>&5
108379   ac_status=$?
108380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108381   (exit $ac_status); }; } &&
108382          { ac_try='test -s conftest.$ac_objext'
108383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108384   (eval $ac_try) 2>&5
108385   ac_status=$?
108386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108387   (exit $ac_status); }; }; then
108388   ac_header_compiler=yes
108389 else
108390   echo "$as_me: failed program was:" >&5
108391 sed 's/^/| /' conftest.$ac_ext >&5
108392
108393 ac_header_compiler=no
108394 fi
108395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108396 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108397 echo "${ECHO_T}$ac_header_compiler" >&6
108398
108399 # Is the header present?
108400 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108401 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108402 cat >conftest.$ac_ext <<_ACEOF
108403 /* confdefs.h.  */
108404 _ACEOF
108405 cat confdefs.h >>conftest.$ac_ext
108406 cat >>conftest.$ac_ext <<_ACEOF
108407 /* end confdefs.h.  */
108408 #include <$ac_header>
108409 _ACEOF
108410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108411   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108412   ac_status=$?
108413   grep -v '^ *+' conftest.er1 >conftest.err
108414   rm -f conftest.er1
108415   cat conftest.err >&5
108416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108417   (exit $ac_status); } >/dev/null; then
108418   if test -s conftest.err; then
108419     ac_cpp_err=$ac_c_preproc_warn_flag
108420     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108421   else
108422     ac_cpp_err=
108423   fi
108424 else
108425   ac_cpp_err=yes
108426 fi
108427 if test -z "$ac_cpp_err"; then
108428   ac_header_preproc=yes
108429 else
108430   echo "$as_me: failed program was:" >&5
108431 sed 's/^/| /' conftest.$ac_ext >&5
108432
108433   ac_header_preproc=no
108434 fi
108435 rm -f conftest.err conftest.$ac_ext
108436 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108437 echo "${ECHO_T}$ac_header_preproc" >&6
108438
108439 # So?  What about this header?
108440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108441   yes:no: )
108442     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108443 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108444     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108445 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108446     ac_header_preproc=yes
108447     ;;
108448   no:yes:* )
108449     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108450 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108451     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
108452 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
108453     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108454 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108455     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
108456 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
108457     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108458 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108459     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108460 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108461     (
108462       cat <<\_ASBOX
108463 ## ----------------------------------------- ##
108464 ## Report this to the package-unused lists.  ##
108465 ## ----------------------------------------- ##
108466 _ASBOX
108467     ) |
108468       sed "s/^/$as_me: WARNING:     /" >&2
108469     ;;
108470 esac
108471 echo "$as_me:$LINENO: checking for $ac_header" >&5
108472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108474   echo $ECHO_N "(cached) $ECHO_C" >&6
108475 else
108476   eval "$as_ac_Header=\$ac_header_preproc"
108477 fi
108478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108479 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108480
108481 fi
108482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108483   cat >>confdefs.h <<_ACEOF
108484 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108485 _ACEOF
108486
108487 fi
108488
108489 done
108490
108491
108492   echo "$as_me:$LINENO: checking for poll" >&5
108493 echo $ECHO_N "checking for poll... $ECHO_C" >&6
108494   if test "${glibcxx_cv_POLL+set}" = set; then
108495   echo $ECHO_N "(cached) $ECHO_C" >&6
108496 else
108497
108498     if test x$gcc_no_link = xyes; then
108499   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108501    { (exit 1); exit 1; }; }
108502 fi
108503 cat >conftest.$ac_ext <<_ACEOF
108504 /* confdefs.h.  */
108505 _ACEOF
108506 cat confdefs.h >>conftest.$ac_ext
108507 cat >>conftest.$ac_ext <<_ACEOF
108508 /* end confdefs.h.  */
108509 #include <poll.h>
108510 int
108511 main ()
108512 {
108513 struct pollfd pfd[1];
108514        pfd[0].events = POLLIN;
108515        poll(pfd, 1, 0);
108516   ;
108517   return 0;
108518 }
108519 _ACEOF
108520 rm -f conftest.$ac_objext conftest$ac_exeext
108521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108522   (eval $ac_link) 2>conftest.er1
108523   ac_status=$?
108524   grep -v '^ *+' conftest.er1 >conftest.err
108525   rm -f conftest.er1
108526   cat conftest.err >&5
108527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108528   (exit $ac_status); } &&
108529          { ac_try='test -z "$ac_c_werror_flag"
108530                          || test ! -s conftest.err'
108531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108532   (eval $ac_try) 2>&5
108533   ac_status=$?
108534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108535   (exit $ac_status); }; } &&
108536          { ac_try='test -s conftest$ac_exeext'
108537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108538   (eval $ac_try) 2>&5
108539   ac_status=$?
108540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108541   (exit $ac_status); }; }; then
108542   glibcxx_cv_POLL=yes
108543 else
108544   echo "$as_me: failed program was:" >&5
108545 sed 's/^/| /' conftest.$ac_ext >&5
108546
108547 glibcxx_cv_POLL=no
108548 fi
108549 rm -f conftest.err conftest.$ac_objext \
108550       conftest$ac_exeext conftest.$ac_ext
108551
108552 fi
108553
108554   if test $glibcxx_cv_POLL = yes; then
108555
108556 cat >>confdefs.h <<\_ACEOF
108557 #define HAVE_POLL 1
108558 _ACEOF
108559
108560   fi
108561   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
108562 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
108563
108564
108565   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
108566 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
108567   if test "${glibcxx_cv_S_ISREG+set}" = set; then
108568   echo $ECHO_N "(cached) $ECHO_C" >&6
108569 else
108570
108571     if test x$gcc_no_link = xyes; then
108572   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108574    { (exit 1); exit 1; }; }
108575 fi
108576 cat >conftest.$ac_ext <<_ACEOF
108577 /* confdefs.h.  */
108578 _ACEOF
108579 cat confdefs.h >>conftest.$ac_ext
108580 cat >>conftest.$ac_ext <<_ACEOF
108581 /* end confdefs.h.  */
108582 #include <sys/stat.h>
108583 int
108584 main ()
108585 {
108586 struct stat buffer;
108587        fstat(0, &buffer);
108588        S_ISREG(buffer.st_mode);
108589   ;
108590   return 0;
108591 }
108592 _ACEOF
108593 rm -f conftest.$ac_objext conftest$ac_exeext
108594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108595   (eval $ac_link) 2>conftest.er1
108596   ac_status=$?
108597   grep -v '^ *+' conftest.er1 >conftest.err
108598   rm -f conftest.er1
108599   cat conftest.err >&5
108600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108601   (exit $ac_status); } &&
108602          { ac_try='test -z "$ac_c_werror_flag"
108603                          || test ! -s conftest.err'
108604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108605   (eval $ac_try) 2>&5
108606   ac_status=$?
108607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108608   (exit $ac_status); }; } &&
108609          { ac_try='test -s conftest$ac_exeext'
108610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108611   (eval $ac_try) 2>&5
108612   ac_status=$?
108613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108614   (exit $ac_status); }; }; then
108615   glibcxx_cv_S_ISREG=yes
108616 else
108617   echo "$as_me: failed program was:" >&5
108618 sed 's/^/| /' conftest.$ac_ext >&5
108619
108620 glibcxx_cv_S_ISREG=no
108621 fi
108622 rm -f conftest.err conftest.$ac_objext \
108623       conftest$ac_exeext conftest.$ac_ext
108624
108625 fi
108626
108627   if test "${glibcxx_cv_S_IFREG+set}" = set; then
108628   echo $ECHO_N "(cached) $ECHO_C" >&6
108629 else
108630
108631     if test x$gcc_no_link = xyes; then
108632   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108634    { (exit 1); exit 1; }; }
108635 fi
108636 cat >conftest.$ac_ext <<_ACEOF
108637 /* confdefs.h.  */
108638 _ACEOF
108639 cat confdefs.h >>conftest.$ac_ext
108640 cat >>conftest.$ac_ext <<_ACEOF
108641 /* end confdefs.h.  */
108642 #include <sys/stat.h>
108643 int
108644 main ()
108645 {
108646 struct stat buffer;
108647        fstat(0, &buffer);
108648        S_IFREG & buffer.st_mode;
108649   ;
108650   return 0;
108651 }
108652 _ACEOF
108653 rm -f conftest.$ac_objext conftest$ac_exeext
108654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108655   (eval $ac_link) 2>conftest.er1
108656   ac_status=$?
108657   grep -v '^ *+' conftest.er1 >conftest.err
108658   rm -f conftest.er1
108659   cat conftest.err >&5
108660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108661   (exit $ac_status); } &&
108662          { ac_try='test -z "$ac_c_werror_flag"
108663                          || test ! -s conftest.err'
108664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108665   (eval $ac_try) 2>&5
108666   ac_status=$?
108667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108668   (exit $ac_status); }; } &&
108669          { ac_try='test -s conftest$ac_exeext'
108670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108671   (eval $ac_try) 2>&5
108672   ac_status=$?
108673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108674   (exit $ac_status); }; }; then
108675   glibcxx_cv_S_IFREG=yes
108676 else
108677   echo "$as_me: failed program was:" >&5
108678 sed 's/^/| /' conftest.$ac_ext >&5
108679
108680 glibcxx_cv_S_IFREG=no
108681 fi
108682 rm -f conftest.err conftest.$ac_objext \
108683       conftest$ac_exeext conftest.$ac_ext
108684
108685 fi
108686
108687   res=no
108688   if test $glibcxx_cv_S_ISREG = yes; then
108689
108690 cat >>confdefs.h <<\_ACEOF
108691 #define HAVE_S_ISREG 1
108692 _ACEOF
108693
108694     res=S_ISREG
108695   elif test $glibcxx_cv_S_IFREG = yes; then
108696
108697 cat >>confdefs.h <<\_ACEOF
108698 #define HAVE_S_IFREG 1
108699 _ACEOF
108700
108701     res=S_IFREG
108702   fi
108703   echo "$as_me:$LINENO: result: $res" >&5
108704 echo "${ECHO_T}$res" >&6
108705
108706
108707     # For xsputn_2().
108708
108709 for ac_header in sys/uio.h
108710 do
108711 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108713   echo "$as_me:$LINENO: checking for $ac_header" >&5
108714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108716   echo $ECHO_N "(cached) $ECHO_C" >&6
108717 fi
108718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108720 else
108721   # Is the header compilable?
108722 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108723 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108724 cat >conftest.$ac_ext <<_ACEOF
108725 /* confdefs.h.  */
108726 _ACEOF
108727 cat confdefs.h >>conftest.$ac_ext
108728 cat >>conftest.$ac_ext <<_ACEOF
108729 /* end confdefs.h.  */
108730 $ac_includes_default
108731 #include <$ac_header>
108732 _ACEOF
108733 rm -f conftest.$ac_objext
108734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108735   (eval $ac_compile) 2>conftest.er1
108736   ac_status=$?
108737   grep -v '^ *+' conftest.er1 >conftest.err
108738   rm -f conftest.er1
108739   cat conftest.err >&5
108740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108741   (exit $ac_status); } &&
108742          { ac_try='test -z "$ac_c_werror_flag"
108743                          || test ! -s conftest.err'
108744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108745   (eval $ac_try) 2>&5
108746   ac_status=$?
108747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108748   (exit $ac_status); }; } &&
108749          { ac_try='test -s conftest.$ac_objext'
108750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108751   (eval $ac_try) 2>&5
108752   ac_status=$?
108753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108754   (exit $ac_status); }; }; then
108755   ac_header_compiler=yes
108756 else
108757   echo "$as_me: failed program was:" >&5
108758 sed 's/^/| /' conftest.$ac_ext >&5
108759
108760 ac_header_compiler=no
108761 fi
108762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108763 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108764 echo "${ECHO_T}$ac_header_compiler" >&6
108765
108766 # Is the header present?
108767 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108768 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108769 cat >conftest.$ac_ext <<_ACEOF
108770 /* confdefs.h.  */
108771 _ACEOF
108772 cat confdefs.h >>conftest.$ac_ext
108773 cat >>conftest.$ac_ext <<_ACEOF
108774 /* end confdefs.h.  */
108775 #include <$ac_header>
108776 _ACEOF
108777 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108778   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108779   ac_status=$?
108780   grep -v '^ *+' conftest.er1 >conftest.err
108781   rm -f conftest.er1
108782   cat conftest.err >&5
108783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108784   (exit $ac_status); } >/dev/null; then
108785   if test -s conftest.err; then
108786     ac_cpp_err=$ac_c_preproc_warn_flag
108787     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108788   else
108789     ac_cpp_err=
108790   fi
108791 else
108792   ac_cpp_err=yes
108793 fi
108794 if test -z "$ac_cpp_err"; then
108795   ac_header_preproc=yes
108796 else
108797   echo "$as_me: failed program was:" >&5
108798 sed 's/^/| /' conftest.$ac_ext >&5
108799
108800   ac_header_preproc=no
108801 fi
108802 rm -f conftest.err conftest.$ac_ext
108803 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108804 echo "${ECHO_T}$ac_header_preproc" >&6
108805
108806 # So?  What about this header?
108807 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108808   yes:no: )
108809     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108810 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108811     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108812 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108813     ac_header_preproc=yes
108814     ;;
108815   no:yes:* )
108816     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108817 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108818     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
108819 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
108820     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108821 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108822     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
108823 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
108824     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108825 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108826     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108827 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108828     (
108829       cat <<\_ASBOX
108830 ## ----------------------------------------- ##
108831 ## Report this to the package-unused lists.  ##
108832 ## ----------------------------------------- ##
108833 _ASBOX
108834     ) |
108835       sed "s/^/$as_me: WARNING:     /" >&2
108836     ;;
108837 esac
108838 echo "$as_me:$LINENO: checking for $ac_header" >&5
108839 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108841   echo $ECHO_N "(cached) $ECHO_C" >&6
108842 else
108843   eval "$as_ac_Header=\$ac_header_preproc"
108844 fi
108845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108846 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108847
108848 fi
108849 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108850   cat >>confdefs.h <<_ACEOF
108851 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108852 _ACEOF
108853
108854 fi
108855
108856 done
108857
108858
108859   echo "$as_me:$LINENO: checking for writev" >&5
108860 echo $ECHO_N "checking for writev... $ECHO_C" >&6
108861   if test "${glibcxx_cv_WRITEV+set}" = set; then
108862   echo $ECHO_N "(cached) $ECHO_C" >&6
108863 else
108864
108865     if test x$gcc_no_link = xyes; then
108866   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108868    { (exit 1); exit 1; }; }
108869 fi
108870 cat >conftest.$ac_ext <<_ACEOF
108871 /* confdefs.h.  */
108872 _ACEOF
108873 cat confdefs.h >>conftest.$ac_ext
108874 cat >>conftest.$ac_ext <<_ACEOF
108875 /* end confdefs.h.  */
108876 #include <sys/uio.h>
108877 int
108878 main ()
108879 {
108880 struct iovec iov[2];
108881        writev(0, iov, 0);
108882   ;
108883   return 0;
108884 }
108885 _ACEOF
108886 rm -f conftest.$ac_objext conftest$ac_exeext
108887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108888   (eval $ac_link) 2>conftest.er1
108889   ac_status=$?
108890   grep -v '^ *+' conftest.er1 >conftest.err
108891   rm -f conftest.er1
108892   cat conftest.err >&5
108893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108894   (exit $ac_status); } &&
108895          { ac_try='test -z "$ac_c_werror_flag"
108896                          || test ! -s conftest.err'
108897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108898   (eval $ac_try) 2>&5
108899   ac_status=$?
108900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108901   (exit $ac_status); }; } &&
108902          { ac_try='test -s conftest$ac_exeext'
108903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108904   (eval $ac_try) 2>&5
108905   ac_status=$?
108906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108907   (exit $ac_status); }; }; then
108908   glibcxx_cv_WRITEV=yes
108909 else
108910   echo "$as_me: failed program was:" >&5
108911 sed 's/^/| /' conftest.$ac_ext >&5
108912
108913 glibcxx_cv_WRITEV=no
108914 fi
108915 rm -f conftest.err conftest.$ac_objext \
108916       conftest$ac_exeext conftest.$ac_ext
108917
108918 fi
108919
108920   if test $glibcxx_cv_WRITEV = yes; then
108921
108922 cat >>confdefs.h <<\_ACEOF
108923 #define HAVE_WRITEV 1
108924 _ACEOF
108925
108926   fi
108927   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
108928 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
108929
108930
108931     # For C99 support to TR1.
108932
108933
108934
108935
108936   ac_ext=cc
108937 ac_cpp='$CXXCPP $CPPFLAGS'
108938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108941
108942
108943   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
108944   # undefined and fake C99 facilities may be spuriously enabled.
108945   ac_save_CXXFLAGS="$CXXFLAGS"
108946   CXXFLAGS="$CXXFLAGS -std=c++98"
108947
108948   # Check for the existence of <complex.h> complex math functions used
108949   # by tr1/complex.
108950
108951 for ac_header in complex.h
108952 do
108953 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108955   echo "$as_me:$LINENO: checking for $ac_header" >&5
108956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108958   echo $ECHO_N "(cached) $ECHO_C" >&6
108959 fi
108960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108962 else
108963   # Is the header compilable?
108964 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108965 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108966 cat >conftest.$ac_ext <<_ACEOF
108967 /* confdefs.h.  */
108968 _ACEOF
108969 cat confdefs.h >>conftest.$ac_ext
108970 cat >>conftest.$ac_ext <<_ACEOF
108971 /* end confdefs.h.  */
108972 $ac_includes_default
108973 #include <$ac_header>
108974 _ACEOF
108975 rm -f conftest.$ac_objext
108976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108977   (eval $ac_compile) 2>conftest.er1
108978   ac_status=$?
108979   grep -v '^ *+' conftest.er1 >conftest.err
108980   rm -f conftest.er1
108981   cat conftest.err >&5
108982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108983   (exit $ac_status); } &&
108984          { ac_try='test -z "$ac_cxx_werror_flag"
108985                          || test ! -s conftest.err'
108986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108987   (eval $ac_try) 2>&5
108988   ac_status=$?
108989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108990   (exit $ac_status); }; } &&
108991          { ac_try='test -s conftest.$ac_objext'
108992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108993   (eval $ac_try) 2>&5
108994   ac_status=$?
108995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108996   (exit $ac_status); }; }; then
108997   ac_header_compiler=yes
108998 else
108999   echo "$as_me: failed program was:" >&5
109000 sed 's/^/| /' conftest.$ac_ext >&5
109001
109002 ac_header_compiler=no
109003 fi
109004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109005 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109006 echo "${ECHO_T}$ac_header_compiler" >&6
109007
109008 # Is the header present?
109009 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109010 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109011 cat >conftest.$ac_ext <<_ACEOF
109012 /* confdefs.h.  */
109013 _ACEOF
109014 cat confdefs.h >>conftest.$ac_ext
109015 cat >>conftest.$ac_ext <<_ACEOF
109016 /* end confdefs.h.  */
109017 #include <$ac_header>
109018 _ACEOF
109019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109020   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109021   ac_status=$?
109022   grep -v '^ *+' conftest.er1 >conftest.err
109023   rm -f conftest.er1
109024   cat conftest.err >&5
109025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109026   (exit $ac_status); } >/dev/null; then
109027   if test -s conftest.err; then
109028     ac_cpp_err=$ac_cxx_preproc_warn_flag
109029     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109030   else
109031     ac_cpp_err=
109032   fi
109033 else
109034   ac_cpp_err=yes
109035 fi
109036 if test -z "$ac_cpp_err"; then
109037   ac_header_preproc=yes
109038 else
109039   echo "$as_me: failed program was:" >&5
109040 sed 's/^/| /' conftest.$ac_ext >&5
109041
109042   ac_header_preproc=no
109043 fi
109044 rm -f conftest.err conftest.$ac_ext
109045 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109046 echo "${ECHO_T}$ac_header_preproc" >&6
109047
109048 # So?  What about this header?
109049 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109050   yes:no: )
109051     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109052 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109053     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109054 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109055     ac_header_preproc=yes
109056     ;;
109057   no:yes:* )
109058     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109059 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109060     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
109061 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
109062     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109063 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109064     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
109065 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
109066     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109067 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109068     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109069 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109070     (
109071       cat <<\_ASBOX
109072 ## ----------------------------------------- ##
109073 ## Report this to the package-unused lists.  ##
109074 ## ----------------------------------------- ##
109075 _ASBOX
109076     ) |
109077       sed "s/^/$as_me: WARNING:     /" >&2
109078     ;;
109079 esac
109080 echo "$as_me:$LINENO: checking for $ac_header" >&5
109081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109083   echo $ECHO_N "(cached) $ECHO_C" >&6
109084 else
109085   eval "$as_ac_Header=\$ac_header_preproc"
109086 fi
109087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109089
109090 fi
109091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109092   cat >>confdefs.h <<_ACEOF
109093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109094 _ACEOF
109095  ac_has_complex_h=yes
109096 else
109097   ac_has_complex_h=no
109098 fi
109099
109100 done
109101
109102   ac_c99_complex_tr1=no;
109103   if test x"$ac_has_complex_h" = x"yes"; then
109104     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
109105 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
109106     cat >conftest.$ac_ext <<_ACEOF
109107 /* confdefs.h.  */
109108 _ACEOF
109109 cat confdefs.h >>conftest.$ac_ext
109110 cat >>conftest.$ac_ext <<_ACEOF
109111 /* end confdefs.h.  */
109112 #include <complex.h>
109113 int
109114 main ()
109115 {
109116 typedef __complex__ float float_type; float_type tmpf;
109117                     cacosf(tmpf);
109118                     casinf(tmpf);
109119                     catanf(tmpf);
109120                     cacoshf(tmpf);
109121                     casinhf(tmpf);
109122                     catanhf(tmpf);
109123                     typedef __complex__ double double_type; double_type tmpd;
109124                     cacos(tmpd);
109125                     casin(tmpd);
109126                     catan(tmpd);
109127                     cacosh(tmpd);
109128                     casinh(tmpd);
109129                     catanh(tmpd);
109130                     typedef __complex__ long double ld_type; ld_type tmpld;
109131                     cacosl(tmpld);
109132                     casinl(tmpld);
109133                     catanl(tmpld);
109134                     cacoshl(tmpld);
109135                     casinhl(tmpld);
109136                     catanhl(tmpld);
109137
109138   ;
109139   return 0;
109140 }
109141 _ACEOF
109142 rm -f conftest.$ac_objext
109143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109144   (eval $ac_compile) 2>conftest.er1
109145   ac_status=$?
109146   grep -v '^ *+' conftest.er1 >conftest.err
109147   rm -f conftest.er1
109148   cat conftest.err >&5
109149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109150   (exit $ac_status); } &&
109151          { ac_try='test -z "$ac_cxx_werror_flag"
109152                          || test ! -s conftest.err'
109153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109154   (eval $ac_try) 2>&5
109155   ac_status=$?
109156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109157   (exit $ac_status); }; } &&
109158          { ac_try='test -s conftest.$ac_objext'
109159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109160   (eval $ac_try) 2>&5
109161   ac_status=$?
109162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109163   (exit $ac_status); }; }; then
109164   ac_c99_complex_tr1=yes
109165 else
109166   echo "$as_me: failed program was:" >&5
109167 sed 's/^/| /' conftest.$ac_ext >&5
109168
109169 ac_c99_complex_tr1=no
109170 fi
109171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109172   fi
109173   echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
109174 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
109175   if test x"$ac_c99_complex_tr1" = x"yes"; then
109176
109177 cat >>confdefs.h <<\_ACEOF
109178 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
109179 _ACEOF
109180
109181   fi
109182
109183   # Check for the existence of <ctype.h> functions.
109184   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
109185 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
109186   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
109187   echo $ECHO_N "(cached) $ECHO_C" >&6
109188 else
109189
109190   cat >conftest.$ac_ext <<_ACEOF
109191 /* confdefs.h.  */
109192 _ACEOF
109193 cat confdefs.h >>conftest.$ac_ext
109194 cat >>conftest.$ac_ext <<_ACEOF
109195 /* end confdefs.h.  */
109196 #include <ctype.h>
109197 int
109198 main ()
109199 {
109200 int ch;
109201                   int ret;
109202                   ret = isblank(ch);
109203
109204   ;
109205   return 0;
109206 }
109207 _ACEOF
109208 rm -f conftest.$ac_objext
109209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109210   (eval $ac_compile) 2>conftest.er1
109211   ac_status=$?
109212   grep -v '^ *+' conftest.er1 >conftest.err
109213   rm -f conftest.er1
109214   cat conftest.err >&5
109215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109216   (exit $ac_status); } &&
109217          { ac_try='test -z "$ac_cxx_werror_flag"
109218                          || test ! -s conftest.err'
109219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109220   (eval $ac_try) 2>&5
109221   ac_status=$?
109222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109223   (exit $ac_status); }; } &&
109224          { ac_try='test -s conftest.$ac_objext'
109225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109226   (eval $ac_try) 2>&5
109227   ac_status=$?
109228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109229   (exit $ac_status); }; }; then
109230   glibcxx_cv_c99_ctype_tr1=yes
109231 else
109232   echo "$as_me: failed program was:" >&5
109233 sed 's/^/| /' conftest.$ac_ext >&5
109234
109235 glibcxx_cv_c99_ctype_tr1=no
109236 fi
109237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109238
109239 fi
109240
109241   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
109242 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
109243   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
109244
109245 cat >>confdefs.h <<\_ACEOF
109246 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
109247 _ACEOF
109248
109249   fi
109250
109251   # Check for the existence of <fenv.h> functions.
109252
109253 for ac_header in fenv.h
109254 do
109255 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109257   echo "$as_me:$LINENO: checking for $ac_header" >&5
109258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109260   echo $ECHO_N "(cached) $ECHO_C" >&6
109261 fi
109262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109264 else
109265   # Is the header compilable?
109266 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109267 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109268 cat >conftest.$ac_ext <<_ACEOF
109269 /* confdefs.h.  */
109270 _ACEOF
109271 cat confdefs.h >>conftest.$ac_ext
109272 cat >>conftest.$ac_ext <<_ACEOF
109273 /* end confdefs.h.  */
109274 $ac_includes_default
109275 #include <$ac_header>
109276 _ACEOF
109277 rm -f conftest.$ac_objext
109278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109279   (eval $ac_compile) 2>conftest.er1
109280   ac_status=$?
109281   grep -v '^ *+' conftest.er1 >conftest.err
109282   rm -f conftest.er1
109283   cat conftest.err >&5
109284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109285   (exit $ac_status); } &&
109286          { ac_try='test -z "$ac_cxx_werror_flag"
109287                          || test ! -s conftest.err'
109288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109289   (eval $ac_try) 2>&5
109290   ac_status=$?
109291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109292   (exit $ac_status); }; } &&
109293          { ac_try='test -s conftest.$ac_objext'
109294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109295   (eval $ac_try) 2>&5
109296   ac_status=$?
109297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109298   (exit $ac_status); }; }; then
109299   ac_header_compiler=yes
109300 else
109301   echo "$as_me: failed program was:" >&5
109302 sed 's/^/| /' conftest.$ac_ext >&5
109303
109304 ac_header_compiler=no
109305 fi
109306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109308 echo "${ECHO_T}$ac_header_compiler" >&6
109309
109310 # Is the header present?
109311 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109312 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109313 cat >conftest.$ac_ext <<_ACEOF
109314 /* confdefs.h.  */
109315 _ACEOF
109316 cat confdefs.h >>conftest.$ac_ext
109317 cat >>conftest.$ac_ext <<_ACEOF
109318 /* end confdefs.h.  */
109319 #include <$ac_header>
109320 _ACEOF
109321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109322   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109323   ac_status=$?
109324   grep -v '^ *+' conftest.er1 >conftest.err
109325   rm -f conftest.er1
109326   cat conftest.err >&5
109327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109328   (exit $ac_status); } >/dev/null; then
109329   if test -s conftest.err; then
109330     ac_cpp_err=$ac_cxx_preproc_warn_flag
109331     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109332   else
109333     ac_cpp_err=
109334   fi
109335 else
109336   ac_cpp_err=yes
109337 fi
109338 if test -z "$ac_cpp_err"; then
109339   ac_header_preproc=yes
109340 else
109341   echo "$as_me: failed program was:" >&5
109342 sed 's/^/| /' conftest.$ac_ext >&5
109343
109344   ac_header_preproc=no
109345 fi
109346 rm -f conftest.err conftest.$ac_ext
109347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109348 echo "${ECHO_T}$ac_header_preproc" >&6
109349
109350 # So?  What about this header?
109351 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109352   yes:no: )
109353     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109354 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109355     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109356 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109357     ac_header_preproc=yes
109358     ;;
109359   no:yes:* )
109360     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109361 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109362     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
109363 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
109364     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109365 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109366     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
109367 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
109368     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109369 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109370     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109371 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109372     (
109373       cat <<\_ASBOX
109374 ## ----------------------------------------- ##
109375 ## Report this to the package-unused lists.  ##
109376 ## ----------------------------------------- ##
109377 _ASBOX
109378     ) |
109379       sed "s/^/$as_me: WARNING:     /" >&2
109380     ;;
109381 esac
109382 echo "$as_me:$LINENO: checking for $ac_header" >&5
109383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109385   echo $ECHO_N "(cached) $ECHO_C" >&6
109386 else
109387   eval "$as_ac_Header=\$ac_header_preproc"
109388 fi
109389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109391
109392 fi
109393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109394   cat >>confdefs.h <<_ACEOF
109395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109396 _ACEOF
109397  ac_has_fenv_h=yes
109398 else
109399   ac_has_fenv_h=no
109400 fi
109401
109402 done
109403
109404   ac_c99_fenv_tr1=no;
109405   if test x"$ac_has_fenv_h" = x"yes"; then
109406     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
109407 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
109408     cat >conftest.$ac_ext <<_ACEOF
109409 /* confdefs.h.  */
109410 _ACEOF
109411 cat confdefs.h >>conftest.$ac_ext
109412 cat >>conftest.$ac_ext <<_ACEOF
109413 /* end confdefs.h.  */
109414 #include <fenv.h>
109415 int
109416 main ()
109417 {
109418 int except, mode;
109419                     fexcept_t* pflag;
109420                     fenv_t* penv;
109421                     int ret;
109422                     ret = feclearexcept(except);
109423                     ret = fegetexceptflag(pflag, except);
109424                     ret = feraiseexcept(except);
109425                     ret = fesetexceptflag(pflag, except);
109426                     ret = fetestexcept(except);
109427                     ret = fegetround();
109428                     ret = fesetround(mode);
109429                     ret = fegetenv(penv);
109430                     ret = feholdexcept(penv);
109431                     ret = fesetenv(penv);
109432                     ret = feupdateenv(penv);
109433
109434   ;
109435   return 0;
109436 }
109437 _ACEOF
109438 rm -f conftest.$ac_objext
109439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109440   (eval $ac_compile) 2>conftest.er1
109441   ac_status=$?
109442   grep -v '^ *+' conftest.er1 >conftest.err
109443   rm -f conftest.er1
109444   cat conftest.err >&5
109445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109446   (exit $ac_status); } &&
109447          { ac_try='test -z "$ac_cxx_werror_flag"
109448                          || test ! -s conftest.err'
109449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109450   (eval $ac_try) 2>&5
109451   ac_status=$?
109452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109453   (exit $ac_status); }; } &&
109454          { ac_try='test -s conftest.$ac_objext'
109455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109456   (eval $ac_try) 2>&5
109457   ac_status=$?
109458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109459   (exit $ac_status); }; }; then
109460   ac_c99_fenv_tr1=yes
109461 else
109462   echo "$as_me: failed program was:" >&5
109463 sed 's/^/| /' conftest.$ac_ext >&5
109464
109465 ac_c99_fenv_tr1=no
109466 fi
109467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109468   fi
109469   echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
109470 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
109471   if test x"$ac_c99_fenv_tr1" = x"yes"; then
109472
109473 cat >>confdefs.h <<\_ACEOF
109474 #define _GLIBCXX_USE_C99_FENV_TR1 1
109475 _ACEOF
109476
109477   fi
109478
109479   # Check for the existence of <stdint.h> types.
109480   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
109481 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
109482   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
109483   echo $ECHO_N "(cached) $ECHO_C" >&6
109484 else
109485
109486   cat >conftest.$ac_ext <<_ACEOF
109487 /* confdefs.h.  */
109488 _ACEOF
109489 cat confdefs.h >>conftest.$ac_ext
109490 cat >>conftest.$ac_ext <<_ACEOF
109491 /* end confdefs.h.  */
109492 #include <stdint.h>
109493 int
109494 main ()
109495 {
109496 typedef int8_t          my_int8_t;
109497                   typedef int16_t         my_int16_t;
109498                   typedef int32_t         my_int32_t;
109499                   typedef int64_t         my_int64_t;
109500                   typedef int_fast8_t     my_int_fast8_t;
109501                   typedef int_fast16_t    my_int_fast16_t;
109502                   typedef int_fast32_t    my_int_fast32_t;
109503                   typedef int_fast64_t    my_int_fast64_t;
109504                   typedef int_least8_t    my_int_least8_t;
109505                   typedef int_least16_t   my_int_least16_t;
109506                   typedef int_least32_t   my_int_least32_t;
109507                   typedef int_least64_t   my_int_least64_t;
109508                   typedef intmax_t        my_intmax_t;
109509                   typedef intptr_t        my_intptr_t;
109510                   typedef uint8_t         my_uint8_t;
109511                   typedef uint16_t        my_uint16_t;
109512                   typedef uint32_t        my_uint32_t;
109513                   typedef uint64_t        my_uint64_t;
109514                   typedef uint_fast8_t    my_uint_fast8_t;
109515                   typedef uint_fast16_t   my_uint_fast16_t;
109516                   typedef uint_fast32_t   my_uint_fast32_t;
109517                   typedef uint_fast64_t   my_uint_fast64_t;
109518                   typedef uint_least8_t   my_uint_least8_t;
109519                   typedef uint_least16_t  my_uint_least16_t;
109520                   typedef uint_least32_t  my_uint_least32_t;
109521                   typedef uint_least64_t  my_uint_least64_t;
109522                   typedef uintmax_t       my_uintmax_t;
109523                   typedef uintptr_t       my_uintptr_t;
109524
109525   ;
109526   return 0;
109527 }
109528 _ACEOF
109529 rm -f conftest.$ac_objext
109530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109531   (eval $ac_compile) 2>conftest.er1
109532   ac_status=$?
109533   grep -v '^ *+' conftest.er1 >conftest.err
109534   rm -f conftest.er1
109535   cat conftest.err >&5
109536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109537   (exit $ac_status); } &&
109538          { ac_try='test -z "$ac_cxx_werror_flag"
109539                          || test ! -s conftest.err'
109540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109541   (eval $ac_try) 2>&5
109542   ac_status=$?
109543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109544   (exit $ac_status); }; } &&
109545          { ac_try='test -s conftest.$ac_objext'
109546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109547   (eval $ac_try) 2>&5
109548   ac_status=$?
109549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109550   (exit $ac_status); }; }; then
109551   glibcxx_cv_c99_stdint_tr1=yes
109552 else
109553   echo "$as_me: failed program was:" >&5
109554 sed 's/^/| /' conftest.$ac_ext >&5
109555
109556 glibcxx_cv_c99_stdint_tr1=no
109557 fi
109558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109559
109560 fi
109561
109562   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
109563 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
109564   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
109565
109566 cat >>confdefs.h <<\_ACEOF
109567 #define _GLIBCXX_USE_C99_STDINT_TR1 1
109568 _ACEOF
109569
109570   fi
109571
109572   # Check for the existence of <math.h> functions.
109573   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
109574 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
109575   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
109576   echo $ECHO_N "(cached) $ECHO_C" >&6
109577 else
109578
109579   cat >conftest.$ac_ext <<_ACEOF
109580 /* confdefs.h.  */
109581 _ACEOF
109582 cat confdefs.h >>conftest.$ac_ext
109583 cat >>conftest.$ac_ext <<_ACEOF
109584 /* end confdefs.h.  */
109585 #include <math.h>
109586 int
109587 main ()
109588 {
109589 typedef double_t  my_double_t;
109590                   typedef float_t   my_float_t;
109591                   acosh(0.0);
109592                   acoshf(0.0f);
109593                   acoshl(0.0l);
109594                   asinh(0.0);
109595                   asinhf(0.0f);
109596                   asinhl(0.0l);
109597                   atanh(0.0);
109598                   atanhf(0.0f);
109599                   atanhl(0.0l);
109600                   cbrt(0.0);
109601                   cbrtf(0.0f);
109602                   cbrtl(0.0l);
109603                   copysign(0.0, 0.0);
109604                   copysignf(0.0f, 0.0f);
109605                   copysignl(0.0l, 0.0l);
109606                   erf(0.0);
109607                   erff(0.0f);
109608                   erfl(0.0l);
109609                   erfc(0.0);
109610                   erfcf(0.0f);
109611                   erfcl(0.0l);
109612                   exp2(0.0);
109613                   exp2f(0.0f);
109614                   exp2l(0.0l);
109615                   expm1(0.0);
109616                   expm1f(0.0f);
109617                   expm1l(0.0l);
109618                   fdim(0.0, 0.0);
109619                   fdimf(0.0f, 0.0f);
109620                   fdiml(0.0l, 0.0l);
109621                   fma(0.0, 0.0, 0.0);
109622                   fmaf(0.0f, 0.0f, 0.0f);
109623                   fmal(0.0l, 0.0l, 0.0l);
109624                   fmax(0.0, 0.0);
109625                   fmaxf(0.0f, 0.0f);
109626                   fmaxl(0.0l, 0.0l);
109627                   fmin(0.0, 0.0);
109628                   fminf(0.0f, 0.0f);
109629                   fminl(0.0l, 0.0l);
109630                   hypot(0.0, 0.0);
109631                   hypotf(0.0f, 0.0f);
109632                   hypotl(0.0l, 0.0l);
109633                   ilogb(0.0);
109634                   ilogbf(0.0f);
109635                   ilogbl(0.0l);
109636                   lgamma(0.0);
109637                   lgammaf(0.0f);
109638                   lgammal(0.0l);
109639                   llrint(0.0);
109640                   llrintf(0.0f);
109641                   llrintl(0.0l);
109642                   llround(0.0);
109643                   llroundf(0.0f);
109644                   llroundl(0.0l);
109645                   log1p(0.0);
109646                   log1pf(0.0f);
109647                   log1pl(0.0l);
109648                   log2(0.0);
109649                   log2f(0.0f);
109650                   log2l(0.0l);
109651                   logb(0.0);
109652                   logbf(0.0f);
109653                   logbl(0.0l);
109654                   lrint(0.0);
109655                   lrintf(0.0f);
109656                   lrintl(0.0l);
109657                   lround(0.0);
109658                   lroundf(0.0f);
109659                   lroundl(0.0l);
109660                   nan(0);
109661                   nanf(0);
109662                   nanl(0);
109663                   nearbyint(0.0);
109664                   nearbyintf(0.0f);
109665                   nearbyintl(0.0l);
109666                   nextafter(0.0, 0.0);
109667                   nextafterf(0.0f, 0.0f);
109668                   nextafterl(0.0l, 0.0l);
109669                   nexttoward(0.0, 0.0);
109670                   nexttowardf(0.0f, 0.0f);
109671                   nexttowardl(0.0l, 0.0l);
109672                   remainder(0.0, 0.0);
109673                   remainderf(0.0f, 0.0f);
109674                   remainderl(0.0l, 0.0l);
109675                   remquo(0.0, 0.0, 0);
109676                   remquo(0.0f, 0.0f, 0);
109677                   remquo(0.0l, 0.0l, 0);
109678                   rint(0.0);
109679                   rintf(0.0f);
109680                   rintl(0.0l);
109681                   round(0.0);
109682                   roundf(0.0f);
109683                   roundl(0.0l);
109684                   scalbln(0.0, 0l);
109685                   scalblnf(0.0f, 0l);
109686                   scalblnl(0.0l, 0l);
109687                   scalbn(0.0, 0);
109688                   scalbnf(0.0f, 0);
109689                   scalbnl(0.0l, 0);
109690                   tgamma(0.0);
109691                   tgammaf(0.0f);
109692                   tgammal(0.0l);
109693                   trunc(0.0);
109694                   truncf(0.0f);
109695                   truncl(0.0l);
109696
109697   ;
109698   return 0;
109699 }
109700 _ACEOF
109701 rm -f conftest.$ac_objext
109702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109703   (eval $ac_compile) 2>conftest.er1
109704   ac_status=$?
109705   grep -v '^ *+' conftest.er1 >conftest.err
109706   rm -f conftest.er1
109707   cat conftest.err >&5
109708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109709   (exit $ac_status); } &&
109710          { ac_try='test -z "$ac_cxx_werror_flag"
109711                          || test ! -s conftest.err'
109712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109713   (eval $ac_try) 2>&5
109714   ac_status=$?
109715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109716   (exit $ac_status); }; } &&
109717          { ac_try='test -s conftest.$ac_objext'
109718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109719   (eval $ac_try) 2>&5
109720   ac_status=$?
109721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109722   (exit $ac_status); }; }; then
109723   glibcxx_cv_c99_math_tr1=yes
109724 else
109725   echo "$as_me: failed program was:" >&5
109726 sed 's/^/| /' conftest.$ac_ext >&5
109727
109728 glibcxx_cv_c99_math_tr1=no
109729 fi
109730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109731
109732 fi
109733
109734   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
109735 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
109736   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
109737
109738 cat >>confdefs.h <<\_ACEOF
109739 #define _GLIBCXX_USE_C99_MATH_TR1 1
109740 _ACEOF
109741
109742   fi
109743
109744   # Check for the existence of <inttypes.h> functions (NB: doesn't make
109745   # sense if the previous check fails, per C99, 7.8/1).
109746   ac_c99_inttypes_tr1=no;
109747   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
109748     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
109749 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
109750     cat >conftest.$ac_ext <<_ACEOF
109751 /* confdefs.h.  */
109752 _ACEOF
109753 cat confdefs.h >>conftest.$ac_ext
109754 cat >>conftest.$ac_ext <<_ACEOF
109755 /* end confdefs.h.  */
109756 #include <inttypes.h>
109757 int
109758 main ()
109759 {
109760 intmax_t i, numer, denom, base;
109761                     const char* s;
109762                     char** endptr;
109763                     intmax_t ret = imaxabs(i);
109764                     imaxdiv_t dret = imaxdiv(numer, denom);
109765                     ret = strtoimax(s, endptr, base);
109766                     uintmax_t uret = strtoumax(s, endptr, base);
109767
109768   ;
109769   return 0;
109770 }
109771 _ACEOF
109772 rm -f conftest.$ac_objext
109773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109774   (eval $ac_compile) 2>conftest.er1
109775   ac_status=$?
109776   grep -v '^ *+' conftest.er1 >conftest.err
109777   rm -f conftest.er1
109778   cat conftest.err >&5
109779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109780   (exit $ac_status); } &&
109781          { ac_try='test -z "$ac_cxx_werror_flag"
109782                          || test ! -s conftest.err'
109783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109784   (eval $ac_try) 2>&5
109785   ac_status=$?
109786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109787   (exit $ac_status); }; } &&
109788          { ac_try='test -s conftest.$ac_objext'
109789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109790   (eval $ac_try) 2>&5
109791   ac_status=$?
109792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109793   (exit $ac_status); }; }; then
109794   ac_c99_inttypes_tr1=yes
109795 else
109796   echo "$as_me: failed program was:" >&5
109797 sed 's/^/| /' conftest.$ac_ext >&5
109798
109799 ac_c99_inttypes_tr1=no
109800 fi
109801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109802   fi
109803   echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
109804 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
109805   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
109806
109807 cat >>confdefs.h <<\_ACEOF
109808 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
109809 _ACEOF
109810
109811   fi
109812
109813   # Check for the existence of the <stdbool.h> header.
109814
109815 for ac_header in stdbool.h
109816 do
109817 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109819   echo "$as_me:$LINENO: checking for $ac_header" >&5
109820 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109822   echo $ECHO_N "(cached) $ECHO_C" >&6
109823 fi
109824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109826 else
109827   # Is the header compilable?
109828 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109829 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109830 cat >conftest.$ac_ext <<_ACEOF
109831 /* confdefs.h.  */
109832 _ACEOF
109833 cat confdefs.h >>conftest.$ac_ext
109834 cat >>conftest.$ac_ext <<_ACEOF
109835 /* end confdefs.h.  */
109836 $ac_includes_default
109837 #include <$ac_header>
109838 _ACEOF
109839 rm -f conftest.$ac_objext
109840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109841   (eval $ac_compile) 2>conftest.er1
109842   ac_status=$?
109843   grep -v '^ *+' conftest.er1 >conftest.err
109844   rm -f conftest.er1
109845   cat conftest.err >&5
109846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109847   (exit $ac_status); } &&
109848          { ac_try='test -z "$ac_cxx_werror_flag"
109849                          || test ! -s conftest.err'
109850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109851   (eval $ac_try) 2>&5
109852   ac_status=$?
109853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109854   (exit $ac_status); }; } &&
109855          { ac_try='test -s conftest.$ac_objext'
109856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109857   (eval $ac_try) 2>&5
109858   ac_status=$?
109859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109860   (exit $ac_status); }; }; then
109861   ac_header_compiler=yes
109862 else
109863   echo "$as_me: failed program was:" >&5
109864 sed 's/^/| /' conftest.$ac_ext >&5
109865
109866 ac_header_compiler=no
109867 fi
109868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109869 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109870 echo "${ECHO_T}$ac_header_compiler" >&6
109871
109872 # Is the header present?
109873 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109874 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109875 cat >conftest.$ac_ext <<_ACEOF
109876 /* confdefs.h.  */
109877 _ACEOF
109878 cat confdefs.h >>conftest.$ac_ext
109879 cat >>conftest.$ac_ext <<_ACEOF
109880 /* end confdefs.h.  */
109881 #include <$ac_header>
109882 _ACEOF
109883 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109884   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109885   ac_status=$?
109886   grep -v '^ *+' conftest.er1 >conftest.err
109887   rm -f conftest.er1
109888   cat conftest.err >&5
109889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109890   (exit $ac_status); } >/dev/null; then
109891   if test -s conftest.err; then
109892     ac_cpp_err=$ac_cxx_preproc_warn_flag
109893     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109894   else
109895     ac_cpp_err=
109896   fi
109897 else
109898   ac_cpp_err=yes
109899 fi
109900 if test -z "$ac_cpp_err"; then
109901   ac_header_preproc=yes
109902 else
109903   echo "$as_me: failed program was:" >&5
109904 sed 's/^/| /' conftest.$ac_ext >&5
109905
109906   ac_header_preproc=no
109907 fi
109908 rm -f conftest.err conftest.$ac_ext
109909 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109910 echo "${ECHO_T}$ac_header_preproc" >&6
109911
109912 # So?  What about this header?
109913 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109914   yes:no: )
109915     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109916 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109917     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109918 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109919     ac_header_preproc=yes
109920     ;;
109921   no:yes:* )
109922     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109923 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109924     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
109925 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
109926     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109927 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109928     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
109929 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
109930     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109931 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109932     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109933 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109934     (
109935       cat <<\_ASBOX
109936 ## ----------------------------------------- ##
109937 ## Report this to the package-unused lists.  ##
109938 ## ----------------------------------------- ##
109939 _ASBOX
109940     ) |
109941       sed "s/^/$as_me: WARNING:     /" >&2
109942     ;;
109943 esac
109944 echo "$as_me:$LINENO: checking for $ac_header" >&5
109945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109947   echo $ECHO_N "(cached) $ECHO_C" >&6
109948 else
109949   eval "$as_ac_Header=\$ac_header_preproc"
109950 fi
109951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109952 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109953
109954 fi
109955 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109956   cat >>confdefs.h <<_ACEOF
109957 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109958 _ACEOF
109959
109960 fi
109961
109962 done
109963
109964
109965   CXXFLAGS="$ac_save_CXXFLAGS"
109966   ac_ext=c
109967 ac_cpp='$CPP $CPPFLAGS'
109968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109971
109972
109973
109974     cat >>confdefs.h <<\_ACEOF
109975 #define _GLIBCXX_USE_RANDOM_TR1 1
109976 _ACEOF
109977
109978
109979
109980   if test "${ac_cv_header_locale_h+set}" = set; then
109981   echo "$as_me:$LINENO: checking for locale.h" >&5
109982 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
109983 if test "${ac_cv_header_locale_h+set}" = set; then
109984   echo $ECHO_N "(cached) $ECHO_C" >&6
109985 fi
109986 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
109987 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
109988 else
109989   # Is the header compilable?
109990 echo "$as_me:$LINENO: checking locale.h usability" >&5
109991 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
109992 cat >conftest.$ac_ext <<_ACEOF
109993 /* confdefs.h.  */
109994 _ACEOF
109995 cat confdefs.h >>conftest.$ac_ext
109996 cat >>conftest.$ac_ext <<_ACEOF
109997 /* end confdefs.h.  */
109998 $ac_includes_default
109999 #include <locale.h>
110000 _ACEOF
110001 rm -f conftest.$ac_objext
110002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110003   (eval $ac_compile) 2>conftest.er1
110004   ac_status=$?
110005   grep -v '^ *+' conftest.er1 >conftest.err
110006   rm -f conftest.er1
110007   cat conftest.err >&5
110008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110009   (exit $ac_status); } &&
110010          { ac_try='test -z "$ac_c_werror_flag"
110011                          || test ! -s conftest.err'
110012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110013   (eval $ac_try) 2>&5
110014   ac_status=$?
110015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110016   (exit $ac_status); }; } &&
110017          { ac_try='test -s conftest.$ac_objext'
110018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110019   (eval $ac_try) 2>&5
110020   ac_status=$?
110021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110022   (exit $ac_status); }; }; then
110023   ac_header_compiler=yes
110024 else
110025   echo "$as_me: failed program was:" >&5
110026 sed 's/^/| /' conftest.$ac_ext >&5
110027
110028 ac_header_compiler=no
110029 fi
110030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110031 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110032 echo "${ECHO_T}$ac_header_compiler" >&6
110033
110034 # Is the header present?
110035 echo "$as_me:$LINENO: checking locale.h presence" >&5
110036 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
110037 cat >conftest.$ac_ext <<_ACEOF
110038 /* confdefs.h.  */
110039 _ACEOF
110040 cat confdefs.h >>conftest.$ac_ext
110041 cat >>conftest.$ac_ext <<_ACEOF
110042 /* end confdefs.h.  */
110043 #include <locale.h>
110044 _ACEOF
110045 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110046   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110047   ac_status=$?
110048   grep -v '^ *+' conftest.er1 >conftest.err
110049   rm -f conftest.er1
110050   cat conftest.err >&5
110051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110052   (exit $ac_status); } >/dev/null; then
110053   if test -s conftest.err; then
110054     ac_cpp_err=$ac_c_preproc_warn_flag
110055     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110056   else
110057     ac_cpp_err=
110058   fi
110059 else
110060   ac_cpp_err=yes
110061 fi
110062 if test -z "$ac_cpp_err"; then
110063   ac_header_preproc=yes
110064 else
110065   echo "$as_me: failed program was:" >&5
110066 sed 's/^/| /' conftest.$ac_ext >&5
110067
110068   ac_header_preproc=no
110069 fi
110070 rm -f conftest.err conftest.$ac_ext
110071 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110072 echo "${ECHO_T}$ac_header_preproc" >&6
110073
110074 # So?  What about this header?
110075 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110076   yes:no: )
110077     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
110078 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
110079     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
110080 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
110081     ac_header_preproc=yes
110082     ;;
110083   no:yes:* )
110084     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
110085 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
110086     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
110087 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
110088     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
110089 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
110090     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
110091 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
110092     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
110093 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
110094     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
110095 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
110096     (
110097       cat <<\_ASBOX
110098 ## ----------------------------------------- ##
110099 ## Report this to the package-unused lists.  ##
110100 ## ----------------------------------------- ##
110101 _ASBOX
110102     ) |
110103       sed "s/^/$as_me: WARNING:     /" >&2
110104     ;;
110105 esac
110106 echo "$as_me:$LINENO: checking for locale.h" >&5
110107 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
110108 if test "${ac_cv_header_locale_h+set}" = set; then
110109   echo $ECHO_N "(cached) $ECHO_C" >&6
110110 else
110111   ac_cv_header_locale_h=$ac_header_preproc
110112 fi
110113 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
110114 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
110115
110116 fi
110117 if test $ac_cv_header_locale_h = yes; then
110118
110119     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
110120 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
110121 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
110122   echo $ECHO_N "(cached) $ECHO_C" >&6
110123 else
110124   if test x$gcc_no_link = xyes; then
110125   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110127    { (exit 1); exit 1; }; }
110128 fi
110129 cat >conftest.$ac_ext <<_ACEOF
110130 /* confdefs.h.  */
110131 _ACEOF
110132 cat confdefs.h >>conftest.$ac_ext
110133 cat >>conftest.$ac_ext <<_ACEOF
110134 /* end confdefs.h.  */
110135 #include <locale.h>
110136 int
110137 main ()
110138 {
110139 return LC_MESSAGES
110140   ;
110141   return 0;
110142 }
110143 _ACEOF
110144 rm -f conftest.$ac_objext conftest$ac_exeext
110145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110146   (eval $ac_link) 2>conftest.er1
110147   ac_status=$?
110148   grep -v '^ *+' conftest.er1 >conftest.err
110149   rm -f conftest.er1
110150   cat conftest.err >&5
110151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110152   (exit $ac_status); } &&
110153          { ac_try='test -z "$ac_c_werror_flag"
110154                          || test ! -s conftest.err'
110155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110156   (eval $ac_try) 2>&5
110157   ac_status=$?
110158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110159   (exit $ac_status); }; } &&
110160          { ac_try='test -s conftest$ac_exeext'
110161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110162   (eval $ac_try) 2>&5
110163   ac_status=$?
110164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110165   (exit $ac_status); }; }; then
110166   ac_cv_val_LC_MESSAGES=yes
110167 else
110168   echo "$as_me: failed program was:" >&5
110169 sed 's/^/| /' conftest.$ac_ext >&5
110170
110171 ac_cv_val_LC_MESSAGES=no
110172 fi
110173 rm -f conftest.err conftest.$ac_objext \
110174       conftest$ac_exeext conftest.$ac_ext
110175 fi
110176 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
110177 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
110178     if test $ac_cv_val_LC_MESSAGES = yes; then
110179
110180 cat >>confdefs.h <<\_ACEOF
110181 #define HAVE_LC_MESSAGES 1
110182 _ACEOF
110183
110184     fi
110185
110186 fi
110187
110188
110189
110190
110191     # Check for sigsetjmp
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 #include <setjmp.h>
110199 int
110200 main ()
110201 {
110202 sigjmp_buf env;
110203        while (! sigsetjmp (env, 1))
110204          siglongjmp (env, 1);
110205
110206   ;
110207   return 0;
110208 }
110209 _ACEOF
110210 rm -f conftest.$ac_objext
110211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110212   (eval $ac_compile) 2>conftest.er1
110213   ac_status=$?
110214   grep -v '^ *+' conftest.er1 >conftest.err
110215   rm -f conftest.er1
110216   cat conftest.err >&5
110217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110218   (exit $ac_status); } &&
110219          { ac_try='test -z "$ac_c_werror_flag"
110220                          || test ! -s conftest.err'
110221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110222   (eval $ac_try) 2>&5
110223   ac_status=$?
110224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110225   (exit $ac_status); }; } &&
110226          { ac_try='test -s conftest.$ac_objext'
110227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110228   (eval $ac_try) 2>&5
110229   ac_status=$?
110230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110231   (exit $ac_status); }; }; then
110232
110233 cat >>confdefs.h <<\_ACEOF
110234 #define HAVE_SIGSETJMP 1
110235 _ACEOF
110236
110237 else
110238   echo "$as_me: failed program was:" >&5
110239 sed 's/^/| /' conftest.$ac_ext >&5
110240
110241 fi
110242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110243
110244     cat >>confdefs.h <<\_ACEOF
110245 #define HAVE_MMAP 1
110246 _ACEOF
110247
110248
110249     # For iconv support.
110250
110251
110252
110253
110254
110255           am_save_CPPFLAGS="$CPPFLAGS"
110256
110257   for element in $INCICONV; do
110258     haveit=
110259     for x in $CPPFLAGS; do
110260
110261   acl_save_prefix="$prefix"
110262   prefix="$acl_final_prefix"
110263   acl_save_exec_prefix="$exec_prefix"
110264   exec_prefix="$acl_final_exec_prefix"
110265   eval x=\"$x\"
110266   exec_prefix="$acl_save_exec_prefix"
110267   prefix="$acl_save_prefix"
110268
110269       if test "X$x" = "X$element"; then
110270         haveit=yes
110271         break
110272       fi
110273     done
110274     if test -z "$haveit"; then
110275       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
110276     fi
110277   done
110278
110279
110280   echo "$as_me:$LINENO: checking for iconv" >&5
110281 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
110282 if test "${am_cv_func_iconv+set}" = set; then
110283   echo $ECHO_N "(cached) $ECHO_C" >&6
110284 else
110285
110286     am_cv_func_iconv="no, consider installing GNU libiconv"
110287     am_cv_lib_iconv=no
110288     if test x$gcc_no_link = xyes; then
110289   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110291    { (exit 1); exit 1; }; }
110292 fi
110293 cat >conftest.$ac_ext <<_ACEOF
110294 /* confdefs.h.  */
110295 _ACEOF
110296 cat confdefs.h >>conftest.$ac_ext
110297 cat >>conftest.$ac_ext <<_ACEOF
110298 /* end confdefs.h.  */
110299 #include <stdlib.h>
110300 #include <iconv.h>
110301 int
110302 main ()
110303 {
110304 iconv_t cd = iconv_open("","");
110305        iconv(cd,NULL,NULL,NULL,NULL);
110306        iconv_close(cd);
110307   ;
110308   return 0;
110309 }
110310 _ACEOF
110311 rm -f conftest.$ac_objext conftest$ac_exeext
110312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110313   (eval $ac_link) 2>conftest.er1
110314   ac_status=$?
110315   grep -v '^ *+' conftest.er1 >conftest.err
110316   rm -f conftest.er1
110317   cat conftest.err >&5
110318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110319   (exit $ac_status); } &&
110320          { ac_try='test -z "$ac_c_werror_flag"
110321                          || test ! -s conftest.err'
110322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110323   (eval $ac_try) 2>&5
110324   ac_status=$?
110325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110326   (exit $ac_status); }; } &&
110327          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
110333   am_cv_func_iconv=yes
110334 else
110335   echo "$as_me: failed program was:" >&5
110336 sed 's/^/| /' conftest.$ac_ext >&5
110337
110338 fi
110339 rm -f conftest.err conftest.$ac_objext \
110340       conftest$ac_exeext conftest.$ac_ext
110341     if test "$am_cv_func_iconv" != yes; then
110342       am_save_LIBS="$LIBS"
110343       LIBS="$LIBS $LIBICONV"
110344       if test x$gcc_no_link = xyes; then
110345   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110347    { (exit 1); exit 1; }; }
110348 fi
110349 cat >conftest.$ac_ext <<_ACEOF
110350 /* confdefs.h.  */
110351 _ACEOF
110352 cat confdefs.h >>conftest.$ac_ext
110353 cat >>conftest.$ac_ext <<_ACEOF
110354 /* end confdefs.h.  */
110355 #include <stdlib.h>
110356 #include <iconv.h>
110357 int
110358 main ()
110359 {
110360 iconv_t cd = iconv_open("","");
110361          iconv(cd,NULL,NULL,NULL,NULL);
110362          iconv_close(cd);
110363   ;
110364   return 0;
110365 }
110366 _ACEOF
110367 rm -f conftest.$ac_objext conftest$ac_exeext
110368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110369   (eval $ac_link) 2>conftest.er1
110370   ac_status=$?
110371   grep -v '^ *+' conftest.er1 >conftest.err
110372   rm -f conftest.er1
110373   cat conftest.err >&5
110374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110375   (exit $ac_status); } &&
110376          { ac_try='test -z "$ac_c_werror_flag"
110377                          || test ! -s conftest.err'
110378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110379   (eval $ac_try) 2>&5
110380   ac_status=$?
110381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110382   (exit $ac_status); }; } &&
110383          { ac_try='test -s conftest$ac_exeext'
110384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110385   (eval $ac_try) 2>&5
110386   ac_status=$?
110387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110388   (exit $ac_status); }; }; then
110389   am_cv_lib_iconv=yes
110390         am_cv_func_iconv=yes
110391 else
110392   echo "$as_me: failed program was:" >&5
110393 sed 's/^/| /' conftest.$ac_ext >&5
110394
110395 fi
110396 rm -f conftest.err conftest.$ac_objext \
110397       conftest$ac_exeext conftest.$ac_ext
110398       LIBS="$am_save_LIBS"
110399     fi
110400
110401 fi
110402 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
110403 echo "${ECHO_T}$am_cv_func_iconv" >&6
110404   if test "$am_cv_func_iconv" = yes; then
110405
110406 cat >>confdefs.h <<\_ACEOF
110407 #define HAVE_ICONV 1
110408 _ACEOF
110409
110410   fi
110411   if test "$am_cv_lib_iconv" = yes; then
110412     echo "$as_me:$LINENO: checking how to link with libiconv" >&5
110413 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
110414     echo "$as_me:$LINENO: result: $LIBICONV" >&5
110415 echo "${ECHO_T}$LIBICONV" >&6
110416   else
110417             CPPFLAGS="$am_save_CPPFLAGS"
110418     LIBICONV=
110419     LTLIBICONV=
110420   fi
110421
110422
110423
110424   if test "$am_cv_func_iconv" = yes; then
110425     echo "$as_me:$LINENO: checking for iconv declaration" >&5
110426 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
110427     if test "${am_cv_proto_iconv+set}" = set; then
110428   echo $ECHO_N "(cached) $ECHO_C" >&6
110429 else
110430
110431       cat >conftest.$ac_ext <<_ACEOF
110432 /* confdefs.h.  */
110433 _ACEOF
110434 cat confdefs.h >>conftest.$ac_ext
110435 cat >>conftest.$ac_ext <<_ACEOF
110436 /* end confdefs.h.  */
110437
110438 #include <stdlib.h>
110439 #include <iconv.h>
110440 extern
110441 #ifdef __cplusplus
110442 "C"
110443 #endif
110444 #if defined(__STDC__) || defined(__cplusplus)
110445 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
110446 #else
110447 size_t iconv();
110448 #endif
110449
110450 int
110451 main ()
110452 {
110453
110454   ;
110455   return 0;
110456 }
110457 _ACEOF
110458 rm -f conftest.$ac_objext
110459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110460   (eval $ac_compile) 2>conftest.er1
110461   ac_status=$?
110462   grep -v '^ *+' conftest.er1 >conftest.err
110463   rm -f conftest.er1
110464   cat conftest.err >&5
110465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110466   (exit $ac_status); } &&
110467          { ac_try='test -z "$ac_c_werror_flag"
110468                          || test ! -s conftest.err'
110469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110470   (eval $ac_try) 2>&5
110471   ac_status=$?
110472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110473   (exit $ac_status); }; } &&
110474          { ac_try='test -s conftest.$ac_objext'
110475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110476   (eval $ac_try) 2>&5
110477   ac_status=$?
110478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110479   (exit $ac_status); }; }; then
110480   am_cv_proto_iconv_arg1=""
110481 else
110482   echo "$as_me: failed program was:" >&5
110483 sed 's/^/| /' conftest.$ac_ext >&5
110484
110485 am_cv_proto_iconv_arg1="const"
110486 fi
110487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110488       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);"
110489 fi
110490
110491     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
110492     echo "$as_me:$LINENO: result: ${ac_t:-
110493          }$am_cv_proto_iconv" >&5
110494 echo "${ECHO_T}${ac_t:-
110495          }$am_cv_proto_iconv" >&6
110496
110497 cat >>confdefs.h <<_ACEOF
110498 #define ICONV_CONST $am_cv_proto_iconv_arg1
110499 _ACEOF
110500
110501   fi
110502
110503     ;;
110504   *-mingw32*)
110505
110506
110507
110508 for ac_header in sys/types.h locale.h float.h
110509 do
110510 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110512   echo "$as_me:$LINENO: checking for $ac_header" >&5
110513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110515   echo $ECHO_N "(cached) $ECHO_C" >&6
110516 fi
110517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110519 else
110520   # Is the header compilable?
110521 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110522 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110523 cat >conftest.$ac_ext <<_ACEOF
110524 /* confdefs.h.  */
110525 _ACEOF
110526 cat confdefs.h >>conftest.$ac_ext
110527 cat >>conftest.$ac_ext <<_ACEOF
110528 /* end confdefs.h.  */
110529 $ac_includes_default
110530 #include <$ac_header>
110531 _ACEOF
110532 rm -f conftest.$ac_objext
110533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110534   (eval $ac_compile) 2>conftest.er1
110535   ac_status=$?
110536   grep -v '^ *+' conftest.er1 >conftest.err
110537   rm -f conftest.er1
110538   cat conftest.err >&5
110539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110540   (exit $ac_status); } &&
110541          { ac_try='test -z "$ac_c_werror_flag"
110542                          || test ! -s conftest.err'
110543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110544   (eval $ac_try) 2>&5
110545   ac_status=$?
110546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110547   (exit $ac_status); }; } &&
110548          { ac_try='test -s conftest.$ac_objext'
110549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110550   (eval $ac_try) 2>&5
110551   ac_status=$?
110552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110553   (exit $ac_status); }; }; then
110554   ac_header_compiler=yes
110555 else
110556   echo "$as_me: failed program was:" >&5
110557 sed 's/^/| /' conftest.$ac_ext >&5
110558
110559 ac_header_compiler=no
110560 fi
110561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110562 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110563 echo "${ECHO_T}$ac_header_compiler" >&6
110564
110565 # Is the header present?
110566 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110567 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110568 cat >conftest.$ac_ext <<_ACEOF
110569 /* confdefs.h.  */
110570 _ACEOF
110571 cat confdefs.h >>conftest.$ac_ext
110572 cat >>conftest.$ac_ext <<_ACEOF
110573 /* end confdefs.h.  */
110574 #include <$ac_header>
110575 _ACEOF
110576 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110577   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110578   ac_status=$?
110579   grep -v '^ *+' conftest.er1 >conftest.err
110580   rm -f conftest.er1
110581   cat conftest.err >&5
110582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110583   (exit $ac_status); } >/dev/null; then
110584   if test -s conftest.err; then
110585     ac_cpp_err=$ac_c_preproc_warn_flag
110586     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110587   else
110588     ac_cpp_err=
110589   fi
110590 else
110591   ac_cpp_err=yes
110592 fi
110593 if test -z "$ac_cpp_err"; then
110594   ac_header_preproc=yes
110595 else
110596   echo "$as_me: failed program was:" >&5
110597 sed 's/^/| /' conftest.$ac_ext >&5
110598
110599   ac_header_preproc=no
110600 fi
110601 rm -f conftest.err conftest.$ac_ext
110602 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110603 echo "${ECHO_T}$ac_header_preproc" >&6
110604
110605 # So?  What about this header?
110606 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110607   yes:no: )
110608     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110609 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110610     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110611 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110612     ac_header_preproc=yes
110613     ;;
110614   no:yes:* )
110615     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110616 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110617     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
110618 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
110619     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110620 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110621     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
110622 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
110623     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110624 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110625     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110626 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110627     (
110628       cat <<\_ASBOX
110629 ## ----------------------------------------- ##
110630 ## Report this to the package-unused lists.  ##
110631 ## ----------------------------------------- ##
110632 _ASBOX
110633     ) |
110634       sed "s/^/$as_me: WARNING:     /" >&2
110635     ;;
110636 esac
110637 echo "$as_me:$LINENO: checking for $ac_header" >&5
110638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110640   echo $ECHO_N "(cached) $ECHO_C" >&6
110641 else
110642   eval "$as_ac_Header=\$ac_header_preproc"
110643 fi
110644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110645 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110646
110647 fi
110648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110649   cat >>confdefs.h <<_ACEOF
110650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110651 _ACEOF
110652
110653 fi
110654
110655 done
110656
110657     cat >>confdefs.h <<\_ACEOF
110658 #define HAVE_STRTOF 1
110659 _ACEOF
110660
110661     cat >>confdefs.h <<\_ACEOF
110662 #define HAVE_STRTOLD 1
110663 _ACEOF
110664
110665
110666   # If we're not using GNU ld, then there's no point in even trying these
110667   # tests.  Check for that first.  We should have already tested for gld
110668   # by now (in libtool), but require it now just to be safe...
110669   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
110670   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
110671
110672
110673
110674   # The name set by libtool depends on the version of libtool.  Shame on us
110675   # for depending on an impl detail, but c'est la vie.  Older versions used
110676   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
110677   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
110678   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
110679   # set (hence we're using an older libtool), then set it.
110680   if test x${with_gnu_ld+set} != xset; then
110681     if test x${ac_cv_prog_gnu_ld+set} != xset; then
110682       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
110683       with_gnu_ld=no
110684     else
110685       with_gnu_ld=$ac_cv_prog_gnu_ld
110686     fi
110687   fi
110688
110689   # Start by getting the version number.  I think the libtool test already
110690   # does some of this, but throws away the result.
110691   glibcxx_ld_is_gold=no
110692   if test x"$with_gnu_ld" = x"yes"; then
110693     echo "$as_me:$LINENO: checking for ld version" >&5
110694 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
110695
110696     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
110697       glibcxx_ld_is_gold=yes
110698     fi
110699     ldver=`$LD --version 2>/dev/null | head -1 | \
110700            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
110701
110702     glibcxx_gnu_ld_version=`echo $ldver | \
110703            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
110704     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
110705 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
110706   fi
110707
110708   # Set --gc-sections.
110709   glibcxx_have_gc_sections=no
110710   if test "$glibcxx_ld_is_gold" = "yes"; then
110711     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
110712       glibcxx_have_gc_sections=yes
110713     fi
110714   else
110715     glibcxx_gcsections_min_ld=21602
110716     if test x"$with_gnu_ld" = x"yes" &&
110717         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
110718       glibcxx_have_gc_sections=yes
110719     fi
110720   fi
110721   if test "$glibcxx_have_gc_sections" = "yes"; then
110722     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
110723     # NB: This flag only works reliably after 2.16.1. Configure tests
110724     # for this are difficult, so hard wire a value that should work.
110725
110726     ac_test_CFLAGS="${CFLAGS+set}"
110727     ac_save_CFLAGS="$CFLAGS"
110728     CFLAGS='-Wl,--gc-sections'
110729
110730     # Check for -Wl,--gc-sections
110731     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
110732 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
110733     if test x$gcc_no_link = xyes; then
110734   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110736    { (exit 1); exit 1; }; }
110737 fi
110738 cat >conftest.$ac_ext <<_ACEOF
110739 /* confdefs.h.  */
110740 _ACEOF
110741 cat confdefs.h >>conftest.$ac_ext
110742 cat >>conftest.$ac_ext <<_ACEOF
110743 /* end confdefs.h.  */
110744  int one(void) { return 1; }
110745      int two(void) { return 2; }
110746
110747 int
110748 main ()
110749 {
110750  two();
110751   ;
110752   return 0;
110753 }
110754 _ACEOF
110755 rm -f conftest.$ac_objext conftest$ac_exeext
110756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110757   (eval $ac_link) 2>conftest.er1
110758   ac_status=$?
110759   grep -v '^ *+' conftest.er1 >conftest.err
110760   rm -f conftest.er1
110761   cat conftest.err >&5
110762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110763   (exit $ac_status); } &&
110764          { ac_try='test -z "$ac_c_werror_flag"
110765                          || test ! -s conftest.err'
110766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110767   (eval $ac_try) 2>&5
110768   ac_status=$?
110769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110770   (exit $ac_status); }; } &&
110771          { ac_try='test -s conftest$ac_exeext'
110772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110773   (eval $ac_try) 2>&5
110774   ac_status=$?
110775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110776   (exit $ac_status); }; }; then
110777   ac_gcsections=yes
110778 else
110779   echo "$as_me: failed program was:" >&5
110780 sed 's/^/| /' conftest.$ac_ext >&5
110781
110782 ac_gcsections=no
110783 fi
110784 rm -f conftest.err conftest.$ac_objext \
110785       conftest$ac_exeext conftest.$ac_ext
110786     if test "$ac_gcsections" = "yes"; then
110787       rm -f conftest.c
110788       touch conftest.c
110789       if $CC -c conftest.c; then
110790         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
110791            grep "Warning: gc-sections option ignored" > /dev/null; then
110792           ac_gcsections=no
110793         fi
110794       fi
110795       rm -f conftest.c conftest.o conftest
110796     fi
110797     if test "$ac_gcsections" = "yes"; then
110798       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
110799     fi
110800     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
110801 echo "${ECHO_T}$ac_gcsections" >&6
110802
110803     if test "$ac_test_CFLAGS" = set; then
110804       CFLAGS="$ac_save_CFLAGS"
110805     else
110806       # this is the suspicious part
110807       CFLAGS=''
110808     fi
110809   fi
110810
110811   # Set -z,relro.
110812   # Note this is only for shared objects.
110813   ac_ld_relro=no
110814   if test x"$with_gnu_ld" = x"yes"; then
110815     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
110816 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
110817     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
110818     if test -n "$cxx_z_relo"; then
110819       OPT_LDFLAGS="-Wl,-z,relro"
110820       ac_ld_relro=yes
110821     fi
110822     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
110823 echo "${ECHO_T}$ac_ld_relro" >&6
110824   fi
110825
110826   # Set linker optimization flags.
110827   if test x"$with_gnu_ld" = x"yes"; then
110828     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
110829   fi
110830
110831
110832
110833
110834
110835
110836 echo "$as_me:$LINENO: checking for main in -lm" >&5
110837 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
110838 if test "${ac_cv_lib_m_main+set}" = set; then
110839   echo $ECHO_N "(cached) $ECHO_C" >&6
110840 else
110841   ac_check_lib_save_LIBS=$LIBS
110842 LIBS="-lm  $LIBS"
110843 if test x$gcc_no_link = xyes; then
110844   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110846    { (exit 1); exit 1; }; }
110847 fi
110848 cat >conftest.$ac_ext <<_ACEOF
110849 /* confdefs.h.  */
110850 _ACEOF
110851 cat confdefs.h >>conftest.$ac_ext
110852 cat >>conftest.$ac_ext <<_ACEOF
110853 /* end confdefs.h.  */
110854
110855
110856 int
110857 main ()
110858 {
110859 main ();
110860   ;
110861   return 0;
110862 }
110863 _ACEOF
110864 rm -f conftest.$ac_objext conftest$ac_exeext
110865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110866   (eval $ac_link) 2>conftest.er1
110867   ac_status=$?
110868   grep -v '^ *+' conftest.er1 >conftest.err
110869   rm -f conftest.er1
110870   cat conftest.err >&5
110871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110872   (exit $ac_status); } &&
110873          { ac_try='test -z "$ac_c_werror_flag"
110874                          || test ! -s conftest.err'
110875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110876   (eval $ac_try) 2>&5
110877   ac_status=$?
110878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110879   (exit $ac_status); }; } &&
110880          { ac_try='test -s conftest$ac_exeext'
110881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110882   (eval $ac_try) 2>&5
110883   ac_status=$?
110884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110885   (exit $ac_status); }; }; then
110886   ac_cv_lib_m_main=yes
110887 else
110888   echo "$as_me: failed program was:" >&5
110889 sed 's/^/| /' conftest.$ac_ext >&5
110890
110891 ac_cv_lib_m_main=no
110892 fi
110893 rm -f conftest.err conftest.$ac_objext \
110894       conftest$ac_exeext conftest.$ac_ext
110895 LIBS=$ac_check_lib_save_LIBS
110896 fi
110897 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
110898 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
110899 if test $ac_cv_lib_m_main = yes; then
110900   cat >>confdefs.h <<_ACEOF
110901 #define HAVE_LIBM 1
110902 _ACEOF
110903
110904   LIBS="-lm $LIBS"
110905
110906 fi
110907
110908
110909 for ac_func in copysignf
110910 do
110911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110912 echo "$as_me:$LINENO: checking for $ac_func" >&5
110913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110914 if eval "test \"\${$as_ac_var+set}\" = set"; then
110915   echo $ECHO_N "(cached) $ECHO_C" >&6
110916 else
110917   if test x$gcc_no_link = xyes; then
110918   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110920    { (exit 1); exit 1; }; }
110921 fi
110922 cat >conftest.$ac_ext <<_ACEOF
110923 /* confdefs.h.  */
110924 _ACEOF
110925 cat confdefs.h >>conftest.$ac_ext
110926 cat >>conftest.$ac_ext <<_ACEOF
110927 /* end confdefs.h.  */
110928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110929    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
110930 #define $ac_func innocuous_$ac_func
110931
110932 /* System header to define __stub macros and hopefully few prototypes,
110933     which can conflict with char $ac_func (); below.
110934     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110935     <limits.h> exists even on freestanding compilers.  */
110936
110937 #ifdef __STDC__
110938 # include <limits.h>
110939 #else
110940 # include <assert.h>
110941 #endif
110942
110943 #undef $ac_func
110944
110945 /* Override any gcc2 internal prototype to avoid an error.  */
110946 #ifdef __cplusplus
110947 extern "C"
110948 {
110949 #endif
110950 /* We use char because int might match the return type of a gcc2
110951    builtin and then its argument prototype would still apply.  */
110952 char $ac_func ();
110953 /* The GNU C library defines this for functions which it implements
110954     to always fail with ENOSYS.  Some functions are actually named
110955     something starting with __ and the normal name is an alias.  */
110956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110957 choke me
110958 #else
110959 char (*f) () = $ac_func;
110960 #endif
110961 #ifdef __cplusplus
110962 }
110963 #endif
110964
110965 int
110966 main ()
110967 {
110968 return f != $ac_func;
110969   ;
110970   return 0;
110971 }
110972 _ACEOF
110973 rm -f conftest.$ac_objext conftest$ac_exeext
110974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110975   (eval $ac_link) 2>conftest.er1
110976   ac_status=$?
110977   grep -v '^ *+' conftest.er1 >conftest.err
110978   rm -f conftest.er1
110979   cat conftest.err >&5
110980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110981   (exit $ac_status); } &&
110982          { ac_try='test -z "$ac_c_werror_flag"
110983                          || test ! -s conftest.err'
110984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110985   (eval $ac_try) 2>&5
110986   ac_status=$?
110987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110988   (exit $ac_status); }; } &&
110989          { ac_try='test -s conftest$ac_exeext'
110990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110991   (eval $ac_try) 2>&5
110992   ac_status=$?
110993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110994   (exit $ac_status); }; }; then
110995   eval "$as_ac_var=yes"
110996 else
110997   echo "$as_me: failed program was:" >&5
110998 sed 's/^/| /' conftest.$ac_ext >&5
110999
111000 eval "$as_ac_var=no"
111001 fi
111002 rm -f conftest.err conftest.$ac_objext \
111003       conftest$ac_exeext conftest.$ac_ext
111004 fi
111005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111007 if test `eval echo '${'$as_ac_var'}'` = yes; then
111008   cat >>confdefs.h <<_ACEOF
111009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111010 _ACEOF
111011
111012 else
111013   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
111014 fi
111015 done
111016
111017
111018
111019 for ac_func in __signbit
111020 do
111021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111022 echo "$as_me:$LINENO: checking for $ac_func" >&5
111023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111024 if eval "test \"\${$as_ac_var+set}\" = set"; then
111025   echo $ECHO_N "(cached) $ECHO_C" >&6
111026 else
111027   if test x$gcc_no_link = xyes; then
111028   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111030    { (exit 1); exit 1; }; }
111031 fi
111032 cat >conftest.$ac_ext <<_ACEOF
111033 /* confdefs.h.  */
111034 _ACEOF
111035 cat confdefs.h >>conftest.$ac_ext
111036 cat >>conftest.$ac_ext <<_ACEOF
111037 /* end confdefs.h.  */
111038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111039    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111040 #define $ac_func innocuous_$ac_func
111041
111042 /* System header to define __stub macros and hopefully few prototypes,
111043     which can conflict with char $ac_func (); below.
111044     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111045     <limits.h> exists even on freestanding compilers.  */
111046
111047 #ifdef __STDC__
111048 # include <limits.h>
111049 #else
111050 # include <assert.h>
111051 #endif
111052
111053 #undef $ac_func
111054
111055 /* Override any gcc2 internal prototype to avoid an error.  */
111056 #ifdef __cplusplus
111057 extern "C"
111058 {
111059 #endif
111060 /* We use char because int might match the return type of a gcc2
111061    builtin and then its argument prototype would still apply.  */
111062 char $ac_func ();
111063 /* The GNU C library defines this for functions which it implements
111064     to always fail with ENOSYS.  Some functions are actually named
111065     something starting with __ and the normal name is an alias.  */
111066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111067 choke me
111068 #else
111069 char (*f) () = $ac_func;
111070 #endif
111071 #ifdef __cplusplus
111072 }
111073 #endif
111074
111075 int
111076 main ()
111077 {
111078 return f != $ac_func;
111079   ;
111080   return 0;
111081 }
111082 _ACEOF
111083 rm -f conftest.$ac_objext conftest$ac_exeext
111084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111085   (eval $ac_link) 2>conftest.er1
111086   ac_status=$?
111087   grep -v '^ *+' conftest.er1 >conftest.err
111088   rm -f conftest.er1
111089   cat conftest.err >&5
111090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111091   (exit $ac_status); } &&
111092          { ac_try='test -z "$ac_c_werror_flag"
111093                          || test ! -s conftest.err'
111094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111095   (eval $ac_try) 2>&5
111096   ac_status=$?
111097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111098   (exit $ac_status); }; } &&
111099          { ac_try='test -s conftest$ac_exeext'
111100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111101   (eval $ac_try) 2>&5
111102   ac_status=$?
111103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111104   (exit $ac_status); }; }; then
111105   eval "$as_ac_var=yes"
111106 else
111107   echo "$as_me: failed program was:" >&5
111108 sed 's/^/| /' conftest.$ac_ext >&5
111109
111110 eval "$as_ac_var=no"
111111 fi
111112 rm -f conftest.err conftest.$ac_objext \
111113       conftest$ac_exeext conftest.$ac_ext
111114 fi
111115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111117 if test `eval echo '${'$as_ac_var'}'` = yes; then
111118   cat >>confdefs.h <<_ACEOF
111119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111120 _ACEOF
111121
111122 else
111123   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
111124 fi
111125 done
111126
111127
111128
111129 for ac_func in __signbitf
111130 do
111131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111132 echo "$as_me:$LINENO: checking for $ac_func" >&5
111133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111134 if eval "test \"\${$as_ac_var+set}\" = set"; then
111135   echo $ECHO_N "(cached) $ECHO_C" >&6
111136 else
111137   if test x$gcc_no_link = xyes; then
111138   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111140    { (exit 1); exit 1; }; }
111141 fi
111142 cat >conftest.$ac_ext <<_ACEOF
111143 /* confdefs.h.  */
111144 _ACEOF
111145 cat confdefs.h >>conftest.$ac_ext
111146 cat >>conftest.$ac_ext <<_ACEOF
111147 /* end confdefs.h.  */
111148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111149    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111150 #define $ac_func innocuous_$ac_func
111151
111152 /* System header to define __stub macros and hopefully few prototypes,
111153     which can conflict with char $ac_func (); below.
111154     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111155     <limits.h> exists even on freestanding compilers.  */
111156
111157 #ifdef __STDC__
111158 # include <limits.h>
111159 #else
111160 # include <assert.h>
111161 #endif
111162
111163 #undef $ac_func
111164
111165 /* Override any gcc2 internal prototype to avoid an error.  */
111166 #ifdef __cplusplus
111167 extern "C"
111168 {
111169 #endif
111170 /* We use char because int might match the return type of a gcc2
111171    builtin and then its argument prototype would still apply.  */
111172 char $ac_func ();
111173 /* The GNU C library defines this for functions which it implements
111174     to always fail with ENOSYS.  Some functions are actually named
111175     something starting with __ and the normal name is an alias.  */
111176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111177 choke me
111178 #else
111179 char (*f) () = $ac_func;
111180 #endif
111181 #ifdef __cplusplus
111182 }
111183 #endif
111184
111185 int
111186 main ()
111187 {
111188 return f != $ac_func;
111189   ;
111190   return 0;
111191 }
111192 _ACEOF
111193 rm -f conftest.$ac_objext conftest$ac_exeext
111194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111195   (eval $ac_link) 2>conftest.er1
111196   ac_status=$?
111197   grep -v '^ *+' conftest.er1 >conftest.err
111198   rm -f conftest.er1
111199   cat conftest.err >&5
111200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111201   (exit $ac_status); } &&
111202          { ac_try='test -z "$ac_c_werror_flag"
111203                          || test ! -s conftest.err'
111204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111205   (eval $ac_try) 2>&5
111206   ac_status=$?
111207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111208   (exit $ac_status); }; } &&
111209          { ac_try='test -s conftest$ac_exeext'
111210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111211   (eval $ac_try) 2>&5
111212   ac_status=$?
111213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111214   (exit $ac_status); }; }; then
111215   eval "$as_ac_var=yes"
111216 else
111217   echo "$as_me: failed program was:" >&5
111218 sed 's/^/| /' conftest.$ac_ext >&5
111219
111220 eval "$as_ac_var=no"
111221 fi
111222 rm -f conftest.err conftest.$ac_objext \
111223       conftest$ac_exeext conftest.$ac_ext
111224 fi
111225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111227 if test `eval echo '${'$as_ac_var'}'` = yes; then
111228   cat >>confdefs.h <<_ACEOF
111229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111230 _ACEOF
111231
111232 else
111233   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
111234 fi
111235 done
111236
111237
111238           if test x$ac_cv_func_copysignl = x"yes"; then
111239
111240 for ac_func in __signbitl
111241 do
111242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111243 echo "$as_me:$LINENO: checking for $ac_func" >&5
111244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111245 if eval "test \"\${$as_ac_var+set}\" = set"; then
111246   echo $ECHO_N "(cached) $ECHO_C" >&6
111247 else
111248   if test x$gcc_no_link = xyes; then
111249   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111251    { (exit 1); exit 1; }; }
111252 fi
111253 cat >conftest.$ac_ext <<_ACEOF
111254 /* confdefs.h.  */
111255 _ACEOF
111256 cat confdefs.h >>conftest.$ac_ext
111257 cat >>conftest.$ac_ext <<_ACEOF
111258 /* end confdefs.h.  */
111259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111260    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111261 #define $ac_func innocuous_$ac_func
111262
111263 /* System header to define __stub macros and hopefully few prototypes,
111264     which can conflict with char $ac_func (); below.
111265     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111266     <limits.h> exists even on freestanding compilers.  */
111267
111268 #ifdef __STDC__
111269 # include <limits.h>
111270 #else
111271 # include <assert.h>
111272 #endif
111273
111274 #undef $ac_func
111275
111276 /* Override any gcc2 internal prototype to avoid an error.  */
111277 #ifdef __cplusplus
111278 extern "C"
111279 {
111280 #endif
111281 /* We use char because int might match the return type of a gcc2
111282    builtin and then its argument prototype would still apply.  */
111283 char $ac_func ();
111284 /* The GNU C library defines this for functions which it implements
111285     to always fail with ENOSYS.  Some functions are actually named
111286     something starting with __ and the normal name is an alias.  */
111287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111288 choke me
111289 #else
111290 char (*f) () = $ac_func;
111291 #endif
111292 #ifdef __cplusplus
111293 }
111294 #endif
111295
111296 int
111297 main ()
111298 {
111299 return f != $ac_func;
111300   ;
111301   return 0;
111302 }
111303 _ACEOF
111304 rm -f conftest.$ac_objext conftest$ac_exeext
111305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111306   (eval $ac_link) 2>conftest.er1
111307   ac_status=$?
111308   grep -v '^ *+' conftest.er1 >conftest.err
111309   rm -f conftest.er1
111310   cat conftest.err >&5
111311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111312   (exit $ac_status); } &&
111313          { ac_try='test -z "$ac_c_werror_flag"
111314                          || test ! -s conftest.err'
111315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111316   (eval $ac_try) 2>&5
111317   ac_status=$?
111318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111319   (exit $ac_status); }; } &&
111320          { ac_try='test -s conftest$ac_exeext'
111321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111322   (eval $ac_try) 2>&5
111323   ac_status=$?
111324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111325   (exit $ac_status); }; }; then
111326   eval "$as_ac_var=yes"
111327 else
111328   echo "$as_me: failed program was:" >&5
111329 sed 's/^/| /' conftest.$ac_ext >&5
111330
111331 eval "$as_ac_var=no"
111332 fi
111333 rm -f conftest.err conftest.$ac_objext \
111334       conftest$ac_exeext conftest.$ac_ext
111335 fi
111336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111338 if test `eval echo '${'$as_ac_var'}'` = yes; then
111339   cat >>confdefs.h <<_ACEOF
111340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111341 _ACEOF
111342
111343 else
111344   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
111345 fi
111346 done
111347
111348   fi
111349
111350   # Used in libmath/Makefile.am.
111351   if test -n "$LIBMATHOBJS"; then
111352     need_libmath=yes
111353   fi
111354
111355
111356     ;;
111357   *-netbsd*)
111358
111359
111360
111361
111362
111363
111364
111365
111366
111367
111368
111369
111370 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
111371       machine/endian.h machine/param.h sys/machine.h sys/types.h \
111372       fp.h locale.h float.h inttypes.h
111373 do
111374 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111376   echo "$as_me:$LINENO: checking for $ac_header" >&5
111377 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111378 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111379   echo $ECHO_N "(cached) $ECHO_C" >&6
111380 fi
111381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111382 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111383 else
111384   # Is the header compilable?
111385 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111386 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111387 cat >conftest.$ac_ext <<_ACEOF
111388 /* confdefs.h.  */
111389 _ACEOF
111390 cat confdefs.h >>conftest.$ac_ext
111391 cat >>conftest.$ac_ext <<_ACEOF
111392 /* end confdefs.h.  */
111393 $ac_includes_default
111394 #include <$ac_header>
111395 _ACEOF
111396 rm -f conftest.$ac_objext
111397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111398   (eval $ac_compile) 2>conftest.er1
111399   ac_status=$?
111400   grep -v '^ *+' conftest.er1 >conftest.err
111401   rm -f conftest.er1
111402   cat conftest.err >&5
111403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111404   (exit $ac_status); } &&
111405          { ac_try='test -z "$ac_c_werror_flag"
111406                          || test ! -s conftest.err'
111407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111408   (eval $ac_try) 2>&5
111409   ac_status=$?
111410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111411   (exit $ac_status); }; } &&
111412          { ac_try='test -s conftest.$ac_objext'
111413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111414   (eval $ac_try) 2>&5
111415   ac_status=$?
111416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111417   (exit $ac_status); }; }; then
111418   ac_header_compiler=yes
111419 else
111420   echo "$as_me: failed program was:" >&5
111421 sed 's/^/| /' conftest.$ac_ext >&5
111422
111423 ac_header_compiler=no
111424 fi
111425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111426 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111427 echo "${ECHO_T}$ac_header_compiler" >&6
111428
111429 # Is the header present?
111430 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111431 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111432 cat >conftest.$ac_ext <<_ACEOF
111433 /* confdefs.h.  */
111434 _ACEOF
111435 cat confdefs.h >>conftest.$ac_ext
111436 cat >>conftest.$ac_ext <<_ACEOF
111437 /* end confdefs.h.  */
111438 #include <$ac_header>
111439 _ACEOF
111440 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111441   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111442   ac_status=$?
111443   grep -v '^ *+' conftest.er1 >conftest.err
111444   rm -f conftest.er1
111445   cat conftest.err >&5
111446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111447   (exit $ac_status); } >/dev/null; then
111448   if test -s conftest.err; then
111449     ac_cpp_err=$ac_c_preproc_warn_flag
111450     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111451   else
111452     ac_cpp_err=
111453   fi
111454 else
111455   ac_cpp_err=yes
111456 fi
111457 if test -z "$ac_cpp_err"; then
111458   ac_header_preproc=yes
111459 else
111460   echo "$as_me: failed program was:" >&5
111461 sed 's/^/| /' conftest.$ac_ext >&5
111462
111463   ac_header_preproc=no
111464 fi
111465 rm -f conftest.err conftest.$ac_ext
111466 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111467 echo "${ECHO_T}$ac_header_preproc" >&6
111468
111469 # So?  What about this header?
111470 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111471   yes:no: )
111472     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111473 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111474     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111475 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111476     ac_header_preproc=yes
111477     ;;
111478   no:yes:* )
111479     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111480 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111481     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
111482 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
111483     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111484 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111485     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
111486 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
111487     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111488 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111489     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111490 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111491     (
111492       cat <<\_ASBOX
111493 ## ----------------------------------------- ##
111494 ## Report this to the package-unused lists.  ##
111495 ## ----------------------------------------- ##
111496 _ASBOX
111497     ) |
111498       sed "s/^/$as_me: WARNING:     /" >&2
111499     ;;
111500 esac
111501 echo "$as_me:$LINENO: checking for $ac_header" >&5
111502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111504   echo $ECHO_N "(cached) $ECHO_C" >&6
111505 else
111506   eval "$as_ac_Header=\$ac_header_preproc"
111507 fi
111508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111509 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111510
111511 fi
111512 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111513   cat >>confdefs.h <<_ACEOF
111514 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111515 _ACEOF
111516
111517 fi
111518
111519 done
111520
111521     SECTION_FLAGS='-ffunction-sections -fdata-sections'
111522
111523
111524   # If we're not using GNU ld, then there's no point in even trying these
111525   # tests.  Check for that first.  We should have already tested for gld
111526   # by now (in libtool), but require it now just to be safe...
111527   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
111528   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
111529
111530
111531
111532   # The name set by libtool depends on the version of libtool.  Shame on us
111533   # for depending on an impl detail, but c'est la vie.  Older versions used
111534   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
111535   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
111536   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
111537   # set (hence we're using an older libtool), then set it.
111538   if test x${with_gnu_ld+set} != xset; then
111539     if test x${ac_cv_prog_gnu_ld+set} != xset; then
111540       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
111541       with_gnu_ld=no
111542     else
111543       with_gnu_ld=$ac_cv_prog_gnu_ld
111544     fi
111545   fi
111546
111547   # Start by getting the version number.  I think the libtool test already
111548   # does some of this, but throws away the result.
111549   glibcxx_ld_is_gold=no
111550   if test x"$with_gnu_ld" = x"yes"; then
111551     echo "$as_me:$LINENO: checking for ld version" >&5
111552 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
111553
111554     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
111555       glibcxx_ld_is_gold=yes
111556     fi
111557     ldver=`$LD --version 2>/dev/null | head -1 | \
111558            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
111559
111560     glibcxx_gnu_ld_version=`echo $ldver | \
111561            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
111562     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
111563 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
111564   fi
111565
111566   # Set --gc-sections.
111567   glibcxx_have_gc_sections=no
111568   if test "$glibcxx_ld_is_gold" = "yes"; then
111569     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
111570       glibcxx_have_gc_sections=yes
111571     fi
111572   else
111573     glibcxx_gcsections_min_ld=21602
111574     if test x"$with_gnu_ld" = x"yes" &&
111575         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
111576       glibcxx_have_gc_sections=yes
111577     fi
111578   fi
111579   if test "$glibcxx_have_gc_sections" = "yes"; then
111580     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
111581     # NB: This flag only works reliably after 2.16.1. Configure tests
111582     # for this are difficult, so hard wire a value that should work.
111583
111584     ac_test_CFLAGS="${CFLAGS+set}"
111585     ac_save_CFLAGS="$CFLAGS"
111586     CFLAGS='-Wl,--gc-sections'
111587
111588     # Check for -Wl,--gc-sections
111589     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
111590 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
111591     if test x$gcc_no_link = xyes; then
111592   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111594    { (exit 1); exit 1; }; }
111595 fi
111596 cat >conftest.$ac_ext <<_ACEOF
111597 /* confdefs.h.  */
111598 _ACEOF
111599 cat confdefs.h >>conftest.$ac_ext
111600 cat >>conftest.$ac_ext <<_ACEOF
111601 /* end confdefs.h.  */
111602  int one(void) { return 1; }
111603      int two(void) { return 2; }
111604
111605 int
111606 main ()
111607 {
111608  two();
111609   ;
111610   return 0;
111611 }
111612 _ACEOF
111613 rm -f conftest.$ac_objext conftest$ac_exeext
111614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111615   (eval $ac_link) 2>conftest.er1
111616   ac_status=$?
111617   grep -v '^ *+' conftest.er1 >conftest.err
111618   rm -f conftest.er1
111619   cat conftest.err >&5
111620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111621   (exit $ac_status); } &&
111622          { ac_try='test -z "$ac_c_werror_flag"
111623                          || test ! -s conftest.err'
111624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111625   (eval $ac_try) 2>&5
111626   ac_status=$?
111627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111628   (exit $ac_status); }; } &&
111629          { ac_try='test -s conftest$ac_exeext'
111630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111631   (eval $ac_try) 2>&5
111632   ac_status=$?
111633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111634   (exit $ac_status); }; }; then
111635   ac_gcsections=yes
111636 else
111637   echo "$as_me: failed program was:" >&5
111638 sed 's/^/| /' conftest.$ac_ext >&5
111639
111640 ac_gcsections=no
111641 fi
111642 rm -f conftest.err conftest.$ac_objext \
111643       conftest$ac_exeext conftest.$ac_ext
111644     if test "$ac_gcsections" = "yes"; then
111645       rm -f conftest.c
111646       touch conftest.c
111647       if $CC -c conftest.c; then
111648         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
111649            grep "Warning: gc-sections option ignored" > /dev/null; then
111650           ac_gcsections=no
111651         fi
111652       fi
111653       rm -f conftest.c conftest.o conftest
111654     fi
111655     if test "$ac_gcsections" = "yes"; then
111656       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
111657     fi
111658     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
111659 echo "${ECHO_T}$ac_gcsections" >&6
111660
111661     if test "$ac_test_CFLAGS" = set; then
111662       CFLAGS="$ac_save_CFLAGS"
111663     else
111664       # this is the suspicious part
111665       CFLAGS=''
111666     fi
111667   fi
111668
111669   # Set -z,relro.
111670   # Note this is only for shared objects.
111671   ac_ld_relro=no
111672   if test x"$with_gnu_ld" = x"yes"; then
111673     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
111674 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
111675     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
111676     if test -n "$cxx_z_relo"; then
111677       OPT_LDFLAGS="-Wl,-z,relro"
111678       ac_ld_relro=yes
111679     fi
111680     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
111681 echo "${ECHO_T}$ac_ld_relro" >&6
111682   fi
111683
111684   # Set linker optimization flags.
111685   if test x"$with_gnu_ld" = x"yes"; then
111686     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
111687   fi
111688
111689
111690
111691
111692
111693
111694 echo "$as_me:$LINENO: checking for main in -lm" >&5
111695 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
111696 if test "${ac_cv_lib_m_main+set}" = set; then
111697   echo $ECHO_N "(cached) $ECHO_C" >&6
111698 else
111699   ac_check_lib_save_LIBS=$LIBS
111700 LIBS="-lm  $LIBS"
111701 if test x$gcc_no_link = xyes; then
111702   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111704    { (exit 1); exit 1; }; }
111705 fi
111706 cat >conftest.$ac_ext <<_ACEOF
111707 /* confdefs.h.  */
111708 _ACEOF
111709 cat confdefs.h >>conftest.$ac_ext
111710 cat >>conftest.$ac_ext <<_ACEOF
111711 /* end confdefs.h.  */
111712
111713
111714 int
111715 main ()
111716 {
111717 main ();
111718   ;
111719   return 0;
111720 }
111721 _ACEOF
111722 rm -f conftest.$ac_objext conftest$ac_exeext
111723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111724   (eval $ac_link) 2>conftest.er1
111725   ac_status=$?
111726   grep -v '^ *+' conftest.er1 >conftest.err
111727   rm -f conftest.er1
111728   cat conftest.err >&5
111729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111730   (exit $ac_status); } &&
111731          { ac_try='test -z "$ac_c_werror_flag"
111732                          || test ! -s conftest.err'
111733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111734   (eval $ac_try) 2>&5
111735   ac_status=$?
111736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111737   (exit $ac_status); }; } &&
111738          { ac_try='test -s conftest$ac_exeext'
111739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111740   (eval $ac_try) 2>&5
111741   ac_status=$?
111742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111743   (exit $ac_status); }; }; then
111744   ac_cv_lib_m_main=yes
111745 else
111746   echo "$as_me: failed program was:" >&5
111747 sed 's/^/| /' conftest.$ac_ext >&5
111748
111749 ac_cv_lib_m_main=no
111750 fi
111751 rm -f conftest.err conftest.$ac_objext \
111752       conftest$ac_exeext conftest.$ac_ext
111753 LIBS=$ac_check_lib_save_LIBS
111754 fi
111755 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
111756 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
111757 if test $ac_cv_lib_m_main = yes; then
111758   cat >>confdefs.h <<_ACEOF
111759 #define HAVE_LIBM 1
111760 _ACEOF
111761
111762   LIBS="-lm $LIBS"
111763
111764 fi
111765
111766
111767 for ac_func in copysignf
111768 do
111769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111770 echo "$as_me:$LINENO: checking for $ac_func" >&5
111771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111772 if eval "test \"\${$as_ac_var+set}\" = set"; then
111773   echo $ECHO_N "(cached) $ECHO_C" >&6
111774 else
111775   if test x$gcc_no_link = xyes; then
111776   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111778    { (exit 1); exit 1; }; }
111779 fi
111780 cat >conftest.$ac_ext <<_ACEOF
111781 /* confdefs.h.  */
111782 _ACEOF
111783 cat confdefs.h >>conftest.$ac_ext
111784 cat >>conftest.$ac_ext <<_ACEOF
111785 /* end confdefs.h.  */
111786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111787    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111788 #define $ac_func innocuous_$ac_func
111789
111790 /* System header to define __stub macros and hopefully few prototypes,
111791     which can conflict with char $ac_func (); below.
111792     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111793     <limits.h> exists even on freestanding compilers.  */
111794
111795 #ifdef __STDC__
111796 # include <limits.h>
111797 #else
111798 # include <assert.h>
111799 #endif
111800
111801 #undef $ac_func
111802
111803 /* Override any gcc2 internal prototype to avoid an error.  */
111804 #ifdef __cplusplus
111805 extern "C"
111806 {
111807 #endif
111808 /* We use char because int might match the return type of a gcc2
111809    builtin and then its argument prototype would still apply.  */
111810 char $ac_func ();
111811 /* The GNU C library defines this for functions which it implements
111812     to always fail with ENOSYS.  Some functions are actually named
111813     something starting with __ and the normal name is an alias.  */
111814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111815 choke me
111816 #else
111817 char (*f) () = $ac_func;
111818 #endif
111819 #ifdef __cplusplus
111820 }
111821 #endif
111822
111823 int
111824 main ()
111825 {
111826 return f != $ac_func;
111827   ;
111828   return 0;
111829 }
111830 _ACEOF
111831 rm -f conftest.$ac_objext conftest$ac_exeext
111832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111833   (eval $ac_link) 2>conftest.er1
111834   ac_status=$?
111835   grep -v '^ *+' conftest.er1 >conftest.err
111836   rm -f conftest.er1
111837   cat conftest.err >&5
111838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111839   (exit $ac_status); } &&
111840          { ac_try='test -z "$ac_c_werror_flag"
111841                          || test ! -s conftest.err'
111842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111843   (eval $ac_try) 2>&5
111844   ac_status=$?
111845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111846   (exit $ac_status); }; } &&
111847          { ac_try='test -s conftest$ac_exeext'
111848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111849   (eval $ac_try) 2>&5
111850   ac_status=$?
111851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111852   (exit $ac_status); }; }; then
111853   eval "$as_ac_var=yes"
111854 else
111855   echo "$as_me: failed program was:" >&5
111856 sed 's/^/| /' conftest.$ac_ext >&5
111857
111858 eval "$as_ac_var=no"
111859 fi
111860 rm -f conftest.err conftest.$ac_objext \
111861       conftest$ac_exeext conftest.$ac_ext
111862 fi
111863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111865 if test `eval echo '${'$as_ac_var'}'` = yes; then
111866   cat >>confdefs.h <<_ACEOF
111867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111868 _ACEOF
111869
111870 else
111871   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
111872 fi
111873 done
111874
111875
111876
111877 for ac_func in __signbit
111878 do
111879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111880 echo "$as_me:$LINENO: checking for $ac_func" >&5
111881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111882 if eval "test \"\${$as_ac_var+set}\" = set"; then
111883   echo $ECHO_N "(cached) $ECHO_C" >&6
111884 else
111885   if test x$gcc_no_link = xyes; then
111886   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111888    { (exit 1); exit 1; }; }
111889 fi
111890 cat >conftest.$ac_ext <<_ACEOF
111891 /* confdefs.h.  */
111892 _ACEOF
111893 cat confdefs.h >>conftest.$ac_ext
111894 cat >>conftest.$ac_ext <<_ACEOF
111895 /* end confdefs.h.  */
111896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111897    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111898 #define $ac_func innocuous_$ac_func
111899
111900 /* System header to define __stub macros and hopefully few prototypes,
111901     which can conflict with char $ac_func (); below.
111902     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111903     <limits.h> exists even on freestanding compilers.  */
111904
111905 #ifdef __STDC__
111906 # include <limits.h>
111907 #else
111908 # include <assert.h>
111909 #endif
111910
111911 #undef $ac_func
111912
111913 /* Override any gcc2 internal prototype to avoid an error.  */
111914 #ifdef __cplusplus
111915 extern "C"
111916 {
111917 #endif
111918 /* We use char because int might match the return type of a gcc2
111919    builtin and then its argument prototype would still apply.  */
111920 char $ac_func ();
111921 /* The GNU C library defines this for functions which it implements
111922     to always fail with ENOSYS.  Some functions are actually named
111923     something starting with __ and the normal name is an alias.  */
111924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111925 choke me
111926 #else
111927 char (*f) () = $ac_func;
111928 #endif
111929 #ifdef __cplusplus
111930 }
111931 #endif
111932
111933 int
111934 main ()
111935 {
111936 return f != $ac_func;
111937   ;
111938   return 0;
111939 }
111940 _ACEOF
111941 rm -f conftest.$ac_objext conftest$ac_exeext
111942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111943   (eval $ac_link) 2>conftest.er1
111944   ac_status=$?
111945   grep -v '^ *+' conftest.er1 >conftest.err
111946   rm -f conftest.er1
111947   cat conftest.err >&5
111948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111949   (exit $ac_status); } &&
111950          { ac_try='test -z "$ac_c_werror_flag"
111951                          || test ! -s conftest.err'
111952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111953   (eval $ac_try) 2>&5
111954   ac_status=$?
111955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111956   (exit $ac_status); }; } &&
111957          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
111963   eval "$as_ac_var=yes"
111964 else
111965   echo "$as_me: failed program was:" >&5
111966 sed 's/^/| /' conftest.$ac_ext >&5
111967
111968 eval "$as_ac_var=no"
111969 fi
111970 rm -f conftest.err conftest.$ac_objext \
111971       conftest$ac_exeext conftest.$ac_ext
111972 fi
111973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111975 if test `eval echo '${'$as_ac_var'}'` = yes; then
111976   cat >>confdefs.h <<_ACEOF
111977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111978 _ACEOF
111979
111980 else
111981   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
111982 fi
111983 done
111984
111985
111986
111987 for ac_func in __signbitf
111988 do
111989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111990 echo "$as_me:$LINENO: checking for $ac_func" >&5
111991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111992 if eval "test \"\${$as_ac_var+set}\" = set"; then
111993   echo $ECHO_N "(cached) $ECHO_C" >&6
111994 else
111995   if test x$gcc_no_link = xyes; then
111996   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111998    { (exit 1); exit 1; }; }
111999 fi
112000 cat >conftest.$ac_ext <<_ACEOF
112001 /* confdefs.h.  */
112002 _ACEOF
112003 cat confdefs.h >>conftest.$ac_ext
112004 cat >>conftest.$ac_ext <<_ACEOF
112005 /* end confdefs.h.  */
112006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112007    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112008 #define $ac_func innocuous_$ac_func
112009
112010 /* System header to define __stub macros and hopefully few prototypes,
112011     which can conflict with char $ac_func (); below.
112012     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112013     <limits.h> exists even on freestanding compilers.  */
112014
112015 #ifdef __STDC__
112016 # include <limits.h>
112017 #else
112018 # include <assert.h>
112019 #endif
112020
112021 #undef $ac_func
112022
112023 /* Override any gcc2 internal prototype to avoid an error.  */
112024 #ifdef __cplusplus
112025 extern "C"
112026 {
112027 #endif
112028 /* We use char because int might match the return type of a gcc2
112029    builtin and then its argument prototype would still apply.  */
112030 char $ac_func ();
112031 /* The GNU C library defines this for functions which it implements
112032     to always fail with ENOSYS.  Some functions are actually named
112033     something starting with __ and the normal name is an alias.  */
112034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112035 choke me
112036 #else
112037 char (*f) () = $ac_func;
112038 #endif
112039 #ifdef __cplusplus
112040 }
112041 #endif
112042
112043 int
112044 main ()
112045 {
112046 return f != $ac_func;
112047   ;
112048   return 0;
112049 }
112050 _ACEOF
112051 rm -f conftest.$ac_objext conftest$ac_exeext
112052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112053   (eval $ac_link) 2>conftest.er1
112054   ac_status=$?
112055   grep -v '^ *+' conftest.er1 >conftest.err
112056   rm -f conftest.er1
112057   cat conftest.err >&5
112058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112059   (exit $ac_status); } &&
112060          { ac_try='test -z "$ac_c_werror_flag"
112061                          || test ! -s conftest.err'
112062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112063   (eval $ac_try) 2>&5
112064   ac_status=$?
112065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112066   (exit $ac_status); }; } &&
112067          { ac_try='test -s conftest$ac_exeext'
112068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112069   (eval $ac_try) 2>&5
112070   ac_status=$?
112071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112072   (exit $ac_status); }; }; then
112073   eval "$as_ac_var=yes"
112074 else
112075   echo "$as_me: failed program was:" >&5
112076 sed 's/^/| /' conftest.$ac_ext >&5
112077
112078 eval "$as_ac_var=no"
112079 fi
112080 rm -f conftest.err conftest.$ac_objext \
112081       conftest$ac_exeext conftest.$ac_ext
112082 fi
112083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112085 if test `eval echo '${'$as_ac_var'}'` = yes; then
112086   cat >>confdefs.h <<_ACEOF
112087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112088 _ACEOF
112089
112090 else
112091   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
112092 fi
112093 done
112094
112095
112096           if test x$ac_cv_func_copysignl = x"yes"; then
112097
112098 for ac_func in __signbitl
112099 do
112100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112101 echo "$as_me:$LINENO: checking for $ac_func" >&5
112102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112103 if eval "test \"\${$as_ac_var+set}\" = set"; then
112104   echo $ECHO_N "(cached) $ECHO_C" >&6
112105 else
112106   if test x$gcc_no_link = xyes; then
112107   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112109    { (exit 1); exit 1; }; }
112110 fi
112111 cat >conftest.$ac_ext <<_ACEOF
112112 /* confdefs.h.  */
112113 _ACEOF
112114 cat confdefs.h >>conftest.$ac_ext
112115 cat >>conftest.$ac_ext <<_ACEOF
112116 /* end confdefs.h.  */
112117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112118    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112119 #define $ac_func innocuous_$ac_func
112120
112121 /* System header to define __stub macros and hopefully few prototypes,
112122     which can conflict with char $ac_func (); below.
112123     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112124     <limits.h> exists even on freestanding compilers.  */
112125
112126 #ifdef __STDC__
112127 # include <limits.h>
112128 #else
112129 # include <assert.h>
112130 #endif
112131
112132 #undef $ac_func
112133
112134 /* Override any gcc2 internal prototype to avoid an error.  */
112135 #ifdef __cplusplus
112136 extern "C"
112137 {
112138 #endif
112139 /* We use char because int might match the return type of a gcc2
112140    builtin and then its argument prototype would still apply.  */
112141 char $ac_func ();
112142 /* The GNU C library defines this for functions which it implements
112143     to always fail with ENOSYS.  Some functions are actually named
112144     something starting with __ and the normal name is an alias.  */
112145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112146 choke me
112147 #else
112148 char (*f) () = $ac_func;
112149 #endif
112150 #ifdef __cplusplus
112151 }
112152 #endif
112153
112154 int
112155 main ()
112156 {
112157 return f != $ac_func;
112158   ;
112159   return 0;
112160 }
112161 _ACEOF
112162 rm -f conftest.$ac_objext conftest$ac_exeext
112163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112164   (eval $ac_link) 2>conftest.er1
112165   ac_status=$?
112166   grep -v '^ *+' conftest.er1 >conftest.err
112167   rm -f conftest.er1
112168   cat conftest.err >&5
112169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112170   (exit $ac_status); } &&
112171          { ac_try='test -z "$ac_c_werror_flag"
112172                          || test ! -s conftest.err'
112173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112174   (eval $ac_try) 2>&5
112175   ac_status=$?
112176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112177   (exit $ac_status); }; } &&
112178          { ac_try='test -s conftest$ac_exeext'
112179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112180   (eval $ac_try) 2>&5
112181   ac_status=$?
112182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112183   (exit $ac_status); }; }; then
112184   eval "$as_ac_var=yes"
112185 else
112186   echo "$as_me: failed program was:" >&5
112187 sed 's/^/| /' conftest.$ac_ext >&5
112188
112189 eval "$as_ac_var=no"
112190 fi
112191 rm -f conftest.err conftest.$ac_objext \
112192       conftest$ac_exeext conftest.$ac_ext
112193 fi
112194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112196 if test `eval echo '${'$as_ac_var'}'` = yes; then
112197   cat >>confdefs.h <<_ACEOF
112198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112199 _ACEOF
112200
112201 else
112202   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
112203 fi
112204 done
112205
112206   fi
112207
112208   # Used in libmath/Makefile.am.
112209   if test -n "$LIBMATHOBJS"; then
112210     need_libmath=yes
112211   fi
112212
112213
112214     cat >>confdefs.h <<\_ACEOF
112215 #define HAVE_COPYSIGN 1
112216 _ACEOF
112217
112218     cat >>confdefs.h <<\_ACEOF
112219 #define HAVE_COPYSIGNF 1
112220 _ACEOF
112221
112222     cat >>confdefs.h <<\_ACEOF
112223 #define HAVE_FINITEF 1
112224 _ACEOF
112225
112226     cat >>confdefs.h <<\_ACEOF
112227 #define HAVE_FINITE 1
112228 _ACEOF
112229
112230     cat >>confdefs.h <<\_ACEOF
112231 #define HAVE_FREXPF 1
112232 _ACEOF
112233
112234     cat >>confdefs.h <<\_ACEOF
112235 #define HAVE_HYPOTF 1
112236 _ACEOF
112237
112238     cat >>confdefs.h <<\_ACEOF
112239 #define HAVE_ISINF 1
112240 _ACEOF
112241
112242     cat >>confdefs.h <<\_ACEOF
112243 #define HAVE_ISINFF 1
112244 _ACEOF
112245
112246     cat >>confdefs.h <<\_ACEOF
112247 #define HAVE_ISNAN 1
112248 _ACEOF
112249
112250     cat >>confdefs.h <<\_ACEOF
112251 #define HAVE_ISNANF 1
112252 _ACEOF
112253
112254     if test x"long_double_math_on_this_cpu" = x"yes"; then
112255       cat >>confdefs.h <<\_ACEOF
112256 #define HAVE_FINITEL 1
112257 _ACEOF
112258
112259       cat >>confdefs.h <<\_ACEOF
112260 #define HAVE_ISINFL 1
112261 _ACEOF
112262
112263       cat >>confdefs.h <<\_ACEOF
112264 #define HAVE_ISNANL 1
112265 _ACEOF
112266
112267     fi
112268     ;;
112269   *-netware)
112270
112271
112272
112273
112274
112275
112276
112277
112278 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
112279       sys/types.h locale.h float.h inttypes.h
112280 do
112281 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
112282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112283   echo "$as_me:$LINENO: checking for $ac_header" >&5
112284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112286   echo $ECHO_N "(cached) $ECHO_C" >&6
112287 fi
112288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112290 else
112291   # Is the header compilable?
112292 echo "$as_me:$LINENO: checking $ac_header usability" >&5
112293 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
112294 cat >conftest.$ac_ext <<_ACEOF
112295 /* confdefs.h.  */
112296 _ACEOF
112297 cat confdefs.h >>conftest.$ac_ext
112298 cat >>conftest.$ac_ext <<_ACEOF
112299 /* end confdefs.h.  */
112300 $ac_includes_default
112301 #include <$ac_header>
112302 _ACEOF
112303 rm -f conftest.$ac_objext
112304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112305   (eval $ac_compile) 2>conftest.er1
112306   ac_status=$?
112307   grep -v '^ *+' conftest.er1 >conftest.err
112308   rm -f conftest.er1
112309   cat conftest.err >&5
112310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112311   (exit $ac_status); } &&
112312          { ac_try='test -z "$ac_c_werror_flag"
112313                          || test ! -s conftest.err'
112314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112315   (eval $ac_try) 2>&5
112316   ac_status=$?
112317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112318   (exit $ac_status); }; } &&
112319          { ac_try='test -s conftest.$ac_objext'
112320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112321   (eval $ac_try) 2>&5
112322   ac_status=$?
112323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112324   (exit $ac_status); }; }; then
112325   ac_header_compiler=yes
112326 else
112327   echo "$as_me: failed program was:" >&5
112328 sed 's/^/| /' conftest.$ac_ext >&5
112329
112330 ac_header_compiler=no
112331 fi
112332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112333 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112334 echo "${ECHO_T}$ac_header_compiler" >&6
112335
112336 # Is the header present?
112337 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112338 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112339 cat >conftest.$ac_ext <<_ACEOF
112340 /* confdefs.h.  */
112341 _ACEOF
112342 cat confdefs.h >>conftest.$ac_ext
112343 cat >>conftest.$ac_ext <<_ACEOF
112344 /* end confdefs.h.  */
112345 #include <$ac_header>
112346 _ACEOF
112347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112348   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112349   ac_status=$?
112350   grep -v '^ *+' conftest.er1 >conftest.err
112351   rm -f conftest.er1
112352   cat conftest.err >&5
112353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112354   (exit $ac_status); } >/dev/null; then
112355   if test -s conftest.err; then
112356     ac_cpp_err=$ac_c_preproc_warn_flag
112357     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112358   else
112359     ac_cpp_err=
112360   fi
112361 else
112362   ac_cpp_err=yes
112363 fi
112364 if test -z "$ac_cpp_err"; then
112365   ac_header_preproc=yes
112366 else
112367   echo "$as_me: failed program was:" >&5
112368 sed 's/^/| /' conftest.$ac_ext >&5
112369
112370   ac_header_preproc=no
112371 fi
112372 rm -f conftest.err conftest.$ac_ext
112373 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112374 echo "${ECHO_T}$ac_header_preproc" >&6
112375
112376 # So?  What about this header?
112377 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112378   yes:no: )
112379     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112380 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112381     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112382 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112383     ac_header_preproc=yes
112384     ;;
112385   no:yes:* )
112386     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112387 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112388     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
112389 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
112390     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112391 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112392     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
112393 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
112394     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112395 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112396     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112397 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112398     (
112399       cat <<\_ASBOX
112400 ## ----------------------------------------- ##
112401 ## Report this to the package-unused lists.  ##
112402 ## ----------------------------------------- ##
112403 _ASBOX
112404     ) |
112405       sed "s/^/$as_me: WARNING:     /" >&2
112406     ;;
112407 esac
112408 echo "$as_me:$LINENO: checking for $ac_header" >&5
112409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112411   echo $ECHO_N "(cached) $ECHO_C" >&6
112412 else
112413   eval "$as_ac_Header=\$ac_header_preproc"
112414 fi
112415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112416 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112417
112418 fi
112419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112420   cat >>confdefs.h <<_ACEOF
112421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112422 _ACEOF
112423
112424 fi
112425
112426 done
112427
112428     SECTION_FLAGS='-ffunction-sections -fdata-sections'
112429
112430
112431   # If we're not using GNU ld, then there's no point in even trying these
112432   # tests.  Check for that first.  We should have already tested for gld
112433   # by now (in libtool), but require it now just to be safe...
112434   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112435   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112436
112437
112438
112439   # The name set by libtool depends on the version of libtool.  Shame on us
112440   # for depending on an impl detail, but c'est la vie.  Older versions used
112441   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112442   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112443   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
112444   # set (hence we're using an older libtool), then set it.
112445   if test x${with_gnu_ld+set} != xset; then
112446     if test x${ac_cv_prog_gnu_ld+set} != xset; then
112447       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
112448       with_gnu_ld=no
112449     else
112450       with_gnu_ld=$ac_cv_prog_gnu_ld
112451     fi
112452   fi
112453
112454   # Start by getting the version number.  I think the libtool test already
112455   # does some of this, but throws away the result.
112456   glibcxx_ld_is_gold=no
112457   if test x"$with_gnu_ld" = x"yes"; then
112458     echo "$as_me:$LINENO: checking for ld version" >&5
112459 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112460
112461     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
112462       glibcxx_ld_is_gold=yes
112463     fi
112464     ldver=`$LD --version 2>/dev/null | head -1 | \
112465            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
112466
112467     glibcxx_gnu_ld_version=`echo $ldver | \
112468            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112469     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112470 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112471   fi
112472
112473   # Set --gc-sections.
112474   glibcxx_have_gc_sections=no
112475   if test "$glibcxx_ld_is_gold" = "yes"; then
112476     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
112477       glibcxx_have_gc_sections=yes
112478     fi
112479   else
112480     glibcxx_gcsections_min_ld=21602
112481     if test x"$with_gnu_ld" = x"yes" &&
112482         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112483       glibcxx_have_gc_sections=yes
112484     fi
112485   fi
112486   if test "$glibcxx_have_gc_sections" = "yes"; then
112487     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
112488     # NB: This flag only works reliably after 2.16.1. Configure tests
112489     # for this are difficult, so hard wire a value that should work.
112490
112491     ac_test_CFLAGS="${CFLAGS+set}"
112492     ac_save_CFLAGS="$CFLAGS"
112493     CFLAGS='-Wl,--gc-sections'
112494
112495     # Check for -Wl,--gc-sections
112496     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112497 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112498     if test x$gcc_no_link = xyes; then
112499   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112501    { (exit 1); exit 1; }; }
112502 fi
112503 cat >conftest.$ac_ext <<_ACEOF
112504 /* confdefs.h.  */
112505 _ACEOF
112506 cat confdefs.h >>conftest.$ac_ext
112507 cat >>conftest.$ac_ext <<_ACEOF
112508 /* end confdefs.h.  */
112509  int one(void) { return 1; }
112510      int two(void) { return 2; }
112511
112512 int
112513 main ()
112514 {
112515  two();
112516   ;
112517   return 0;
112518 }
112519 _ACEOF
112520 rm -f conftest.$ac_objext conftest$ac_exeext
112521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112522   (eval $ac_link) 2>conftest.er1
112523   ac_status=$?
112524   grep -v '^ *+' conftest.er1 >conftest.err
112525   rm -f conftest.er1
112526   cat conftest.err >&5
112527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112528   (exit $ac_status); } &&
112529          { ac_try='test -z "$ac_c_werror_flag"
112530                          || test ! -s conftest.err'
112531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112532   (eval $ac_try) 2>&5
112533   ac_status=$?
112534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112535   (exit $ac_status); }; } &&
112536          { ac_try='test -s conftest$ac_exeext'
112537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112538   (eval $ac_try) 2>&5
112539   ac_status=$?
112540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112541   (exit $ac_status); }; }; then
112542   ac_gcsections=yes
112543 else
112544   echo "$as_me: failed program was:" >&5
112545 sed 's/^/| /' conftest.$ac_ext >&5
112546
112547 ac_gcsections=no
112548 fi
112549 rm -f conftest.err conftest.$ac_objext \
112550       conftest$ac_exeext conftest.$ac_ext
112551     if test "$ac_gcsections" = "yes"; then
112552       rm -f conftest.c
112553       touch conftest.c
112554       if $CC -c conftest.c; then
112555         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112556            grep "Warning: gc-sections option ignored" > /dev/null; then
112557           ac_gcsections=no
112558         fi
112559       fi
112560       rm -f conftest.c conftest.o conftest
112561     fi
112562     if test "$ac_gcsections" = "yes"; then
112563       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112564     fi
112565     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112566 echo "${ECHO_T}$ac_gcsections" >&6
112567
112568     if test "$ac_test_CFLAGS" = set; then
112569       CFLAGS="$ac_save_CFLAGS"
112570     else
112571       # this is the suspicious part
112572       CFLAGS=''
112573     fi
112574   fi
112575
112576   # Set -z,relro.
112577   # Note this is only for shared objects.
112578   ac_ld_relro=no
112579   if test x"$with_gnu_ld" = x"yes"; then
112580     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112581 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112582     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112583     if test -n "$cxx_z_relo"; then
112584       OPT_LDFLAGS="-Wl,-z,relro"
112585       ac_ld_relro=yes
112586     fi
112587     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112588 echo "${ECHO_T}$ac_ld_relro" >&6
112589   fi
112590
112591   # Set linker optimization flags.
112592   if test x"$with_gnu_ld" = x"yes"; then
112593     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112594   fi
112595
112596
112597
112598
112599
112600
112601 echo "$as_me:$LINENO: checking for main in -lm" >&5
112602 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
112603 if test "${ac_cv_lib_m_main+set}" = set; then
112604   echo $ECHO_N "(cached) $ECHO_C" >&6
112605 else
112606   ac_check_lib_save_LIBS=$LIBS
112607 LIBS="-lm  $LIBS"
112608 if test x$gcc_no_link = xyes; then
112609   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112611    { (exit 1); exit 1; }; }
112612 fi
112613 cat >conftest.$ac_ext <<_ACEOF
112614 /* confdefs.h.  */
112615 _ACEOF
112616 cat confdefs.h >>conftest.$ac_ext
112617 cat >>conftest.$ac_ext <<_ACEOF
112618 /* end confdefs.h.  */
112619
112620
112621 int
112622 main ()
112623 {
112624 main ();
112625   ;
112626   return 0;
112627 }
112628 _ACEOF
112629 rm -f conftest.$ac_objext conftest$ac_exeext
112630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112631   (eval $ac_link) 2>conftest.er1
112632   ac_status=$?
112633   grep -v '^ *+' conftest.er1 >conftest.err
112634   rm -f conftest.er1
112635   cat conftest.err >&5
112636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112637   (exit $ac_status); } &&
112638          { ac_try='test -z "$ac_c_werror_flag"
112639                          || test ! -s conftest.err'
112640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112641   (eval $ac_try) 2>&5
112642   ac_status=$?
112643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112644   (exit $ac_status); }; } &&
112645          { ac_try='test -s conftest$ac_exeext'
112646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112647   (eval $ac_try) 2>&5
112648   ac_status=$?
112649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112650   (exit $ac_status); }; }; then
112651   ac_cv_lib_m_main=yes
112652 else
112653   echo "$as_me: failed program was:" >&5
112654 sed 's/^/| /' conftest.$ac_ext >&5
112655
112656 ac_cv_lib_m_main=no
112657 fi
112658 rm -f conftest.err conftest.$ac_objext \
112659       conftest$ac_exeext conftest.$ac_ext
112660 LIBS=$ac_check_lib_save_LIBS
112661 fi
112662 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
112663 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
112664 if test $ac_cv_lib_m_main = yes; then
112665   cat >>confdefs.h <<_ACEOF
112666 #define HAVE_LIBM 1
112667 _ACEOF
112668
112669   LIBS="-lm $LIBS"
112670
112671 fi
112672
112673
112674 for ac_func in copysignf
112675 do
112676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112677 echo "$as_me:$LINENO: checking for $ac_func" >&5
112678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112679 if eval "test \"\${$as_ac_var+set}\" = set"; then
112680   echo $ECHO_N "(cached) $ECHO_C" >&6
112681 else
112682   if test x$gcc_no_link = xyes; then
112683   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112685    { (exit 1); exit 1; }; }
112686 fi
112687 cat >conftest.$ac_ext <<_ACEOF
112688 /* confdefs.h.  */
112689 _ACEOF
112690 cat confdefs.h >>conftest.$ac_ext
112691 cat >>conftest.$ac_ext <<_ACEOF
112692 /* end confdefs.h.  */
112693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112694    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112695 #define $ac_func innocuous_$ac_func
112696
112697 /* System header to define __stub macros and hopefully few prototypes,
112698     which can conflict with char $ac_func (); below.
112699     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112700     <limits.h> exists even on freestanding compilers.  */
112701
112702 #ifdef __STDC__
112703 # include <limits.h>
112704 #else
112705 # include <assert.h>
112706 #endif
112707
112708 #undef $ac_func
112709
112710 /* Override any gcc2 internal prototype to avoid an error.  */
112711 #ifdef __cplusplus
112712 extern "C"
112713 {
112714 #endif
112715 /* We use char because int might match the return type of a gcc2
112716    builtin and then its argument prototype would still apply.  */
112717 char $ac_func ();
112718 /* The GNU C library defines this for functions which it implements
112719     to always fail with ENOSYS.  Some functions are actually named
112720     something starting with __ and the normal name is an alias.  */
112721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112722 choke me
112723 #else
112724 char (*f) () = $ac_func;
112725 #endif
112726 #ifdef __cplusplus
112727 }
112728 #endif
112729
112730 int
112731 main ()
112732 {
112733 return f != $ac_func;
112734   ;
112735   return 0;
112736 }
112737 _ACEOF
112738 rm -f conftest.$ac_objext conftest$ac_exeext
112739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112740   (eval $ac_link) 2>conftest.er1
112741   ac_status=$?
112742   grep -v '^ *+' conftest.er1 >conftest.err
112743   rm -f conftest.er1
112744   cat conftest.err >&5
112745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112746   (exit $ac_status); } &&
112747          { ac_try='test -z "$ac_c_werror_flag"
112748                          || test ! -s conftest.err'
112749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112750   (eval $ac_try) 2>&5
112751   ac_status=$?
112752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112753   (exit $ac_status); }; } &&
112754          { ac_try='test -s conftest$ac_exeext'
112755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112756   (eval $ac_try) 2>&5
112757   ac_status=$?
112758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112759   (exit $ac_status); }; }; then
112760   eval "$as_ac_var=yes"
112761 else
112762   echo "$as_me: failed program was:" >&5
112763 sed 's/^/| /' conftest.$ac_ext >&5
112764
112765 eval "$as_ac_var=no"
112766 fi
112767 rm -f conftest.err conftest.$ac_objext \
112768       conftest$ac_exeext conftest.$ac_ext
112769 fi
112770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112772 if test `eval echo '${'$as_ac_var'}'` = yes; then
112773   cat >>confdefs.h <<_ACEOF
112774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112775 _ACEOF
112776
112777 else
112778   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
112779 fi
112780 done
112781
112782
112783
112784 for ac_func in __signbit
112785 do
112786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112787 echo "$as_me:$LINENO: checking for $ac_func" >&5
112788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112789 if eval "test \"\${$as_ac_var+set}\" = set"; then
112790   echo $ECHO_N "(cached) $ECHO_C" >&6
112791 else
112792   if test x$gcc_no_link = xyes; then
112793   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112795    { (exit 1); exit 1; }; }
112796 fi
112797 cat >conftest.$ac_ext <<_ACEOF
112798 /* confdefs.h.  */
112799 _ACEOF
112800 cat confdefs.h >>conftest.$ac_ext
112801 cat >>conftest.$ac_ext <<_ACEOF
112802 /* end confdefs.h.  */
112803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112804    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112805 #define $ac_func innocuous_$ac_func
112806
112807 /* System header to define __stub macros and hopefully few prototypes,
112808     which can conflict with char $ac_func (); below.
112809     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112810     <limits.h> exists even on freestanding compilers.  */
112811
112812 #ifdef __STDC__
112813 # include <limits.h>
112814 #else
112815 # include <assert.h>
112816 #endif
112817
112818 #undef $ac_func
112819
112820 /* Override any gcc2 internal prototype to avoid an error.  */
112821 #ifdef __cplusplus
112822 extern "C"
112823 {
112824 #endif
112825 /* We use char because int might match the return type of a gcc2
112826    builtin and then its argument prototype would still apply.  */
112827 char $ac_func ();
112828 /* The GNU C library defines this for functions which it implements
112829     to always fail with ENOSYS.  Some functions are actually named
112830     something starting with __ and the normal name is an alias.  */
112831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112832 choke me
112833 #else
112834 char (*f) () = $ac_func;
112835 #endif
112836 #ifdef __cplusplus
112837 }
112838 #endif
112839
112840 int
112841 main ()
112842 {
112843 return f != $ac_func;
112844   ;
112845   return 0;
112846 }
112847 _ACEOF
112848 rm -f conftest.$ac_objext conftest$ac_exeext
112849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112850   (eval $ac_link) 2>conftest.er1
112851   ac_status=$?
112852   grep -v '^ *+' conftest.er1 >conftest.err
112853   rm -f conftest.er1
112854   cat conftest.err >&5
112855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112856   (exit $ac_status); } &&
112857          { ac_try='test -z "$ac_c_werror_flag"
112858                          || test ! -s conftest.err'
112859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112860   (eval $ac_try) 2>&5
112861   ac_status=$?
112862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112863   (exit $ac_status); }; } &&
112864          { ac_try='test -s conftest$ac_exeext'
112865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112866   (eval $ac_try) 2>&5
112867   ac_status=$?
112868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112869   (exit $ac_status); }; }; then
112870   eval "$as_ac_var=yes"
112871 else
112872   echo "$as_me: failed program was:" >&5
112873 sed 's/^/| /' conftest.$ac_ext >&5
112874
112875 eval "$as_ac_var=no"
112876 fi
112877 rm -f conftest.err conftest.$ac_objext \
112878       conftest$ac_exeext conftest.$ac_ext
112879 fi
112880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112882 if test `eval echo '${'$as_ac_var'}'` = yes; then
112883   cat >>confdefs.h <<_ACEOF
112884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112885 _ACEOF
112886
112887 else
112888   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
112889 fi
112890 done
112891
112892
112893
112894 for ac_func in __signbitf
112895 do
112896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112897 echo "$as_me:$LINENO: checking for $ac_func" >&5
112898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112899 if eval "test \"\${$as_ac_var+set}\" = set"; then
112900   echo $ECHO_N "(cached) $ECHO_C" >&6
112901 else
112902   if test x$gcc_no_link = xyes; then
112903   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112905    { (exit 1); exit 1; }; }
112906 fi
112907 cat >conftest.$ac_ext <<_ACEOF
112908 /* confdefs.h.  */
112909 _ACEOF
112910 cat confdefs.h >>conftest.$ac_ext
112911 cat >>conftest.$ac_ext <<_ACEOF
112912 /* end confdefs.h.  */
112913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112914    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112915 #define $ac_func innocuous_$ac_func
112916
112917 /* System header to define __stub macros and hopefully few prototypes,
112918     which can conflict with char $ac_func (); below.
112919     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112920     <limits.h> exists even on freestanding compilers.  */
112921
112922 #ifdef __STDC__
112923 # include <limits.h>
112924 #else
112925 # include <assert.h>
112926 #endif
112927
112928 #undef $ac_func
112929
112930 /* Override any gcc2 internal prototype to avoid an error.  */
112931 #ifdef __cplusplus
112932 extern "C"
112933 {
112934 #endif
112935 /* We use char because int might match the return type of a gcc2
112936    builtin and then its argument prototype would still apply.  */
112937 char $ac_func ();
112938 /* The GNU C library defines this for functions which it implements
112939     to always fail with ENOSYS.  Some functions are actually named
112940     something starting with __ and the normal name is an alias.  */
112941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112942 choke me
112943 #else
112944 char (*f) () = $ac_func;
112945 #endif
112946 #ifdef __cplusplus
112947 }
112948 #endif
112949
112950 int
112951 main ()
112952 {
112953 return f != $ac_func;
112954   ;
112955   return 0;
112956 }
112957 _ACEOF
112958 rm -f conftest.$ac_objext conftest$ac_exeext
112959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112960   (eval $ac_link) 2>conftest.er1
112961   ac_status=$?
112962   grep -v '^ *+' conftest.er1 >conftest.err
112963   rm -f conftest.er1
112964   cat conftest.err >&5
112965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112966   (exit $ac_status); } &&
112967          { ac_try='test -z "$ac_c_werror_flag"
112968                          || test ! -s conftest.err'
112969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112970   (eval $ac_try) 2>&5
112971   ac_status=$?
112972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112973   (exit $ac_status); }; } &&
112974          { ac_try='test -s conftest$ac_exeext'
112975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112976   (eval $ac_try) 2>&5
112977   ac_status=$?
112978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112979   (exit $ac_status); }; }; then
112980   eval "$as_ac_var=yes"
112981 else
112982   echo "$as_me: failed program was:" >&5
112983 sed 's/^/| /' conftest.$ac_ext >&5
112984
112985 eval "$as_ac_var=no"
112986 fi
112987 rm -f conftest.err conftest.$ac_objext \
112988       conftest$ac_exeext conftest.$ac_ext
112989 fi
112990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112992 if test `eval echo '${'$as_ac_var'}'` = yes; then
112993   cat >>confdefs.h <<_ACEOF
112994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112995 _ACEOF
112996
112997 else
112998   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
112999 fi
113000 done
113001
113002
113003           if test x$ac_cv_func_copysignl = x"yes"; then
113004
113005 for ac_func in __signbitl
113006 do
113007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113008 echo "$as_me:$LINENO: checking for $ac_func" >&5
113009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113010 if eval "test \"\${$as_ac_var+set}\" = set"; then
113011   echo $ECHO_N "(cached) $ECHO_C" >&6
113012 else
113013   if test x$gcc_no_link = xyes; then
113014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113016    { (exit 1); exit 1; }; }
113017 fi
113018 cat >conftest.$ac_ext <<_ACEOF
113019 /* confdefs.h.  */
113020 _ACEOF
113021 cat confdefs.h >>conftest.$ac_ext
113022 cat >>conftest.$ac_ext <<_ACEOF
113023 /* end confdefs.h.  */
113024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113025    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113026 #define $ac_func innocuous_$ac_func
113027
113028 /* System header to define __stub macros and hopefully few prototypes,
113029     which can conflict with char $ac_func (); below.
113030     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113031     <limits.h> exists even on freestanding compilers.  */
113032
113033 #ifdef __STDC__
113034 # include <limits.h>
113035 #else
113036 # include <assert.h>
113037 #endif
113038
113039 #undef $ac_func
113040
113041 /* Override any gcc2 internal prototype to avoid an error.  */
113042 #ifdef __cplusplus
113043 extern "C"
113044 {
113045 #endif
113046 /* We use char because int might match the return type of a gcc2
113047    builtin and then its argument prototype would still apply.  */
113048 char $ac_func ();
113049 /* The GNU C library defines this for functions which it implements
113050     to always fail with ENOSYS.  Some functions are actually named
113051     something starting with __ and the normal name is an alias.  */
113052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113053 choke me
113054 #else
113055 char (*f) () = $ac_func;
113056 #endif
113057 #ifdef __cplusplus
113058 }
113059 #endif
113060
113061 int
113062 main ()
113063 {
113064 return f != $ac_func;
113065   ;
113066   return 0;
113067 }
113068 _ACEOF
113069 rm -f conftest.$ac_objext conftest$ac_exeext
113070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113071   (eval $ac_link) 2>conftest.er1
113072   ac_status=$?
113073   grep -v '^ *+' conftest.er1 >conftest.err
113074   rm -f conftest.er1
113075   cat conftest.err >&5
113076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113077   (exit $ac_status); } &&
113078          { ac_try='test -z "$ac_c_werror_flag"
113079                          || test ! -s conftest.err'
113080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113081   (eval $ac_try) 2>&5
113082   ac_status=$?
113083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113084   (exit $ac_status); }; } &&
113085          { ac_try='test -s conftest$ac_exeext'
113086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113087   (eval $ac_try) 2>&5
113088   ac_status=$?
113089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113090   (exit $ac_status); }; }; then
113091   eval "$as_ac_var=yes"
113092 else
113093   echo "$as_me: failed program was:" >&5
113094 sed 's/^/| /' conftest.$ac_ext >&5
113095
113096 eval "$as_ac_var=no"
113097 fi
113098 rm -f conftest.err conftest.$ac_objext \
113099       conftest$ac_exeext conftest.$ac_ext
113100 fi
113101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113103 if test `eval echo '${'$as_ac_var'}'` = yes; then
113104   cat >>confdefs.h <<_ACEOF
113105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113106 _ACEOF
113107
113108 else
113109   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
113110 fi
113111 done
113112
113113   fi
113114
113115   # Used in libmath/Makefile.am.
113116   if test -n "$LIBMATHOBJS"; then
113117     need_libmath=yes
113118   fi
113119
113120
113121     cat >>confdefs.h <<\_ACEOF
113122 #define HAVE_HYPOT 1
113123 _ACEOF
113124
113125     cat >>confdefs.h <<\_ACEOF
113126 #define HAVE_ISINF 1
113127 _ACEOF
113128
113129     cat >>confdefs.h <<\_ACEOF
113130 #define HAVE_ISNAN 1
113131 _ACEOF
113132
113133
113134     # For showmanyc_helper().
113135
113136
113137 for ac_header in sys/ioctl.h sys/filio.h
113138 do
113139 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
113140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113141   echo "$as_me:$LINENO: checking for $ac_header" >&5
113142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113144   echo $ECHO_N "(cached) $ECHO_C" >&6
113145 fi
113146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113147 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113148 else
113149   # Is the header compilable?
113150 echo "$as_me:$LINENO: checking $ac_header usability" >&5
113151 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
113152 cat >conftest.$ac_ext <<_ACEOF
113153 /* confdefs.h.  */
113154 _ACEOF
113155 cat confdefs.h >>conftest.$ac_ext
113156 cat >>conftest.$ac_ext <<_ACEOF
113157 /* end confdefs.h.  */
113158 $ac_includes_default
113159 #include <$ac_header>
113160 _ACEOF
113161 rm -f conftest.$ac_objext
113162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113163   (eval $ac_compile) 2>conftest.er1
113164   ac_status=$?
113165   grep -v '^ *+' conftest.er1 >conftest.err
113166   rm -f conftest.er1
113167   cat conftest.err >&5
113168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113169   (exit $ac_status); } &&
113170          { ac_try='test -z "$ac_c_werror_flag"
113171                          || test ! -s conftest.err'
113172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113173   (eval $ac_try) 2>&5
113174   ac_status=$?
113175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113176   (exit $ac_status); }; } &&
113177          { ac_try='test -s conftest.$ac_objext'
113178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113179   (eval $ac_try) 2>&5
113180   ac_status=$?
113181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113182   (exit $ac_status); }; }; then
113183   ac_header_compiler=yes
113184 else
113185   echo "$as_me: failed program was:" >&5
113186 sed 's/^/| /' conftest.$ac_ext >&5
113187
113188 ac_header_compiler=no
113189 fi
113190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113191 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
113192 echo "${ECHO_T}$ac_header_compiler" >&6
113193
113194 # Is the header present?
113195 echo "$as_me:$LINENO: checking $ac_header presence" >&5
113196 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
113197 cat >conftest.$ac_ext <<_ACEOF
113198 /* confdefs.h.  */
113199 _ACEOF
113200 cat confdefs.h >>conftest.$ac_ext
113201 cat >>conftest.$ac_ext <<_ACEOF
113202 /* end confdefs.h.  */
113203 #include <$ac_header>
113204 _ACEOF
113205 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
113206   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
113207   ac_status=$?
113208   grep -v '^ *+' conftest.er1 >conftest.err
113209   rm -f conftest.er1
113210   cat conftest.err >&5
113211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113212   (exit $ac_status); } >/dev/null; then
113213   if test -s conftest.err; then
113214     ac_cpp_err=$ac_c_preproc_warn_flag
113215     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
113216   else
113217     ac_cpp_err=
113218   fi
113219 else
113220   ac_cpp_err=yes
113221 fi
113222 if test -z "$ac_cpp_err"; then
113223   ac_header_preproc=yes
113224 else
113225   echo "$as_me: failed program was:" >&5
113226 sed 's/^/| /' conftest.$ac_ext >&5
113227
113228   ac_header_preproc=no
113229 fi
113230 rm -f conftest.err conftest.$ac_ext
113231 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
113232 echo "${ECHO_T}$ac_header_preproc" >&6
113233
113234 # So?  What about this header?
113235 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
113236   yes:no: )
113237     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
113238 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
113239     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
113240 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
113241     ac_header_preproc=yes
113242     ;;
113243   no:yes:* )
113244     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
113245 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
113246     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
113247 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
113248     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
113249 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
113250     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
113251 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
113252     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
113253 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
113254     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
113255 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
113256     (
113257       cat <<\_ASBOX
113258 ## ----------------------------------------- ##
113259 ## Report this to the package-unused lists.  ##
113260 ## ----------------------------------------- ##
113261 _ASBOX
113262     ) |
113263       sed "s/^/$as_me: WARNING:     /" >&2
113264     ;;
113265 esac
113266 echo "$as_me:$LINENO: checking for $ac_header" >&5
113267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113268 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113269   echo $ECHO_N "(cached) $ECHO_C" >&6
113270 else
113271   eval "$as_ac_Header=\$ac_header_preproc"
113272 fi
113273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113274 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113275
113276 fi
113277 if test `eval echo '${'$as_ac_Header'}'` = yes; then
113278   cat >>confdefs.h <<_ACEOF
113279 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
113280 _ACEOF
113281
113282 fi
113283
113284 done
113285
113286
113287   echo "$as_me:$LINENO: checking for poll" >&5
113288 echo $ECHO_N "checking for poll... $ECHO_C" >&6
113289   if test "${glibcxx_cv_POLL+set}" = set; then
113290   echo $ECHO_N "(cached) $ECHO_C" >&6
113291 else
113292
113293     if test x$gcc_no_link = xyes; then
113294   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113296    { (exit 1); exit 1; }; }
113297 fi
113298 cat >conftest.$ac_ext <<_ACEOF
113299 /* confdefs.h.  */
113300 _ACEOF
113301 cat confdefs.h >>conftest.$ac_ext
113302 cat >>conftest.$ac_ext <<_ACEOF
113303 /* end confdefs.h.  */
113304 #include <poll.h>
113305 int
113306 main ()
113307 {
113308 struct pollfd pfd[1];
113309        pfd[0].events = POLLIN;
113310        poll(pfd, 1, 0);
113311   ;
113312   return 0;
113313 }
113314 _ACEOF
113315 rm -f conftest.$ac_objext conftest$ac_exeext
113316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113317   (eval $ac_link) 2>conftest.er1
113318   ac_status=$?
113319   grep -v '^ *+' conftest.er1 >conftest.err
113320   rm -f conftest.er1
113321   cat conftest.err >&5
113322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113323   (exit $ac_status); } &&
113324          { ac_try='test -z "$ac_c_werror_flag"
113325                          || test ! -s conftest.err'
113326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113327   (eval $ac_try) 2>&5
113328   ac_status=$?
113329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113330   (exit $ac_status); }; } &&
113331          { ac_try='test -s conftest$ac_exeext'
113332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113333   (eval $ac_try) 2>&5
113334   ac_status=$?
113335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113336   (exit $ac_status); }; }; then
113337   glibcxx_cv_POLL=yes
113338 else
113339   echo "$as_me: failed program was:" >&5
113340 sed 's/^/| /' conftest.$ac_ext >&5
113341
113342 glibcxx_cv_POLL=no
113343 fi
113344 rm -f conftest.err conftest.$ac_objext \
113345       conftest$ac_exeext conftest.$ac_ext
113346
113347 fi
113348
113349   if test $glibcxx_cv_POLL = yes; then
113350
113351 cat >>confdefs.h <<\_ACEOF
113352 #define HAVE_POLL 1
113353 _ACEOF
113354
113355   fi
113356   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
113357 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
113358
113359
113360   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
113361 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
113362   if test "${glibcxx_cv_S_ISREG+set}" = set; then
113363   echo $ECHO_N "(cached) $ECHO_C" >&6
113364 else
113365
113366     if test x$gcc_no_link = xyes; then
113367   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113369    { (exit 1); exit 1; }; }
113370 fi
113371 cat >conftest.$ac_ext <<_ACEOF
113372 /* confdefs.h.  */
113373 _ACEOF
113374 cat confdefs.h >>conftest.$ac_ext
113375 cat >>conftest.$ac_ext <<_ACEOF
113376 /* end confdefs.h.  */
113377 #include <sys/stat.h>
113378 int
113379 main ()
113380 {
113381 struct stat buffer;
113382        fstat(0, &buffer);
113383        S_ISREG(buffer.st_mode);
113384   ;
113385   return 0;
113386 }
113387 _ACEOF
113388 rm -f conftest.$ac_objext conftest$ac_exeext
113389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113390   (eval $ac_link) 2>conftest.er1
113391   ac_status=$?
113392   grep -v '^ *+' conftest.er1 >conftest.err
113393   rm -f conftest.er1
113394   cat conftest.err >&5
113395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113396   (exit $ac_status); } &&
113397          { ac_try='test -z "$ac_c_werror_flag"
113398                          || test ! -s conftest.err'
113399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113400   (eval $ac_try) 2>&5
113401   ac_status=$?
113402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113403   (exit $ac_status); }; } &&
113404          { ac_try='test -s conftest$ac_exeext'
113405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113406   (eval $ac_try) 2>&5
113407   ac_status=$?
113408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113409   (exit $ac_status); }; }; then
113410   glibcxx_cv_S_ISREG=yes
113411 else
113412   echo "$as_me: failed program was:" >&5
113413 sed 's/^/| /' conftest.$ac_ext >&5
113414
113415 glibcxx_cv_S_ISREG=no
113416 fi
113417 rm -f conftest.err conftest.$ac_objext \
113418       conftest$ac_exeext conftest.$ac_ext
113419
113420 fi
113421
113422   if test "${glibcxx_cv_S_IFREG+set}" = set; then
113423   echo $ECHO_N "(cached) $ECHO_C" >&6
113424 else
113425
113426     if test x$gcc_no_link = xyes; then
113427   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113429    { (exit 1); exit 1; }; }
113430 fi
113431 cat >conftest.$ac_ext <<_ACEOF
113432 /* confdefs.h.  */
113433 _ACEOF
113434 cat confdefs.h >>conftest.$ac_ext
113435 cat >>conftest.$ac_ext <<_ACEOF
113436 /* end confdefs.h.  */
113437 #include <sys/stat.h>
113438 int
113439 main ()
113440 {
113441 struct stat buffer;
113442        fstat(0, &buffer);
113443        S_IFREG & buffer.st_mode;
113444   ;
113445   return 0;
113446 }
113447 _ACEOF
113448 rm -f conftest.$ac_objext conftest$ac_exeext
113449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113450   (eval $ac_link) 2>conftest.er1
113451   ac_status=$?
113452   grep -v '^ *+' conftest.er1 >conftest.err
113453   rm -f conftest.er1
113454   cat conftest.err >&5
113455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113456   (exit $ac_status); } &&
113457          { ac_try='test -z "$ac_c_werror_flag"
113458                          || test ! -s conftest.err'
113459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113460   (eval $ac_try) 2>&5
113461   ac_status=$?
113462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113463   (exit $ac_status); }; } &&
113464          { ac_try='test -s conftest$ac_exeext'
113465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113466   (eval $ac_try) 2>&5
113467   ac_status=$?
113468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113469   (exit $ac_status); }; }; then
113470   glibcxx_cv_S_IFREG=yes
113471 else
113472   echo "$as_me: failed program was:" >&5
113473 sed 's/^/| /' conftest.$ac_ext >&5
113474
113475 glibcxx_cv_S_IFREG=no
113476 fi
113477 rm -f conftest.err conftest.$ac_objext \
113478       conftest$ac_exeext conftest.$ac_ext
113479
113480 fi
113481
113482   res=no
113483   if test $glibcxx_cv_S_ISREG = yes; then
113484
113485 cat >>confdefs.h <<\_ACEOF
113486 #define HAVE_S_ISREG 1
113487 _ACEOF
113488
113489     res=S_ISREG
113490   elif test $glibcxx_cv_S_IFREG = yes; then
113491
113492 cat >>confdefs.h <<\_ACEOF
113493 #define HAVE_S_IFREG 1
113494 _ACEOF
113495
113496     res=S_IFREG
113497   fi
113498   echo "$as_me:$LINENO: result: $res" >&5
113499 echo "${ECHO_T}$res" >&6
113500
113501
113502     # For xsputn_2().
113503
113504 for ac_header in sys/uio.h
113505 do
113506 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
113507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113508   echo "$as_me:$LINENO: checking for $ac_header" >&5
113509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113511   echo $ECHO_N "(cached) $ECHO_C" >&6
113512 fi
113513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113515 else
113516   # Is the header compilable?
113517 echo "$as_me:$LINENO: checking $ac_header usability" >&5
113518 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
113519 cat >conftest.$ac_ext <<_ACEOF
113520 /* confdefs.h.  */
113521 _ACEOF
113522 cat confdefs.h >>conftest.$ac_ext
113523 cat >>conftest.$ac_ext <<_ACEOF
113524 /* end confdefs.h.  */
113525 $ac_includes_default
113526 #include <$ac_header>
113527 _ACEOF
113528 rm -f conftest.$ac_objext
113529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113530   (eval $ac_compile) 2>conftest.er1
113531   ac_status=$?
113532   grep -v '^ *+' conftest.er1 >conftest.err
113533   rm -f conftest.er1
113534   cat conftest.err >&5
113535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113536   (exit $ac_status); } &&
113537          { ac_try='test -z "$ac_c_werror_flag"
113538                          || test ! -s conftest.err'
113539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113540   (eval $ac_try) 2>&5
113541   ac_status=$?
113542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113543   (exit $ac_status); }; } &&
113544          { ac_try='test -s conftest.$ac_objext'
113545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113546   (eval $ac_try) 2>&5
113547   ac_status=$?
113548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113549   (exit $ac_status); }; }; then
113550   ac_header_compiler=yes
113551 else
113552   echo "$as_me: failed program was:" >&5
113553 sed 's/^/| /' conftest.$ac_ext >&5
113554
113555 ac_header_compiler=no
113556 fi
113557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113558 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
113559 echo "${ECHO_T}$ac_header_compiler" >&6
113560
113561 # Is the header present?
113562 echo "$as_me:$LINENO: checking $ac_header presence" >&5
113563 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
113564 cat >conftest.$ac_ext <<_ACEOF
113565 /* confdefs.h.  */
113566 _ACEOF
113567 cat confdefs.h >>conftest.$ac_ext
113568 cat >>conftest.$ac_ext <<_ACEOF
113569 /* end confdefs.h.  */
113570 #include <$ac_header>
113571 _ACEOF
113572 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
113573   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
113574   ac_status=$?
113575   grep -v '^ *+' conftest.er1 >conftest.err
113576   rm -f conftest.er1
113577   cat conftest.err >&5
113578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113579   (exit $ac_status); } >/dev/null; then
113580   if test -s conftest.err; then
113581     ac_cpp_err=$ac_c_preproc_warn_flag
113582     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
113583   else
113584     ac_cpp_err=
113585   fi
113586 else
113587   ac_cpp_err=yes
113588 fi
113589 if test -z "$ac_cpp_err"; then
113590   ac_header_preproc=yes
113591 else
113592   echo "$as_me: failed program was:" >&5
113593 sed 's/^/| /' conftest.$ac_ext >&5
113594
113595   ac_header_preproc=no
113596 fi
113597 rm -f conftest.err conftest.$ac_ext
113598 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
113599 echo "${ECHO_T}$ac_header_preproc" >&6
113600
113601 # So?  What about this header?
113602 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
113603   yes:no: )
113604     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
113605 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
113606     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
113607 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
113608     ac_header_preproc=yes
113609     ;;
113610   no:yes:* )
113611     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
113612 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
113613     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
113614 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
113615     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
113616 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
113617     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
113618 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
113619     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
113620 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
113621     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
113622 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
113623     (
113624       cat <<\_ASBOX
113625 ## ----------------------------------------- ##
113626 ## Report this to the package-unused lists.  ##
113627 ## ----------------------------------------- ##
113628 _ASBOX
113629     ) |
113630       sed "s/^/$as_me: WARNING:     /" >&2
113631     ;;
113632 esac
113633 echo "$as_me:$LINENO: checking for $ac_header" >&5
113634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113636   echo $ECHO_N "(cached) $ECHO_C" >&6
113637 else
113638   eval "$as_ac_Header=\$ac_header_preproc"
113639 fi
113640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113641 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113642
113643 fi
113644 if test `eval echo '${'$as_ac_Header'}'` = yes; then
113645   cat >>confdefs.h <<_ACEOF
113646 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
113647 _ACEOF
113648
113649 fi
113650
113651 done
113652
113653
113654   echo "$as_me:$LINENO: checking for writev" >&5
113655 echo $ECHO_N "checking for writev... $ECHO_C" >&6
113656   if test "${glibcxx_cv_WRITEV+set}" = set; then
113657   echo $ECHO_N "(cached) $ECHO_C" >&6
113658 else
113659
113660     if test x$gcc_no_link = xyes; then
113661   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113663    { (exit 1); exit 1; }; }
113664 fi
113665 cat >conftest.$ac_ext <<_ACEOF
113666 /* confdefs.h.  */
113667 _ACEOF
113668 cat confdefs.h >>conftest.$ac_ext
113669 cat >>conftest.$ac_ext <<_ACEOF
113670 /* end confdefs.h.  */
113671 #include <sys/uio.h>
113672 int
113673 main ()
113674 {
113675 struct iovec iov[2];
113676        writev(0, iov, 0);
113677   ;
113678   return 0;
113679 }
113680 _ACEOF
113681 rm -f conftest.$ac_objext conftest$ac_exeext
113682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113683   (eval $ac_link) 2>conftest.er1
113684   ac_status=$?
113685   grep -v '^ *+' conftest.er1 >conftest.err
113686   rm -f conftest.er1
113687   cat conftest.err >&5
113688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113689   (exit $ac_status); } &&
113690          { ac_try='test -z "$ac_c_werror_flag"
113691                          || test ! -s conftest.err'
113692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113693   (eval $ac_try) 2>&5
113694   ac_status=$?
113695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113696   (exit $ac_status); }; } &&
113697          { ac_try='test -s conftest$ac_exeext'
113698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113699   (eval $ac_try) 2>&5
113700   ac_status=$?
113701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113702   (exit $ac_status); }; }; then
113703   glibcxx_cv_WRITEV=yes
113704 else
113705   echo "$as_me: failed program was:" >&5
113706 sed 's/^/| /' conftest.$ac_ext >&5
113707
113708 glibcxx_cv_WRITEV=no
113709 fi
113710 rm -f conftest.err conftest.$ac_objext \
113711       conftest$ac_exeext conftest.$ac_ext
113712
113713 fi
113714
113715   if test $glibcxx_cv_WRITEV = yes; then
113716
113717 cat >>confdefs.h <<\_ACEOF
113718 #define HAVE_WRITEV 1
113719 _ACEOF
113720
113721   fi
113722   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
113723 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
113724
113725     ;;
113726   *-qnx6.1* | *-qnx6.2*)
113727     SECTION_FLAGS='-ffunction-sections -fdata-sections'
113728
113729
113730   # If we're not using GNU ld, then there's no point in even trying these
113731   # tests.  Check for that first.  We should have already tested for gld
113732   # by now (in libtool), but require it now just to be safe...
113733   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
113734   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
113735
113736
113737
113738   # The name set by libtool depends on the version of libtool.  Shame on us
113739   # for depending on an impl detail, but c'est la vie.  Older versions used
113740   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113741   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113742   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
113743   # set (hence we're using an older libtool), then set it.
113744   if test x${with_gnu_ld+set} != xset; then
113745     if test x${ac_cv_prog_gnu_ld+set} != xset; then
113746       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
113747       with_gnu_ld=no
113748     else
113749       with_gnu_ld=$ac_cv_prog_gnu_ld
113750     fi
113751   fi
113752
113753   # Start by getting the version number.  I think the libtool test already
113754   # does some of this, but throws away the result.
113755   glibcxx_ld_is_gold=no
113756   if test x"$with_gnu_ld" = x"yes"; then
113757     echo "$as_me:$LINENO: checking for ld version" >&5
113758 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113759
113760     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
113761       glibcxx_ld_is_gold=yes
113762     fi
113763     ldver=`$LD --version 2>/dev/null | head -1 | \
113764            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
113765
113766     glibcxx_gnu_ld_version=`echo $ldver | \
113767            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113768     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113769 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113770   fi
113771
113772   # Set --gc-sections.
113773   glibcxx_have_gc_sections=no
113774   if test "$glibcxx_ld_is_gold" = "yes"; then
113775     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
113776       glibcxx_have_gc_sections=yes
113777     fi
113778   else
113779     glibcxx_gcsections_min_ld=21602
113780     if test x"$with_gnu_ld" = x"yes" &&
113781         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113782       glibcxx_have_gc_sections=yes
113783     fi
113784   fi
113785   if test "$glibcxx_have_gc_sections" = "yes"; then
113786     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
113787     # NB: This flag only works reliably after 2.16.1. Configure tests
113788     # for this are difficult, so hard wire a value that should work.
113789
113790     ac_test_CFLAGS="${CFLAGS+set}"
113791     ac_save_CFLAGS="$CFLAGS"
113792     CFLAGS='-Wl,--gc-sections'
113793
113794     # Check for -Wl,--gc-sections
113795     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113796 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113797     if test x$gcc_no_link = xyes; then
113798   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113800    { (exit 1); exit 1; }; }
113801 fi
113802 cat >conftest.$ac_ext <<_ACEOF
113803 /* confdefs.h.  */
113804 _ACEOF
113805 cat confdefs.h >>conftest.$ac_ext
113806 cat >>conftest.$ac_ext <<_ACEOF
113807 /* end confdefs.h.  */
113808  int one(void) { return 1; }
113809      int two(void) { return 2; }
113810
113811 int
113812 main ()
113813 {
113814  two();
113815   ;
113816   return 0;
113817 }
113818 _ACEOF
113819 rm -f conftest.$ac_objext conftest$ac_exeext
113820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113821   (eval $ac_link) 2>conftest.er1
113822   ac_status=$?
113823   grep -v '^ *+' conftest.er1 >conftest.err
113824   rm -f conftest.er1
113825   cat conftest.err >&5
113826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113827   (exit $ac_status); } &&
113828          { ac_try='test -z "$ac_c_werror_flag"
113829                          || test ! -s conftest.err'
113830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113831   (eval $ac_try) 2>&5
113832   ac_status=$?
113833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113834   (exit $ac_status); }; } &&
113835          { ac_try='test -s conftest$ac_exeext'
113836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113837   (eval $ac_try) 2>&5
113838   ac_status=$?
113839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113840   (exit $ac_status); }; }; then
113841   ac_gcsections=yes
113842 else
113843   echo "$as_me: failed program was:" >&5
113844 sed 's/^/| /' conftest.$ac_ext >&5
113845
113846 ac_gcsections=no
113847 fi
113848 rm -f conftest.err conftest.$ac_objext \
113849       conftest$ac_exeext conftest.$ac_ext
113850     if test "$ac_gcsections" = "yes"; then
113851       rm -f conftest.c
113852       touch conftest.c
113853       if $CC -c conftest.c; then
113854         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113855            grep "Warning: gc-sections option ignored" > /dev/null; then
113856           ac_gcsections=no
113857         fi
113858       fi
113859       rm -f conftest.c conftest.o conftest
113860     fi
113861     if test "$ac_gcsections" = "yes"; then
113862       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113863     fi
113864     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113865 echo "${ECHO_T}$ac_gcsections" >&6
113866
113867     if test "$ac_test_CFLAGS" = set; then
113868       CFLAGS="$ac_save_CFLAGS"
113869     else
113870       # this is the suspicious part
113871       CFLAGS=''
113872     fi
113873   fi
113874
113875   # Set -z,relro.
113876   # Note this is only for shared objects.
113877   ac_ld_relro=no
113878   if test x"$with_gnu_ld" = x"yes"; then
113879     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113880 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113881     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113882     if test -n "$cxx_z_relo"; then
113883       OPT_LDFLAGS="-Wl,-z,relro"
113884       ac_ld_relro=yes
113885     fi
113886     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113887 echo "${ECHO_T}$ac_ld_relro" >&6
113888   fi
113889
113890   # Set linker optimization flags.
113891   if test x"$with_gnu_ld" = x"yes"; then
113892     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113893   fi
113894
113895
113896
113897
113898
113899
113900 echo "$as_me:$LINENO: checking for main in -lm" >&5
113901 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
113902 if test "${ac_cv_lib_m_main+set}" = set; then
113903   echo $ECHO_N "(cached) $ECHO_C" >&6
113904 else
113905   ac_check_lib_save_LIBS=$LIBS
113906 LIBS="-lm  $LIBS"
113907 if test x$gcc_no_link = xyes; then
113908   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113910    { (exit 1); exit 1; }; }
113911 fi
113912 cat >conftest.$ac_ext <<_ACEOF
113913 /* confdefs.h.  */
113914 _ACEOF
113915 cat confdefs.h >>conftest.$ac_ext
113916 cat >>conftest.$ac_ext <<_ACEOF
113917 /* end confdefs.h.  */
113918
113919
113920 int
113921 main ()
113922 {
113923 main ();
113924   ;
113925   return 0;
113926 }
113927 _ACEOF
113928 rm -f conftest.$ac_objext conftest$ac_exeext
113929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113930   (eval $ac_link) 2>conftest.er1
113931   ac_status=$?
113932   grep -v '^ *+' conftest.er1 >conftest.err
113933   rm -f conftest.er1
113934   cat conftest.err >&5
113935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113936   (exit $ac_status); } &&
113937          { ac_try='test -z "$ac_c_werror_flag"
113938                          || test ! -s conftest.err'
113939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113940   (eval $ac_try) 2>&5
113941   ac_status=$?
113942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113943   (exit $ac_status); }; } &&
113944          { ac_try='test -s conftest$ac_exeext'
113945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113946   (eval $ac_try) 2>&5
113947   ac_status=$?
113948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113949   (exit $ac_status); }; }; then
113950   ac_cv_lib_m_main=yes
113951 else
113952   echo "$as_me: failed program was:" >&5
113953 sed 's/^/| /' conftest.$ac_ext >&5
113954
113955 ac_cv_lib_m_main=no
113956 fi
113957 rm -f conftest.err conftest.$ac_objext \
113958       conftest$ac_exeext conftest.$ac_ext
113959 LIBS=$ac_check_lib_save_LIBS
113960 fi
113961 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
113962 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
113963 if test $ac_cv_lib_m_main = yes; then
113964   cat >>confdefs.h <<_ACEOF
113965 #define HAVE_LIBM 1
113966 _ACEOF
113967
113968   LIBS="-lm $LIBS"
113969
113970 fi
113971
113972
113973 for ac_func in copysignf
113974 do
113975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113976 echo "$as_me:$LINENO: checking for $ac_func" >&5
113977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113978 if eval "test \"\${$as_ac_var+set}\" = set"; then
113979   echo $ECHO_N "(cached) $ECHO_C" >&6
113980 else
113981   if test x$gcc_no_link = xyes; then
113982   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113984    { (exit 1); exit 1; }; }
113985 fi
113986 cat >conftest.$ac_ext <<_ACEOF
113987 /* confdefs.h.  */
113988 _ACEOF
113989 cat confdefs.h >>conftest.$ac_ext
113990 cat >>conftest.$ac_ext <<_ACEOF
113991 /* end confdefs.h.  */
113992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113993    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113994 #define $ac_func innocuous_$ac_func
113995
113996 /* System header to define __stub macros and hopefully few prototypes,
113997     which can conflict with char $ac_func (); below.
113998     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113999     <limits.h> exists even on freestanding compilers.  */
114000
114001 #ifdef __STDC__
114002 # include <limits.h>
114003 #else
114004 # include <assert.h>
114005 #endif
114006
114007 #undef $ac_func
114008
114009 /* Override any gcc2 internal prototype to avoid an error.  */
114010 #ifdef __cplusplus
114011 extern "C"
114012 {
114013 #endif
114014 /* We use char because int might match the return type of a gcc2
114015    builtin and then its argument prototype would still apply.  */
114016 char $ac_func ();
114017 /* The GNU C library defines this for functions which it implements
114018     to always fail with ENOSYS.  Some functions are actually named
114019     something starting with __ and the normal name is an alias.  */
114020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114021 choke me
114022 #else
114023 char (*f) () = $ac_func;
114024 #endif
114025 #ifdef __cplusplus
114026 }
114027 #endif
114028
114029 int
114030 main ()
114031 {
114032 return f != $ac_func;
114033   ;
114034   return 0;
114035 }
114036 _ACEOF
114037 rm -f conftest.$ac_objext conftest$ac_exeext
114038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114039   (eval $ac_link) 2>conftest.er1
114040   ac_status=$?
114041   grep -v '^ *+' conftest.er1 >conftest.err
114042   rm -f conftest.er1
114043   cat conftest.err >&5
114044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114045   (exit $ac_status); } &&
114046          { ac_try='test -z "$ac_c_werror_flag"
114047                          || test ! -s conftest.err'
114048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114049   (eval $ac_try) 2>&5
114050   ac_status=$?
114051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114052   (exit $ac_status); }; } &&
114053          { ac_try='test -s conftest$ac_exeext'
114054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114055   (eval $ac_try) 2>&5
114056   ac_status=$?
114057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114058   (exit $ac_status); }; }; then
114059   eval "$as_ac_var=yes"
114060 else
114061   echo "$as_me: failed program was:" >&5
114062 sed 's/^/| /' conftest.$ac_ext >&5
114063
114064 eval "$as_ac_var=no"
114065 fi
114066 rm -f conftest.err conftest.$ac_objext \
114067       conftest$ac_exeext conftest.$ac_ext
114068 fi
114069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114071 if test `eval echo '${'$as_ac_var'}'` = yes; then
114072   cat >>confdefs.h <<_ACEOF
114073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114074 _ACEOF
114075
114076 else
114077   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
114078 fi
114079 done
114080
114081
114082
114083 for ac_func in __signbit
114084 do
114085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114086 echo "$as_me:$LINENO: checking for $ac_func" >&5
114087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114088 if eval "test \"\${$as_ac_var+set}\" = set"; then
114089   echo $ECHO_N "(cached) $ECHO_C" >&6
114090 else
114091   if test x$gcc_no_link = xyes; then
114092   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114094    { (exit 1); exit 1; }; }
114095 fi
114096 cat >conftest.$ac_ext <<_ACEOF
114097 /* confdefs.h.  */
114098 _ACEOF
114099 cat confdefs.h >>conftest.$ac_ext
114100 cat >>conftest.$ac_ext <<_ACEOF
114101 /* end confdefs.h.  */
114102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114103    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
114104 #define $ac_func innocuous_$ac_func
114105
114106 /* System header to define __stub macros and hopefully few prototypes,
114107     which can conflict with char $ac_func (); below.
114108     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114109     <limits.h> exists even on freestanding compilers.  */
114110
114111 #ifdef __STDC__
114112 # include <limits.h>
114113 #else
114114 # include <assert.h>
114115 #endif
114116
114117 #undef $ac_func
114118
114119 /* Override any gcc2 internal prototype to avoid an error.  */
114120 #ifdef __cplusplus
114121 extern "C"
114122 {
114123 #endif
114124 /* We use char because int might match the return type of a gcc2
114125    builtin and then its argument prototype would still apply.  */
114126 char $ac_func ();
114127 /* The GNU C library defines this for functions which it implements
114128     to always fail with ENOSYS.  Some functions are actually named
114129     something starting with __ and the normal name is an alias.  */
114130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114131 choke me
114132 #else
114133 char (*f) () = $ac_func;
114134 #endif
114135 #ifdef __cplusplus
114136 }
114137 #endif
114138
114139 int
114140 main ()
114141 {
114142 return f != $ac_func;
114143   ;
114144   return 0;
114145 }
114146 _ACEOF
114147 rm -f conftest.$ac_objext conftest$ac_exeext
114148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114149   (eval $ac_link) 2>conftest.er1
114150   ac_status=$?
114151   grep -v '^ *+' conftest.er1 >conftest.err
114152   rm -f conftest.er1
114153   cat conftest.err >&5
114154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114155   (exit $ac_status); } &&
114156          { ac_try='test -z "$ac_c_werror_flag"
114157                          || test ! -s conftest.err'
114158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114159   (eval $ac_try) 2>&5
114160   ac_status=$?
114161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114162   (exit $ac_status); }; } &&
114163          { ac_try='test -s conftest$ac_exeext'
114164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114165   (eval $ac_try) 2>&5
114166   ac_status=$?
114167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114168   (exit $ac_status); }; }; then
114169   eval "$as_ac_var=yes"
114170 else
114171   echo "$as_me: failed program was:" >&5
114172 sed 's/^/| /' conftest.$ac_ext >&5
114173
114174 eval "$as_ac_var=no"
114175 fi
114176 rm -f conftest.err conftest.$ac_objext \
114177       conftest$ac_exeext conftest.$ac_ext
114178 fi
114179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114181 if test `eval echo '${'$as_ac_var'}'` = yes; then
114182   cat >>confdefs.h <<_ACEOF
114183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114184 _ACEOF
114185
114186 else
114187   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
114188 fi
114189 done
114190
114191
114192
114193 for ac_func in __signbitf
114194 do
114195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114196 echo "$as_me:$LINENO: checking for $ac_func" >&5
114197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114198 if eval "test \"\${$as_ac_var+set}\" = set"; then
114199   echo $ECHO_N "(cached) $ECHO_C" >&6
114200 else
114201   if test x$gcc_no_link = xyes; then
114202   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114204    { (exit 1); exit 1; }; }
114205 fi
114206 cat >conftest.$ac_ext <<_ACEOF
114207 /* confdefs.h.  */
114208 _ACEOF
114209 cat confdefs.h >>conftest.$ac_ext
114210 cat >>conftest.$ac_ext <<_ACEOF
114211 /* end confdefs.h.  */
114212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114213    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
114214 #define $ac_func innocuous_$ac_func
114215
114216 /* System header to define __stub macros and hopefully few prototypes,
114217     which can conflict with char $ac_func (); below.
114218     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114219     <limits.h> exists even on freestanding compilers.  */
114220
114221 #ifdef __STDC__
114222 # include <limits.h>
114223 #else
114224 # include <assert.h>
114225 #endif
114226
114227 #undef $ac_func
114228
114229 /* Override any gcc2 internal prototype to avoid an error.  */
114230 #ifdef __cplusplus
114231 extern "C"
114232 {
114233 #endif
114234 /* We use char because int might match the return type of a gcc2
114235    builtin and then its argument prototype would still apply.  */
114236 char $ac_func ();
114237 /* The GNU C library defines this for functions which it implements
114238     to always fail with ENOSYS.  Some functions are actually named
114239     something starting with __ and the normal name is an alias.  */
114240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114241 choke me
114242 #else
114243 char (*f) () = $ac_func;
114244 #endif
114245 #ifdef __cplusplus
114246 }
114247 #endif
114248
114249 int
114250 main ()
114251 {
114252 return f != $ac_func;
114253   ;
114254   return 0;
114255 }
114256 _ACEOF
114257 rm -f conftest.$ac_objext conftest$ac_exeext
114258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114259   (eval $ac_link) 2>conftest.er1
114260   ac_status=$?
114261   grep -v '^ *+' conftest.er1 >conftest.err
114262   rm -f conftest.er1
114263   cat conftest.err >&5
114264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114265   (exit $ac_status); } &&
114266          { ac_try='test -z "$ac_c_werror_flag"
114267                          || test ! -s conftest.err'
114268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114269   (eval $ac_try) 2>&5
114270   ac_status=$?
114271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114272   (exit $ac_status); }; } &&
114273          { ac_try='test -s conftest$ac_exeext'
114274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114275   (eval $ac_try) 2>&5
114276   ac_status=$?
114277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114278   (exit $ac_status); }; }; then
114279   eval "$as_ac_var=yes"
114280 else
114281   echo "$as_me: failed program was:" >&5
114282 sed 's/^/| /' conftest.$ac_ext >&5
114283
114284 eval "$as_ac_var=no"
114285 fi
114286 rm -f conftest.err conftest.$ac_objext \
114287       conftest$ac_exeext conftest.$ac_ext
114288 fi
114289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114291 if test `eval echo '${'$as_ac_var'}'` = yes; then
114292   cat >>confdefs.h <<_ACEOF
114293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114294 _ACEOF
114295
114296 else
114297   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
114298 fi
114299 done
114300
114301
114302           if test x$ac_cv_func_copysignl = x"yes"; then
114303
114304 for ac_func in __signbitl
114305 do
114306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114307 echo "$as_me:$LINENO: checking for $ac_func" >&5
114308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114309 if eval "test \"\${$as_ac_var+set}\" = set"; then
114310   echo $ECHO_N "(cached) $ECHO_C" >&6
114311 else
114312   if test x$gcc_no_link = xyes; then
114313   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114315    { (exit 1); exit 1; }; }
114316 fi
114317 cat >conftest.$ac_ext <<_ACEOF
114318 /* confdefs.h.  */
114319 _ACEOF
114320 cat confdefs.h >>conftest.$ac_ext
114321 cat >>conftest.$ac_ext <<_ACEOF
114322 /* end confdefs.h.  */
114323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114324    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
114325 #define $ac_func innocuous_$ac_func
114326
114327 /* System header to define __stub macros and hopefully few prototypes,
114328     which can conflict with char $ac_func (); below.
114329     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114330     <limits.h> exists even on freestanding compilers.  */
114331
114332 #ifdef __STDC__
114333 # include <limits.h>
114334 #else
114335 # include <assert.h>
114336 #endif
114337
114338 #undef $ac_func
114339
114340 /* Override any gcc2 internal prototype to avoid an error.  */
114341 #ifdef __cplusplus
114342 extern "C"
114343 {
114344 #endif
114345 /* We use char because int might match the return type of a gcc2
114346    builtin and then its argument prototype would still apply.  */
114347 char $ac_func ();
114348 /* The GNU C library defines this for functions which it implements
114349     to always fail with ENOSYS.  Some functions are actually named
114350     something starting with __ and the normal name is an alias.  */
114351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114352 choke me
114353 #else
114354 char (*f) () = $ac_func;
114355 #endif
114356 #ifdef __cplusplus
114357 }
114358 #endif
114359
114360 int
114361 main ()
114362 {
114363 return f != $ac_func;
114364   ;
114365   return 0;
114366 }
114367 _ACEOF
114368 rm -f conftest.$ac_objext conftest$ac_exeext
114369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114370   (eval $ac_link) 2>conftest.er1
114371   ac_status=$?
114372   grep -v '^ *+' conftest.er1 >conftest.err
114373   rm -f conftest.er1
114374   cat conftest.err >&5
114375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114376   (exit $ac_status); } &&
114377          { ac_try='test -z "$ac_c_werror_flag"
114378                          || test ! -s conftest.err'
114379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114380   (eval $ac_try) 2>&5
114381   ac_status=$?
114382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114383   (exit $ac_status); }; } &&
114384          { ac_try='test -s conftest$ac_exeext'
114385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114386   (eval $ac_try) 2>&5
114387   ac_status=$?
114388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114389   (exit $ac_status); }; }; then
114390   eval "$as_ac_var=yes"
114391 else
114392   echo "$as_me: failed program was:" >&5
114393 sed 's/^/| /' conftest.$ac_ext >&5
114394
114395 eval "$as_ac_var=no"
114396 fi
114397 rm -f conftest.err conftest.$ac_objext \
114398       conftest$ac_exeext conftest.$ac_ext
114399 fi
114400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114402 if test `eval echo '${'$as_ac_var'}'` = yes; then
114403   cat >>confdefs.h <<_ACEOF
114404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114405 _ACEOF
114406
114407 else
114408   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
114409 fi
114410 done
114411
114412   fi
114413
114414   # Used in libmath/Makefile.am.
114415   if test -n "$LIBMATHOBJS"; then
114416     need_libmath=yes
114417   fi
114418
114419
114420     cat >>confdefs.h <<\_ACEOF
114421 #define HAVE_COSF 1
114422 _ACEOF
114423
114424     cat >>confdefs.h <<\_ACEOF
114425 #define HAVE_COSL 1
114426 _ACEOF
114427
114428     cat >>confdefs.h <<\_ACEOF
114429 #define HAVE_COSHF 1
114430 _ACEOF
114431
114432     cat >>confdefs.h <<\_ACEOF
114433 #define HAVE_COSHL 1
114434 _ACEOF
114435
114436     cat >>confdefs.h <<\_ACEOF
114437 #define HAVE_LOGF 1
114438 _ACEOF
114439
114440     cat >>confdefs.h <<\_ACEOF
114441 #define HAVE_LOGL 1
114442 _ACEOF
114443
114444     cat >>confdefs.h <<\_ACEOF
114445 #define HAVE_LOG10F 1
114446 _ACEOF
114447
114448     cat >>confdefs.h <<\_ACEOF
114449 #define HAVE_LOG10L 1
114450 _ACEOF
114451
114452     cat >>confdefs.h <<\_ACEOF
114453 #define HAVE_SINF 1
114454 _ACEOF
114455
114456     cat >>confdefs.h <<\_ACEOF
114457 #define HAVE_SINL 1
114458 _ACEOF
114459
114460     cat >>confdefs.h <<\_ACEOF
114461 #define HAVE_SINHF 1
114462 _ACEOF
114463
114464     cat >>confdefs.h <<\_ACEOF
114465 #define HAVE_SINHL 1
114466 _ACEOF
114467
114468     ;;
114469   *-solaris*)
114470     case "$target" in
114471     #  *-solaris2.5)
114472     #    os_include_dir="os/solaris/solaris2.5"
114473     #    ;;
114474     #  *-solaris2.6)
114475     #    os_include_dir="os/solaris/solaris2.6"
114476     #    ;;
114477       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
114478
114479   # If we're not using GNU ld, then there's no point in even trying these
114480   # tests.  Check for that first.  We should have already tested for gld
114481   # by now (in libtool), but require it now just to be safe...
114482   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
114483   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
114484
114485
114486
114487   # The name set by libtool depends on the version of libtool.  Shame on us
114488   # for depending on an impl detail, but c'est la vie.  Older versions used
114489   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
114490   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
114491   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
114492   # set (hence we're using an older libtool), then set it.
114493   if test x${with_gnu_ld+set} != xset; then
114494     if test x${ac_cv_prog_gnu_ld+set} != xset; then
114495       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
114496       with_gnu_ld=no
114497     else
114498       with_gnu_ld=$ac_cv_prog_gnu_ld
114499     fi
114500   fi
114501
114502   # Start by getting the version number.  I think the libtool test already
114503   # does some of this, but throws away the result.
114504   glibcxx_ld_is_gold=no
114505   if test x"$with_gnu_ld" = x"yes"; then
114506     echo "$as_me:$LINENO: checking for ld version" >&5
114507 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
114508
114509     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
114510       glibcxx_ld_is_gold=yes
114511     fi
114512     ldver=`$LD --version 2>/dev/null | head -1 | \
114513            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
114514
114515     glibcxx_gnu_ld_version=`echo $ldver | \
114516            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
114517     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
114518 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
114519   fi
114520
114521   # Set --gc-sections.
114522   glibcxx_have_gc_sections=no
114523   if test "$glibcxx_ld_is_gold" = "yes"; then
114524     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
114525       glibcxx_have_gc_sections=yes
114526     fi
114527   else
114528     glibcxx_gcsections_min_ld=21602
114529     if test x"$with_gnu_ld" = x"yes" &&
114530         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
114531       glibcxx_have_gc_sections=yes
114532     fi
114533   fi
114534   if test "$glibcxx_have_gc_sections" = "yes"; then
114535     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
114536     # NB: This flag only works reliably after 2.16.1. Configure tests
114537     # for this are difficult, so hard wire a value that should work.
114538
114539     ac_test_CFLAGS="${CFLAGS+set}"
114540     ac_save_CFLAGS="$CFLAGS"
114541     CFLAGS='-Wl,--gc-sections'
114542
114543     # Check for -Wl,--gc-sections
114544     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
114545 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
114546     if test x$gcc_no_link = xyes; then
114547   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114549    { (exit 1); exit 1; }; }
114550 fi
114551 cat >conftest.$ac_ext <<_ACEOF
114552 /* confdefs.h.  */
114553 _ACEOF
114554 cat confdefs.h >>conftest.$ac_ext
114555 cat >>conftest.$ac_ext <<_ACEOF
114556 /* end confdefs.h.  */
114557  int one(void) { return 1; }
114558      int two(void) { return 2; }
114559
114560 int
114561 main ()
114562 {
114563  two();
114564   ;
114565   return 0;
114566 }
114567 _ACEOF
114568 rm -f conftest.$ac_objext conftest$ac_exeext
114569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114570   (eval $ac_link) 2>conftest.er1
114571   ac_status=$?
114572   grep -v '^ *+' conftest.er1 >conftest.err
114573   rm -f conftest.er1
114574   cat conftest.err >&5
114575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114576   (exit $ac_status); } &&
114577          { ac_try='test -z "$ac_c_werror_flag"
114578                          || test ! -s conftest.err'
114579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114580   (eval $ac_try) 2>&5
114581   ac_status=$?
114582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114583   (exit $ac_status); }; } &&
114584          { ac_try='test -s conftest$ac_exeext'
114585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114586   (eval $ac_try) 2>&5
114587   ac_status=$?
114588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114589   (exit $ac_status); }; }; then
114590   ac_gcsections=yes
114591 else
114592   echo "$as_me: failed program was:" >&5
114593 sed 's/^/| /' conftest.$ac_ext >&5
114594
114595 ac_gcsections=no
114596 fi
114597 rm -f conftest.err conftest.$ac_objext \
114598       conftest$ac_exeext conftest.$ac_ext
114599     if test "$ac_gcsections" = "yes"; then
114600       rm -f conftest.c
114601       touch conftest.c
114602       if $CC -c conftest.c; then
114603         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
114604            grep "Warning: gc-sections option ignored" > /dev/null; then
114605           ac_gcsections=no
114606         fi
114607       fi
114608       rm -f conftest.c conftest.o conftest
114609     fi
114610     if test "$ac_gcsections" = "yes"; then
114611       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
114612     fi
114613     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
114614 echo "${ECHO_T}$ac_gcsections" >&6
114615
114616     if test "$ac_test_CFLAGS" = set; then
114617       CFLAGS="$ac_save_CFLAGS"
114618     else
114619       # this is the suspicious part
114620       CFLAGS=''
114621     fi
114622   fi
114623
114624   # Set -z,relro.
114625   # Note this is only for shared objects.
114626   ac_ld_relro=no
114627   if test x"$with_gnu_ld" = x"yes"; then
114628     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
114629 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
114630     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
114631     if test -n "$cxx_z_relo"; then
114632       OPT_LDFLAGS="-Wl,-z,relro"
114633       ac_ld_relro=yes
114634     fi
114635     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
114636 echo "${ECHO_T}$ac_ld_relro" >&6
114637   fi
114638
114639   # Set linker optimization flags.
114640   if test x"$with_gnu_ld" = x"yes"; then
114641     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
114642   fi
114643
114644
114645
114646
114647          cat >>confdefs.h <<\_ACEOF
114648 #define HAVE_GETPAGESIZE 1
114649 _ACEOF
114650
114651          cat >>confdefs.h <<\_ACEOF
114652 #define HAVE_SIGSETJMP 1
114653 _ACEOF
114654
114655          cat >>confdefs.h <<\_ACEOF
114656 #define HAVE_MBSTATE_T 1
114657 _ACEOF
114658
114659          cat >>confdefs.h <<\_ACEOF
114660 #define HAVE_POLL 1
114661 _ACEOF
114662
114663          cat >>confdefs.h <<\_ACEOF
114664 #define HAVE_S_ISREG 1
114665 _ACEOF
114666
114667          cat >>confdefs.h <<\_ACEOF
114668 #define HAVE_LC_MESSAGES 1
114669 _ACEOF
114670
114671          cat >>confdefs.h <<\_ACEOF
114672 #define HAVE_FINITE 1
114673 _ACEOF
114674
114675          cat >>confdefs.h <<\_ACEOF
114676 #define HAVE_FPCLASS 1
114677 _ACEOF
114678
114679          cat >>confdefs.h <<\_ACEOF
114680 #define HAVE_GETPAGESIZE 1
114681 _ACEOF
114682
114683          # All of the dependencies for wide character support are here, so
114684          # turn it on.
114685          cat >>confdefs.h <<\_ACEOF
114686 #define _GLIBCXX_USE_WCHAR_T 1
114687 _ACEOF
114688
114689          # Are these tested for even when cross?
114690          cat >>confdefs.h <<\_ACEOF
114691 #define HAVE_FLOAT_H 1
114692 _ACEOF
114693
114694          cat >>confdefs.h <<\_ACEOF
114695 #define HAVE_IEEEFP_H 1
114696 _ACEOF
114697
114698          cat >>confdefs.h <<\_ACEOF
114699 #define HAVE_INTTYPES_H 1
114700 _ACEOF
114701
114702          cat >>confdefs.h <<\_ACEOF
114703 #define HAVE_LOCALE_H 1
114704 _ACEOF
114705
114706          cat >>confdefs.h <<\_ACEOF
114707 #define HAVE_NAN_H 1
114708 _ACEOF
114709
114710          cat >>confdefs.h <<\_ACEOF
114711 #define HAVE_SYS_FILIO_H 1
114712 _ACEOF
114713
114714          cat >>confdefs.h <<\_ACEOF
114715 #define HAVE_SYS_IOCTL_H 1
114716 _ACEOF
114717
114718          cat >>confdefs.h <<\_ACEOF
114719 #define HAVE_SYS_ISA_DEFS_H 1
114720 _ACEOF
114721
114722          cat >>confdefs.h <<\_ACEOF
114723 #define HAVE_SYS_RESOURCE_H 1
114724 _ACEOF
114725
114726          cat >>confdefs.h <<\_ACEOF
114727 #define HAVE_SYS_TIME_H 1
114728 _ACEOF
114729
114730          cat >>confdefs.h <<\_ACEOF
114731 #define HAVE_SYS_TYPES_H 1
114732 _ACEOF
114733
114734          cat >>confdefs.h <<\_ACEOF
114735 #define HAVE_UNISTD_H 1
114736 _ACEOF
114737
114738          cat >>confdefs.h <<\_ACEOF
114739 #define HAVE_WCHAR_H 1
114740 _ACEOF
114741
114742          cat >>confdefs.h <<\_ACEOF
114743 #define HAVE_WCTYPE_H 1
114744 _ACEOF
114745
114746          cat >>confdefs.h <<\_ACEOF
114747 #define HAVE_LIBM 1
114748 _ACEOF
114749
114750         ;;
114751     esac
114752     case "$target" in
114753       sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
114754         # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
114755         cat >>confdefs.h <<\_ACEOF
114756 #define HAVE___BUILTIN_ABS 1
114757 _ACEOF
114758
114759         cat >>confdefs.h <<\_ACEOF
114760 #define HAVE___BUILTIN_LABS 1
114761 _ACEOF
114762
114763         cat >>confdefs.h <<\_ACEOF
114764 #define HAVE___BUILTIN_FABS 1
114765 _ACEOF
114766
114767         cat >>confdefs.h <<\_ACEOF
114768 #define HAVE___BUILTIN_FABSF 1
114769 _ACEOF
114770
114771         cat >>confdefs.h <<\_ACEOF
114772 #define HAVE___BUILTIN_FABSL 1
114773 _ACEOF
114774
114775         cat >>confdefs.h <<\_ACEOF
114776 #define HAVE___BUILTIN_COS 1
114777 _ACEOF
114778
114779         cat >>confdefs.h <<\_ACEOF
114780 #define HAVE___BUILTIN_COSF 1
114781 _ACEOF
114782
114783         cat >>confdefs.h <<\_ACEOF
114784 #define HAVE___BUILTIN_SIN 1
114785 _ACEOF
114786
114787         cat >>confdefs.h <<\_ACEOF
114788 #define HAVE___BUILTIN_SINF 1
114789 _ACEOF
114790
114791        ;;
114792     esac
114793     case "$target" in
114794       *-*-solaris2.10)
114795       # These two C99 functions are present only in Solaris >= 10
114796       cat >>confdefs.h <<\_ACEOF
114797 #define HAVE_STRTOF 1
114798 _ACEOF
114799
114800       cat >>confdefs.h <<\_ACEOF
114801 #define HAVE_STRTOLD 1
114802 _ACEOF
114803
114804      ;;
114805     esac
114806     cat >>confdefs.h <<\_ACEOF
114807 #define HAVE_MMAP 1
114808 _ACEOF
114809
114810     cat >>confdefs.h <<\_ACEOF
114811 #define HAVE_COPYSIGN 1
114812 _ACEOF
114813
114814     cat >>confdefs.h <<\_ACEOF
114815 #define HAVE_ISNAN 1
114816 _ACEOF
114817
114818     cat >>confdefs.h <<\_ACEOF
114819 #define HAVE_ISNANF 1
114820 _ACEOF
114821
114822     cat >>confdefs.h <<\_ACEOF
114823 #define HAVE_MODFF 1
114824 _ACEOF
114825
114826     cat >>confdefs.h <<\_ACEOF
114827 #define HAVE_HYPOT 1
114828 _ACEOF
114829
114830     ;;
114831   *-tpf)
114832
114833
114834
114835
114836
114837
114838
114839
114840 for ac_header in nan.h endian.h machine/endian.h  \
114841       sys/param.h sys/types.h locale.h float.h inttypes.h
114842 do
114843 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
114844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114845   echo "$as_me:$LINENO: checking for $ac_header" >&5
114846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114848   echo $ECHO_N "(cached) $ECHO_C" >&6
114849 fi
114850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114852 else
114853   # Is the header compilable?
114854 echo "$as_me:$LINENO: checking $ac_header usability" >&5
114855 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
114856 cat >conftest.$ac_ext <<_ACEOF
114857 /* confdefs.h.  */
114858 _ACEOF
114859 cat confdefs.h >>conftest.$ac_ext
114860 cat >>conftest.$ac_ext <<_ACEOF
114861 /* end confdefs.h.  */
114862 $ac_includes_default
114863 #include <$ac_header>
114864 _ACEOF
114865 rm -f conftest.$ac_objext
114866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114867   (eval $ac_compile) 2>conftest.er1
114868   ac_status=$?
114869   grep -v '^ *+' conftest.er1 >conftest.err
114870   rm -f conftest.er1
114871   cat conftest.err >&5
114872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114873   (exit $ac_status); } &&
114874          { ac_try='test -z "$ac_c_werror_flag"
114875                          || test ! -s conftest.err'
114876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114877   (eval $ac_try) 2>&5
114878   ac_status=$?
114879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114880   (exit $ac_status); }; } &&
114881          { ac_try='test -s conftest.$ac_objext'
114882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114883   (eval $ac_try) 2>&5
114884   ac_status=$?
114885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114886   (exit $ac_status); }; }; then
114887   ac_header_compiler=yes
114888 else
114889   echo "$as_me: failed program was:" >&5
114890 sed 's/^/| /' conftest.$ac_ext >&5
114891
114892 ac_header_compiler=no
114893 fi
114894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114895 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
114896 echo "${ECHO_T}$ac_header_compiler" >&6
114897
114898 # Is the header present?
114899 echo "$as_me:$LINENO: checking $ac_header presence" >&5
114900 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
114901 cat >conftest.$ac_ext <<_ACEOF
114902 /* confdefs.h.  */
114903 _ACEOF
114904 cat confdefs.h >>conftest.$ac_ext
114905 cat >>conftest.$ac_ext <<_ACEOF
114906 /* end confdefs.h.  */
114907 #include <$ac_header>
114908 _ACEOF
114909 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
114910   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
114911   ac_status=$?
114912   grep -v '^ *+' conftest.er1 >conftest.err
114913   rm -f conftest.er1
114914   cat conftest.err >&5
114915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114916   (exit $ac_status); } >/dev/null; then
114917   if test -s conftest.err; then
114918     ac_cpp_err=$ac_c_preproc_warn_flag
114919     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
114920   else
114921     ac_cpp_err=
114922   fi
114923 else
114924   ac_cpp_err=yes
114925 fi
114926 if test -z "$ac_cpp_err"; then
114927   ac_header_preproc=yes
114928 else
114929   echo "$as_me: failed program was:" >&5
114930 sed 's/^/| /' conftest.$ac_ext >&5
114931
114932   ac_header_preproc=no
114933 fi
114934 rm -f conftest.err conftest.$ac_ext
114935 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
114936 echo "${ECHO_T}$ac_header_preproc" >&6
114937
114938 # So?  What about this header?
114939 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
114940   yes:no: )
114941     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
114942 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
114943     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
114944 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
114945     ac_header_preproc=yes
114946     ;;
114947   no:yes:* )
114948     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
114949 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
114950     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
114951 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
114952     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
114953 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
114954     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
114955 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
114956     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
114957 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
114958     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
114959 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
114960     (
114961       cat <<\_ASBOX
114962 ## ----------------------------------------- ##
114963 ## Report this to the package-unused lists.  ##
114964 ## ----------------------------------------- ##
114965 _ASBOX
114966     ) |
114967       sed "s/^/$as_me: WARNING:     /" >&2
114968     ;;
114969 esac
114970 echo "$as_me:$LINENO: checking for $ac_header" >&5
114971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114973   echo $ECHO_N "(cached) $ECHO_C" >&6
114974 else
114975   eval "$as_ac_Header=\$ac_header_preproc"
114976 fi
114977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114978 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114979
114980 fi
114981 if test `eval echo '${'$as_ac_Header'}'` = yes; then
114982   cat >>confdefs.h <<_ACEOF
114983 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
114984 _ACEOF
114985
114986 fi
114987
114988 done
114989
114990     SECTION_FLAGS='-ffunction-sections -fdata-sections'
114991
114992
114993   # If we're not using GNU ld, then there's no point in even trying these
114994   # tests.  Check for that first.  We should have already tested for gld
114995   # by now (in libtool), but require it now just to be safe...
114996   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
114997   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
114998
114999
115000
115001   # The name set by libtool depends on the version of libtool.  Shame on us
115002   # for depending on an impl detail, but c'est la vie.  Older versions used
115003   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
115004   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
115005   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
115006   # set (hence we're using an older libtool), then set it.
115007   if test x${with_gnu_ld+set} != xset; then
115008     if test x${ac_cv_prog_gnu_ld+set} != xset; then
115009       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
115010       with_gnu_ld=no
115011     else
115012       with_gnu_ld=$ac_cv_prog_gnu_ld
115013     fi
115014   fi
115015
115016   # Start by getting the version number.  I think the libtool test already
115017   # does some of this, but throws away the result.
115018   glibcxx_ld_is_gold=no
115019   if test x"$with_gnu_ld" = x"yes"; then
115020     echo "$as_me:$LINENO: checking for ld version" >&5
115021 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
115022
115023     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
115024       glibcxx_ld_is_gold=yes
115025     fi
115026     ldver=`$LD --version 2>/dev/null | head -1 | \
115027            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
115028
115029     glibcxx_gnu_ld_version=`echo $ldver | \
115030            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
115031     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
115032 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
115033   fi
115034
115035   # Set --gc-sections.
115036   glibcxx_have_gc_sections=no
115037   if test "$glibcxx_ld_is_gold" = "yes"; then
115038     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
115039       glibcxx_have_gc_sections=yes
115040     fi
115041   else
115042     glibcxx_gcsections_min_ld=21602
115043     if test x"$with_gnu_ld" = x"yes" &&
115044         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
115045       glibcxx_have_gc_sections=yes
115046     fi
115047   fi
115048   if test "$glibcxx_have_gc_sections" = "yes"; then
115049     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
115050     # NB: This flag only works reliably after 2.16.1. Configure tests
115051     # for this are difficult, so hard wire a value that should work.
115052
115053     ac_test_CFLAGS="${CFLAGS+set}"
115054     ac_save_CFLAGS="$CFLAGS"
115055     CFLAGS='-Wl,--gc-sections'
115056
115057     # Check for -Wl,--gc-sections
115058     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
115059 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
115060     if test x$gcc_no_link = xyes; then
115061   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115063    { (exit 1); exit 1; }; }
115064 fi
115065 cat >conftest.$ac_ext <<_ACEOF
115066 /* confdefs.h.  */
115067 _ACEOF
115068 cat confdefs.h >>conftest.$ac_ext
115069 cat >>conftest.$ac_ext <<_ACEOF
115070 /* end confdefs.h.  */
115071  int one(void) { return 1; }
115072      int two(void) { return 2; }
115073
115074 int
115075 main ()
115076 {
115077  two();
115078   ;
115079   return 0;
115080 }
115081 _ACEOF
115082 rm -f conftest.$ac_objext conftest$ac_exeext
115083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115084   (eval $ac_link) 2>conftest.er1
115085   ac_status=$?
115086   grep -v '^ *+' conftest.er1 >conftest.err
115087   rm -f conftest.er1
115088   cat conftest.err >&5
115089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115090   (exit $ac_status); } &&
115091          { ac_try='test -z "$ac_c_werror_flag"
115092                          || test ! -s conftest.err'
115093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115094   (eval $ac_try) 2>&5
115095   ac_status=$?
115096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115097   (exit $ac_status); }; } &&
115098          { ac_try='test -s conftest$ac_exeext'
115099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115100   (eval $ac_try) 2>&5
115101   ac_status=$?
115102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115103   (exit $ac_status); }; }; then
115104   ac_gcsections=yes
115105 else
115106   echo "$as_me: failed program was:" >&5
115107 sed 's/^/| /' conftest.$ac_ext >&5
115108
115109 ac_gcsections=no
115110 fi
115111 rm -f conftest.err conftest.$ac_objext \
115112       conftest$ac_exeext conftest.$ac_ext
115113     if test "$ac_gcsections" = "yes"; then
115114       rm -f conftest.c
115115       touch conftest.c
115116       if $CC -c conftest.c; then
115117         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
115118            grep "Warning: gc-sections option ignored" > /dev/null; then
115119           ac_gcsections=no
115120         fi
115121       fi
115122       rm -f conftest.c conftest.o conftest
115123     fi
115124     if test "$ac_gcsections" = "yes"; then
115125       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
115126     fi
115127     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
115128 echo "${ECHO_T}$ac_gcsections" >&6
115129
115130     if test "$ac_test_CFLAGS" = set; then
115131       CFLAGS="$ac_save_CFLAGS"
115132     else
115133       # this is the suspicious part
115134       CFLAGS=''
115135     fi
115136   fi
115137
115138   # Set -z,relro.
115139   # Note this is only for shared objects.
115140   ac_ld_relro=no
115141   if test x"$with_gnu_ld" = x"yes"; then
115142     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
115143 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
115144     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
115145     if test -n "$cxx_z_relo"; then
115146       OPT_LDFLAGS="-Wl,-z,relro"
115147       ac_ld_relro=yes
115148     fi
115149     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
115150 echo "${ECHO_T}$ac_ld_relro" >&6
115151   fi
115152
115153   # Set linker optimization flags.
115154   if test x"$with_gnu_ld" = x"yes"; then
115155     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
115156   fi
115157
115158
115159
115160
115161
115162
115163 echo "$as_me:$LINENO: checking for main in -lm" >&5
115164 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
115165 if test "${ac_cv_lib_m_main+set}" = set; then
115166   echo $ECHO_N "(cached) $ECHO_C" >&6
115167 else
115168   ac_check_lib_save_LIBS=$LIBS
115169 LIBS="-lm  $LIBS"
115170 if test x$gcc_no_link = xyes; then
115171   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115173    { (exit 1); exit 1; }; }
115174 fi
115175 cat >conftest.$ac_ext <<_ACEOF
115176 /* confdefs.h.  */
115177 _ACEOF
115178 cat confdefs.h >>conftest.$ac_ext
115179 cat >>conftest.$ac_ext <<_ACEOF
115180 /* end confdefs.h.  */
115181
115182
115183 int
115184 main ()
115185 {
115186 main ();
115187   ;
115188   return 0;
115189 }
115190 _ACEOF
115191 rm -f conftest.$ac_objext conftest$ac_exeext
115192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115193   (eval $ac_link) 2>conftest.er1
115194   ac_status=$?
115195   grep -v '^ *+' conftest.er1 >conftest.err
115196   rm -f conftest.er1
115197   cat conftest.err >&5
115198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115199   (exit $ac_status); } &&
115200          { ac_try='test -z "$ac_c_werror_flag"
115201                          || test ! -s conftest.err'
115202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115203   (eval $ac_try) 2>&5
115204   ac_status=$?
115205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115206   (exit $ac_status); }; } &&
115207          { ac_try='test -s conftest$ac_exeext'
115208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115209   (eval $ac_try) 2>&5
115210   ac_status=$?
115211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115212   (exit $ac_status); }; }; then
115213   ac_cv_lib_m_main=yes
115214 else
115215   echo "$as_me: failed program was:" >&5
115216 sed 's/^/| /' conftest.$ac_ext >&5
115217
115218 ac_cv_lib_m_main=no
115219 fi
115220 rm -f conftest.err conftest.$ac_objext \
115221       conftest$ac_exeext conftest.$ac_ext
115222 LIBS=$ac_check_lib_save_LIBS
115223 fi
115224 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
115225 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
115226 if test $ac_cv_lib_m_main = yes; then
115227   cat >>confdefs.h <<_ACEOF
115228 #define HAVE_LIBM 1
115229 _ACEOF
115230
115231   LIBS="-lm $LIBS"
115232
115233 fi
115234
115235
115236 for ac_func in copysignf
115237 do
115238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115239 echo "$as_me:$LINENO: checking for $ac_func" >&5
115240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115241 if eval "test \"\${$as_ac_var+set}\" = set"; then
115242   echo $ECHO_N "(cached) $ECHO_C" >&6
115243 else
115244   if test x$gcc_no_link = xyes; then
115245   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115247    { (exit 1); exit 1; }; }
115248 fi
115249 cat >conftest.$ac_ext <<_ACEOF
115250 /* confdefs.h.  */
115251 _ACEOF
115252 cat confdefs.h >>conftest.$ac_ext
115253 cat >>conftest.$ac_ext <<_ACEOF
115254 /* end confdefs.h.  */
115255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115256    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
115257 #define $ac_func innocuous_$ac_func
115258
115259 /* System header to define __stub macros and hopefully few prototypes,
115260     which can conflict with char $ac_func (); below.
115261     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115262     <limits.h> exists even on freestanding compilers.  */
115263
115264 #ifdef __STDC__
115265 # include <limits.h>
115266 #else
115267 # include <assert.h>
115268 #endif
115269
115270 #undef $ac_func
115271
115272 /* Override any gcc2 internal prototype to avoid an error.  */
115273 #ifdef __cplusplus
115274 extern "C"
115275 {
115276 #endif
115277 /* We use char because int might match the return type of a gcc2
115278    builtin and then its argument prototype would still apply.  */
115279 char $ac_func ();
115280 /* The GNU C library defines this for functions which it implements
115281     to always fail with ENOSYS.  Some functions are actually named
115282     something starting with __ and the normal name is an alias.  */
115283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115284 choke me
115285 #else
115286 char (*f) () = $ac_func;
115287 #endif
115288 #ifdef __cplusplus
115289 }
115290 #endif
115291
115292 int
115293 main ()
115294 {
115295 return f != $ac_func;
115296   ;
115297   return 0;
115298 }
115299 _ACEOF
115300 rm -f conftest.$ac_objext conftest$ac_exeext
115301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115302   (eval $ac_link) 2>conftest.er1
115303   ac_status=$?
115304   grep -v '^ *+' conftest.er1 >conftest.err
115305   rm -f conftest.er1
115306   cat conftest.err >&5
115307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115308   (exit $ac_status); } &&
115309          { ac_try='test -z "$ac_c_werror_flag"
115310                          || test ! -s conftest.err'
115311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115312   (eval $ac_try) 2>&5
115313   ac_status=$?
115314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115315   (exit $ac_status); }; } &&
115316          { ac_try='test -s conftest$ac_exeext'
115317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115318   (eval $ac_try) 2>&5
115319   ac_status=$?
115320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115321   (exit $ac_status); }; }; then
115322   eval "$as_ac_var=yes"
115323 else
115324   echo "$as_me: failed program was:" >&5
115325 sed 's/^/| /' conftest.$ac_ext >&5
115326
115327 eval "$as_ac_var=no"
115328 fi
115329 rm -f conftest.err conftest.$ac_objext \
115330       conftest$ac_exeext conftest.$ac_ext
115331 fi
115332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115334 if test `eval echo '${'$as_ac_var'}'` = yes; then
115335   cat >>confdefs.h <<_ACEOF
115336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115337 _ACEOF
115338
115339 else
115340   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
115341 fi
115342 done
115343
115344
115345
115346 for ac_func in __signbit
115347 do
115348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115349 echo "$as_me:$LINENO: checking for $ac_func" >&5
115350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115351 if eval "test \"\${$as_ac_var+set}\" = set"; then
115352   echo $ECHO_N "(cached) $ECHO_C" >&6
115353 else
115354   if test x$gcc_no_link = xyes; then
115355   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115357    { (exit 1); exit 1; }; }
115358 fi
115359 cat >conftest.$ac_ext <<_ACEOF
115360 /* confdefs.h.  */
115361 _ACEOF
115362 cat confdefs.h >>conftest.$ac_ext
115363 cat >>conftest.$ac_ext <<_ACEOF
115364 /* end confdefs.h.  */
115365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115366    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
115367 #define $ac_func innocuous_$ac_func
115368
115369 /* System header to define __stub macros and hopefully few prototypes,
115370     which can conflict with char $ac_func (); below.
115371     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115372     <limits.h> exists even on freestanding compilers.  */
115373
115374 #ifdef __STDC__
115375 # include <limits.h>
115376 #else
115377 # include <assert.h>
115378 #endif
115379
115380 #undef $ac_func
115381
115382 /* Override any gcc2 internal prototype to avoid an error.  */
115383 #ifdef __cplusplus
115384 extern "C"
115385 {
115386 #endif
115387 /* We use char because int might match the return type of a gcc2
115388    builtin and then its argument prototype would still apply.  */
115389 char $ac_func ();
115390 /* The GNU C library defines this for functions which it implements
115391     to always fail with ENOSYS.  Some functions are actually named
115392     something starting with __ and the normal name is an alias.  */
115393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115394 choke me
115395 #else
115396 char (*f) () = $ac_func;
115397 #endif
115398 #ifdef __cplusplus
115399 }
115400 #endif
115401
115402 int
115403 main ()
115404 {
115405 return f != $ac_func;
115406   ;
115407   return 0;
115408 }
115409 _ACEOF
115410 rm -f conftest.$ac_objext conftest$ac_exeext
115411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115412   (eval $ac_link) 2>conftest.er1
115413   ac_status=$?
115414   grep -v '^ *+' conftest.er1 >conftest.err
115415   rm -f conftest.er1
115416   cat conftest.err >&5
115417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115418   (exit $ac_status); } &&
115419          { ac_try='test -z "$ac_c_werror_flag"
115420                          || test ! -s conftest.err'
115421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115422   (eval $ac_try) 2>&5
115423   ac_status=$?
115424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115425   (exit $ac_status); }; } &&
115426          { ac_try='test -s conftest$ac_exeext'
115427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115428   (eval $ac_try) 2>&5
115429   ac_status=$?
115430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115431   (exit $ac_status); }; }; then
115432   eval "$as_ac_var=yes"
115433 else
115434   echo "$as_me: failed program was:" >&5
115435 sed 's/^/| /' conftest.$ac_ext >&5
115436
115437 eval "$as_ac_var=no"
115438 fi
115439 rm -f conftest.err conftest.$ac_objext \
115440       conftest$ac_exeext conftest.$ac_ext
115441 fi
115442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115444 if test `eval echo '${'$as_ac_var'}'` = yes; then
115445   cat >>confdefs.h <<_ACEOF
115446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115447 _ACEOF
115448
115449 else
115450   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
115451 fi
115452 done
115453
115454
115455
115456 for ac_func in __signbitf
115457 do
115458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115459 echo "$as_me:$LINENO: checking for $ac_func" >&5
115460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115461 if eval "test \"\${$as_ac_var+set}\" = set"; then
115462   echo $ECHO_N "(cached) $ECHO_C" >&6
115463 else
115464   if test x$gcc_no_link = xyes; then
115465   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115467    { (exit 1); exit 1; }; }
115468 fi
115469 cat >conftest.$ac_ext <<_ACEOF
115470 /* confdefs.h.  */
115471 _ACEOF
115472 cat confdefs.h >>conftest.$ac_ext
115473 cat >>conftest.$ac_ext <<_ACEOF
115474 /* end confdefs.h.  */
115475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115476    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
115477 #define $ac_func innocuous_$ac_func
115478
115479 /* System header to define __stub macros and hopefully few prototypes,
115480     which can conflict with char $ac_func (); below.
115481     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115482     <limits.h> exists even on freestanding compilers.  */
115483
115484 #ifdef __STDC__
115485 # include <limits.h>
115486 #else
115487 # include <assert.h>
115488 #endif
115489
115490 #undef $ac_func
115491
115492 /* Override any gcc2 internal prototype to avoid an error.  */
115493 #ifdef __cplusplus
115494 extern "C"
115495 {
115496 #endif
115497 /* We use char because int might match the return type of a gcc2
115498    builtin and then its argument prototype would still apply.  */
115499 char $ac_func ();
115500 /* The GNU C library defines this for functions which it implements
115501     to always fail with ENOSYS.  Some functions are actually named
115502     something starting with __ and the normal name is an alias.  */
115503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115504 choke me
115505 #else
115506 char (*f) () = $ac_func;
115507 #endif
115508 #ifdef __cplusplus
115509 }
115510 #endif
115511
115512 int
115513 main ()
115514 {
115515 return f != $ac_func;
115516   ;
115517   return 0;
115518 }
115519 _ACEOF
115520 rm -f conftest.$ac_objext conftest$ac_exeext
115521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115522   (eval $ac_link) 2>conftest.er1
115523   ac_status=$?
115524   grep -v '^ *+' conftest.er1 >conftest.err
115525   rm -f conftest.er1
115526   cat conftest.err >&5
115527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115528   (exit $ac_status); } &&
115529          { ac_try='test -z "$ac_c_werror_flag"
115530                          || test ! -s conftest.err'
115531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115532   (eval $ac_try) 2>&5
115533   ac_status=$?
115534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115535   (exit $ac_status); }; } &&
115536          { ac_try='test -s conftest$ac_exeext'
115537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115538   (eval $ac_try) 2>&5
115539   ac_status=$?
115540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115541   (exit $ac_status); }; }; then
115542   eval "$as_ac_var=yes"
115543 else
115544   echo "$as_me: failed program was:" >&5
115545 sed 's/^/| /' conftest.$ac_ext >&5
115546
115547 eval "$as_ac_var=no"
115548 fi
115549 rm -f conftest.err conftest.$ac_objext \
115550       conftest$ac_exeext conftest.$ac_ext
115551 fi
115552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115554 if test `eval echo '${'$as_ac_var'}'` = yes; then
115555   cat >>confdefs.h <<_ACEOF
115556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115557 _ACEOF
115558
115559 else
115560   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
115561 fi
115562 done
115563
115564
115565           if test x$ac_cv_func_copysignl = x"yes"; then
115566
115567 for ac_func in __signbitl
115568 do
115569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115570 echo "$as_me:$LINENO: checking for $ac_func" >&5
115571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115572 if eval "test \"\${$as_ac_var+set}\" = set"; then
115573   echo $ECHO_N "(cached) $ECHO_C" >&6
115574 else
115575   if test x$gcc_no_link = xyes; then
115576   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115578    { (exit 1); exit 1; }; }
115579 fi
115580 cat >conftest.$ac_ext <<_ACEOF
115581 /* confdefs.h.  */
115582 _ACEOF
115583 cat confdefs.h >>conftest.$ac_ext
115584 cat >>conftest.$ac_ext <<_ACEOF
115585 /* end confdefs.h.  */
115586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115587    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
115588 #define $ac_func innocuous_$ac_func
115589
115590 /* System header to define __stub macros and hopefully few prototypes,
115591     which can conflict with char $ac_func (); below.
115592     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115593     <limits.h> exists even on freestanding compilers.  */
115594
115595 #ifdef __STDC__
115596 # include <limits.h>
115597 #else
115598 # include <assert.h>
115599 #endif
115600
115601 #undef $ac_func
115602
115603 /* Override any gcc2 internal prototype to avoid an error.  */
115604 #ifdef __cplusplus
115605 extern "C"
115606 {
115607 #endif
115608 /* We use char because int might match the return type of a gcc2
115609    builtin and then its argument prototype would still apply.  */
115610 char $ac_func ();
115611 /* The GNU C library defines this for functions which it implements
115612     to always fail with ENOSYS.  Some functions are actually named
115613     something starting with __ and the normal name is an alias.  */
115614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115615 choke me
115616 #else
115617 char (*f) () = $ac_func;
115618 #endif
115619 #ifdef __cplusplus
115620 }
115621 #endif
115622
115623 int
115624 main ()
115625 {
115626 return f != $ac_func;
115627   ;
115628   return 0;
115629 }
115630 _ACEOF
115631 rm -f conftest.$ac_objext conftest$ac_exeext
115632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115633   (eval $ac_link) 2>conftest.er1
115634   ac_status=$?
115635   grep -v '^ *+' conftest.er1 >conftest.err
115636   rm -f conftest.er1
115637   cat conftest.err >&5
115638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115639   (exit $ac_status); } &&
115640          { ac_try='test -z "$ac_c_werror_flag"
115641                          || test ! -s conftest.err'
115642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115643   (eval $ac_try) 2>&5
115644   ac_status=$?
115645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115646   (exit $ac_status); }; } &&
115647          { ac_try='test -s conftest$ac_exeext'
115648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115649   (eval $ac_try) 2>&5
115650   ac_status=$?
115651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115652   (exit $ac_status); }; }; then
115653   eval "$as_ac_var=yes"
115654 else
115655   echo "$as_me: failed program was:" >&5
115656 sed 's/^/| /' conftest.$ac_ext >&5
115657
115658 eval "$as_ac_var=no"
115659 fi
115660 rm -f conftest.err conftest.$ac_objext \
115661       conftest$ac_exeext conftest.$ac_ext
115662 fi
115663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115665 if test `eval echo '${'$as_ac_var'}'` = yes; then
115666   cat >>confdefs.h <<_ACEOF
115667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115668 _ACEOF
115669
115670 else
115671   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
115672 fi
115673 done
115674
115675   fi
115676
115677   # Used in libmath/Makefile.am.
115678   if test -n "$LIBMATHOBJS"; then
115679     need_libmath=yes
115680   fi
115681
115682
115683     cat >>confdefs.h <<\_ACEOF
115684 #define HAVE_COPYSIGN 1
115685 _ACEOF
115686
115687     cat >>confdefs.h <<\_ACEOF
115688 #define HAVE_COPYSIGNF 1
115689 _ACEOF
115690
115691     cat >>confdefs.h <<\_ACEOF
115692 #define HAVE_FINITE 1
115693 _ACEOF
115694
115695     cat >>confdefs.h <<\_ACEOF
115696 #define HAVE_FINITEF 1
115697 _ACEOF
115698
115699     cat >>confdefs.h <<\_ACEOF
115700 #define HAVE_FREXPF 1
115701 _ACEOF
115702
115703     cat >>confdefs.h <<\_ACEOF
115704 #define HAVE_HYPOTF 1
115705 _ACEOF
115706
115707     cat >>confdefs.h <<\_ACEOF
115708 #define HAVE_ISINF 1
115709 _ACEOF
115710
115711     cat >>confdefs.h <<\_ACEOF
115712 #define HAVE_ISINFF 1
115713 _ACEOF
115714
115715     cat >>confdefs.h <<\_ACEOF
115716 #define HAVE_ISNAN 1
115717 _ACEOF
115718
115719     cat >>confdefs.h <<\_ACEOF
115720 #define HAVE_ISNANF 1
115721 _ACEOF
115722
115723     cat >>confdefs.h <<\_ACEOF
115724 #define HAVE_SINCOS 1
115725 _ACEOF
115726
115727     cat >>confdefs.h <<\_ACEOF
115728 #define HAVE_SINCOSF 1
115729 _ACEOF
115730
115731     if test x"long_double_math_on_this_cpu" = x"yes"; then
115732       cat >>confdefs.h <<\_ACEOF
115733 #define HAVE_FINITEL 1
115734 _ACEOF
115735
115736       cat >>confdefs.h <<\_ACEOF
115737 #define HAVE_HYPOTL 1
115738 _ACEOF
115739
115740       cat >>confdefs.h <<\_ACEOF
115741 #define HAVE_ISINFL 1
115742 _ACEOF
115743
115744       cat >>confdefs.h <<\_ACEOF
115745 #define HAVE_ISNANL 1
115746 _ACEOF
115747
115748     fi
115749     ;;
115750   *-vxworks)
115751     cat >>confdefs.h <<\_ACEOF
115752 #define HAVE_MMAP 1
115753 _ACEOF
115754
115755     cat >>confdefs.h <<\_ACEOF
115756 #define HAVE_ACOSF 1
115757 _ACEOF
115758
115759     cat >>confdefs.h <<\_ACEOF
115760 #define HAVE_ASINF 1
115761 _ACEOF
115762
115763     cat >>confdefs.h <<\_ACEOF
115764 #define HAVE_ATAN2F 1
115765 _ACEOF
115766
115767     cat >>confdefs.h <<\_ACEOF
115768 #define HAVE_ATANF 1
115769 _ACEOF
115770
115771     cat >>confdefs.h <<\_ACEOF
115772 #define HAVE_CEILF 1
115773 _ACEOF
115774
115775     cat >>confdefs.h <<\_ACEOF
115776 #define HAVE_COSF 1
115777 _ACEOF
115778
115779     cat >>confdefs.h <<\_ACEOF
115780 #define HAVE_COSHF 1
115781 _ACEOF
115782
115783     cat >>confdefs.h <<\_ACEOF
115784 #define HAVE_EXPF 1
115785 _ACEOF
115786
115787     cat >>confdefs.h <<\_ACEOF
115788 #define HAVE_FABSF 1
115789 _ACEOF
115790
115791     cat >>confdefs.h <<\_ACEOF
115792 #define HAVE_FLOORF 1
115793 _ACEOF
115794
115795     cat >>confdefs.h <<\_ACEOF
115796 #define HAVE_FMODF 1
115797 _ACEOF
115798
115799     cat >>confdefs.h <<\_ACEOF
115800 #define HAVE_HYPOT 1
115801 _ACEOF
115802
115803     cat >>confdefs.h <<\_ACEOF
115804 #define HAVE_LOG10F 1
115805 _ACEOF
115806
115807     cat >>confdefs.h <<\_ACEOF
115808 #define HAVE_LOGF 1
115809 _ACEOF
115810
115811     cat >>confdefs.h <<\_ACEOF
115812 #define HAVE_POWF 1
115813 _ACEOF
115814
115815     cat >>confdefs.h <<\_ACEOF
115816 #define HAVE_SINF 1
115817 _ACEOF
115818
115819     cat >>confdefs.h <<\_ACEOF
115820 #define HAVE_SINHF 1
115821 _ACEOF
115822
115823     cat >>confdefs.h <<\_ACEOF
115824 #define HAVE_SQRTF 1
115825 _ACEOF
115826
115827     cat >>confdefs.h <<\_ACEOF
115828 #define HAVE_TANF 1
115829 _ACEOF
115830
115831     cat >>confdefs.h <<\_ACEOF
115832 #define HAVE_TANHF 1
115833 _ACEOF
115834
115835     ;;
115836   *-windiss*)
115837     cat >>confdefs.h <<\_ACEOF
115838 #define HAVE_ACOSF 1
115839 _ACEOF
115840
115841     cat >>confdefs.h <<\_ACEOF
115842 #define HAVE_ACOSL 1
115843 _ACEOF
115844
115845     cat >>confdefs.h <<\_ACEOF
115846 #define HAVE_ASINF 1
115847 _ACEOF
115848
115849     cat >>confdefs.h <<\_ACEOF
115850 #define HAVE_ASINL 1
115851 _ACEOF
115852
115853     cat >>confdefs.h <<\_ACEOF
115854 #define HAVE_ATAN2F 1
115855 _ACEOF
115856
115857     cat >>confdefs.h <<\_ACEOF
115858 #define HAVE_ATAN2L 1
115859 _ACEOF
115860
115861     cat >>confdefs.h <<\_ACEOF
115862 #define HAVE_ATANF 1
115863 _ACEOF
115864
115865     cat >>confdefs.h <<\_ACEOF
115866 #define HAVE_ATANL 1
115867 _ACEOF
115868
115869     cat >>confdefs.h <<\_ACEOF
115870 #define HAVE_CEILF 1
115871 _ACEOF
115872
115873     cat >>confdefs.h <<\_ACEOF
115874 #define HAVE_CEILL 1
115875 _ACEOF
115876
115877     cat >>confdefs.h <<\_ACEOF
115878 #define HAVE_COPYSIGN 1
115879 _ACEOF
115880
115881     cat >>confdefs.h <<\_ACEOF
115882 #define HAVE_COPYSIGNF 1
115883 _ACEOF
115884
115885     cat >>confdefs.h <<\_ACEOF
115886 #define HAVE_COSF 1
115887 _ACEOF
115888
115889     cat >>confdefs.h <<\_ACEOF
115890 #define HAVE_COSL 1
115891 _ACEOF
115892
115893     cat >>confdefs.h <<\_ACEOF
115894 #define HAVE_COSHF 1
115895 _ACEOF
115896
115897     cat >>confdefs.h <<\_ACEOF
115898 #define HAVE_COSHL 1
115899 _ACEOF
115900
115901     cat >>confdefs.h <<\_ACEOF
115902 #define HAVE_EXPF 1
115903 _ACEOF
115904
115905     cat >>confdefs.h <<\_ACEOF
115906 #define HAVE_EXPL 1
115907 _ACEOF
115908
115909     cat >>confdefs.h <<\_ACEOF
115910 #define HAVE_FABSF 1
115911 _ACEOF
115912
115913     cat >>confdefs.h <<\_ACEOF
115914 #define HAVE_FABSL 1
115915 _ACEOF
115916
115917     cat >>confdefs.h <<\_ACEOF
115918 #define HAVE_FLOORF 1
115919 _ACEOF
115920
115921     cat >>confdefs.h <<\_ACEOF
115922 #define HAVE_FLOORL 1
115923 _ACEOF
115924
115925     cat >>confdefs.h <<\_ACEOF
115926 #define HAVE_FMODF 1
115927 _ACEOF
115928
115929     cat >>confdefs.h <<\_ACEOF
115930 #define HAVE_FMODL 1
115931 _ACEOF
115932
115933     cat >>confdefs.h <<\_ACEOF
115934 #define HAVE_FREXPF 1
115935 _ACEOF
115936
115937     cat >>confdefs.h <<\_ACEOF
115938 #define HAVE_FREXPL 1
115939 _ACEOF
115940
115941     cat >>confdefs.h <<\_ACEOF
115942 #define HAVE_LDEXPF 1
115943 _ACEOF
115944
115945     cat >>confdefs.h <<\_ACEOF
115946 #define HAVE_LDEXPL 1
115947 _ACEOF
115948
115949     cat >>confdefs.h <<\_ACEOF
115950 #define HAVE_LOG10F 1
115951 _ACEOF
115952
115953     cat >>confdefs.h <<\_ACEOF
115954 #define HAVE_LOG10L 1
115955 _ACEOF
115956
115957     cat >>confdefs.h <<\_ACEOF
115958 #define HAVE_LOGF 1
115959 _ACEOF
115960
115961     cat >>confdefs.h <<\_ACEOF
115962 #define HAVE_MODFF 1
115963 _ACEOF
115964
115965     cat >>confdefs.h <<\_ACEOF
115966 #define HAVE_MODFL 1
115967 _ACEOF
115968
115969     cat >>confdefs.h <<\_ACEOF
115970 #define HAVE_POWF 1
115971 _ACEOF
115972
115973     cat >>confdefs.h <<\_ACEOF
115974 #define HAVE_POWL 1
115975 _ACEOF
115976
115977     cat >>confdefs.h <<\_ACEOF
115978 #define HAVE_SINF 1
115979 _ACEOF
115980
115981     cat >>confdefs.h <<\_ACEOF
115982 #define HAVE_SINL 1
115983 _ACEOF
115984
115985     cat >>confdefs.h <<\_ACEOF
115986 #define HAVE_SINHF 1
115987 _ACEOF
115988
115989     cat >>confdefs.h <<\_ACEOF
115990 #define HAVE_SINHL 1
115991 _ACEOF
115992
115993     cat >>confdefs.h <<\_ACEOF
115994 #define HAVE_SQRTF 1
115995 _ACEOF
115996
115997     cat >>confdefs.h <<\_ACEOF
115998 #define HAVE_SQRTL 1
115999 _ACEOF
116000
116001     cat >>confdefs.h <<\_ACEOF
116002 #define HAVE_TANF 1
116003 _ACEOF
116004
116005     cat >>confdefs.h <<\_ACEOF
116006 #define HAVE_TANL 1
116007 _ACEOF
116008
116009     cat >>confdefs.h <<\_ACEOF
116010 #define HAVE_TANHF 1
116011 _ACEOF
116012
116013     cat >>confdefs.h <<\_ACEOF
116014 #define HAVE_TANHL 1
116015 _ACEOF
116016
116017     ;;
116018   *)
116019     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
116020 echo "$as_me: error: No support for this host/target combination." >&2;}
116021    { (exit 1); exit 1; }; }
116022    ;;
116023 esac
116024
116025   fi
116026
116027   # At some point, we should differentiate between architectures
116028   # like x86, which have long double versions, and alpha/powerpc/etc.,
116029   # which don't. For the time being, punt.
116030   if test x"long_double_math_on_this_cpu" = x"yes"; then
116031     cat >>confdefs.h <<\_ACEOF
116032 #define HAVE_ACOSL 1
116033 _ACEOF
116034
116035     cat >>confdefs.h <<\_ACEOF
116036 #define HAVE_ASINL 1
116037 _ACEOF
116038
116039     cat >>confdefs.h <<\_ACEOF
116040 #define HAVE_ATAN2L 1
116041 _ACEOF
116042
116043     cat >>confdefs.h <<\_ACEOF
116044 #define HAVE_ATANL 1
116045 _ACEOF
116046
116047     cat >>confdefs.h <<\_ACEOF
116048 #define HAVE_CEILL 1
116049 _ACEOF
116050
116051     cat >>confdefs.h <<\_ACEOF
116052 #define HAVE_COPYSIGNL 1
116053 _ACEOF
116054
116055     cat >>confdefs.h <<\_ACEOF
116056 #define HAVE_COSL 1
116057 _ACEOF
116058
116059     cat >>confdefs.h <<\_ACEOF
116060 #define HAVE_COSHL 1
116061 _ACEOF
116062
116063     cat >>confdefs.h <<\_ACEOF
116064 #define HAVE_EXPL 1
116065 _ACEOF
116066
116067     cat >>confdefs.h <<\_ACEOF
116068 #define HAVE_FABSL 1
116069 _ACEOF
116070
116071     cat >>confdefs.h <<\_ACEOF
116072 #define HAVE_FLOORL 1
116073 _ACEOF
116074
116075     cat >>confdefs.h <<\_ACEOF
116076 #define HAVE_FMODL 1
116077 _ACEOF
116078
116079     cat >>confdefs.h <<\_ACEOF
116080 #define HAVE_FREXPL 1
116081 _ACEOF
116082
116083     cat >>confdefs.h <<\_ACEOF
116084 #define HAVE_LDEXPL 1
116085 _ACEOF
116086
116087     cat >>confdefs.h <<\_ACEOF
116088 #define HAVE_LOG10L 1
116089 _ACEOF
116090
116091     cat >>confdefs.h <<\_ACEOF
116092 #define HAVE_LOGL 1
116093 _ACEOF
116094
116095     cat >>confdefs.h <<\_ACEOF
116096 #define HAVE_MODFL 1
116097 _ACEOF
116098
116099     cat >>confdefs.h <<\_ACEOF
116100 #define HAVE_POWL 1
116101 _ACEOF
116102
116103     cat >>confdefs.h <<\_ACEOF
116104 #define HAVE_SINCOSL 1
116105 _ACEOF
116106
116107     cat >>confdefs.h <<\_ACEOF
116108 #define HAVE_SINL 1
116109 _ACEOF
116110
116111     cat >>confdefs.h <<\_ACEOF
116112 #define HAVE_SINHL 1
116113 _ACEOF
116114
116115     cat >>confdefs.h <<\_ACEOF
116116 #define HAVE_SQRTL 1
116117 _ACEOF
116118
116119     cat >>confdefs.h <<\_ACEOF
116120 #define HAVE_TANL 1
116121 _ACEOF
116122
116123     cat >>confdefs.h <<\_ACEOF
116124 #define HAVE_TANHL 1
116125 _ACEOF
116126
116127   fi
116128
116129   # Assume we have _Unwind_GetIPInfo for cross-compiles.
116130   cat >>confdefs.h <<\_ACEOF
116131 #define HAVE_GETIPINFO 1
116132 _ACEOF
116133
116134 fi
116135
116136  # Check whether --enable-linux-futex or --disable-linux-futex was given.
116137 if test "${enable_linux_futex+set}" = set; then
116138   enableval="$enable_linux_futex"
116139
116140       case "$enableval" in
116141        yes|no|default) ;;
116142        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
116143 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
116144    { (exit 1); exit 1; }; } ;;
116145                           esac
116146
116147 else
116148   enable_linux_futex=default
116149 fi;
116150
116151 case "$target" in
116152   *-linux*)
116153     case "$enable_linux_futex" in
116154       default)
116155         # If headers don't have gettid/futex syscalls definition, then
116156         # default to no, otherwise there will be compile time failures.
116157         # Otherwise, default to yes.  If we don't detect we are
116158         # compiled/linked against NPTL and not cross-compiling, check
116159         # if programs are run by default against NPTL and if not, issue
116160         # a warning.
116161         enable_linux_futex=no
116162         if test x$gcc_no_link = xyes; then
116163   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116165    { (exit 1); exit 1; }; }
116166 fi
116167 cat >conftest.$ac_ext <<_ACEOF
116168 /* confdefs.h.  */
116169 _ACEOF
116170 cat confdefs.h >>conftest.$ac_ext
116171 cat >>conftest.$ac_ext <<_ACEOF
116172 /* end confdefs.h.  */
116173 #include <sys/syscall.h>
116174            int lk;
116175 int
116176 main ()
116177 {
116178 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
116179   ;
116180   return 0;
116181 }
116182 _ACEOF
116183 rm -f conftest.$ac_objext conftest$ac_exeext
116184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116185   (eval $ac_link) 2>conftest.er1
116186   ac_status=$?
116187   grep -v '^ *+' conftest.er1 >conftest.err
116188   rm -f conftest.er1
116189   cat conftest.err >&5
116190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116191   (exit $ac_status); } &&
116192          { ac_try='test -z "$ac_c_werror_flag"
116193                          || test ! -s conftest.err'
116194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116195   (eval $ac_try) 2>&5
116196   ac_status=$?
116197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116198   (exit $ac_status); }; } &&
116199          { ac_try='test -s conftest$ac_exeext'
116200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116201   (eval $ac_try) 2>&5
116202   ac_status=$?
116203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116204   (exit $ac_status); }; }; then
116205   save_LIBS="$LIBS"
116206            LIBS="-lpthread $LIBS"
116207            if test x$gcc_no_link = xyes; then
116208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116210    { (exit 1); exit 1; }; }
116211 fi
116212 cat >conftest.$ac_ext <<_ACEOF
116213 /* confdefs.h.  */
116214 _ACEOF
116215 cat confdefs.h >>conftest.$ac_ext
116216 cat >>conftest.$ac_ext <<_ACEOF
116217 /* end confdefs.h.  */
116218 #ifndef _GNU_SOURCE
116219              #define _GNU_SOURCE 1
116220              #endif
116221              #include <pthread.h>
116222              pthread_t th; void *status;
116223 int
116224 main ()
116225 {
116226 pthread_tryjoin_np (th, &status);
116227   ;
116228   return 0;
116229 }
116230 _ACEOF
116231 rm -f conftest.$ac_objext conftest$ac_exeext
116232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116233   (eval $ac_link) 2>conftest.er1
116234   ac_status=$?
116235   grep -v '^ *+' conftest.er1 >conftest.err
116236   rm -f conftest.er1
116237   cat conftest.err >&5
116238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116239   (exit $ac_status); } &&
116240          { ac_try='test -z "$ac_c_werror_flag"
116241                          || test ! -s conftest.err'
116242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116243   (eval $ac_try) 2>&5
116244   ac_status=$?
116245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116246   (exit $ac_status); }; } &&
116247          { ac_try='test -s conftest$ac_exeext'
116248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116249   (eval $ac_try) 2>&5
116250   ac_status=$?
116251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116252   (exit $ac_status); }; }; then
116253   enable_linux_futex=yes
116254 else
116255   echo "$as_me: failed program was:" >&5
116256 sed 's/^/| /' conftest.$ac_ext >&5
116257
116258 if test x$cross_compiling = xno; then
116259                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
116260                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
116261                  { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
116262 If so, please configure with --disable-linux-futex" >&5
116263 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
116264 If so, please configure with --disable-linux-futex" >&2;}
116265                fi
116266              fi
116267              enable_linux_futex=yes
116268 fi
116269 rm -f conftest.err conftest.$ac_objext \
116270       conftest$ac_exeext conftest.$ac_ext
116271            LIBS="$save_LIBS"
116272 else
116273   echo "$as_me: failed program was:" >&5
116274 sed 's/^/| /' conftest.$ac_ext >&5
116275
116276 fi
116277 rm -f conftest.err conftest.$ac_objext \
116278       conftest$ac_exeext conftest.$ac_ext
116279         ;;
116280       yes)
116281         if test x$gcc_no_link = xyes; then
116282   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116284    { (exit 1); exit 1; }; }
116285 fi
116286 cat >conftest.$ac_ext <<_ACEOF
116287 /* confdefs.h.  */
116288 _ACEOF
116289 cat confdefs.h >>conftest.$ac_ext
116290 cat >>conftest.$ac_ext <<_ACEOF
116291 /* end confdefs.h.  */
116292 #include <sys/syscall.h>
116293            int lk;
116294 int
116295 main ()
116296 {
116297 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
116298   ;
116299   return 0;
116300 }
116301 _ACEOF
116302 rm -f conftest.$ac_objext conftest$ac_exeext
116303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116304   (eval $ac_link) 2>conftest.er1
116305   ac_status=$?
116306   grep -v '^ *+' conftest.er1 >conftest.err
116307   rm -f conftest.er1
116308   cat conftest.err >&5
116309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116310   (exit $ac_status); } &&
116311          { ac_try='test -z "$ac_c_werror_flag"
116312                          || test ! -s conftest.err'
116313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116314   (eval $ac_try) 2>&5
116315   ac_status=$?
116316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116317   (exit $ac_status); }; } &&
116318          { ac_try='test -s conftest$ac_exeext'
116319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116320   (eval $ac_try) 2>&5
116321   ac_status=$?
116322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116323   (exit $ac_status); }; }; then
116324   :
116325 else
116326   echo "$as_me: failed program was:" >&5
116327 sed 's/^/| /' conftest.$ac_ext >&5
116328
116329 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
116330 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
116331    { (exit 1); exit 1; }; }
116332 fi
116333 rm -f conftest.err conftest.$ac_objext \
116334       conftest$ac_exeext conftest.$ac_ext
116335         ;;
116336     esac
116337     ;;
116338   *)
116339     enable_linux_futex=no
116340     ;;
116341 esac
116342 if test x$enable_linux_futex = xyes; then
116343
116344 cat >>confdefs.h <<\_ACEOF
116345 #define HAVE_LINUX_FUTEX 1
116346 _ACEOF
116347
116348 fi
116349
116350
116351
116352
116353 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
116354
116355 acx_cv_header_stdint=stddef.h
116356 acx_cv_header_stdint_kind="(already complete)"
116357 for i in stdint.h $inttype_headers; do
116358   unset ac_cv_type_uintptr_t
116359   unset ac_cv_type_uintmax_t
116360   unset ac_cv_type_int_least32_t
116361   unset ac_cv_type_int_fast32_t
116362   unset ac_cv_type_uint64_t
116363   echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
116364   echo "$as_me:$LINENO: checking for uintmax_t" >&5
116365 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
116366 if test "${ac_cv_type_uintmax_t+set}" = set; then
116367   echo $ECHO_N "(cached) $ECHO_C" >&6
116368 else
116369   cat >conftest.$ac_ext <<_ACEOF
116370 /* confdefs.h.  */
116371 _ACEOF
116372 cat confdefs.h >>conftest.$ac_ext
116373 cat >>conftest.$ac_ext <<_ACEOF
116374 /* end confdefs.h.  */
116375 #include <sys/types.h>
116376 #include <$i>
116377
116378 int
116379 main ()
116380 {
116381 if ((uintmax_t *) 0)
116382   return 0;
116383 if (sizeof (uintmax_t))
116384   return 0;
116385   ;
116386   return 0;
116387 }
116388 _ACEOF
116389 rm -f conftest.$ac_objext
116390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116391   (eval $ac_compile) 2>conftest.er1
116392   ac_status=$?
116393   grep -v '^ *+' conftest.er1 >conftest.err
116394   rm -f conftest.er1
116395   cat conftest.err >&5
116396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116397   (exit $ac_status); } &&
116398          { ac_try='test -z "$ac_c_werror_flag"
116399                          || test ! -s conftest.err'
116400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116401   (eval $ac_try) 2>&5
116402   ac_status=$?
116403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116404   (exit $ac_status); }; } &&
116405          { ac_try='test -s conftest.$ac_objext'
116406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116407   (eval $ac_try) 2>&5
116408   ac_status=$?
116409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116410   (exit $ac_status); }; }; then
116411   ac_cv_type_uintmax_t=yes
116412 else
116413   echo "$as_me: failed program was:" >&5
116414 sed 's/^/| /' conftest.$ac_ext >&5
116415
116416 ac_cv_type_uintmax_t=no
116417 fi
116418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116419 fi
116420 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
116421 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
116422 if test $ac_cv_type_uintmax_t = yes; then
116423   acx_cv_header_stdint=$i
116424 else
116425   continue
116426 fi
116427
116428   echo "$as_me:$LINENO: checking for uintptr_t" >&5
116429 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
116430 if test "${ac_cv_type_uintptr_t+set}" = set; then
116431   echo $ECHO_N "(cached) $ECHO_C" >&6
116432 else
116433   cat >conftest.$ac_ext <<_ACEOF
116434 /* confdefs.h.  */
116435 _ACEOF
116436 cat confdefs.h >>conftest.$ac_ext
116437 cat >>conftest.$ac_ext <<_ACEOF
116438 /* end confdefs.h.  */
116439 #include <sys/types.h>
116440 #include <$i>
116441
116442 int
116443 main ()
116444 {
116445 if ((uintptr_t *) 0)
116446   return 0;
116447 if (sizeof (uintptr_t))
116448   return 0;
116449   ;
116450   return 0;
116451 }
116452 _ACEOF
116453 rm -f conftest.$ac_objext
116454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116455   (eval $ac_compile) 2>conftest.er1
116456   ac_status=$?
116457   grep -v '^ *+' conftest.er1 >conftest.err
116458   rm -f conftest.er1
116459   cat conftest.err >&5
116460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116461   (exit $ac_status); } &&
116462          { ac_try='test -z "$ac_c_werror_flag"
116463                          || test ! -s conftest.err'
116464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116465   (eval $ac_try) 2>&5
116466   ac_status=$?
116467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116468   (exit $ac_status); }; } &&
116469          { ac_try='test -s conftest.$ac_objext'
116470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116471   (eval $ac_try) 2>&5
116472   ac_status=$?
116473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116474   (exit $ac_status); }; }; then
116475   ac_cv_type_uintptr_t=yes
116476 else
116477   echo "$as_me: failed program was:" >&5
116478 sed 's/^/| /' conftest.$ac_ext >&5
116479
116480 ac_cv_type_uintptr_t=no
116481 fi
116482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116483 fi
116484 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
116485 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
116486 if test $ac_cv_type_uintptr_t = yes; then
116487   :
116488 else
116489   acx_cv_header_stdint_kind="(mostly complete)"
116490 fi
116491
116492   echo "$as_me:$LINENO: checking for int_least32_t" >&5
116493 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
116494 if test "${ac_cv_type_int_least32_t+set}" = set; then
116495   echo $ECHO_N "(cached) $ECHO_C" >&6
116496 else
116497   cat >conftest.$ac_ext <<_ACEOF
116498 /* confdefs.h.  */
116499 _ACEOF
116500 cat confdefs.h >>conftest.$ac_ext
116501 cat >>conftest.$ac_ext <<_ACEOF
116502 /* end confdefs.h.  */
116503 #include <sys/types.h>
116504 #include <$i>
116505
116506 int
116507 main ()
116508 {
116509 if ((int_least32_t *) 0)
116510   return 0;
116511 if (sizeof (int_least32_t))
116512   return 0;
116513   ;
116514   return 0;
116515 }
116516 _ACEOF
116517 rm -f conftest.$ac_objext
116518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116519   (eval $ac_compile) 2>conftest.er1
116520   ac_status=$?
116521   grep -v '^ *+' conftest.er1 >conftest.err
116522   rm -f conftest.er1
116523   cat conftest.err >&5
116524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116525   (exit $ac_status); } &&
116526          { ac_try='test -z "$ac_c_werror_flag"
116527                          || test ! -s conftest.err'
116528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116529   (eval $ac_try) 2>&5
116530   ac_status=$?
116531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116532   (exit $ac_status); }; } &&
116533          { ac_try='test -s conftest.$ac_objext'
116534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116535   (eval $ac_try) 2>&5
116536   ac_status=$?
116537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116538   (exit $ac_status); }; }; then
116539   ac_cv_type_int_least32_t=yes
116540 else
116541   echo "$as_me: failed program was:" >&5
116542 sed 's/^/| /' conftest.$ac_ext >&5
116543
116544 ac_cv_type_int_least32_t=no
116545 fi
116546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116547 fi
116548 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
116549 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
116550 if test $ac_cv_type_int_least32_t = yes; then
116551   :
116552 else
116553   acx_cv_header_stdint_kind="(mostly complete)"
116554 fi
116555
116556   echo "$as_me:$LINENO: checking for int_fast32_t" >&5
116557 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
116558 if test "${ac_cv_type_int_fast32_t+set}" = set; then
116559   echo $ECHO_N "(cached) $ECHO_C" >&6
116560 else
116561   cat >conftest.$ac_ext <<_ACEOF
116562 /* confdefs.h.  */
116563 _ACEOF
116564 cat confdefs.h >>conftest.$ac_ext
116565 cat >>conftest.$ac_ext <<_ACEOF
116566 /* end confdefs.h.  */
116567 #include <sys/types.h>
116568 #include <$i>
116569
116570 int
116571 main ()
116572 {
116573 if ((int_fast32_t *) 0)
116574   return 0;
116575 if (sizeof (int_fast32_t))
116576   return 0;
116577   ;
116578   return 0;
116579 }
116580 _ACEOF
116581 rm -f conftest.$ac_objext
116582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116583   (eval $ac_compile) 2>conftest.er1
116584   ac_status=$?
116585   grep -v '^ *+' conftest.er1 >conftest.err
116586   rm -f conftest.er1
116587   cat conftest.err >&5
116588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116589   (exit $ac_status); } &&
116590          { ac_try='test -z "$ac_c_werror_flag"
116591                          || test ! -s conftest.err'
116592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116593   (eval $ac_try) 2>&5
116594   ac_status=$?
116595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116596   (exit $ac_status); }; } &&
116597          { ac_try='test -s conftest.$ac_objext'
116598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116599   (eval $ac_try) 2>&5
116600   ac_status=$?
116601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116602   (exit $ac_status); }; }; then
116603   ac_cv_type_int_fast32_t=yes
116604 else
116605   echo "$as_me: failed program was:" >&5
116606 sed 's/^/| /' conftest.$ac_ext >&5
116607
116608 ac_cv_type_int_fast32_t=no
116609 fi
116610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116611 fi
116612 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
116613 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
116614 if test $ac_cv_type_int_fast32_t = yes; then
116615   :
116616 else
116617   acx_cv_header_stdint_kind="(mostly complete)"
116618 fi
116619
116620   echo "$as_me:$LINENO: checking for uint64_t" >&5
116621 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
116622 if test "${ac_cv_type_uint64_t+set}" = set; then
116623   echo $ECHO_N "(cached) $ECHO_C" >&6
116624 else
116625   cat >conftest.$ac_ext <<_ACEOF
116626 /* confdefs.h.  */
116627 _ACEOF
116628 cat confdefs.h >>conftest.$ac_ext
116629 cat >>conftest.$ac_ext <<_ACEOF
116630 /* end confdefs.h.  */
116631 #include <sys/types.h>
116632 #include <$i>
116633
116634 int
116635 main ()
116636 {
116637 if ((uint64_t *) 0)
116638   return 0;
116639 if (sizeof (uint64_t))
116640   return 0;
116641   ;
116642   return 0;
116643 }
116644 _ACEOF
116645 rm -f conftest.$ac_objext
116646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116647   (eval $ac_compile) 2>conftest.er1
116648   ac_status=$?
116649   grep -v '^ *+' conftest.er1 >conftest.err
116650   rm -f conftest.er1
116651   cat conftest.err >&5
116652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116653   (exit $ac_status); } &&
116654          { ac_try='test -z "$ac_c_werror_flag"
116655                          || test ! -s conftest.err'
116656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116657   (eval $ac_try) 2>&5
116658   ac_status=$?
116659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116660   (exit $ac_status); }; } &&
116661          { ac_try='test -s conftest.$ac_objext'
116662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116663   (eval $ac_try) 2>&5
116664   ac_status=$?
116665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116666   (exit $ac_status); }; }; then
116667   ac_cv_type_uint64_t=yes
116668 else
116669   echo "$as_me: failed program was:" >&5
116670 sed 's/^/| /' conftest.$ac_ext >&5
116671
116672 ac_cv_type_uint64_t=no
116673 fi
116674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116675 fi
116676 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
116677 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
116678 if test $ac_cv_type_uint64_t = yes; then
116679   :
116680 else
116681   acx_cv_header_stdint_kind="(lacks uint64_t)"
116682 fi
116683
116684   break
116685 done
116686 if test "$acx_cv_header_stdint" = stddef.h; then
116687   acx_cv_header_stdint_kind="(lacks uintmax_t)"
116688   for i in stdint.h $inttype_headers; do
116689     unset ac_cv_type_uintptr_t
116690     unset ac_cv_type_uint32_t
116691     unset ac_cv_type_uint64_t
116692     echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
116693     echo "$as_me:$LINENO: checking for uint32_t" >&5
116694 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
116695 if test "${ac_cv_type_uint32_t+set}" = set; then
116696   echo $ECHO_N "(cached) $ECHO_C" >&6
116697 else
116698   cat >conftest.$ac_ext <<_ACEOF
116699 /* confdefs.h.  */
116700 _ACEOF
116701 cat confdefs.h >>conftest.$ac_ext
116702 cat >>conftest.$ac_ext <<_ACEOF
116703 /* end confdefs.h.  */
116704 #include <sys/types.h>
116705 #include <$i>
116706
116707 int
116708 main ()
116709 {
116710 if ((uint32_t *) 0)
116711   return 0;
116712 if (sizeof (uint32_t))
116713   return 0;
116714   ;
116715   return 0;
116716 }
116717 _ACEOF
116718 rm -f conftest.$ac_objext
116719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116720   (eval $ac_compile) 2>conftest.er1
116721   ac_status=$?
116722   grep -v '^ *+' conftest.er1 >conftest.err
116723   rm -f conftest.er1
116724   cat conftest.err >&5
116725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116726   (exit $ac_status); } &&
116727          { ac_try='test -z "$ac_c_werror_flag"
116728                          || test ! -s conftest.err'
116729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116730   (eval $ac_try) 2>&5
116731   ac_status=$?
116732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116733   (exit $ac_status); }; } &&
116734          { ac_try='test -s conftest.$ac_objext'
116735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116736   (eval $ac_try) 2>&5
116737   ac_status=$?
116738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116739   (exit $ac_status); }; }; then
116740   ac_cv_type_uint32_t=yes
116741 else
116742   echo "$as_me: failed program was:" >&5
116743 sed 's/^/| /' conftest.$ac_ext >&5
116744
116745 ac_cv_type_uint32_t=no
116746 fi
116747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116748 fi
116749 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
116750 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
116751 if test $ac_cv_type_uint32_t = yes; then
116752   acx_cv_header_stdint=$i
116753 else
116754   continue
116755 fi
116756
116757     echo "$as_me:$LINENO: checking for uint64_t" >&5
116758 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
116759 if test "${ac_cv_type_uint64_t+set}" = set; then
116760   echo $ECHO_N "(cached) $ECHO_C" >&6
116761 else
116762   cat >conftest.$ac_ext <<_ACEOF
116763 /* confdefs.h.  */
116764 _ACEOF
116765 cat confdefs.h >>conftest.$ac_ext
116766 cat >>conftest.$ac_ext <<_ACEOF
116767 /* end confdefs.h.  */
116768 #include <sys/types.h>
116769 #include <$i>
116770
116771 int
116772 main ()
116773 {
116774 if ((uint64_t *) 0)
116775   return 0;
116776 if (sizeof (uint64_t))
116777   return 0;
116778   ;
116779   return 0;
116780 }
116781 _ACEOF
116782 rm -f conftest.$ac_objext
116783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116784   (eval $ac_compile) 2>conftest.er1
116785   ac_status=$?
116786   grep -v '^ *+' conftest.er1 >conftest.err
116787   rm -f conftest.er1
116788   cat conftest.err >&5
116789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116790   (exit $ac_status); } &&
116791          { ac_try='test -z "$ac_c_werror_flag"
116792                          || test ! -s conftest.err'
116793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116794   (eval $ac_try) 2>&5
116795   ac_status=$?
116796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116797   (exit $ac_status); }; } &&
116798          { ac_try='test -s conftest.$ac_objext'
116799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116800   (eval $ac_try) 2>&5
116801   ac_status=$?
116802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116803   (exit $ac_status); }; }; then
116804   ac_cv_type_uint64_t=yes
116805 else
116806   echo "$as_me: failed program was:" >&5
116807 sed 's/^/| /' conftest.$ac_ext >&5
116808
116809 ac_cv_type_uint64_t=no
116810 fi
116811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116812 fi
116813 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
116814 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
116815
116816     echo "$as_me:$LINENO: checking for uintptr_t" >&5
116817 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
116818 if test "${ac_cv_type_uintptr_t+set}" = set; then
116819   echo $ECHO_N "(cached) $ECHO_C" >&6
116820 else
116821   cat >conftest.$ac_ext <<_ACEOF
116822 /* confdefs.h.  */
116823 _ACEOF
116824 cat confdefs.h >>conftest.$ac_ext
116825 cat >>conftest.$ac_ext <<_ACEOF
116826 /* end confdefs.h.  */
116827 #include <sys/types.h>
116828 #include <$i>
116829
116830 int
116831 main ()
116832 {
116833 if ((uintptr_t *) 0)
116834   return 0;
116835 if (sizeof (uintptr_t))
116836   return 0;
116837   ;
116838   return 0;
116839 }
116840 _ACEOF
116841 rm -f conftest.$ac_objext
116842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116843   (eval $ac_compile) 2>conftest.er1
116844   ac_status=$?
116845   grep -v '^ *+' conftest.er1 >conftest.err
116846   rm -f conftest.er1
116847   cat conftest.err >&5
116848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116849   (exit $ac_status); } &&
116850          { ac_try='test -z "$ac_c_werror_flag"
116851                          || test ! -s conftest.err'
116852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116853   (eval $ac_try) 2>&5
116854   ac_status=$?
116855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116856   (exit $ac_status); }; } &&
116857          { ac_try='test -s conftest.$ac_objext'
116858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116859   (eval $ac_try) 2>&5
116860   ac_status=$?
116861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116862   (exit $ac_status); }; }; then
116863   ac_cv_type_uintptr_t=yes
116864 else
116865   echo "$as_me: failed program was:" >&5
116866 sed 's/^/| /' conftest.$ac_ext >&5
116867
116868 ac_cv_type_uintptr_t=no
116869 fi
116870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116871 fi
116872 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
116873 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
116874
116875     break
116876   done
116877 fi
116878 if test "$acx_cv_header_stdint" = stddef.h; then
116879   acx_cv_header_stdint_kind="(u_intXX_t style)"
116880   for i in sys/types.h $inttype_headers; do
116881     unset ac_cv_type_u_int32_t
116882     unset ac_cv_type_u_int64_t
116883     echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
116884     echo "$as_me:$LINENO: checking for u_int32_t" >&5
116885 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
116886 if test "${ac_cv_type_u_int32_t+set}" = set; then
116887   echo $ECHO_N "(cached) $ECHO_C" >&6
116888 else
116889   cat >conftest.$ac_ext <<_ACEOF
116890 /* confdefs.h.  */
116891 _ACEOF
116892 cat confdefs.h >>conftest.$ac_ext
116893 cat >>conftest.$ac_ext <<_ACEOF
116894 /* end confdefs.h.  */
116895 #include <sys/types.h>
116896 #include <$i>
116897
116898 int
116899 main ()
116900 {
116901 if ((u_int32_t *) 0)
116902   return 0;
116903 if (sizeof (u_int32_t))
116904   return 0;
116905   ;
116906   return 0;
116907 }
116908 _ACEOF
116909 rm -f conftest.$ac_objext
116910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116911   (eval $ac_compile) 2>conftest.er1
116912   ac_status=$?
116913   grep -v '^ *+' conftest.er1 >conftest.err
116914   rm -f conftest.er1
116915   cat conftest.err >&5
116916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116917   (exit $ac_status); } &&
116918          { ac_try='test -z "$ac_c_werror_flag"
116919                          || test ! -s conftest.err'
116920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116921   (eval $ac_try) 2>&5
116922   ac_status=$?
116923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116924   (exit $ac_status); }; } &&
116925          { ac_try='test -s conftest.$ac_objext'
116926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116927   (eval $ac_try) 2>&5
116928   ac_status=$?
116929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116930   (exit $ac_status); }; }; then
116931   ac_cv_type_u_int32_t=yes
116932 else
116933   echo "$as_me: failed program was:" >&5
116934 sed 's/^/| /' conftest.$ac_ext >&5
116935
116936 ac_cv_type_u_int32_t=no
116937 fi
116938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116939 fi
116940 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
116941 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
116942 if test $ac_cv_type_u_int32_t = yes; then
116943   acx_cv_header_stdint=$i
116944 else
116945   continue
116946 fi
116947
116948     echo "$as_me:$LINENO: checking for u_int64_t" >&5
116949 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
116950 if test "${ac_cv_type_u_int64_t+set}" = set; then
116951   echo $ECHO_N "(cached) $ECHO_C" >&6
116952 else
116953   cat >conftest.$ac_ext <<_ACEOF
116954 /* confdefs.h.  */
116955 _ACEOF
116956 cat confdefs.h >>conftest.$ac_ext
116957 cat >>conftest.$ac_ext <<_ACEOF
116958 /* end confdefs.h.  */
116959 #include <sys/types.h>
116960 #include <$i>
116961
116962 int
116963 main ()
116964 {
116965 if ((u_int64_t *) 0)
116966   return 0;
116967 if (sizeof (u_int64_t))
116968   return 0;
116969   ;
116970   return 0;
116971 }
116972 _ACEOF
116973 rm -f conftest.$ac_objext
116974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116975   (eval $ac_compile) 2>conftest.er1
116976   ac_status=$?
116977   grep -v '^ *+' conftest.er1 >conftest.err
116978   rm -f conftest.er1
116979   cat conftest.err >&5
116980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116981   (exit $ac_status); } &&
116982          { ac_try='test -z "$ac_c_werror_flag"
116983                          || test ! -s conftest.err'
116984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116985   (eval $ac_try) 2>&5
116986   ac_status=$?
116987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116988   (exit $ac_status); }; } &&
116989          { ac_try='test -s conftest.$ac_objext'
116990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116991   (eval $ac_try) 2>&5
116992   ac_status=$?
116993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116994   (exit $ac_status); }; }; then
116995   ac_cv_type_u_int64_t=yes
116996 else
116997   echo "$as_me: failed program was:" >&5
116998 sed 's/^/| /' conftest.$ac_ext >&5
116999
117000 ac_cv_type_u_int64_t=no
117001 fi
117002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117003 fi
117004 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
117005 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
117006
117007     break
117008   done
117009 fi
117010 if test "$acx_cv_header_stdint" = stddef.h; then
117011   acx_cv_header_stdint_kind="(using manual detection)"
117012 fi
117013
117014 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
117015 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
117016 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
117017 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
117018 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
117019
117020 # ----------------- Summarize what we found so far
117021
117022 echo "$as_me:$LINENO: checking what to include in include/gstdint.h" >&5
117023 echo $ECHO_N "checking what to include in include/gstdint.h... $ECHO_C" >&6
117024
117025 case `$as_basename include/gstdint.h ||
117026 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
117027          Xinclude/gstdint.h : 'X\(//\)$' \| \
117028          Xinclude/gstdint.h : 'X\(/\)$' \| \
117029          .     : '\(.\)' 2>/dev/null ||
117030 echo X/include/gstdint.h |
117031     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
117032           /^X\/\(\/\/\)$/{ s//\1/; q; }
117033           /^X\/\(\/\).*/{ s//\1/; q; }
117034           s/.*/./; q'` in
117035   stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
117036 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
117037   inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
117038 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
117039   *) ;;
117040 esac
117041
117042 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
117043 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
117044
117045 # ----------------- done included file, check C basic types --------
117046
117047 # Lacking an uintptr_t?  Test size of void *
117048 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
117049   stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
117050 echo $ECHO_N "checking for void *... $ECHO_C" >&6
117051 if test "${ac_cv_type_void_p+set}" = set; then
117052   echo $ECHO_N "(cached) $ECHO_C" >&6
117053 else
117054   cat >conftest.$ac_ext <<_ACEOF
117055 /* confdefs.h.  */
117056 _ACEOF
117057 cat confdefs.h >>conftest.$ac_ext
117058 cat >>conftest.$ac_ext <<_ACEOF
117059 /* end confdefs.h.  */
117060 $ac_includes_default
117061 int
117062 main ()
117063 {
117064 if ((void * *) 0)
117065   return 0;
117066 if (sizeof (void *))
117067   return 0;
117068   ;
117069   return 0;
117070 }
117071 _ACEOF
117072 rm -f conftest.$ac_objext
117073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117074   (eval $ac_compile) 2>conftest.er1
117075   ac_status=$?
117076   grep -v '^ *+' conftest.er1 >conftest.err
117077   rm -f conftest.er1
117078   cat conftest.err >&5
117079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117080   (exit $ac_status); } &&
117081          { ac_try='test -z "$ac_c_werror_flag"
117082                          || test ! -s conftest.err'
117083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117084   (eval $ac_try) 2>&5
117085   ac_status=$?
117086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117087   (exit $ac_status); }; } &&
117088          { ac_try='test -s conftest.$ac_objext'
117089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117090   (eval $ac_try) 2>&5
117091   ac_status=$?
117092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117093   (exit $ac_status); }; }; then
117094   ac_cv_type_void_p=yes
117095 else
117096   echo "$as_me: failed program was:" >&5
117097 sed 's/^/| /' conftest.$ac_ext >&5
117098
117099 ac_cv_type_void_p=no
117100 fi
117101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117102 fi
117103 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
117104 echo "${ECHO_T}$ac_cv_type_void_p" >&6
117105
117106 echo "$as_me:$LINENO: checking size of void *" >&5
117107 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
117108 if test "${ac_cv_sizeof_void_p+set}" = set; then
117109   echo $ECHO_N "(cached) $ECHO_C" >&6
117110 else
117111   if test "$ac_cv_type_void_p" = yes; then
117112   # The cast to unsigned long works around a bug in the HP C Compiler
117113   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
117114   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
117115   # This bug is HP SR number 8606223364.
117116   if test "$cross_compiling" = yes; then
117117   # Depending upon the size, compute the lo and hi bounds.
117118 cat >conftest.$ac_ext <<_ACEOF
117119 /* confdefs.h.  */
117120 _ACEOF
117121 cat confdefs.h >>conftest.$ac_ext
117122 cat >>conftest.$ac_ext <<_ACEOF
117123 /* end confdefs.h.  */
117124 $ac_includes_default
117125 int
117126 main ()
117127 {
117128 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
117129 test_array [0] = 0
117130
117131   ;
117132   return 0;
117133 }
117134 _ACEOF
117135 rm -f conftest.$ac_objext
117136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117137   (eval $ac_compile) 2>conftest.er1
117138   ac_status=$?
117139   grep -v '^ *+' conftest.er1 >conftest.err
117140   rm -f conftest.er1
117141   cat conftest.err >&5
117142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117143   (exit $ac_status); } &&
117144          { ac_try='test -z "$ac_c_werror_flag"
117145                          || test ! -s conftest.err'
117146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117147   (eval $ac_try) 2>&5
117148   ac_status=$?
117149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117150   (exit $ac_status); }; } &&
117151          { ac_try='test -s conftest.$ac_objext'
117152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117153   (eval $ac_try) 2>&5
117154   ac_status=$?
117155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117156   (exit $ac_status); }; }; then
117157   ac_lo=0 ac_mid=0
117158   while :; do
117159     cat >conftest.$ac_ext <<_ACEOF
117160 /* confdefs.h.  */
117161 _ACEOF
117162 cat confdefs.h >>conftest.$ac_ext
117163 cat >>conftest.$ac_ext <<_ACEOF
117164 /* end confdefs.h.  */
117165 $ac_includes_default
117166 int
117167 main ()
117168 {
117169 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
117170 test_array [0] = 0
117171
117172   ;
117173   return 0;
117174 }
117175 _ACEOF
117176 rm -f conftest.$ac_objext
117177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117178   (eval $ac_compile) 2>conftest.er1
117179   ac_status=$?
117180   grep -v '^ *+' conftest.er1 >conftest.err
117181   rm -f conftest.er1
117182   cat conftest.err >&5
117183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117184   (exit $ac_status); } &&
117185          { ac_try='test -z "$ac_c_werror_flag"
117186                          || test ! -s conftest.err'
117187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117188   (eval $ac_try) 2>&5
117189   ac_status=$?
117190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117191   (exit $ac_status); }; } &&
117192          { ac_try='test -s conftest.$ac_objext'
117193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117194   (eval $ac_try) 2>&5
117195   ac_status=$?
117196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117197   (exit $ac_status); }; }; then
117198   ac_hi=$ac_mid; break
117199 else
117200   echo "$as_me: failed program was:" >&5
117201 sed 's/^/| /' conftest.$ac_ext >&5
117202
117203 ac_lo=`expr $ac_mid + 1`
117204                     if test $ac_lo -le $ac_mid; then
117205                       ac_lo= ac_hi=
117206                       break
117207                     fi
117208                     ac_mid=`expr 2 '*' $ac_mid + 1`
117209 fi
117210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117211   done
117212 else
117213   echo "$as_me: failed program was:" >&5
117214 sed 's/^/| /' conftest.$ac_ext >&5
117215
117216 cat >conftest.$ac_ext <<_ACEOF
117217 /* confdefs.h.  */
117218 _ACEOF
117219 cat confdefs.h >>conftest.$ac_ext
117220 cat >>conftest.$ac_ext <<_ACEOF
117221 /* end confdefs.h.  */
117222 $ac_includes_default
117223 int
117224 main ()
117225 {
117226 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
117227 test_array [0] = 0
117228
117229   ;
117230   return 0;
117231 }
117232 _ACEOF
117233 rm -f conftest.$ac_objext
117234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117235   (eval $ac_compile) 2>conftest.er1
117236   ac_status=$?
117237   grep -v '^ *+' conftest.er1 >conftest.err
117238   rm -f conftest.er1
117239   cat conftest.err >&5
117240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117241   (exit $ac_status); } &&
117242          { ac_try='test -z "$ac_c_werror_flag"
117243                          || test ! -s conftest.err'
117244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117245   (eval $ac_try) 2>&5
117246   ac_status=$?
117247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117248   (exit $ac_status); }; } &&
117249          { ac_try='test -s conftest.$ac_objext'
117250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117251   (eval $ac_try) 2>&5
117252   ac_status=$?
117253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117254   (exit $ac_status); }; }; then
117255   ac_hi=-1 ac_mid=-1
117256   while :; do
117257     cat >conftest.$ac_ext <<_ACEOF
117258 /* confdefs.h.  */
117259 _ACEOF
117260 cat confdefs.h >>conftest.$ac_ext
117261 cat >>conftest.$ac_ext <<_ACEOF
117262 /* end confdefs.h.  */
117263 $ac_includes_default
117264 int
117265 main ()
117266 {
117267 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
117268 test_array [0] = 0
117269
117270   ;
117271   return 0;
117272 }
117273 _ACEOF
117274 rm -f conftest.$ac_objext
117275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117276   (eval $ac_compile) 2>conftest.er1
117277   ac_status=$?
117278   grep -v '^ *+' conftest.er1 >conftest.err
117279   rm -f conftest.er1
117280   cat conftest.err >&5
117281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117282   (exit $ac_status); } &&
117283          { ac_try='test -z "$ac_c_werror_flag"
117284                          || test ! -s conftest.err'
117285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117286   (eval $ac_try) 2>&5
117287   ac_status=$?
117288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117289   (exit $ac_status); }; } &&
117290          { ac_try='test -s conftest.$ac_objext'
117291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117292   (eval $ac_try) 2>&5
117293   ac_status=$?
117294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117295   (exit $ac_status); }; }; then
117296   ac_lo=$ac_mid; break
117297 else
117298   echo "$as_me: failed program was:" >&5
117299 sed 's/^/| /' conftest.$ac_ext >&5
117300
117301 ac_hi=`expr '(' $ac_mid ')' - 1`
117302                        if test $ac_mid -le $ac_hi; then
117303                          ac_lo= ac_hi=
117304                          break
117305                        fi
117306                        ac_mid=`expr 2 '*' $ac_mid`
117307 fi
117308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117309   done
117310 else
117311   echo "$as_me: failed program was:" >&5
117312 sed 's/^/| /' conftest.$ac_ext >&5
117313
117314 ac_lo= ac_hi=
117315 fi
117316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117317 fi
117318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117319 # Binary search between lo and hi bounds.
117320 while test "x$ac_lo" != "x$ac_hi"; do
117321   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
117322   cat >conftest.$ac_ext <<_ACEOF
117323 /* confdefs.h.  */
117324 _ACEOF
117325 cat confdefs.h >>conftest.$ac_ext
117326 cat >>conftest.$ac_ext <<_ACEOF
117327 /* end confdefs.h.  */
117328 $ac_includes_default
117329 int
117330 main ()
117331 {
117332 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
117333 test_array [0] = 0
117334
117335   ;
117336   return 0;
117337 }
117338 _ACEOF
117339 rm -f conftest.$ac_objext
117340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117341   (eval $ac_compile) 2>conftest.er1
117342   ac_status=$?
117343   grep -v '^ *+' conftest.er1 >conftest.err
117344   rm -f conftest.er1
117345   cat conftest.err >&5
117346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117347   (exit $ac_status); } &&
117348          { ac_try='test -z "$ac_c_werror_flag"
117349                          || test ! -s conftest.err'
117350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117351   (eval $ac_try) 2>&5
117352   ac_status=$?
117353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117354   (exit $ac_status); }; } &&
117355          { ac_try='test -s conftest.$ac_objext'
117356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117357   (eval $ac_try) 2>&5
117358   ac_status=$?
117359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117360   (exit $ac_status); }; }; then
117361   ac_hi=$ac_mid
117362 else
117363   echo "$as_me: failed program was:" >&5
117364 sed 's/^/| /' conftest.$ac_ext >&5
117365
117366 ac_lo=`expr '(' $ac_mid ')' + 1`
117367 fi
117368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117369 done
117370 case $ac_lo in
117371 ?*) ac_cv_sizeof_void_p=$ac_lo;;
117372 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
117373 See \`config.log' for more details." >&5
117374 echo "$as_me: error: cannot compute sizeof (void *), 77
117375 See \`config.log' for more details." >&2;}
117376    { (exit 1); exit 1; }; } ;;
117377 esac
117378 else
117379   if test "$cross_compiling" = yes; then
117380   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
117381 See \`config.log' for more details." >&5
117382 echo "$as_me: error: cannot run test program while cross compiling
117383 See \`config.log' for more details." >&2;}
117384    { (exit 1); exit 1; }; }
117385 else
117386   cat >conftest.$ac_ext <<_ACEOF
117387 /* confdefs.h.  */
117388 _ACEOF
117389 cat confdefs.h >>conftest.$ac_ext
117390 cat >>conftest.$ac_ext <<_ACEOF
117391 /* end confdefs.h.  */
117392 $ac_includes_default
117393 long longval () { return (long) (sizeof (void *)); }
117394 unsigned long ulongval () { return (long) (sizeof (void *)); }
117395 #include <stdio.h>
117396 #include <stdlib.h>
117397 int
117398 main ()
117399 {
117400
117401   FILE *f = fopen ("conftest.val", "w");
117402   if (! f)
117403     exit (1);
117404   if (((long) (sizeof (void *))) < 0)
117405     {
117406       long i = longval ();
117407       if (i != ((long) (sizeof (void *))))
117408         exit (1);
117409       fprintf (f, "%ld\n", i);
117410     }
117411   else
117412     {
117413       unsigned long i = ulongval ();
117414       if (i != ((long) (sizeof (void *))))
117415         exit (1);
117416       fprintf (f, "%lu\n", i);
117417     }
117418   exit (ferror (f) || fclose (f) != 0);
117419
117420   ;
117421   return 0;
117422 }
117423 _ACEOF
117424 rm -f conftest$ac_exeext
117425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117426   (eval $ac_link) 2>&5
117427   ac_status=$?
117428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117429   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
117430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117431   (eval $ac_try) 2>&5
117432   ac_status=$?
117433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117434   (exit $ac_status); }; }; then
117435   ac_cv_sizeof_void_p=`cat conftest.val`
117436 else
117437   echo "$as_me: program exited with status $ac_status" >&5
117438 echo "$as_me: failed program was:" >&5
117439 sed 's/^/| /' conftest.$ac_ext >&5
117440
117441 ( exit $ac_status )
117442 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
117443 See \`config.log' for more details." >&5
117444 echo "$as_me: error: cannot compute sizeof (void *), 77
117445 See \`config.log' for more details." >&2;}
117446    { (exit 1); exit 1; }; }
117447 fi
117448 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
117449 fi
117450 fi
117451 rm -f conftest.val
117452 else
117453   ac_cv_sizeof_void_p=0
117454 fi
117455 fi
117456 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
117457 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
117458 cat >>confdefs.h <<_ACEOF
117459 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
117460 _ACEOF
117461
117462  ;;
117463 esac
117464
117465 # Lacking an uint64_t?  Test size of long
117466 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
117467   stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
117468 echo $ECHO_N "checking for long... $ECHO_C" >&6
117469 if test "${ac_cv_type_long+set}" = set; then
117470   echo $ECHO_N "(cached) $ECHO_C" >&6
117471 else
117472   cat >conftest.$ac_ext <<_ACEOF
117473 /* confdefs.h.  */
117474 _ACEOF
117475 cat confdefs.h >>conftest.$ac_ext
117476 cat >>conftest.$ac_ext <<_ACEOF
117477 /* end confdefs.h.  */
117478 $ac_includes_default
117479 int
117480 main ()
117481 {
117482 if ((long *) 0)
117483   return 0;
117484 if (sizeof (long))
117485   return 0;
117486   ;
117487   return 0;
117488 }
117489 _ACEOF
117490 rm -f conftest.$ac_objext
117491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117492   (eval $ac_compile) 2>conftest.er1
117493   ac_status=$?
117494   grep -v '^ *+' conftest.er1 >conftest.err
117495   rm -f conftest.er1
117496   cat conftest.err >&5
117497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117498   (exit $ac_status); } &&
117499          { ac_try='test -z "$ac_c_werror_flag"
117500                          || test ! -s conftest.err'
117501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117502   (eval $ac_try) 2>&5
117503   ac_status=$?
117504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117505   (exit $ac_status); }; } &&
117506          { ac_try='test -s conftest.$ac_objext'
117507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117508   (eval $ac_try) 2>&5
117509   ac_status=$?
117510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117511   (exit $ac_status); }; }; then
117512   ac_cv_type_long=yes
117513 else
117514   echo "$as_me: failed program was:" >&5
117515 sed 's/^/| /' conftest.$ac_ext >&5
117516
117517 ac_cv_type_long=no
117518 fi
117519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117520 fi
117521 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
117522 echo "${ECHO_T}$ac_cv_type_long" >&6
117523
117524 echo "$as_me:$LINENO: checking size of long" >&5
117525 echo $ECHO_N "checking size of long... $ECHO_C" >&6
117526 if test "${ac_cv_sizeof_long+set}" = set; then
117527   echo $ECHO_N "(cached) $ECHO_C" >&6
117528 else
117529   if test "$ac_cv_type_long" = yes; then
117530   # The cast to unsigned long works around a bug in the HP C Compiler
117531   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
117532   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
117533   # This bug is HP SR number 8606223364.
117534   if test "$cross_compiling" = yes; then
117535   # Depending upon the size, compute the lo and hi bounds.
117536 cat >conftest.$ac_ext <<_ACEOF
117537 /* confdefs.h.  */
117538 _ACEOF
117539 cat confdefs.h >>conftest.$ac_ext
117540 cat >>conftest.$ac_ext <<_ACEOF
117541 /* end confdefs.h.  */
117542 $ac_includes_default
117543 int
117544 main ()
117545 {
117546 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
117547 test_array [0] = 0
117548
117549   ;
117550   return 0;
117551 }
117552 _ACEOF
117553 rm -f conftest.$ac_objext
117554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117555   (eval $ac_compile) 2>conftest.er1
117556   ac_status=$?
117557   grep -v '^ *+' conftest.er1 >conftest.err
117558   rm -f conftest.er1
117559   cat conftest.err >&5
117560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117561   (exit $ac_status); } &&
117562          { ac_try='test -z "$ac_c_werror_flag"
117563                          || test ! -s conftest.err'
117564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117565   (eval $ac_try) 2>&5
117566   ac_status=$?
117567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117568   (exit $ac_status); }; } &&
117569          { ac_try='test -s conftest.$ac_objext'
117570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117571   (eval $ac_try) 2>&5
117572   ac_status=$?
117573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117574   (exit $ac_status); }; }; then
117575   ac_lo=0 ac_mid=0
117576   while :; do
117577     cat >conftest.$ac_ext <<_ACEOF
117578 /* confdefs.h.  */
117579 _ACEOF
117580 cat confdefs.h >>conftest.$ac_ext
117581 cat >>conftest.$ac_ext <<_ACEOF
117582 /* end confdefs.h.  */
117583 $ac_includes_default
117584 int
117585 main ()
117586 {
117587 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
117588 test_array [0] = 0
117589
117590   ;
117591   return 0;
117592 }
117593 _ACEOF
117594 rm -f conftest.$ac_objext
117595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117596   (eval $ac_compile) 2>conftest.er1
117597   ac_status=$?
117598   grep -v '^ *+' conftest.er1 >conftest.err
117599   rm -f conftest.er1
117600   cat conftest.err >&5
117601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117602   (exit $ac_status); } &&
117603          { ac_try='test -z "$ac_c_werror_flag"
117604                          || test ! -s conftest.err'
117605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117606   (eval $ac_try) 2>&5
117607   ac_status=$?
117608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117609   (exit $ac_status); }; } &&
117610          { ac_try='test -s conftest.$ac_objext'
117611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117612   (eval $ac_try) 2>&5
117613   ac_status=$?
117614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117615   (exit $ac_status); }; }; then
117616   ac_hi=$ac_mid; break
117617 else
117618   echo "$as_me: failed program was:" >&5
117619 sed 's/^/| /' conftest.$ac_ext >&5
117620
117621 ac_lo=`expr $ac_mid + 1`
117622                     if test $ac_lo -le $ac_mid; then
117623                       ac_lo= ac_hi=
117624                       break
117625                     fi
117626                     ac_mid=`expr 2 '*' $ac_mid + 1`
117627 fi
117628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117629   done
117630 else
117631   echo "$as_me: failed program was:" >&5
117632 sed 's/^/| /' conftest.$ac_ext >&5
117633
117634 cat >conftest.$ac_ext <<_ACEOF
117635 /* confdefs.h.  */
117636 _ACEOF
117637 cat confdefs.h >>conftest.$ac_ext
117638 cat >>conftest.$ac_ext <<_ACEOF
117639 /* end confdefs.h.  */
117640 $ac_includes_default
117641 int
117642 main ()
117643 {
117644 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
117645 test_array [0] = 0
117646
117647   ;
117648   return 0;
117649 }
117650 _ACEOF
117651 rm -f conftest.$ac_objext
117652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117653   (eval $ac_compile) 2>conftest.er1
117654   ac_status=$?
117655   grep -v '^ *+' conftest.er1 >conftest.err
117656   rm -f conftest.er1
117657   cat conftest.err >&5
117658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117659   (exit $ac_status); } &&
117660          { ac_try='test -z "$ac_c_werror_flag"
117661                          || test ! -s conftest.err'
117662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117663   (eval $ac_try) 2>&5
117664   ac_status=$?
117665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117666   (exit $ac_status); }; } &&
117667          { ac_try='test -s conftest.$ac_objext'
117668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117669   (eval $ac_try) 2>&5
117670   ac_status=$?
117671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117672   (exit $ac_status); }; }; then
117673   ac_hi=-1 ac_mid=-1
117674   while :; do
117675     cat >conftest.$ac_ext <<_ACEOF
117676 /* confdefs.h.  */
117677 _ACEOF
117678 cat confdefs.h >>conftest.$ac_ext
117679 cat >>conftest.$ac_ext <<_ACEOF
117680 /* end confdefs.h.  */
117681 $ac_includes_default
117682 int
117683 main ()
117684 {
117685 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
117686 test_array [0] = 0
117687
117688   ;
117689   return 0;
117690 }
117691 _ACEOF
117692 rm -f conftest.$ac_objext
117693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117694   (eval $ac_compile) 2>conftest.er1
117695   ac_status=$?
117696   grep -v '^ *+' conftest.er1 >conftest.err
117697   rm -f conftest.er1
117698   cat conftest.err >&5
117699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117700   (exit $ac_status); } &&
117701          { ac_try='test -z "$ac_c_werror_flag"
117702                          || test ! -s conftest.err'
117703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117704   (eval $ac_try) 2>&5
117705   ac_status=$?
117706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117707   (exit $ac_status); }; } &&
117708          { ac_try='test -s conftest.$ac_objext'
117709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117710   (eval $ac_try) 2>&5
117711   ac_status=$?
117712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117713   (exit $ac_status); }; }; then
117714   ac_lo=$ac_mid; break
117715 else
117716   echo "$as_me: failed program was:" >&5
117717 sed 's/^/| /' conftest.$ac_ext >&5
117718
117719 ac_hi=`expr '(' $ac_mid ')' - 1`
117720                        if test $ac_mid -le $ac_hi; then
117721                          ac_lo= ac_hi=
117722                          break
117723                        fi
117724                        ac_mid=`expr 2 '*' $ac_mid`
117725 fi
117726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117727   done
117728 else
117729   echo "$as_me: failed program was:" >&5
117730 sed 's/^/| /' conftest.$ac_ext >&5
117731
117732 ac_lo= ac_hi=
117733 fi
117734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117735 fi
117736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117737 # Binary search between lo and hi bounds.
117738 while test "x$ac_lo" != "x$ac_hi"; do
117739   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
117740   cat >conftest.$ac_ext <<_ACEOF
117741 /* confdefs.h.  */
117742 _ACEOF
117743 cat confdefs.h >>conftest.$ac_ext
117744 cat >>conftest.$ac_ext <<_ACEOF
117745 /* end confdefs.h.  */
117746 $ac_includes_default
117747 int
117748 main ()
117749 {
117750 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
117751 test_array [0] = 0
117752
117753   ;
117754   return 0;
117755 }
117756 _ACEOF
117757 rm -f conftest.$ac_objext
117758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117759   (eval $ac_compile) 2>conftest.er1
117760   ac_status=$?
117761   grep -v '^ *+' conftest.er1 >conftest.err
117762   rm -f conftest.er1
117763   cat conftest.err >&5
117764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117765   (exit $ac_status); } &&
117766          { ac_try='test -z "$ac_c_werror_flag"
117767                          || test ! -s conftest.err'
117768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117769   (eval $ac_try) 2>&5
117770   ac_status=$?
117771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117772   (exit $ac_status); }; } &&
117773          { ac_try='test -s conftest.$ac_objext'
117774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117775   (eval $ac_try) 2>&5
117776   ac_status=$?
117777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117778   (exit $ac_status); }; }; then
117779   ac_hi=$ac_mid
117780 else
117781   echo "$as_me: failed program was:" >&5
117782 sed 's/^/| /' conftest.$ac_ext >&5
117783
117784 ac_lo=`expr '(' $ac_mid ')' + 1`
117785 fi
117786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117787 done
117788 case $ac_lo in
117789 ?*) ac_cv_sizeof_long=$ac_lo;;
117790 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
117791 See \`config.log' for more details." >&5
117792 echo "$as_me: error: cannot compute sizeof (long), 77
117793 See \`config.log' for more details." >&2;}
117794    { (exit 1); exit 1; }; } ;;
117795 esac
117796 else
117797   if test "$cross_compiling" = yes; then
117798   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
117799 See \`config.log' for more details." >&5
117800 echo "$as_me: error: cannot run test program while cross compiling
117801 See \`config.log' for more details." >&2;}
117802    { (exit 1); exit 1; }; }
117803 else
117804   cat >conftest.$ac_ext <<_ACEOF
117805 /* confdefs.h.  */
117806 _ACEOF
117807 cat confdefs.h >>conftest.$ac_ext
117808 cat >>conftest.$ac_ext <<_ACEOF
117809 /* end confdefs.h.  */
117810 $ac_includes_default
117811 long longval () { return (long) (sizeof (long)); }
117812 unsigned long ulongval () { return (long) (sizeof (long)); }
117813 #include <stdio.h>
117814 #include <stdlib.h>
117815 int
117816 main ()
117817 {
117818
117819   FILE *f = fopen ("conftest.val", "w");
117820   if (! f)
117821     exit (1);
117822   if (((long) (sizeof (long))) < 0)
117823     {
117824       long i = longval ();
117825       if (i != ((long) (sizeof (long))))
117826         exit (1);
117827       fprintf (f, "%ld\n", i);
117828     }
117829   else
117830     {
117831       unsigned long i = ulongval ();
117832       if (i != ((long) (sizeof (long))))
117833         exit (1);
117834       fprintf (f, "%lu\n", i);
117835     }
117836   exit (ferror (f) || fclose (f) != 0);
117837
117838   ;
117839   return 0;
117840 }
117841 _ACEOF
117842 rm -f conftest$ac_exeext
117843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117844   (eval $ac_link) 2>&5
117845   ac_status=$?
117846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117847   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
117848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117849   (eval $ac_try) 2>&5
117850   ac_status=$?
117851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117852   (exit $ac_status); }; }; then
117853   ac_cv_sizeof_long=`cat conftest.val`
117854 else
117855   echo "$as_me: program exited with status $ac_status" >&5
117856 echo "$as_me: failed program was:" >&5
117857 sed 's/^/| /' conftest.$ac_ext >&5
117858
117859 ( exit $ac_status )
117860 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
117861 See \`config.log' for more details." >&5
117862 echo "$as_me: error: cannot compute sizeof (long), 77
117863 See \`config.log' for more details." >&2;}
117864    { (exit 1); exit 1; }; }
117865 fi
117866 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
117867 fi
117868 fi
117869 rm -f conftest.val
117870 else
117871   ac_cv_sizeof_long=0
117872 fi
117873 fi
117874 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
117875 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
117876 cat >>confdefs.h <<_ACEOF
117877 #define SIZEOF_LONG $ac_cv_sizeof_long
117878 _ACEOF
117879
117880  ;;
117881 esac
117882
117883 if test $acx_cv_header_stdint = stddef.h; then
117884   # Lacking a good header?  Test size of everything and deduce all types.
117885   echo "$as_me:$LINENO: checking for int" >&5
117886 echo $ECHO_N "checking for int... $ECHO_C" >&6
117887 if test "${ac_cv_type_int+set}" = set; then
117888   echo $ECHO_N "(cached) $ECHO_C" >&6
117889 else
117890   cat >conftest.$ac_ext <<_ACEOF
117891 /* confdefs.h.  */
117892 _ACEOF
117893 cat confdefs.h >>conftest.$ac_ext
117894 cat >>conftest.$ac_ext <<_ACEOF
117895 /* end confdefs.h.  */
117896 $ac_includes_default
117897 int
117898 main ()
117899 {
117900 if ((int *) 0)
117901   return 0;
117902 if (sizeof (int))
117903   return 0;
117904   ;
117905   return 0;
117906 }
117907 _ACEOF
117908 rm -f conftest.$ac_objext
117909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117910   (eval $ac_compile) 2>conftest.er1
117911   ac_status=$?
117912   grep -v '^ *+' conftest.er1 >conftest.err
117913   rm -f conftest.er1
117914   cat conftest.err >&5
117915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117916   (exit $ac_status); } &&
117917          { ac_try='test -z "$ac_c_werror_flag"
117918                          || test ! -s conftest.err'
117919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117920   (eval $ac_try) 2>&5
117921   ac_status=$?
117922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117923   (exit $ac_status); }; } &&
117924          { ac_try='test -s conftest.$ac_objext'
117925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117926   (eval $ac_try) 2>&5
117927   ac_status=$?
117928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117929   (exit $ac_status); }; }; then
117930   ac_cv_type_int=yes
117931 else
117932   echo "$as_me: failed program was:" >&5
117933 sed 's/^/| /' conftest.$ac_ext >&5
117934
117935 ac_cv_type_int=no
117936 fi
117937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117938 fi
117939 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
117940 echo "${ECHO_T}$ac_cv_type_int" >&6
117941
117942 echo "$as_me:$LINENO: checking size of int" >&5
117943 echo $ECHO_N "checking size of int... $ECHO_C" >&6
117944 if test "${ac_cv_sizeof_int+set}" = set; then
117945   echo $ECHO_N "(cached) $ECHO_C" >&6
117946 else
117947   if test "$ac_cv_type_int" = yes; then
117948   # The cast to unsigned long works around a bug in the HP C Compiler
117949   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
117950   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
117951   # This bug is HP SR number 8606223364.
117952   if test "$cross_compiling" = yes; then
117953   # Depending upon the size, compute the lo and hi bounds.
117954 cat >conftest.$ac_ext <<_ACEOF
117955 /* confdefs.h.  */
117956 _ACEOF
117957 cat confdefs.h >>conftest.$ac_ext
117958 cat >>conftest.$ac_ext <<_ACEOF
117959 /* end confdefs.h.  */
117960 $ac_includes_default
117961 int
117962 main ()
117963 {
117964 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
117965 test_array [0] = 0
117966
117967   ;
117968   return 0;
117969 }
117970 _ACEOF
117971 rm -f conftest.$ac_objext
117972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117973   (eval $ac_compile) 2>conftest.er1
117974   ac_status=$?
117975   grep -v '^ *+' conftest.er1 >conftest.err
117976   rm -f conftest.er1
117977   cat conftest.err >&5
117978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117979   (exit $ac_status); } &&
117980          { ac_try='test -z "$ac_c_werror_flag"
117981                          || test ! -s conftest.err'
117982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117983   (eval $ac_try) 2>&5
117984   ac_status=$?
117985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117986   (exit $ac_status); }; } &&
117987          { ac_try='test -s conftest.$ac_objext'
117988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117989   (eval $ac_try) 2>&5
117990   ac_status=$?
117991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117992   (exit $ac_status); }; }; then
117993   ac_lo=0 ac_mid=0
117994   while :; do
117995     cat >conftest.$ac_ext <<_ACEOF
117996 /* confdefs.h.  */
117997 _ACEOF
117998 cat confdefs.h >>conftest.$ac_ext
117999 cat >>conftest.$ac_ext <<_ACEOF
118000 /* end confdefs.h.  */
118001 $ac_includes_default
118002 int
118003 main ()
118004 {
118005 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
118006 test_array [0] = 0
118007
118008   ;
118009   return 0;
118010 }
118011 _ACEOF
118012 rm -f conftest.$ac_objext
118013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118014   (eval $ac_compile) 2>conftest.er1
118015   ac_status=$?
118016   grep -v '^ *+' conftest.er1 >conftest.err
118017   rm -f conftest.er1
118018   cat conftest.err >&5
118019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118020   (exit $ac_status); } &&
118021          { ac_try='test -z "$ac_c_werror_flag"
118022                          || test ! -s conftest.err'
118023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118024   (eval $ac_try) 2>&5
118025   ac_status=$?
118026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118027   (exit $ac_status); }; } &&
118028          { ac_try='test -s conftest.$ac_objext'
118029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118030   (eval $ac_try) 2>&5
118031   ac_status=$?
118032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118033   (exit $ac_status); }; }; then
118034   ac_hi=$ac_mid; break
118035 else
118036   echo "$as_me: failed program was:" >&5
118037 sed 's/^/| /' conftest.$ac_ext >&5
118038
118039 ac_lo=`expr $ac_mid + 1`
118040                     if test $ac_lo -le $ac_mid; then
118041                       ac_lo= ac_hi=
118042                       break
118043                     fi
118044                     ac_mid=`expr 2 '*' $ac_mid + 1`
118045 fi
118046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118047   done
118048 else
118049   echo "$as_me: failed program was:" >&5
118050 sed 's/^/| /' conftest.$ac_ext >&5
118051
118052 cat >conftest.$ac_ext <<_ACEOF
118053 /* confdefs.h.  */
118054 _ACEOF
118055 cat confdefs.h >>conftest.$ac_ext
118056 cat >>conftest.$ac_ext <<_ACEOF
118057 /* end confdefs.h.  */
118058 $ac_includes_default
118059 int
118060 main ()
118061 {
118062 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
118063 test_array [0] = 0
118064
118065   ;
118066   return 0;
118067 }
118068 _ACEOF
118069 rm -f conftest.$ac_objext
118070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118071   (eval $ac_compile) 2>conftest.er1
118072   ac_status=$?
118073   grep -v '^ *+' conftest.er1 >conftest.err
118074   rm -f conftest.er1
118075   cat conftest.err >&5
118076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118077   (exit $ac_status); } &&
118078          { ac_try='test -z "$ac_c_werror_flag"
118079                          || test ! -s conftest.err'
118080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118081   (eval $ac_try) 2>&5
118082   ac_status=$?
118083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118084   (exit $ac_status); }; } &&
118085          { ac_try='test -s conftest.$ac_objext'
118086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118087   (eval $ac_try) 2>&5
118088   ac_status=$?
118089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118090   (exit $ac_status); }; }; then
118091   ac_hi=-1 ac_mid=-1
118092   while :; do
118093     cat >conftest.$ac_ext <<_ACEOF
118094 /* confdefs.h.  */
118095 _ACEOF
118096 cat confdefs.h >>conftest.$ac_ext
118097 cat >>conftest.$ac_ext <<_ACEOF
118098 /* end confdefs.h.  */
118099 $ac_includes_default
118100 int
118101 main ()
118102 {
118103 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
118104 test_array [0] = 0
118105
118106   ;
118107   return 0;
118108 }
118109 _ACEOF
118110 rm -f conftest.$ac_objext
118111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118112   (eval $ac_compile) 2>conftest.er1
118113   ac_status=$?
118114   grep -v '^ *+' conftest.er1 >conftest.err
118115   rm -f conftest.er1
118116   cat conftest.err >&5
118117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118118   (exit $ac_status); } &&
118119          { ac_try='test -z "$ac_c_werror_flag"
118120                          || test ! -s conftest.err'
118121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118122   (eval $ac_try) 2>&5
118123   ac_status=$?
118124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118125   (exit $ac_status); }; } &&
118126          { ac_try='test -s conftest.$ac_objext'
118127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118128   (eval $ac_try) 2>&5
118129   ac_status=$?
118130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118131   (exit $ac_status); }; }; then
118132   ac_lo=$ac_mid; break
118133 else
118134   echo "$as_me: failed program was:" >&5
118135 sed 's/^/| /' conftest.$ac_ext >&5
118136
118137 ac_hi=`expr '(' $ac_mid ')' - 1`
118138                        if test $ac_mid -le $ac_hi; then
118139                          ac_lo= ac_hi=
118140                          break
118141                        fi
118142                        ac_mid=`expr 2 '*' $ac_mid`
118143 fi
118144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118145   done
118146 else
118147   echo "$as_me: failed program was:" >&5
118148 sed 's/^/| /' conftest.$ac_ext >&5
118149
118150 ac_lo= ac_hi=
118151 fi
118152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118153 fi
118154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118155 # Binary search between lo and hi bounds.
118156 while test "x$ac_lo" != "x$ac_hi"; do
118157   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118158   cat >conftest.$ac_ext <<_ACEOF
118159 /* confdefs.h.  */
118160 _ACEOF
118161 cat confdefs.h >>conftest.$ac_ext
118162 cat >>conftest.$ac_ext <<_ACEOF
118163 /* end confdefs.h.  */
118164 $ac_includes_default
118165 int
118166 main ()
118167 {
118168 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
118169 test_array [0] = 0
118170
118171   ;
118172   return 0;
118173 }
118174 _ACEOF
118175 rm -f conftest.$ac_objext
118176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118177   (eval $ac_compile) 2>conftest.er1
118178   ac_status=$?
118179   grep -v '^ *+' conftest.er1 >conftest.err
118180   rm -f conftest.er1
118181   cat conftest.err >&5
118182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118183   (exit $ac_status); } &&
118184          { ac_try='test -z "$ac_c_werror_flag"
118185                          || test ! -s conftest.err'
118186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118187   (eval $ac_try) 2>&5
118188   ac_status=$?
118189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118190   (exit $ac_status); }; } &&
118191          { ac_try='test -s conftest.$ac_objext'
118192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118193   (eval $ac_try) 2>&5
118194   ac_status=$?
118195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118196   (exit $ac_status); }; }; then
118197   ac_hi=$ac_mid
118198 else
118199   echo "$as_me: failed program was:" >&5
118200 sed 's/^/| /' conftest.$ac_ext >&5
118201
118202 ac_lo=`expr '(' $ac_mid ')' + 1`
118203 fi
118204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118205 done
118206 case $ac_lo in
118207 ?*) ac_cv_sizeof_int=$ac_lo;;
118208 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
118209 See \`config.log' for more details." >&5
118210 echo "$as_me: error: cannot compute sizeof (int), 77
118211 See \`config.log' for more details." >&2;}
118212    { (exit 1); exit 1; }; } ;;
118213 esac
118214 else
118215   if test "$cross_compiling" = yes; then
118216   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
118217 See \`config.log' for more details." >&5
118218 echo "$as_me: error: cannot run test program while cross compiling
118219 See \`config.log' for more details." >&2;}
118220    { (exit 1); exit 1; }; }
118221 else
118222   cat >conftest.$ac_ext <<_ACEOF
118223 /* confdefs.h.  */
118224 _ACEOF
118225 cat confdefs.h >>conftest.$ac_ext
118226 cat >>conftest.$ac_ext <<_ACEOF
118227 /* end confdefs.h.  */
118228 $ac_includes_default
118229 long longval () { return (long) (sizeof (int)); }
118230 unsigned long ulongval () { return (long) (sizeof (int)); }
118231 #include <stdio.h>
118232 #include <stdlib.h>
118233 int
118234 main ()
118235 {
118236
118237   FILE *f = fopen ("conftest.val", "w");
118238   if (! f)
118239     exit (1);
118240   if (((long) (sizeof (int))) < 0)
118241     {
118242       long i = longval ();
118243       if (i != ((long) (sizeof (int))))
118244         exit (1);
118245       fprintf (f, "%ld\n", i);
118246     }
118247   else
118248     {
118249       unsigned long i = ulongval ();
118250       if (i != ((long) (sizeof (int))))
118251         exit (1);
118252       fprintf (f, "%lu\n", i);
118253     }
118254   exit (ferror (f) || fclose (f) != 0);
118255
118256   ;
118257   return 0;
118258 }
118259 _ACEOF
118260 rm -f conftest$ac_exeext
118261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118262   (eval $ac_link) 2>&5
118263   ac_status=$?
118264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118265   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
118266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118267   (eval $ac_try) 2>&5
118268   ac_status=$?
118269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118270   (exit $ac_status); }; }; then
118271   ac_cv_sizeof_int=`cat conftest.val`
118272 else
118273   echo "$as_me: program exited with status $ac_status" >&5
118274 echo "$as_me: failed program was:" >&5
118275 sed 's/^/| /' conftest.$ac_ext >&5
118276
118277 ( exit $ac_status )
118278 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
118279 See \`config.log' for more details." >&5
118280 echo "$as_me: error: cannot compute sizeof (int), 77
118281 See \`config.log' for more details." >&2;}
118282    { (exit 1); exit 1; }; }
118283 fi
118284 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
118285 fi
118286 fi
118287 rm -f conftest.val
118288 else
118289   ac_cv_sizeof_int=0
118290 fi
118291 fi
118292 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
118293 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
118294 cat >>confdefs.h <<_ACEOF
118295 #define SIZEOF_INT $ac_cv_sizeof_int
118296 _ACEOF
118297
118298
118299   echo "$as_me:$LINENO: checking for short" >&5
118300 echo $ECHO_N "checking for short... $ECHO_C" >&6
118301 if test "${ac_cv_type_short+set}" = set; then
118302   echo $ECHO_N "(cached) $ECHO_C" >&6
118303 else
118304   cat >conftest.$ac_ext <<_ACEOF
118305 /* confdefs.h.  */
118306 _ACEOF
118307 cat confdefs.h >>conftest.$ac_ext
118308 cat >>conftest.$ac_ext <<_ACEOF
118309 /* end confdefs.h.  */
118310 $ac_includes_default
118311 int
118312 main ()
118313 {
118314 if ((short *) 0)
118315   return 0;
118316 if (sizeof (short))
118317   return 0;
118318   ;
118319   return 0;
118320 }
118321 _ACEOF
118322 rm -f conftest.$ac_objext
118323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118324   (eval $ac_compile) 2>conftest.er1
118325   ac_status=$?
118326   grep -v '^ *+' conftest.er1 >conftest.err
118327   rm -f conftest.er1
118328   cat conftest.err >&5
118329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118330   (exit $ac_status); } &&
118331          { ac_try='test -z "$ac_c_werror_flag"
118332                          || test ! -s conftest.err'
118333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118334   (eval $ac_try) 2>&5
118335   ac_status=$?
118336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118337   (exit $ac_status); }; } &&
118338          { ac_try='test -s conftest.$ac_objext'
118339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118340   (eval $ac_try) 2>&5
118341   ac_status=$?
118342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118343   (exit $ac_status); }; }; then
118344   ac_cv_type_short=yes
118345 else
118346   echo "$as_me: failed program was:" >&5
118347 sed 's/^/| /' conftest.$ac_ext >&5
118348
118349 ac_cv_type_short=no
118350 fi
118351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118352 fi
118353 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
118354 echo "${ECHO_T}$ac_cv_type_short" >&6
118355
118356 echo "$as_me:$LINENO: checking size of short" >&5
118357 echo $ECHO_N "checking size of short... $ECHO_C" >&6
118358 if test "${ac_cv_sizeof_short+set}" = set; then
118359   echo $ECHO_N "(cached) $ECHO_C" >&6
118360 else
118361   if test "$ac_cv_type_short" = yes; then
118362   # The cast to unsigned long works around a bug in the HP C Compiler
118363   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
118364   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
118365   # This bug is HP SR number 8606223364.
118366   if test "$cross_compiling" = yes; then
118367   # Depending upon the size, compute the lo and hi bounds.
118368 cat >conftest.$ac_ext <<_ACEOF
118369 /* confdefs.h.  */
118370 _ACEOF
118371 cat confdefs.h >>conftest.$ac_ext
118372 cat >>conftest.$ac_ext <<_ACEOF
118373 /* end confdefs.h.  */
118374 $ac_includes_default
118375 int
118376 main ()
118377 {
118378 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
118379 test_array [0] = 0
118380
118381   ;
118382   return 0;
118383 }
118384 _ACEOF
118385 rm -f conftest.$ac_objext
118386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118387   (eval $ac_compile) 2>conftest.er1
118388   ac_status=$?
118389   grep -v '^ *+' conftest.er1 >conftest.err
118390   rm -f conftest.er1
118391   cat conftest.err >&5
118392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118393   (exit $ac_status); } &&
118394          { ac_try='test -z "$ac_c_werror_flag"
118395                          || test ! -s conftest.err'
118396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118397   (eval $ac_try) 2>&5
118398   ac_status=$?
118399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118400   (exit $ac_status); }; } &&
118401          { ac_try='test -s conftest.$ac_objext'
118402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118403   (eval $ac_try) 2>&5
118404   ac_status=$?
118405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118406   (exit $ac_status); }; }; then
118407   ac_lo=0 ac_mid=0
118408   while :; do
118409     cat >conftest.$ac_ext <<_ACEOF
118410 /* confdefs.h.  */
118411 _ACEOF
118412 cat confdefs.h >>conftest.$ac_ext
118413 cat >>conftest.$ac_ext <<_ACEOF
118414 /* end confdefs.h.  */
118415 $ac_includes_default
118416 int
118417 main ()
118418 {
118419 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
118420 test_array [0] = 0
118421
118422   ;
118423   return 0;
118424 }
118425 _ACEOF
118426 rm -f conftest.$ac_objext
118427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118428   (eval $ac_compile) 2>conftest.er1
118429   ac_status=$?
118430   grep -v '^ *+' conftest.er1 >conftest.err
118431   rm -f conftest.er1
118432   cat conftest.err >&5
118433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118434   (exit $ac_status); } &&
118435          { ac_try='test -z "$ac_c_werror_flag"
118436                          || test ! -s conftest.err'
118437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118438   (eval $ac_try) 2>&5
118439   ac_status=$?
118440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118441   (exit $ac_status); }; } &&
118442          { ac_try='test -s conftest.$ac_objext'
118443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118444   (eval $ac_try) 2>&5
118445   ac_status=$?
118446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118447   (exit $ac_status); }; }; then
118448   ac_hi=$ac_mid; break
118449 else
118450   echo "$as_me: failed program was:" >&5
118451 sed 's/^/| /' conftest.$ac_ext >&5
118452
118453 ac_lo=`expr $ac_mid + 1`
118454                     if test $ac_lo -le $ac_mid; then
118455                       ac_lo= ac_hi=
118456                       break
118457                     fi
118458                     ac_mid=`expr 2 '*' $ac_mid + 1`
118459 fi
118460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118461   done
118462 else
118463   echo "$as_me: failed program was:" >&5
118464 sed 's/^/| /' conftest.$ac_ext >&5
118465
118466 cat >conftest.$ac_ext <<_ACEOF
118467 /* confdefs.h.  */
118468 _ACEOF
118469 cat confdefs.h >>conftest.$ac_ext
118470 cat >>conftest.$ac_ext <<_ACEOF
118471 /* end confdefs.h.  */
118472 $ac_includes_default
118473 int
118474 main ()
118475 {
118476 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
118477 test_array [0] = 0
118478
118479   ;
118480   return 0;
118481 }
118482 _ACEOF
118483 rm -f conftest.$ac_objext
118484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118485   (eval $ac_compile) 2>conftest.er1
118486   ac_status=$?
118487   grep -v '^ *+' conftest.er1 >conftest.err
118488   rm -f conftest.er1
118489   cat conftest.err >&5
118490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118491   (exit $ac_status); } &&
118492          { ac_try='test -z "$ac_c_werror_flag"
118493                          || test ! -s conftest.err'
118494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118495   (eval $ac_try) 2>&5
118496   ac_status=$?
118497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118498   (exit $ac_status); }; } &&
118499          { ac_try='test -s conftest.$ac_objext'
118500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118501   (eval $ac_try) 2>&5
118502   ac_status=$?
118503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118504   (exit $ac_status); }; }; then
118505   ac_hi=-1 ac_mid=-1
118506   while :; do
118507     cat >conftest.$ac_ext <<_ACEOF
118508 /* confdefs.h.  */
118509 _ACEOF
118510 cat confdefs.h >>conftest.$ac_ext
118511 cat >>conftest.$ac_ext <<_ACEOF
118512 /* end confdefs.h.  */
118513 $ac_includes_default
118514 int
118515 main ()
118516 {
118517 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
118518 test_array [0] = 0
118519
118520   ;
118521   return 0;
118522 }
118523 _ACEOF
118524 rm -f conftest.$ac_objext
118525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118526   (eval $ac_compile) 2>conftest.er1
118527   ac_status=$?
118528   grep -v '^ *+' conftest.er1 >conftest.err
118529   rm -f conftest.er1
118530   cat conftest.err >&5
118531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118532   (exit $ac_status); } &&
118533          { ac_try='test -z "$ac_c_werror_flag"
118534                          || test ! -s conftest.err'
118535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118536   (eval $ac_try) 2>&5
118537   ac_status=$?
118538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118539   (exit $ac_status); }; } &&
118540          { ac_try='test -s conftest.$ac_objext'
118541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118542   (eval $ac_try) 2>&5
118543   ac_status=$?
118544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118545   (exit $ac_status); }; }; then
118546   ac_lo=$ac_mid; break
118547 else
118548   echo "$as_me: failed program was:" >&5
118549 sed 's/^/| /' conftest.$ac_ext >&5
118550
118551 ac_hi=`expr '(' $ac_mid ')' - 1`
118552                        if test $ac_mid -le $ac_hi; then
118553                          ac_lo= ac_hi=
118554                          break
118555                        fi
118556                        ac_mid=`expr 2 '*' $ac_mid`
118557 fi
118558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118559   done
118560 else
118561   echo "$as_me: failed program was:" >&5
118562 sed 's/^/| /' conftest.$ac_ext >&5
118563
118564 ac_lo= ac_hi=
118565 fi
118566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118567 fi
118568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118569 # Binary search between lo and hi bounds.
118570 while test "x$ac_lo" != "x$ac_hi"; do
118571   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118572   cat >conftest.$ac_ext <<_ACEOF
118573 /* confdefs.h.  */
118574 _ACEOF
118575 cat confdefs.h >>conftest.$ac_ext
118576 cat >>conftest.$ac_ext <<_ACEOF
118577 /* end confdefs.h.  */
118578 $ac_includes_default
118579 int
118580 main ()
118581 {
118582 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
118583 test_array [0] = 0
118584
118585   ;
118586   return 0;
118587 }
118588 _ACEOF
118589 rm -f conftest.$ac_objext
118590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118591   (eval $ac_compile) 2>conftest.er1
118592   ac_status=$?
118593   grep -v '^ *+' conftest.er1 >conftest.err
118594   rm -f conftest.er1
118595   cat conftest.err >&5
118596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118597   (exit $ac_status); } &&
118598          { ac_try='test -z "$ac_c_werror_flag"
118599                          || test ! -s conftest.err'
118600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118601   (eval $ac_try) 2>&5
118602   ac_status=$?
118603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118604   (exit $ac_status); }; } &&
118605          { ac_try='test -s conftest.$ac_objext'
118606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118607   (eval $ac_try) 2>&5
118608   ac_status=$?
118609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118610   (exit $ac_status); }; }; then
118611   ac_hi=$ac_mid
118612 else
118613   echo "$as_me: failed program was:" >&5
118614 sed 's/^/| /' conftest.$ac_ext >&5
118615
118616 ac_lo=`expr '(' $ac_mid ')' + 1`
118617 fi
118618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118619 done
118620 case $ac_lo in
118621 ?*) ac_cv_sizeof_short=$ac_lo;;
118622 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
118623 See \`config.log' for more details." >&5
118624 echo "$as_me: error: cannot compute sizeof (short), 77
118625 See \`config.log' for more details." >&2;}
118626    { (exit 1); exit 1; }; } ;;
118627 esac
118628 else
118629   if test "$cross_compiling" = yes; then
118630   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
118631 See \`config.log' for more details." >&5
118632 echo "$as_me: error: cannot run test program while cross compiling
118633 See \`config.log' for more details." >&2;}
118634    { (exit 1); exit 1; }; }
118635 else
118636   cat >conftest.$ac_ext <<_ACEOF
118637 /* confdefs.h.  */
118638 _ACEOF
118639 cat confdefs.h >>conftest.$ac_ext
118640 cat >>conftest.$ac_ext <<_ACEOF
118641 /* end confdefs.h.  */
118642 $ac_includes_default
118643 long longval () { return (long) (sizeof (short)); }
118644 unsigned long ulongval () { return (long) (sizeof (short)); }
118645 #include <stdio.h>
118646 #include <stdlib.h>
118647 int
118648 main ()
118649 {
118650
118651   FILE *f = fopen ("conftest.val", "w");
118652   if (! f)
118653     exit (1);
118654   if (((long) (sizeof (short))) < 0)
118655     {
118656       long i = longval ();
118657       if (i != ((long) (sizeof (short))))
118658         exit (1);
118659       fprintf (f, "%ld\n", i);
118660     }
118661   else
118662     {
118663       unsigned long i = ulongval ();
118664       if (i != ((long) (sizeof (short))))
118665         exit (1);
118666       fprintf (f, "%lu\n", i);
118667     }
118668   exit (ferror (f) || fclose (f) != 0);
118669
118670   ;
118671   return 0;
118672 }
118673 _ACEOF
118674 rm -f conftest$ac_exeext
118675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118676   (eval $ac_link) 2>&5
118677   ac_status=$?
118678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118679   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
118680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118681   (eval $ac_try) 2>&5
118682   ac_status=$?
118683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118684   (exit $ac_status); }; }; then
118685   ac_cv_sizeof_short=`cat conftest.val`
118686 else
118687   echo "$as_me: program exited with status $ac_status" >&5
118688 echo "$as_me: failed program was:" >&5
118689 sed 's/^/| /' conftest.$ac_ext >&5
118690
118691 ( exit $ac_status )
118692 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
118693 See \`config.log' for more details." >&5
118694 echo "$as_me: error: cannot compute sizeof (short), 77
118695 See \`config.log' for more details." >&2;}
118696    { (exit 1); exit 1; }; }
118697 fi
118698 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
118699 fi
118700 fi
118701 rm -f conftest.val
118702 else
118703   ac_cv_sizeof_short=0
118704 fi
118705 fi
118706 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
118707 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
118708 cat >>confdefs.h <<_ACEOF
118709 #define SIZEOF_SHORT $ac_cv_sizeof_short
118710 _ACEOF
118711
118712
118713   echo "$as_me:$LINENO: checking for char" >&5
118714 echo $ECHO_N "checking for char... $ECHO_C" >&6
118715 if test "${ac_cv_type_char+set}" = set; then
118716   echo $ECHO_N "(cached) $ECHO_C" >&6
118717 else
118718   cat >conftest.$ac_ext <<_ACEOF
118719 /* confdefs.h.  */
118720 _ACEOF
118721 cat confdefs.h >>conftest.$ac_ext
118722 cat >>conftest.$ac_ext <<_ACEOF
118723 /* end confdefs.h.  */
118724 $ac_includes_default
118725 int
118726 main ()
118727 {
118728 if ((char *) 0)
118729   return 0;
118730 if (sizeof (char))
118731   return 0;
118732   ;
118733   return 0;
118734 }
118735 _ACEOF
118736 rm -f conftest.$ac_objext
118737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118738   (eval $ac_compile) 2>conftest.er1
118739   ac_status=$?
118740   grep -v '^ *+' conftest.er1 >conftest.err
118741   rm -f conftest.er1
118742   cat conftest.err >&5
118743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118744   (exit $ac_status); } &&
118745          { ac_try='test -z "$ac_c_werror_flag"
118746                          || test ! -s conftest.err'
118747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118748   (eval $ac_try) 2>&5
118749   ac_status=$?
118750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118751   (exit $ac_status); }; } &&
118752          { ac_try='test -s conftest.$ac_objext'
118753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118754   (eval $ac_try) 2>&5
118755   ac_status=$?
118756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118757   (exit $ac_status); }; }; then
118758   ac_cv_type_char=yes
118759 else
118760   echo "$as_me: failed program was:" >&5
118761 sed 's/^/| /' conftest.$ac_ext >&5
118762
118763 ac_cv_type_char=no
118764 fi
118765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118766 fi
118767 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
118768 echo "${ECHO_T}$ac_cv_type_char" >&6
118769
118770 echo "$as_me:$LINENO: checking size of char" >&5
118771 echo $ECHO_N "checking size of char... $ECHO_C" >&6
118772 if test "${ac_cv_sizeof_char+set}" = set; then
118773   echo $ECHO_N "(cached) $ECHO_C" >&6
118774 else
118775   if test "$ac_cv_type_char" = yes; then
118776   # The cast to unsigned long works around a bug in the HP C Compiler
118777   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
118778   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
118779   # This bug is HP SR number 8606223364.
118780   if test "$cross_compiling" = yes; then
118781   # Depending upon the size, compute the lo and hi bounds.
118782 cat >conftest.$ac_ext <<_ACEOF
118783 /* confdefs.h.  */
118784 _ACEOF
118785 cat confdefs.h >>conftest.$ac_ext
118786 cat >>conftest.$ac_ext <<_ACEOF
118787 /* end confdefs.h.  */
118788 $ac_includes_default
118789 int
118790 main ()
118791 {
118792 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
118793 test_array [0] = 0
118794
118795   ;
118796   return 0;
118797 }
118798 _ACEOF
118799 rm -f conftest.$ac_objext
118800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118801   (eval $ac_compile) 2>conftest.er1
118802   ac_status=$?
118803   grep -v '^ *+' conftest.er1 >conftest.err
118804   rm -f conftest.er1
118805   cat conftest.err >&5
118806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118807   (exit $ac_status); } &&
118808          { ac_try='test -z "$ac_c_werror_flag"
118809                          || test ! -s conftest.err'
118810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118811   (eval $ac_try) 2>&5
118812   ac_status=$?
118813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118814   (exit $ac_status); }; } &&
118815          { ac_try='test -s conftest.$ac_objext'
118816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118817   (eval $ac_try) 2>&5
118818   ac_status=$?
118819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118820   (exit $ac_status); }; }; then
118821   ac_lo=0 ac_mid=0
118822   while :; do
118823     cat >conftest.$ac_ext <<_ACEOF
118824 /* confdefs.h.  */
118825 _ACEOF
118826 cat confdefs.h >>conftest.$ac_ext
118827 cat >>conftest.$ac_ext <<_ACEOF
118828 /* end confdefs.h.  */
118829 $ac_includes_default
118830 int
118831 main ()
118832 {
118833 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
118834 test_array [0] = 0
118835
118836   ;
118837   return 0;
118838 }
118839 _ACEOF
118840 rm -f conftest.$ac_objext
118841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118842   (eval $ac_compile) 2>conftest.er1
118843   ac_status=$?
118844   grep -v '^ *+' conftest.er1 >conftest.err
118845   rm -f conftest.er1
118846   cat conftest.err >&5
118847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118848   (exit $ac_status); } &&
118849          { ac_try='test -z "$ac_c_werror_flag"
118850                          || test ! -s conftest.err'
118851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118852   (eval $ac_try) 2>&5
118853   ac_status=$?
118854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118855   (exit $ac_status); }; } &&
118856          { ac_try='test -s conftest.$ac_objext'
118857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118858   (eval $ac_try) 2>&5
118859   ac_status=$?
118860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118861   (exit $ac_status); }; }; then
118862   ac_hi=$ac_mid; break
118863 else
118864   echo "$as_me: failed program was:" >&5
118865 sed 's/^/| /' conftest.$ac_ext >&5
118866
118867 ac_lo=`expr $ac_mid + 1`
118868                     if test $ac_lo -le $ac_mid; then
118869                       ac_lo= ac_hi=
118870                       break
118871                     fi
118872                     ac_mid=`expr 2 '*' $ac_mid + 1`
118873 fi
118874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118875   done
118876 else
118877   echo "$as_me: failed program was:" >&5
118878 sed 's/^/| /' conftest.$ac_ext >&5
118879
118880 cat >conftest.$ac_ext <<_ACEOF
118881 /* confdefs.h.  */
118882 _ACEOF
118883 cat confdefs.h >>conftest.$ac_ext
118884 cat >>conftest.$ac_ext <<_ACEOF
118885 /* end confdefs.h.  */
118886 $ac_includes_default
118887 int
118888 main ()
118889 {
118890 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
118891 test_array [0] = 0
118892
118893   ;
118894   return 0;
118895 }
118896 _ACEOF
118897 rm -f conftest.$ac_objext
118898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118899   (eval $ac_compile) 2>conftest.er1
118900   ac_status=$?
118901   grep -v '^ *+' conftest.er1 >conftest.err
118902   rm -f conftest.er1
118903   cat conftest.err >&5
118904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118905   (exit $ac_status); } &&
118906          { ac_try='test -z "$ac_c_werror_flag"
118907                          || test ! -s conftest.err'
118908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118909   (eval $ac_try) 2>&5
118910   ac_status=$?
118911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118912   (exit $ac_status); }; } &&
118913          { ac_try='test -s conftest.$ac_objext'
118914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118915   (eval $ac_try) 2>&5
118916   ac_status=$?
118917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118918   (exit $ac_status); }; }; then
118919   ac_hi=-1 ac_mid=-1
118920   while :; do
118921     cat >conftest.$ac_ext <<_ACEOF
118922 /* confdefs.h.  */
118923 _ACEOF
118924 cat confdefs.h >>conftest.$ac_ext
118925 cat >>conftest.$ac_ext <<_ACEOF
118926 /* end confdefs.h.  */
118927 $ac_includes_default
118928 int
118929 main ()
118930 {
118931 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
118932 test_array [0] = 0
118933
118934   ;
118935   return 0;
118936 }
118937 _ACEOF
118938 rm -f conftest.$ac_objext
118939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118940   (eval $ac_compile) 2>conftest.er1
118941   ac_status=$?
118942   grep -v '^ *+' conftest.er1 >conftest.err
118943   rm -f conftest.er1
118944   cat conftest.err >&5
118945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118946   (exit $ac_status); } &&
118947          { ac_try='test -z "$ac_c_werror_flag"
118948                          || test ! -s conftest.err'
118949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118950   (eval $ac_try) 2>&5
118951   ac_status=$?
118952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118953   (exit $ac_status); }; } &&
118954          { ac_try='test -s conftest.$ac_objext'
118955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118956   (eval $ac_try) 2>&5
118957   ac_status=$?
118958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118959   (exit $ac_status); }; }; then
118960   ac_lo=$ac_mid; break
118961 else
118962   echo "$as_me: failed program was:" >&5
118963 sed 's/^/| /' conftest.$ac_ext >&5
118964
118965 ac_hi=`expr '(' $ac_mid ')' - 1`
118966                        if test $ac_mid -le $ac_hi; then
118967                          ac_lo= ac_hi=
118968                          break
118969                        fi
118970                        ac_mid=`expr 2 '*' $ac_mid`
118971 fi
118972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118973   done
118974 else
118975   echo "$as_me: failed program was:" >&5
118976 sed 's/^/| /' conftest.$ac_ext >&5
118977
118978 ac_lo= ac_hi=
118979 fi
118980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118981 fi
118982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118983 # Binary search between lo and hi bounds.
118984 while test "x$ac_lo" != "x$ac_hi"; do
118985   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118986   cat >conftest.$ac_ext <<_ACEOF
118987 /* confdefs.h.  */
118988 _ACEOF
118989 cat confdefs.h >>conftest.$ac_ext
118990 cat >>conftest.$ac_ext <<_ACEOF
118991 /* end confdefs.h.  */
118992 $ac_includes_default
118993 int
118994 main ()
118995 {
118996 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
118997 test_array [0] = 0
118998
118999   ;
119000   return 0;
119001 }
119002 _ACEOF
119003 rm -f conftest.$ac_objext
119004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119005   (eval $ac_compile) 2>conftest.er1
119006   ac_status=$?
119007   grep -v '^ *+' conftest.er1 >conftest.err
119008   rm -f conftest.er1
119009   cat conftest.err >&5
119010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119011   (exit $ac_status); } &&
119012          { ac_try='test -z "$ac_c_werror_flag"
119013                          || test ! -s conftest.err'
119014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119015   (eval $ac_try) 2>&5
119016   ac_status=$?
119017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119018   (exit $ac_status); }; } &&
119019          { ac_try='test -s conftest.$ac_objext'
119020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119021   (eval $ac_try) 2>&5
119022   ac_status=$?
119023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119024   (exit $ac_status); }; }; then
119025   ac_hi=$ac_mid
119026 else
119027   echo "$as_me: failed program was:" >&5
119028 sed 's/^/| /' conftest.$ac_ext >&5
119029
119030 ac_lo=`expr '(' $ac_mid ')' + 1`
119031 fi
119032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119033 done
119034 case $ac_lo in
119035 ?*) ac_cv_sizeof_char=$ac_lo;;
119036 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
119037 See \`config.log' for more details." >&5
119038 echo "$as_me: error: cannot compute sizeof (char), 77
119039 See \`config.log' for more details." >&2;}
119040    { (exit 1); exit 1; }; } ;;
119041 esac
119042 else
119043   if test "$cross_compiling" = yes; then
119044   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
119045 See \`config.log' for more details." >&5
119046 echo "$as_me: error: cannot run test program while cross compiling
119047 See \`config.log' for more details." >&2;}
119048    { (exit 1); exit 1; }; }
119049 else
119050   cat >conftest.$ac_ext <<_ACEOF
119051 /* confdefs.h.  */
119052 _ACEOF
119053 cat confdefs.h >>conftest.$ac_ext
119054 cat >>conftest.$ac_ext <<_ACEOF
119055 /* end confdefs.h.  */
119056 $ac_includes_default
119057 long longval () { return (long) (sizeof (char)); }
119058 unsigned long ulongval () { return (long) (sizeof (char)); }
119059 #include <stdio.h>
119060 #include <stdlib.h>
119061 int
119062 main ()
119063 {
119064
119065   FILE *f = fopen ("conftest.val", "w");
119066   if (! f)
119067     exit (1);
119068   if (((long) (sizeof (char))) < 0)
119069     {
119070       long i = longval ();
119071       if (i != ((long) (sizeof (char))))
119072         exit (1);
119073       fprintf (f, "%ld\n", i);
119074     }
119075   else
119076     {
119077       unsigned long i = ulongval ();
119078       if (i != ((long) (sizeof (char))))
119079         exit (1);
119080       fprintf (f, "%lu\n", i);
119081     }
119082   exit (ferror (f) || fclose (f) != 0);
119083
119084   ;
119085   return 0;
119086 }
119087 _ACEOF
119088 rm -f conftest$ac_exeext
119089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119090   (eval $ac_link) 2>&5
119091   ac_status=$?
119092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119093   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
119094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119095   (eval $ac_try) 2>&5
119096   ac_status=$?
119097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119098   (exit $ac_status); }; }; then
119099   ac_cv_sizeof_char=`cat conftest.val`
119100 else
119101   echo "$as_me: program exited with status $ac_status" >&5
119102 echo "$as_me: failed program was:" >&5
119103 sed 's/^/| /' conftest.$ac_ext >&5
119104
119105 ( exit $ac_status )
119106 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
119107 See \`config.log' for more details." >&5
119108 echo "$as_me: error: cannot compute sizeof (char), 77
119109 See \`config.log' for more details." >&2;}
119110    { (exit 1); exit 1; }; }
119111 fi
119112 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
119113 fi
119114 fi
119115 rm -f conftest.val
119116 else
119117   ac_cv_sizeof_char=0
119118 fi
119119 fi
119120 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
119121 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
119122 cat >>confdefs.h <<_ACEOF
119123 #define SIZEOF_CHAR $ac_cv_sizeof_char
119124 _ACEOF
119125
119126
119127
119128   echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
119129 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
119130   case "$ac_cv_sizeof_char" in
119131     1) acx_cv_type_int8_t=char ;;
119132     *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
119133 echo "$as_me: error: no 8-bit type" >&2;}
119134    { (exit please report a bug); exit please report a bug; }; }
119135   esac
119136   echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
119137 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
119138
119139   echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
119140 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
119141   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
119142     2:*) acx_cv_type_int16_t=int ;;
119143     *:2) acx_cv_type_int16_t=short ;;
119144     *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
119145 echo "$as_me: error: no 16-bit type" >&2;}
119146    { (exit please report a bug); exit please report a bug; }; }
119147   esac
119148   echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
119149 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
119150
119151   echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
119152 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
119153   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
119154     4:*) acx_cv_type_int32_t=int ;;
119155     *:4) acx_cv_type_int32_t=long ;;
119156     *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
119157 echo "$as_me: error: no 32-bit type" >&2;}
119158    { (exit please report a bug); exit please report a bug; }; }
119159   esac
119160   echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
119161 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
119162 fi
119163
119164 # These tests are here to make the output prettier
119165
119166 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
119167   case "$ac_cv_sizeof_long" in
119168     8) acx_cv_type_int64_t=long ;;
119169   esac
119170   echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
119171 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
119172   echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
119173 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
119174 fi
119175
119176 # Now we can use the above types
119177
119178 if test "$ac_cv_type_uintptr_t" != yes; then
119179   echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
119180 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
119181   case $ac_cv_sizeof_void_p in
119182     2) acx_cv_type_intptr_t=int16_t ;;
119183     4) acx_cv_type_intptr_t=int32_t ;;
119184     8) acx_cv_type_intptr_t=int64_t ;;
119185     *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
119186 echo "$as_me: error: no equivalent for intptr_t" >&2;}
119187    { (exit please report a bug); exit please report a bug; }; }
119188   esac
119189   echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
119190 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
119191 fi
119192
119193 # ----------------- done all checks, emit header -------------
119194           ac_config_commands="$ac_config_commands include/gstdint.h"
119195
119196
119197
119198
119199 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
119200
119201
119202  # Check whether --enable-symvers or --disable-symvers was given.
119203 if test "${enable_symvers+set}" = set; then
119204   enableval="$enable_symvers"
119205
119206       case "$enableval" in
119207        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
119208        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
119209 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
119210    { (exit 1); exit 1; }; } ;;
119211                           esac
119212
119213 else
119214   enable_symvers=yes
119215 fi;
119216
119217
119218 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
119219 # don't know enough about $LD to do tricks...
119220
119221
119222 # Turn a 'yes' into a suitable default.
119223 if test x$enable_symvers = xyes ; then
119224   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
119225     enable_symvers=no
119226   else
119227     if test $with_gnu_ld = yes ; then
119228       enable_symvers=gnu
119229     else
119230       case ${target_os} in
119231         darwin*)
119232           enable_symvers=darwin ;;
119233         *)
119234           enable_symvers=no ;;
119235       esac
119236     fi
119237   fi
119238 fi
119239
119240 # Check to see if 'darwin' or 'darwin-export' can win.
119241 if test x$enable_symvers = xdarwin-export ; then
119242     enable_symvers=darwin
119243 fi
119244
119245 # Check to see if 'gnu' can win.
119246 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
119247   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
119248   echo "$as_me:$LINENO: checking for shared libgcc" >&5
119249 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
119250   ac_save_CFLAGS="$CFLAGS"
119251   CFLAGS=' -lgcc_s'
119252   if test x$gcc_no_link = xyes; then
119253   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
119254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
119255    { (exit 1); exit 1; }; }
119256 fi
119257 cat >conftest.$ac_ext <<_ACEOF
119258 /* confdefs.h.  */
119259 _ACEOF
119260 cat confdefs.h >>conftest.$ac_ext
119261 cat >>conftest.$ac_ext <<_ACEOF
119262 /* end confdefs.h.  */
119263
119264 int
119265 main ()
119266 {
119267 return 0;
119268   ;
119269   return 0;
119270 }
119271 _ACEOF
119272 rm -f conftest.$ac_objext conftest$ac_exeext
119273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119274   (eval $ac_link) 2>conftest.er1
119275   ac_status=$?
119276   grep -v '^ *+' conftest.er1 >conftest.err
119277   rm -f conftest.er1
119278   cat conftest.err >&5
119279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119280   (exit $ac_status); } &&
119281          { ac_try='test -z "$ac_c_werror_flag"
119282                          || test ! -s conftest.err'
119283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119284   (eval $ac_try) 2>&5
119285   ac_status=$?
119286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119287   (exit $ac_status); }; } &&
119288          { ac_try='test -s conftest$ac_exeext'
119289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119290   (eval $ac_try) 2>&5
119291   ac_status=$?
119292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119293   (exit $ac_status); }; }; then
119294   glibcxx_shared_libgcc=yes
119295 else
119296   echo "$as_me: failed program was:" >&5
119297 sed 's/^/| /' conftest.$ac_ext >&5
119298
119299 glibcxx_shared_libgcc=no
119300 fi
119301 rm -f conftest.err conftest.$ac_objext \
119302       conftest$ac_exeext conftest.$ac_ext
119303   CFLAGS="$ac_save_CFLAGS"
119304   if test $glibcxx_shared_libgcc = no; then
119305     cat > conftest.c <<EOF
119306 int main (void) { return 0; }
119307 EOF
119308     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
119309                              -shared -shared-libgcc -o conftest.so \
119310                              conftest.c -v 2>&1 >/dev/null \
119311                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
119312     rm -f conftest.c conftest.so
119313     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
119314       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
119315       if test x$gcc_no_link = xyes; then
119316   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
119317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
119318    { (exit 1); exit 1; }; }
119319 fi
119320 cat >conftest.$ac_ext <<_ACEOF
119321 /* confdefs.h.  */
119322 _ACEOF
119323 cat confdefs.h >>conftest.$ac_ext
119324 cat >>conftest.$ac_ext <<_ACEOF
119325 /* end confdefs.h.  */
119326
119327 int
119328 main ()
119329 {
119330 return 0;
119331   ;
119332   return 0;
119333 }
119334 _ACEOF
119335 rm -f conftest.$ac_objext conftest$ac_exeext
119336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119337   (eval $ac_link) 2>conftest.er1
119338   ac_status=$?
119339   grep -v '^ *+' conftest.er1 >conftest.err
119340   rm -f conftest.er1
119341   cat conftest.err >&5
119342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119343   (exit $ac_status); } &&
119344          { ac_try='test -z "$ac_c_werror_flag"
119345                          || test ! -s conftest.err'
119346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119347   (eval $ac_try) 2>&5
119348   ac_status=$?
119349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119350   (exit $ac_status); }; } &&
119351          { ac_try='test -s conftest$ac_exeext'
119352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119353   (eval $ac_try) 2>&5
119354   ac_status=$?
119355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119356   (exit $ac_status); }; }; then
119357   glibcxx_shared_libgcc=yes
119358 else
119359   echo "$as_me: failed program was:" >&5
119360 sed 's/^/| /' conftest.$ac_ext >&5
119361
119362 fi
119363 rm -f conftest.err conftest.$ac_objext \
119364       conftest$ac_exeext conftest.$ac_ext
119365       CFLAGS="$ac_save_CFLAGS"
119366     fi
119367   fi
119368   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
119369 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
119370
119371   # For GNU ld, we need at least this version.  The format is described in
119372   # GLIBCXX_CHECK_LINKER_FEATURES above.
119373   glibcxx_min_gnu_ld_version=21400
119374
119375   # If no shared libgcc, can't win.
119376   if test $glibcxx_shared_libgcc != yes; then
119377       { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
119378 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
119379       { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
119380 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
119381       { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
119382 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
119383       enable_symvers=no
119384   elif test $with_gnu_ld != yes ; then
119385     # just fail for now
119386     { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
119387 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
119388     { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
119389 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
119390     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
119391 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
119392     enable_symvers=no
119393   elif test $glibcxx_ld_is_gold = yes ; then
119394     : All versions of gold support symbol versioning.
119395   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
119396     # The right tools, the right setup, but too old.  Fallbacks?
119397     { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
119398 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
119399     { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
119400 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
119401     { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
119402 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
119403     { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
119404 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
119405     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
119406 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
119407     enable_symvers=no
119408   fi
119409 fi
119410
119411 # Everything parsed; figure out what file to use.
119412 case $enable_symvers in
119413   no)
119414     SYMVER_FILE=config/abi/pre/none.ver
119415     ;;
119416   gnu)
119417     SYMVER_FILE=config/abi/pre/gnu.ver
119418
119419 cat >>confdefs.h <<\_ACEOF
119420 #define _GLIBCXX_SYMVER_GNU 1
119421 _ACEOF
119422
119423     ;;
119424   gnu-versioned-namespace)
119425     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
119426
119427 cat >>confdefs.h <<\_ACEOF
119428 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
119429 _ACEOF
119430
119431     ;;
119432   darwin)
119433     SYMVER_FILE=config/abi/pre/gnu.ver
119434
119435 cat >>confdefs.h <<\_ACEOF
119436 #define _GLIBCXX_SYMVER_DARWIN 1
119437 _ACEOF
119438
119439     ;;
119440 esac
119441
119442 if test x$enable_symvers != xno ; then
119443
119444 cat >>confdefs.h <<\_ACEOF
119445 #define _GLIBCXX_SYMVER 1
119446 _ACEOF
119447
119448 fi
119449
119450
119451
119452
119453
119454
119455
119456 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
119457 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
119458
119459 # Now, set up compatibility support, if any.
119460 # In addition, need this to deal with std::size_t mangling in
119461 # src/compatibility.cc.  In a perfect world, could use
119462 # typeid(std::size_t).name()[0] to do direct substitution.
119463 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
119464 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
119465 ac_save_CFLAGS="$CFLAGS"
119466 CFLAGS="-Werror"
119467 cat >conftest.$ac_ext <<_ACEOF
119468 /* confdefs.h.  */
119469 _ACEOF
119470 cat confdefs.h >>conftest.$ac_ext
119471 cat >>conftest.$ac_ext <<_ACEOF
119472 /* end confdefs.h.  */
119473
119474 int
119475 main ()
119476 {
119477 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
119478   ;
119479   return 0;
119480 }
119481 _ACEOF
119482 rm -f conftest.$ac_objext
119483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119484   (eval $ac_compile) 2>conftest.er1
119485   ac_status=$?
119486   grep -v '^ *+' conftest.er1 >conftest.err
119487   rm -f conftest.er1
119488   cat conftest.err >&5
119489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119490   (exit $ac_status); } &&
119491          { ac_try='test -z "$ac_c_werror_flag"
119492                          || test ! -s conftest.err'
119493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119494   (eval $ac_try) 2>&5
119495   ac_status=$?
119496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119497   (exit $ac_status); }; } &&
119498          { ac_try='test -s conftest.$ac_objext'
119499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119500   (eval $ac_try) 2>&5
119501   ac_status=$?
119502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119503   (exit $ac_status); }; }; then
119504   glibcxx_size_t_is_i=yes
119505 else
119506   echo "$as_me: failed program was:" >&5
119507 sed 's/^/| /' conftest.$ac_ext >&5
119508
119509 glibcxx_size_t_is_i=no
119510 fi
119511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119512 CFLAGS=$ac_save_CFLAGS
119513 if test "$glibcxx_size_t_is_i" = yes; then
119514
119515 cat >>confdefs.h <<\_ACEOF
119516 #define _GLIBCXX_SIZE_T_IS_UINT 1
119517 _ACEOF
119518
119519 fi
119520 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
119521 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
119522
119523 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
119524 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
119525 ac_save_CFLAGS="$CFLAGS"
119526 CFLAGS="-Werror"
119527 cat >conftest.$ac_ext <<_ACEOF
119528 /* confdefs.h.  */
119529 _ACEOF
119530 cat confdefs.h >>conftest.$ac_ext
119531 cat >>conftest.$ac_ext <<_ACEOF
119532 /* end confdefs.h.  */
119533
119534 int
119535 main ()
119536 {
119537 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
119538   ;
119539   return 0;
119540 }
119541 _ACEOF
119542 rm -f conftest.$ac_objext
119543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119544   (eval $ac_compile) 2>conftest.er1
119545   ac_status=$?
119546   grep -v '^ *+' conftest.er1 >conftest.err
119547   rm -f conftest.er1
119548   cat conftest.err >&5
119549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119550   (exit $ac_status); } &&
119551          { ac_try='test -z "$ac_c_werror_flag"
119552                          || test ! -s conftest.err'
119553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119554   (eval $ac_try) 2>&5
119555   ac_status=$?
119556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119557   (exit $ac_status); }; } &&
119558          { ac_try='test -s conftest.$ac_objext'
119559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119560   (eval $ac_try) 2>&5
119561   ac_status=$?
119562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119563   (exit $ac_status); }; }; then
119564   glibcxx_ptrdiff_t_is_i=yes
119565 else
119566   echo "$as_me: failed program was:" >&5
119567 sed 's/^/| /' conftest.$ac_ext >&5
119568
119569 glibcxx_ptrdiff_t_is_i=no
119570 fi
119571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119572 CFLAGS=$ac_save_CFLAGS
119573 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
119574
119575 cat >>confdefs.h <<\_ACEOF
119576 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
119577 _ACEOF
119578
119579 fi
119580 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
119581 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
119582
119583
119584  # Check whether --enable-visibility or --disable-visibility was given.
119585 if test "${enable_visibility+set}" = set; then
119586   enableval="$enable_visibility"
119587
119588       case "$enableval" in
119589        yes|no) ;;
119590        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
119591 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
119592    { (exit 1); exit 1; }; } ;;
119593       esac
119594
119595 else
119596   enable_visibility=yes
119597 fi;
119598
119599
119600 if test x$enable_visibility = xyes ; then
119601       echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
119602 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
119603 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then
119604   echo $ECHO_N "(cached) $ECHO_C" >&6
119605 else
119606
119607   save_CFLAGS="$CFLAGS"
119608   CFLAGS="$CFLAGS -Werror"
119609   cat >conftest.$ac_ext <<_ACEOF
119610 /* confdefs.h.  */
119611 _ACEOF
119612 cat confdefs.h >>conftest.$ac_ext
119613 cat >>conftest.$ac_ext <<_ACEOF
119614 /* end confdefs.h.  */
119615 void __attribute__((visibility("hidden"))) foo(void) { }
119616 int
119617 main ()
119618 {
119619
119620   ;
119621   return 0;
119622 }
119623 _ACEOF
119624 rm -f conftest.$ac_objext
119625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119626   (eval $ac_compile) 2>conftest.er1
119627   ac_status=$?
119628   grep -v '^ *+' conftest.er1 >conftest.err
119629   rm -f conftest.er1
119630   cat conftest.err >&5
119631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119632   (exit $ac_status); } &&
119633          { ac_try='test -z "$ac_c_werror_flag"
119634                          || test ! -s conftest.err'
119635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119636   (eval $ac_try) 2>&5
119637   ac_status=$?
119638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119639   (exit $ac_status); }; } &&
119640          { ac_try='test -s conftest.$ac_objext'
119641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119642   (eval $ac_try) 2>&5
119643   ac_status=$?
119644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119645   (exit $ac_status); }; }; then
119646   glibcxx_cv_have_attribute_visibility=yes
119647 else
119648   echo "$as_me: failed program was:" >&5
119649 sed 's/^/| /' conftest.$ac_ext >&5
119650
119651 glibcxx_cv_have_attribute_visibility=no
119652 fi
119653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119654   CFLAGS="$save_CFLAGS"
119655 fi
119656 echo "$as_me:$LINENO: result: $glibcxx_cv_have_attribute_visibility" >&5
119657 echo "${ECHO_T}$glibcxx_cv_have_attribute_visibility" >&6
119658   if test $glibcxx_cv_have_attribute_visibility = no; then
119659     enable_visibility=no
119660   fi
119661 fi
119662
119663
119664 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
119665 echo "$as_me: visibility supported: $enable_visibility" >&6;}
119666
119667
119668 ac_ldbl_compat=no
119669 case "$target" in
119670   powerpc*-*-linux* | \
119671   powerpc*-*-gnu* | \
119672   sparc*-*-linux* | \
119673   s390*-*-linux* | \
119674   alpha*-*-linux*)
119675   cat >conftest.$ac_ext <<_ACEOF
119676 /* confdefs.h.  */
119677 _ACEOF
119678 cat confdefs.h >>conftest.$ac_ext
119679 cat >>conftest.$ac_ext <<_ACEOF
119680 /* end confdefs.h.  */
119681
119682 int
119683 main ()
119684 {
119685
119686 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
119687 #error no need for long double compatibility
119688 #endif
119689
119690   ;
119691   return 0;
119692 }
119693 _ACEOF
119694 rm -f conftest.$ac_objext
119695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119696   (eval $ac_compile) 2>conftest.er1
119697   ac_status=$?
119698   grep -v '^ *+' conftest.er1 >conftest.err
119699   rm -f conftest.er1
119700   cat conftest.err >&5
119701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119702   (exit $ac_status); } &&
119703          { ac_try='test -z "$ac_c_werror_flag"
119704                          || test ! -s conftest.err'
119705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119706   (eval $ac_try) 2>&5
119707   ac_status=$?
119708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119709   (exit $ac_status); }; } &&
119710          { ac_try='test -s conftest.$ac_objext'
119711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119712   (eval $ac_try) 2>&5
119713   ac_status=$?
119714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119715   (exit $ac_status); }; }; then
119716   ac_ldbl_compat=yes
119717 else
119718   echo "$as_me: failed program was:" >&5
119719 sed 's/^/| /' conftest.$ac_ext >&5
119720
119721 ac_ldbl_compat=no
119722 fi
119723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119724   if test "$ac_ldbl_compat" = yes; then
119725
119726 cat >>confdefs.h <<\_ACEOF
119727 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
119728 _ACEOF
119729
119730     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
119731   fi
119732 esac
119733
119734
119735 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
119736
119737   if $GLIBCXX_IS_NATIVE ; then
119738     # Do checks for resource limit functions.
119739
119740   setrlimit_have_headers=yes
119741
119742
119743
119744 for ac_header in unistd.h sys/time.h sys/resource.h
119745 do
119746 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
119747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
119748   echo "$as_me:$LINENO: checking for $ac_header" >&5
119749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
119750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
119751   echo $ECHO_N "(cached) $ECHO_C" >&6
119752 fi
119753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
119754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
119755 else
119756   # Is the header compilable?
119757 echo "$as_me:$LINENO: checking $ac_header usability" >&5
119758 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
119759 cat >conftest.$ac_ext <<_ACEOF
119760 /* confdefs.h.  */
119761 _ACEOF
119762 cat confdefs.h >>conftest.$ac_ext
119763 cat >>conftest.$ac_ext <<_ACEOF
119764 /* end confdefs.h.  */
119765 $ac_includes_default
119766 #include <$ac_header>
119767 _ACEOF
119768 rm -f conftest.$ac_objext
119769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119770   (eval $ac_compile) 2>conftest.er1
119771   ac_status=$?
119772   grep -v '^ *+' conftest.er1 >conftest.err
119773   rm -f conftest.er1
119774   cat conftest.err >&5
119775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119776   (exit $ac_status); } &&
119777          { ac_try='test -z "$ac_c_werror_flag"
119778                          || test ! -s conftest.err'
119779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119780   (eval $ac_try) 2>&5
119781   ac_status=$?
119782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119783   (exit $ac_status); }; } &&
119784          { ac_try='test -s conftest.$ac_objext'
119785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119786   (eval $ac_try) 2>&5
119787   ac_status=$?
119788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119789   (exit $ac_status); }; }; then
119790   ac_header_compiler=yes
119791 else
119792   echo "$as_me: failed program was:" >&5
119793 sed 's/^/| /' conftest.$ac_ext >&5
119794
119795 ac_header_compiler=no
119796 fi
119797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119798 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
119799 echo "${ECHO_T}$ac_header_compiler" >&6
119800
119801 # Is the header present?
119802 echo "$as_me:$LINENO: checking $ac_header presence" >&5
119803 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
119804 cat >conftest.$ac_ext <<_ACEOF
119805 /* confdefs.h.  */
119806 _ACEOF
119807 cat confdefs.h >>conftest.$ac_ext
119808 cat >>conftest.$ac_ext <<_ACEOF
119809 /* end confdefs.h.  */
119810 #include <$ac_header>
119811 _ACEOF
119812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
119813   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
119814   ac_status=$?
119815   grep -v '^ *+' conftest.er1 >conftest.err
119816   rm -f conftest.er1
119817   cat conftest.err >&5
119818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119819   (exit $ac_status); } >/dev/null; then
119820   if test -s conftest.err; then
119821     ac_cpp_err=$ac_c_preproc_warn_flag
119822     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
119823   else
119824     ac_cpp_err=
119825   fi
119826 else
119827   ac_cpp_err=yes
119828 fi
119829 if test -z "$ac_cpp_err"; then
119830   ac_header_preproc=yes
119831 else
119832   echo "$as_me: failed program was:" >&5
119833 sed 's/^/| /' conftest.$ac_ext >&5
119834
119835   ac_header_preproc=no
119836 fi
119837 rm -f conftest.err conftest.$ac_ext
119838 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
119839 echo "${ECHO_T}$ac_header_preproc" >&6
119840
119841 # So?  What about this header?
119842 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
119843   yes:no: )
119844     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
119845 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
119846     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
119847 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
119848     ac_header_preproc=yes
119849     ;;
119850   no:yes:* )
119851     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
119852 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
119853     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
119854 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
119855     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
119856 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
119857     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
119858 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
119859     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
119860 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
119861     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
119862 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
119863     (
119864       cat <<\_ASBOX
119865 ## ----------------------------------------- ##
119866 ## Report this to the package-unused lists.  ##
119867 ## ----------------------------------------- ##
119868 _ASBOX
119869     ) |
119870       sed "s/^/$as_me: WARNING:     /" >&2
119871     ;;
119872 esac
119873 echo "$as_me:$LINENO: checking for $ac_header" >&5
119874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
119875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
119876   echo $ECHO_N "(cached) $ECHO_C" >&6
119877 else
119878   eval "$as_ac_Header=\$ac_header_preproc"
119879 fi
119880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
119881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
119882
119883 fi
119884 if test `eval echo '${'$as_ac_Header'}'` = yes; then
119885   cat >>confdefs.h <<_ACEOF
119886 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
119887 _ACEOF
119888
119889 else
119890   setrlimit_have_headers=no
119891 fi
119892
119893 done
119894
119895   # If don't have the headers, then we can't run the tests now, and we
119896   # won't be seeing any of these during testsuite compilation.
119897   if test $setrlimit_have_headers = yes; then
119898     # Can't do these in a loop, else the resulting syntax is wrong.
119899
119900   echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
119901 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
119902   cat >conftest.$ac_ext <<_ACEOF
119903 /* confdefs.h.  */
119904 _ACEOF
119905 cat confdefs.h >>conftest.$ac_ext
119906 cat >>conftest.$ac_ext <<_ACEOF
119907 /* end confdefs.h.  */
119908 #include <unistd.h>
119909      #include <sys/time.h>
119910      #include <sys/resource.h>
119911
119912 int
119913 main ()
119914 {
119915  int f = RLIMIT_DATA ;
119916   ;
119917   return 0;
119918 }
119919 _ACEOF
119920 rm -f conftest.$ac_objext
119921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119922   (eval $ac_compile) 2>conftest.er1
119923   ac_status=$?
119924   grep -v '^ *+' conftest.er1 >conftest.err
119925   rm -f conftest.er1
119926   cat conftest.err >&5
119927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119928   (exit $ac_status); } &&
119929          { ac_try='test -z "$ac_c_werror_flag"
119930                          || test ! -s conftest.err'
119931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119932   (eval $ac_try) 2>&5
119933   ac_status=$?
119934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119935   (exit $ac_status); }; } &&
119936          { ac_try='test -s conftest.$ac_objext'
119937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119938   (eval $ac_try) 2>&5
119939   ac_status=$?
119940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119941   (exit $ac_status); }; }; then
119942   glibcxx_mresult=1
119943 else
119944   echo "$as_me: failed program was:" >&5
119945 sed 's/^/| /' conftest.$ac_ext >&5
119946
119947 glibcxx_mresult=0
119948 fi
119949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119950
119951 cat >>confdefs.h <<_ACEOF
119952 #define HAVE_LIMIT_DATA $glibcxx_mresult
119953 _ACEOF
119954
119955   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119956   echo "$as_me:$LINENO: result: $res" >&5
119957 echo "${ECHO_T}$res" >&6
119958
119959
119960   echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
119961 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
119962   cat >conftest.$ac_ext <<_ACEOF
119963 /* confdefs.h.  */
119964 _ACEOF
119965 cat confdefs.h >>conftest.$ac_ext
119966 cat >>conftest.$ac_ext <<_ACEOF
119967 /* end confdefs.h.  */
119968 #include <unistd.h>
119969      #include <sys/time.h>
119970      #include <sys/resource.h>
119971
119972 int
119973 main ()
119974 {
119975  int f = RLIMIT_RSS ;
119976   ;
119977   return 0;
119978 }
119979 _ACEOF
119980 rm -f conftest.$ac_objext
119981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119982   (eval $ac_compile) 2>conftest.er1
119983   ac_status=$?
119984   grep -v '^ *+' conftest.er1 >conftest.err
119985   rm -f conftest.er1
119986   cat conftest.err >&5
119987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119988   (exit $ac_status); } &&
119989          { ac_try='test -z "$ac_c_werror_flag"
119990                          || test ! -s conftest.err'
119991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119992   (eval $ac_try) 2>&5
119993   ac_status=$?
119994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119995   (exit $ac_status); }; } &&
119996          { ac_try='test -s conftest.$ac_objext'
119997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119998   (eval $ac_try) 2>&5
119999   ac_status=$?
120000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120001   (exit $ac_status); }; }; then
120002   glibcxx_mresult=1
120003 else
120004   echo "$as_me: failed program was:" >&5
120005 sed 's/^/| /' conftest.$ac_ext >&5
120006
120007 glibcxx_mresult=0
120008 fi
120009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120010
120011 cat >>confdefs.h <<_ACEOF
120012 #define HAVE_LIMIT_RSS $glibcxx_mresult
120013 _ACEOF
120014
120015   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120016   echo "$as_me:$LINENO: result: $res" >&5
120017 echo "${ECHO_T}$res" >&6
120018
120019
120020   echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
120021 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
120022   cat >conftest.$ac_ext <<_ACEOF
120023 /* confdefs.h.  */
120024 _ACEOF
120025 cat confdefs.h >>conftest.$ac_ext
120026 cat >>conftest.$ac_ext <<_ACEOF
120027 /* end confdefs.h.  */
120028 #include <unistd.h>
120029      #include <sys/time.h>
120030      #include <sys/resource.h>
120031
120032 int
120033 main ()
120034 {
120035  int f = RLIMIT_VMEM ;
120036   ;
120037   return 0;
120038 }
120039 _ACEOF
120040 rm -f conftest.$ac_objext
120041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120042   (eval $ac_compile) 2>conftest.er1
120043   ac_status=$?
120044   grep -v '^ *+' conftest.er1 >conftest.err
120045   rm -f conftest.er1
120046   cat conftest.err >&5
120047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120048   (exit $ac_status); } &&
120049          { ac_try='test -z "$ac_c_werror_flag"
120050                          || test ! -s conftest.err'
120051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120052   (eval $ac_try) 2>&5
120053   ac_status=$?
120054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120055   (exit $ac_status); }; } &&
120056          { ac_try='test -s conftest.$ac_objext'
120057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120058   (eval $ac_try) 2>&5
120059   ac_status=$?
120060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120061   (exit $ac_status); }; }; then
120062   glibcxx_mresult=1
120063 else
120064   echo "$as_me: failed program was:" >&5
120065 sed 's/^/| /' conftest.$ac_ext >&5
120066
120067 glibcxx_mresult=0
120068 fi
120069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120070
120071 cat >>confdefs.h <<_ACEOF
120072 #define HAVE_LIMIT_VMEM $glibcxx_mresult
120073 _ACEOF
120074
120075   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120076   echo "$as_me:$LINENO: result: $res" >&5
120077 echo "${ECHO_T}$res" >&6
120078
120079
120080   echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
120081 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
120082   cat >conftest.$ac_ext <<_ACEOF
120083 /* confdefs.h.  */
120084 _ACEOF
120085 cat confdefs.h >>conftest.$ac_ext
120086 cat >>conftest.$ac_ext <<_ACEOF
120087 /* end confdefs.h.  */
120088 #include <unistd.h>
120089      #include <sys/time.h>
120090      #include <sys/resource.h>
120091
120092 int
120093 main ()
120094 {
120095  int f = RLIMIT_AS ;
120096   ;
120097   return 0;
120098 }
120099 _ACEOF
120100 rm -f conftest.$ac_objext
120101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120102   (eval $ac_compile) 2>conftest.er1
120103   ac_status=$?
120104   grep -v '^ *+' conftest.er1 >conftest.err
120105   rm -f conftest.er1
120106   cat conftest.err >&5
120107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120108   (exit $ac_status); } &&
120109          { ac_try='test -z "$ac_c_werror_flag"
120110                          || test ! -s conftest.err'
120111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120112   (eval $ac_try) 2>&5
120113   ac_status=$?
120114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120115   (exit $ac_status); }; } &&
120116          { ac_try='test -s conftest.$ac_objext'
120117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120118   (eval $ac_try) 2>&5
120119   ac_status=$?
120120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120121   (exit $ac_status); }; }; then
120122   glibcxx_mresult=1
120123 else
120124   echo "$as_me: failed program was:" >&5
120125 sed 's/^/| /' conftest.$ac_ext >&5
120126
120127 glibcxx_mresult=0
120128 fi
120129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120130
120131 cat >>confdefs.h <<_ACEOF
120132 #define HAVE_LIMIT_AS $glibcxx_mresult
120133 _ACEOF
120134
120135   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120136   echo "$as_me:$LINENO: result: $res" >&5
120137 echo "${ECHO_T}$res" >&6
120138
120139
120140   echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
120141 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
120142   cat >conftest.$ac_ext <<_ACEOF
120143 /* confdefs.h.  */
120144 _ACEOF
120145 cat confdefs.h >>conftest.$ac_ext
120146 cat >>conftest.$ac_ext <<_ACEOF
120147 /* end confdefs.h.  */
120148 #include <unistd.h>
120149      #include <sys/time.h>
120150      #include <sys/resource.h>
120151
120152 int
120153 main ()
120154 {
120155  int f = RLIMIT_FSIZE ;
120156   ;
120157   return 0;
120158 }
120159 _ACEOF
120160 rm -f conftest.$ac_objext
120161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120162   (eval $ac_compile) 2>conftest.er1
120163   ac_status=$?
120164   grep -v '^ *+' conftest.er1 >conftest.err
120165   rm -f conftest.er1
120166   cat conftest.err >&5
120167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120168   (exit $ac_status); } &&
120169          { ac_try='test -z "$ac_c_werror_flag"
120170                          || test ! -s conftest.err'
120171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120172   (eval $ac_try) 2>&5
120173   ac_status=$?
120174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120175   (exit $ac_status); }; } &&
120176          { ac_try='test -s conftest.$ac_objext'
120177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120178   (eval $ac_try) 2>&5
120179   ac_status=$?
120180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120181   (exit $ac_status); }; }; then
120182   glibcxx_mresult=1
120183 else
120184   echo "$as_me: failed program was:" >&5
120185 sed 's/^/| /' conftest.$ac_ext >&5
120186
120187 glibcxx_mresult=0
120188 fi
120189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120190
120191 cat >>confdefs.h <<_ACEOF
120192 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
120193 _ACEOF
120194
120195   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120196   echo "$as_me:$LINENO: result: $res" >&5
120197 echo "${ECHO_T}$res" >&6
120198
120199
120200     # Check for rlimit, setrlimit.
120201     if test "${glibcxx_cv_setrlimit+set}" = set; then
120202   echo $ECHO_N "(cached) $ECHO_C" >&6
120203 else
120204
120205       cat >conftest.$ac_ext <<_ACEOF
120206 /* confdefs.h.  */
120207 _ACEOF
120208 cat confdefs.h >>conftest.$ac_ext
120209 cat >>conftest.$ac_ext <<_ACEOF
120210 /* end confdefs.h.  */
120211 #include <unistd.h>
120212          #include <sys/time.h>
120213          #include <sys/resource.h>
120214
120215 int
120216 main ()
120217 {
120218 struct rlimit r;
120219          setrlimit(0, &r);
120220   ;
120221   return 0;
120222 }
120223 _ACEOF
120224 rm -f conftest.$ac_objext
120225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120226   (eval $ac_compile) 2>conftest.er1
120227   ac_status=$?
120228   grep -v '^ *+' conftest.er1 >conftest.err
120229   rm -f conftest.er1
120230   cat conftest.err >&5
120231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120232   (exit $ac_status); } &&
120233          { ac_try='test -z "$ac_c_werror_flag"
120234                          || test ! -s conftest.err'
120235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120236   (eval $ac_try) 2>&5
120237   ac_status=$?
120238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120239   (exit $ac_status); }; } &&
120240          { ac_try='test -s conftest.$ac_objext'
120241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120242   (eval $ac_try) 2>&5
120243   ac_status=$?
120244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120245   (exit $ac_status); }; }; then
120246   glibcxx_cv_setrlimit=yes
120247 else
120248   echo "$as_me: failed program was:" >&5
120249 sed 's/^/| /' conftest.$ac_ext >&5
120250
120251 glibcxx_cv_setrlimit=no
120252 fi
120253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120254
120255 fi
120256
120257   fi
120258
120259   echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
120260 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
120261   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
120262     ac_res_limits=yes
120263
120264 cat >>confdefs.h <<\_ACEOF
120265 #define _GLIBCXX_RES_LIMITS 1
120266 _ACEOF
120267
120268   else
120269     ac_res_limits=no
120270   fi
120271   echo "$as_me:$LINENO: result: $ac_res_limits" >&5
120272 echo "${ECHO_T}$ac_res_limits" >&6
120273
120274
120275     # Look for setenv, so that extended locale tests can be performed.
120276
120277   echo "$as_me:$LINENO: checking for setenv declaration" >&5
120278 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
120279   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
120280     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
120281   echo $ECHO_N "(cached) $ECHO_C" >&6
120282 else
120283
120284
120285
120286       ac_ext=cc
120287 ac_cpp='$CXXCPP $CPPFLAGS'
120288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
120291
120292       cat >conftest.$ac_ext <<_ACEOF
120293 /* confdefs.h.  */
120294 _ACEOF
120295 cat confdefs.h >>conftest.$ac_ext
120296 cat >>conftest.$ac_ext <<_ACEOF
120297 /* end confdefs.h.  */
120298 #include <stdlib.h>
120299 int
120300 main ()
120301 {
120302  setenv(0, 0, 0);
120303   ;
120304   return 0;
120305 }
120306 _ACEOF
120307 rm -f conftest.$ac_objext
120308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120309   (eval $ac_compile) 2>conftest.er1
120310   ac_status=$?
120311   grep -v '^ *+' conftest.er1 >conftest.err
120312   rm -f conftest.er1
120313   cat conftest.err >&5
120314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120315   (exit $ac_status); } &&
120316          { ac_try='test -z "$ac_cxx_werror_flag"
120317                          || test ! -s conftest.err'
120318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120319   (eval $ac_try) 2>&5
120320   ac_status=$?
120321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120322   (exit $ac_status); }; } &&
120323          { ac_try='test -s conftest.$ac_objext'
120324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120325   (eval $ac_try) 2>&5
120326   ac_status=$?
120327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120328   (exit $ac_status); }; }; then
120329   glibcxx_cv_func_setenv_use=yes
120330 else
120331   echo "$as_me: failed program was:" >&5
120332 sed 's/^/| /' conftest.$ac_ext >&5
120333
120334 glibcxx_cv_func_setenv_use=no
120335 fi
120336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120337       ac_ext=c
120338 ac_cpp='$CPP $CPPFLAGS'
120339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
120342
120343
120344 fi
120345
120346   fi
120347   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
120348 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
120349   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
120350
120351 for ac_func in setenv
120352 do
120353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
120354 echo "$as_me:$LINENO: checking for $ac_func" >&5
120355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
120356 if eval "test \"\${$as_ac_var+set}\" = set"; then
120357   echo $ECHO_N "(cached) $ECHO_C" >&6
120358 else
120359   if test x$gcc_no_link = xyes; then
120360   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
120361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
120362    { (exit 1); exit 1; }; }
120363 fi
120364 cat >conftest.$ac_ext <<_ACEOF
120365 /* confdefs.h.  */
120366 _ACEOF
120367 cat confdefs.h >>conftest.$ac_ext
120368 cat >>conftest.$ac_ext <<_ACEOF
120369 /* end confdefs.h.  */
120370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
120371    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
120372 #define $ac_func innocuous_$ac_func
120373
120374 /* System header to define __stub macros and hopefully few prototypes,
120375     which can conflict with char $ac_func (); below.
120376     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
120377     <limits.h> exists even on freestanding compilers.  */
120378
120379 #ifdef __STDC__
120380 # include <limits.h>
120381 #else
120382 # include <assert.h>
120383 #endif
120384
120385 #undef $ac_func
120386
120387 /* Override any gcc2 internal prototype to avoid an error.  */
120388 #ifdef __cplusplus
120389 extern "C"
120390 {
120391 #endif
120392 /* We use char because int might match the return type of a gcc2
120393    builtin and then its argument prototype would still apply.  */
120394 char $ac_func ();
120395 /* The GNU C library defines this for functions which it implements
120396     to always fail with ENOSYS.  Some functions are actually named
120397     something starting with __ and the normal name is an alias.  */
120398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
120399 choke me
120400 #else
120401 char (*f) () = $ac_func;
120402 #endif
120403 #ifdef __cplusplus
120404 }
120405 #endif
120406
120407 int
120408 main ()
120409 {
120410 return f != $ac_func;
120411   ;
120412   return 0;
120413 }
120414 _ACEOF
120415 rm -f conftest.$ac_objext conftest$ac_exeext
120416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
120417   (eval $ac_link) 2>conftest.er1
120418   ac_status=$?
120419   grep -v '^ *+' conftest.er1 >conftest.err
120420   rm -f conftest.er1
120421   cat conftest.err >&5
120422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120423   (exit $ac_status); } &&
120424          { ac_try='test -z "$ac_c_werror_flag"
120425                          || test ! -s conftest.err'
120426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120427   (eval $ac_try) 2>&5
120428   ac_status=$?
120429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120430   (exit $ac_status); }; } &&
120431          { ac_try='test -s conftest$ac_exeext'
120432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120433   (eval $ac_try) 2>&5
120434   ac_status=$?
120435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120436   (exit $ac_status); }; }; then
120437   eval "$as_ac_var=yes"
120438 else
120439   echo "$as_me: failed program was:" >&5
120440 sed 's/^/| /' conftest.$ac_ext >&5
120441
120442 eval "$as_ac_var=no"
120443 fi
120444 rm -f conftest.err conftest.$ac_objext \
120445       conftest$ac_exeext conftest.$ac_ext
120446 fi
120447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
120448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
120449 if test `eval echo '${'$as_ac_var'}'` = yes; then
120450   cat >>confdefs.h <<_ACEOF
120451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
120452 _ACEOF
120453
120454 fi
120455 done
120456
120457   fi
120458
120459   fi
120460
120461   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
120462      test $enable_symvers != no; then
120463     case "$host" in
120464       *-*-cygwin*)
120465         enable_abi_check=no ;;
120466       *)
120467         enable_abi_check=yes ;;
120468     esac
120469   else
120470     # Only build this as native, since automake does not understand
120471     # CXX_FOR_BUILD.
120472     enable_abi_check=no
120473   fi
120474
120475   # Export file names for ABI checking.
120476   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
120477
120478
120479
120480 # Propagate the target-specific source directories through the build chain.
120481 ATOMICITY_SRCDIR=config/${atomicity_dir}
120482 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
120483 ATOMIC_FLAGS=${atomic_flags}
120484 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
120485 OS_INC_SRCDIR=config/${os_include_dir}
120486 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
120487 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
120488
120489
120490
120491
120492
120493
120494
120495
120496
120497 # Determine cross-compile flags and AM_CONDITIONALs.
120498 #AC_SUBST(GLIBCXX_IS_NATIVE)
120499 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
120500 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
120501 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
120502
120503
120504 if test $is_hosted = yes; then
120505   GLIBCXX_HOSTED_TRUE=
120506   GLIBCXX_HOSTED_FALSE='#'
120507 else
120508   GLIBCXX_HOSTED_TRUE='#'
120509   GLIBCXX_HOSTED_FALSE=
120510 fi
120511
120512
120513
120514
120515 if test $enable_libstdcxx_pch = yes; then
120516   GLIBCXX_BUILD_PCH_TRUE=
120517   GLIBCXX_BUILD_PCH_FALSE='#'
120518 else
120519   GLIBCXX_BUILD_PCH_TRUE='#'
120520   GLIBCXX_BUILD_PCH_FALSE=
120521 fi
120522
120523
120524
120525
120526 if test $enable_cheaders = c; then
120527   GLIBCXX_C_HEADERS_C_TRUE=
120528   GLIBCXX_C_HEADERS_C_FALSE='#'
120529 else
120530   GLIBCXX_C_HEADERS_C_TRUE='#'
120531   GLIBCXX_C_HEADERS_C_FALSE=
120532 fi
120533
120534
120535
120536
120537 if test $enable_cheaders = c_std; then
120538   GLIBCXX_C_HEADERS_C_STD_TRUE=
120539   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
120540 else
120541   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
120542   GLIBCXX_C_HEADERS_C_STD_FALSE=
120543 fi
120544
120545
120546
120547
120548 if test $enable_cheaders = c_global; then
120549   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
120550   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
120551 else
120552   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
120553   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
120554 fi
120555
120556
120557
120558
120559 if test $c_compatibility = yes; then
120560   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
120561   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
120562 else
120563   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
120564   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
120565 fi
120566
120567
120568
120569
120570 if test $c_extra = yes; then
120571   GLIBCXX_C_HEADERS_EXTRA_TRUE=
120572   GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
120573 else
120574   GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
120575   GLIBCXX_C_HEADERS_EXTRA_FALSE=
120576 fi
120577
120578
120579
120580
120581 if test $enable_libstdcxx_debug = yes; then
120582   GLIBCXX_BUILD_DEBUG_TRUE=
120583   GLIBCXX_BUILD_DEBUG_FALSE='#'
120584 else
120585   GLIBCXX_BUILD_DEBUG_TRUE='#'
120586   GLIBCXX_BUILD_DEBUG_FALSE=
120587 fi
120588
120589
120590
120591
120592 if test $enable_parallel = yes; then
120593   ENABLE_PARALLEL_TRUE=
120594   ENABLE_PARALLEL_FALSE='#'
120595 else
120596   ENABLE_PARALLEL_TRUE='#'
120597   ENABLE_PARALLEL_FALSE=
120598 fi
120599
120600
120601
120602
120603 if test $enable_symvers != no; then
120604   ENABLE_SYMVERS_TRUE=
120605   ENABLE_SYMVERS_FALSE='#'
120606 else
120607   ENABLE_SYMVERS_TRUE='#'
120608   ENABLE_SYMVERS_FALSE=
120609 fi
120610
120611
120612
120613
120614 if test $enable_symvers = gnu; then
120615   ENABLE_SYMVERS_GNU_TRUE=
120616   ENABLE_SYMVERS_GNU_FALSE='#'
120617 else
120618   ENABLE_SYMVERS_GNU_TRUE='#'
120619   ENABLE_SYMVERS_GNU_FALSE=
120620 fi
120621
120622
120623
120624
120625 if test $enable_symvers = gnu-versioned-namespace; then
120626   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
120627   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
120628 else
120629   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
120630   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
120631 fi
120632
120633
120634
120635
120636 if test $enable_symvers = darwin; then
120637   ENABLE_SYMVERS_DARWIN_TRUE=
120638   ENABLE_SYMVERS_DARWIN_FALSE='#'
120639 else
120640   ENABLE_SYMVERS_DARWIN_TRUE='#'
120641   ENABLE_SYMVERS_DARWIN_FALSE=
120642 fi
120643
120644
120645
120646
120647 if test $enable_visibility = yes; then
120648   ENABLE_VISIBILITY_TRUE=
120649   ENABLE_VISIBILITY_FALSE='#'
120650 else
120651   ENABLE_VISIBILITY_TRUE='#'
120652   ENABLE_VISIBILITY_FALSE=
120653 fi
120654
120655
120656
120657
120658 if test $ac_ldbl_compat = yes; then
120659   GLIBCXX_LDBL_COMPAT_TRUE=
120660   GLIBCXX_LDBL_COMPAT_FALSE='#'
120661 else
120662   GLIBCXX_LDBL_COMPAT_TRUE='#'
120663   GLIBCXX_LDBL_COMPAT_FALSE=
120664 fi
120665
120666
120667
120668
120669 cat >confcache <<\_ACEOF
120670 # This file is a shell script that caches the results of configure
120671 # tests run on this system so they can be shared between configure
120672 # scripts and configure runs, see configure's option --config-cache.
120673 # It is not useful on other systems.  If it contains results you don't
120674 # want to keep, you may remove or edit it.
120675 #
120676 # config.status only pays attention to the cache file if you give it
120677 # the --recheck option to rerun configure.
120678 #
120679 # `ac_cv_env_foo' variables (set or unset) will be overridden when
120680 # loading this file, other *unset* `ac_cv_foo' will be assigned the
120681 # following values.
120682
120683 _ACEOF
120684
120685 # The following way of writing the cache mishandles newlines in values,
120686 # but we know of no workaround that is simple, portable, and efficient.
120687 # So, don't put newlines in cache variables' values.
120688 # Ultrix sh set writes to stderr and can't be redirected directly,
120689 # and sets the high bit in the cache file unless we assign to the vars.
120690 {
120691   (set) 2>&1 |
120692     case `(ac_space=' '; set | grep ac_space) 2>&1` in
120693     *ac_space=\ *)
120694       # `set' does not quote correctly, so add quotes (double-quote
120695       # substitution turns \\\\ into \\, and sed turns \\ into \).
120696       sed -n \
120697         "s/'/'\\\\''/g;
120698           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
120699       ;;
120700     *)
120701       # `set' quotes correctly as required by POSIX, so do not add quotes.
120702       sed -n \
120703         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
120704       ;;
120705     esac;
120706 } |
120707   sed '
120708      t clear
120709      : clear
120710      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
120711      t end
120712      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
120713      : end' >>confcache
120714 if diff $cache_file confcache >/dev/null 2>&1; then :; else
120715   if test -w $cache_file; then
120716     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
120717     cat confcache >$cache_file
120718   else
120719     echo "not updating unwritable cache $cache_file"
120720   fi
120721 fi
120722 rm -f confcache
120723
120724 if test ${multilib} = yes; then
120725   multilib_arg="--enable-multilib"
120726 else
120727   multilib_arg=
120728 fi
120729
120730 # Export all the install information.
120731
120732   glibcxx_toolexecdir=no
120733   glibcxx_toolexeclibdir=no
120734   glibcxx_prefixdir=$prefix
120735
120736   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
120737 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
120738
120739 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
120740 if test "${with_gxx_include_dir+set}" = set; then
120741   withval="$with_gxx_include_dir"
120742   case "$withval" in
120743       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
120744 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
120745    { (exit 1); exit 1; }; } ;;
120746       no)  gxx_include_dir=no ;;
120747       *)   gxx_include_dir=$withval ;;
120748      esac
120749 else
120750   gxx_include_dir=no
120751 fi;
120752   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
120753 echo "${ECHO_T}$gxx_include_dir" >&6
120754
120755   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
120756 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
120757   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
120758 if test "${enable_version_specific_runtime_libs+set}" = set; then
120759   enableval="$enable_version_specific_runtime_libs"
120760   case "$enableval" in
120761       yes) version_specific_libs=yes ;;
120762       no)  version_specific_libs=no ;;
120763       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
120764 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
120765    { (exit 1); exit 1; }; };;
120766      esac
120767 else
120768   version_specific_libs=no
120769 fi;
120770   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
120771 echo "${ECHO_T}$version_specific_libs" >&6
120772
120773   # Default case for install directory for include files.
120774   if test $version_specific_libs = no && test $gxx_include_dir = no; then
120775     gxx_include_dir='include/c++/${gcc_version}'
120776     if test -n "$with_cross_host" &&
120777        test x"$with_cross_host" != x"no"; then
120778       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
120779     else
120780       gxx_include_dir='${prefix}/'"$gxx_include_dir"
120781     fi
120782   fi
120783
120784   # Version-specific runtime libs processing.
120785   if test $version_specific_libs = yes; then
120786     # Need the gcc compiler version to know where to install libraries
120787     # and header files if --enable-version-specific-runtime-libs option
120788     # is selected.  FIXME: these variables are misnamed, there are
120789     # no executables installed in _toolexecdir or _toolexeclibdir.
120790     if test x"$gxx_include_dir" = x"no"; then
120791       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
120792     fi
120793     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
120794     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
120795   fi
120796
120797   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
120798   # Install a library built with a cross compiler in tooldir, not libdir.
120799   if test x"$glibcxx_toolexecdir" = x"no"; then
120800     if test -n "$with_cross_host" &&
120801        test x"$with_cross_host" != x"no"; then
120802       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
120803       glibcxx_toolexeclibdir='${toolexecdir}/lib'
120804     else
120805       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
120806       glibcxx_toolexeclibdir='${libdir}'
120807     fi
120808     multi_os_directory=`$CXX -print-multi-os-directory`
120809     case $multi_os_directory in
120810       .) ;; # Avoid trailing /.
120811       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
120812     esac
120813   fi
120814
120815   echo "$as_me:$LINENO: checking for install location" >&5
120816 echo $ECHO_N "checking for install location... $ECHO_C" >&6
120817   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
120818 echo "${ECHO_T}$gxx_include_dir" >&6
120819
120820
120821
120822
120823
120824
120825
120826 # Export all the include and flag information to Makefiles.
120827
120828   # Used for every C++ compile we perform.
120829   GLIBCXX_INCLUDES="\
120830 -I$glibcxx_builddir/include/$host_alias \
120831 -I$glibcxx_builddir/include \
120832 -I$glibcxx_srcdir/libsupc++"
120833
120834   # For Canadian crosses, pick this up too.
120835   if test $CANADIAN = yes; then
120836     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
120837   fi
120838
120839   # Stuff in the actual top level.  Currently only used by libsupc++ to
120840   # get unwind* headers from the gcc dir.
120841   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
120842   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
120843
120844   # Now, export this to all the little Makefiles....
120845
120846
120847
120848
120849   # Optimization flags that are probably a good idea for thrill-seekers. Just
120850   # uncomment the lines below and make, everything else is ready to go...
120851   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
120852   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
120853
120854
120855   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
120856
120857
120858
120859 if test "$enable_shared" = yes; then
120860   LIBSUPCXX_PICFLAGS="-prefer-pic"
120861 else
120862   LIBSUPCXX_PICFLAGS=
120863 fi
120864
120865
120866                                                                                 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
120867
120868           ac_config_files="$ac_config_files scripts/testsuite_flags"
120869
120870
120871           ac_config_commands="$ac_config_commands default"
120872
120873
120874 cat >confcache <<\_ACEOF
120875 # This file is a shell script that caches the results of configure
120876 # tests run on this system so they can be shared between configure
120877 # scripts and configure runs, see configure's option --config-cache.
120878 # It is not useful on other systems.  If it contains results you don't
120879 # want to keep, you may remove or edit it.
120880 #
120881 # config.status only pays attention to the cache file if you give it
120882 # the --recheck option to rerun configure.
120883 #
120884 # `ac_cv_env_foo' variables (set or unset) will be overridden when
120885 # loading this file, other *unset* `ac_cv_foo' will be assigned the
120886 # following values.
120887
120888 _ACEOF
120889
120890 # The following way of writing the cache mishandles newlines in values,
120891 # but we know of no workaround that is simple, portable, and efficient.
120892 # So, don't put newlines in cache variables' values.
120893 # Ultrix sh set writes to stderr and can't be redirected directly,
120894 # and sets the high bit in the cache file unless we assign to the vars.
120895 {
120896   (set) 2>&1 |
120897     case `(ac_space=' '; set | grep ac_space) 2>&1` in
120898     *ac_space=\ *)
120899       # `set' does not quote correctly, so add quotes (double-quote
120900       # substitution turns \\\\ into \\, and sed turns \\ into \).
120901       sed -n \
120902         "s/'/'\\\\''/g;
120903           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
120904       ;;
120905     *)
120906       # `set' quotes correctly as required by POSIX, so do not add quotes.
120907       sed -n \
120908         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
120909       ;;
120910     esac;
120911 } |
120912   sed '
120913      t clear
120914      : clear
120915      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
120916      t end
120917      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
120918      : end' >>confcache
120919 if diff $cache_file confcache >/dev/null 2>&1; then :; else
120920   if test -w $cache_file; then
120921     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
120922     cat confcache >$cache_file
120923   else
120924     echo "not updating unwritable cache $cache_file"
120925   fi
120926 fi
120927 rm -f confcache
120928
120929 test "x$prefix" = xNONE && prefix=$ac_default_prefix
120930 # Let make expand exec_prefix.
120931 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
120932
120933 # VPATH may cause trouble with some makes, so we remove $(srcdir),
120934 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
120935 # trailing colons and then remove the whole line if VPATH becomes empty
120936 # (actually we leave an empty line to preserve line numbers).
120937 if test "x$srcdir" = x.; then
120938   ac_vpsub='/^[  ]*VPATH[        ]*=/{
120939 s/:*\$(srcdir):*/:/;
120940 s/:*\${srcdir}:*/:/;
120941 s/:*@srcdir@:*/:/;
120942 s/^\([^=]*=[     ]*\):*/\1/;
120943 s/:*$//;
120944 s/^[^=]*=[       ]*$//;
120945 }'
120946 fi
120947
120948 DEFS=-DHAVE_CONFIG_H
120949
120950 ac_libobjs=
120951 ac_ltlibobjs=
120952 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
120953   # 1. Remove the extension, and $U if already installed.
120954   ac_i=`echo "$ac_i" |
120955          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
120956   # 2. Add them.
120957   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
120958   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
120959 done
120960 LIBOBJS=$ac_libobjs
120961
120962 LTLIBOBJS=$ac_ltlibobjs
120963
120964
120965 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
120966   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
120967 Usually this means the macro was only invoked conditionally." >&5
120968 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
120969 Usually this means the macro was only invoked conditionally." >&2;}
120970    { (exit 1); exit 1; }; }
120971 fi
120972 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
120973   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
120974 Usually this means the macro was only invoked conditionally." >&5
120975 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
120976 Usually this means the macro was only invoked conditionally." >&2;}
120977    { (exit 1); exit 1; }; }
120978 fi
120979 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
120980   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
120981 Usually this means the macro was only invoked conditionally." >&5
120982 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
120983 Usually this means the macro was only invoked conditionally." >&2;}
120984    { (exit 1); exit 1; }; }
120985 fi
120986 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
120987   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
120988 Usually this means the macro was only invoked conditionally." >&5
120989 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
120990 Usually this means the macro was only invoked conditionally." >&2;}
120991    { (exit 1); exit 1; }; }
120992 fi
120993 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
120994   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
120995 Usually this means the macro was only invoked conditionally." >&5
120996 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
120997 Usually this means the macro was only invoked conditionally." >&2;}
120998    { (exit 1); exit 1; }; }
120999 fi
121000 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
121001   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
121002 Usually this means the macro was only invoked conditionally." >&5
121003 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
121004 Usually this means the macro was only invoked conditionally." >&2;}
121005    { (exit 1); exit 1; }; }
121006 fi
121007 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
121008   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
121009 Usually this means the macro was only invoked conditionally." >&5
121010 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
121011 Usually this means the macro was only invoked conditionally." >&2;}
121012    { (exit 1); exit 1; }; }
121013 fi
121014 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
121015   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
121016 Usually this means the macro was only invoked conditionally." >&5
121017 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
121018 Usually this means the macro was only invoked conditionally." >&2;}
121019    { (exit 1); exit 1; }; }
121020 fi
121021 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
121022   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
121023 Usually this means the macro was only invoked conditionally." >&5
121024 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
121025 Usually this means the macro was only invoked conditionally." >&2;}
121026    { (exit 1); exit 1; }; }
121027 fi
121028 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
121029   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
121030 Usually this means the macro was only invoked conditionally." >&5
121031 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
121032 Usually this means the macro was only invoked conditionally." >&2;}
121033    { (exit 1); exit 1; }; }
121034 fi
121035 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
121036   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
121037 Usually this means the macro was only invoked conditionally." >&5
121038 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
121039 Usually this means the macro was only invoked conditionally." >&2;}
121040    { (exit 1); exit 1; }; }
121041 fi
121042 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
121043   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
121044 Usually this means the macro was only invoked conditionally." >&5
121045 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
121046 Usually this means the macro was only invoked conditionally." >&2;}
121047    { (exit 1); exit 1; }; }
121048 fi
121049 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
121050   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
121051 Usually this means the macro was only invoked conditionally." >&5
121052 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
121053 Usually this means the macro was only invoked conditionally." >&2;}
121054    { (exit 1); exit 1; }; }
121055 fi
121056 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
121057   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
121058 Usually this means the macro was only invoked conditionally." >&5
121059 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
121060 Usually this means the macro was only invoked conditionally." >&2;}
121061    { (exit 1); exit 1; }; }
121062 fi
121063 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
121064   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
121065 Usually this means the macro was only invoked conditionally." >&5
121066 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
121067 Usually this means the macro was only invoked conditionally." >&2;}
121068    { (exit 1); exit 1; }; }
121069 fi
121070 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
121071   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
121072 Usually this means the macro was only invoked conditionally." >&5
121073 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
121074 Usually this means the macro was only invoked conditionally." >&2;}
121075    { (exit 1); exit 1; }; }
121076 fi
121077
121078 : ${CONFIG_STATUS=./config.status}
121079 ac_clean_files_save=$ac_clean_files
121080 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
121081 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
121082 echo "$as_me: creating $CONFIG_STATUS" >&6;}
121083 cat >$CONFIG_STATUS <<_ACEOF
121084 #! $SHELL
121085 # Generated by $as_me.
121086 # Run this file to recreate the current configuration.
121087 # Compiler output produced by configure, useful for debugging
121088 # configure, is in config.log if it exists.
121089
121090 debug=false
121091 ac_cs_recheck=false
121092 ac_cs_silent=false
121093 SHELL=\${CONFIG_SHELL-$SHELL}
121094 _ACEOF
121095
121096 cat >>$CONFIG_STATUS <<\_ACEOF
121097 ## --------------------- ##
121098 ## M4sh Initialization.  ##
121099 ## --------------------- ##
121100
121101 # Be Bourne compatible
121102 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
121103   emulate sh
121104   NULLCMD=:
121105   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
121106   # is contrary to our usage.  Disable this feature.
121107   alias -g '${1+"$@"}'='"$@"'
121108 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
121109   set -o posix
121110 fi
121111 DUALCASE=1; export DUALCASE # for MKS sh
121112
121113 # Support unset when possible.
121114 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
121115   as_unset=unset
121116 else
121117   as_unset=false
121118 fi
121119
121120
121121 # Work around bugs in pre-3.0 UWIN ksh.
121122 $as_unset ENV MAIL MAILPATH
121123 PS1='$ '
121124 PS2='> '
121125 PS4='+ '
121126
121127 # NLS nuisances.
121128 for as_var in \
121129   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
121130   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
121131   LC_TELEPHONE LC_TIME
121132 do
121133   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
121134     eval $as_var=C; export $as_var
121135   else
121136     $as_unset $as_var
121137   fi
121138 done
121139
121140 # Required to use basename.
121141 if expr a : '\(a\)' >/dev/null 2>&1; then
121142   as_expr=expr
121143 else
121144   as_expr=false
121145 fi
121146
121147 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
121148   as_basename=basename
121149 else
121150   as_basename=false
121151 fi
121152
121153
121154 # Name of the executable.
121155 as_me=`$as_basename "$0" ||
121156 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
121157          X"$0" : 'X\(//\)$' \| \
121158          X"$0" : 'X\(/\)$' \| \
121159          .     : '\(.\)' 2>/dev/null ||
121160 echo X/"$0" |
121161     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
121162           /^X\/\(\/\/\)$/{ s//\1/; q; }
121163           /^X\/\(\/\).*/{ s//\1/; q; }
121164           s/.*/./; q'`
121165
121166
121167 # PATH needs CR, and LINENO needs CR and PATH.
121168 # Avoid depending upon Character Ranges.
121169 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
121170 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
121171 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
121172 as_cr_digits='0123456789'
121173 as_cr_alnum=$as_cr_Letters$as_cr_digits
121174
121175 # The user is always right.
121176 if test "${PATH_SEPARATOR+set}" != set; then
121177   echo "#! /bin/sh" >conf$$.sh
121178   echo  "exit 0"   >>conf$$.sh
121179   chmod +x conf$$.sh
121180   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
121181     PATH_SEPARATOR=';'
121182   else
121183     PATH_SEPARATOR=:
121184   fi
121185   rm -f conf$$.sh
121186 fi
121187
121188
121189   as_lineno_1=$LINENO
121190   as_lineno_2=$LINENO
121191   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
121192   test "x$as_lineno_1" != "x$as_lineno_2" &&
121193   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
121194   # Find who we are.  Look in the path if we contain no path at all
121195   # relative or not.
121196   case $0 in
121197     *[\\/]* ) as_myself=$0 ;;
121198     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
121199 for as_dir in $PATH
121200 do
121201   IFS=$as_save_IFS
121202   test -z "$as_dir" && as_dir=.
121203   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121204 done
121205
121206        ;;
121207   esac
121208   # We did not find ourselves, most probably we were run as `sh COMMAND'
121209   # in which case we are not to be found in the path.
121210   if test "x$as_myself" = x; then
121211     as_myself=$0
121212   fi
121213   if test ! -f "$as_myself"; then
121214     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
121215 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
121216    { (exit 1); exit 1; }; }
121217   fi
121218   case $CONFIG_SHELL in
121219   '')
121220     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
121221 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
121222 do
121223   IFS=$as_save_IFS
121224   test -z "$as_dir" && as_dir=.
121225   for as_base in sh bash ksh sh5; do
121226          case $as_dir in
121227          /*)
121228            if ("$as_dir/$as_base" -c '
121229   as_lineno_1=$LINENO
121230   as_lineno_2=$LINENO
121231   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
121232   test "x$as_lineno_1" != "x$as_lineno_2" &&
121233   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
121234              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
121235              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
121236              CONFIG_SHELL=$as_dir/$as_base
121237              export CONFIG_SHELL
121238              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
121239            fi;;
121240          esac
121241        done
121242 done
121243 ;;
121244   esac
121245
121246   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
121247   # uniformly replaced by the line number.  The first 'sed' inserts a
121248   # line-number line before each line; the second 'sed' does the real
121249   # work.  The second script uses 'N' to pair each line-number line
121250   # with the numbered line, and appends trailing '-' during
121251   # substitution so that $LINENO is not a special case at line end.
121252   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
121253   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
121254   sed '=' <$as_myself |
121255     sed '
121256       N
121257       s,$,-,
121258       : loop
121259       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
121260       t loop
121261       s,-$,,
121262       s,^['$as_cr_digits']*\n,,
121263     ' >$as_me.lineno &&
121264   chmod +x $as_me.lineno ||
121265     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
121266 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
121267    { (exit 1); exit 1; }; }
121268
121269   # Don't try to exec as it changes $[0], causing all sort of problems
121270   # (the dirname of $[0] is not the place where we might find the
121271   # original and so on.  Autoconf is especially sensible to this).
121272   . ./$as_me.lineno
121273   # Exit status is that of the last command.
121274   exit
121275 }
121276
121277
121278 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
121279   *c*,-n*) ECHO_N= ECHO_C='
121280 ' ECHO_T='      ' ;;
121281   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
121282   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
121283 esac
121284
121285 if expr a : '\(a\)' >/dev/null 2>&1; then
121286   as_expr=expr
121287 else
121288   as_expr=false
121289 fi
121290
121291 rm -f conf$$ conf$$.exe conf$$.file
121292 echo >conf$$.file
121293 if ln -s conf$$.file conf$$ 2>/dev/null; then
121294   # We could just check for DJGPP; but this test a) works b) is more generic
121295   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
121296   if test -f conf$$.exe; then
121297     # Don't use ln at all; we don't have any links
121298     as_ln_s='cp -p'
121299   else
121300     as_ln_s='ln -s'
121301   fi
121302 elif ln conf$$.file conf$$ 2>/dev/null; then
121303   as_ln_s=ln
121304 else
121305   as_ln_s='cp -p'
121306 fi
121307 rm -f conf$$ conf$$.exe conf$$.file
121308
121309 if mkdir -p . 2>/dev/null; then
121310   as_mkdir_p=:
121311 else
121312   test -d ./-p && rmdir ./-p
121313   as_mkdir_p=false
121314 fi
121315
121316 as_executable_p="test -f"
121317
121318 # Sed expression to map a string onto a valid CPP name.
121319 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
121320
121321 # Sed expression to map a string onto a valid variable name.
121322 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
121323
121324
121325 # IFS
121326 # We need space, tab and new line, in precisely that order.
121327 as_nl='
121328 '
121329 IFS="   $as_nl"
121330
121331 # CDPATH.
121332 $as_unset CDPATH
121333
121334 exec 6>&1
121335
121336 # Open the log real soon, to keep \$[0] and so on meaningful, and to
121337 # report actual input values of CONFIG_FILES etc. instead of their
121338 # values after options handling.  Logging --version etc. is OK.
121339 exec 5>>config.log
121340 {
121341   echo
121342   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
121343 ## Running $as_me. ##
121344 _ASBOX
121345 } >&5
121346 cat >&5 <<_CSEOF
121347
121348 This file was extended by package-unused $as_me version-unused, which was
121349 generated by GNU Autoconf 2.59.  Invocation command line was
121350
121351   CONFIG_FILES    = $CONFIG_FILES
121352   CONFIG_HEADERS  = $CONFIG_HEADERS
121353   CONFIG_LINKS    = $CONFIG_LINKS
121354   CONFIG_COMMANDS = $CONFIG_COMMANDS
121355   $ $0 $@
121356
121357 _CSEOF
121358 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
121359 echo >&5
121360 _ACEOF
121361
121362 # Files that config.status was made for.
121363 if test -n "$ac_config_files"; then
121364   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
121365 fi
121366
121367 if test -n "$ac_config_headers"; then
121368   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
121369 fi
121370
121371 if test -n "$ac_config_links"; then
121372   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
121373 fi
121374
121375 if test -n "$ac_config_commands"; then
121376   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
121377 fi
121378
121379 cat >>$CONFIG_STATUS <<\_ACEOF
121380
121381 ac_cs_usage="\
121382 \`$as_me' instantiates files from templates according to the
121383 current configuration.
121384
121385 Usage: $0 [OPTIONS] [FILE]...
121386
121387   -h, --help       print this help, then exit
121388   -V, --version    print version number, then exit
121389   -q, --quiet      do not print progress messages
121390   -d, --debug      don't remove temporary files
121391       --recheck    update $as_me by reconfiguring in the same conditions
121392   --file=FILE[:TEMPLATE]
121393                    instantiate the configuration file FILE
121394   --header=FILE[:TEMPLATE]
121395                    instantiate the configuration header FILE
121396
121397 Configuration files:
121398 $config_files
121399
121400 Configuration headers:
121401 $config_headers
121402
121403 Configuration commands:
121404 $config_commands
121405
121406 Report bugs to <bug-autoconf@gnu.org>."
121407 _ACEOF
121408
121409 cat >>$CONFIG_STATUS <<_ACEOF
121410 ac_cs_version="\\
121411 package-unused config.status version-unused
121412 configured by $0, generated by GNU Autoconf 2.59,
121413   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
121414
121415 Copyright (C) 2003 Free Software Foundation, Inc.
121416 This config.status script is free software; the Free Software Foundation
121417 gives unlimited permission to copy, distribute and modify it."
121418 srcdir=$srcdir
121419 INSTALL="$INSTALL"
121420 _ACEOF
121421
121422 cat >>$CONFIG_STATUS <<\_ACEOF
121423 # If no file are specified by the user, then we need to provide default
121424 # value.  By we need to know if files were specified by the user.
121425 ac_need_defaults=:
121426 while test $# != 0
121427 do
121428   case $1 in
121429   --*=*)
121430     ac_option=`expr "x$1" : 'x\([^=]*\)='`
121431     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
121432     ac_shift=:
121433     ;;
121434   -*)
121435     ac_option=$1
121436     ac_optarg=$2
121437     ac_shift=shift
121438     ;;
121439   *) # This is not an option, so the user has probably given explicit
121440      # arguments.
121441      ac_option=$1
121442      ac_need_defaults=false;;
121443   esac
121444
121445   case $ac_option in
121446   # Handling of the options.
121447 _ACEOF
121448 cat >>$CONFIG_STATUS <<\_ACEOF
121449   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
121450     ac_cs_recheck=: ;;
121451   --version | --vers* | -V )
121452     echo "$ac_cs_version"; exit 0 ;;
121453   --he | --h)
121454     # Conflict between --help and --header
121455     { { echo "$as_me:$LINENO: error: ambiguous option: $1
121456 Try \`$0 --help' for more information." >&5
121457 echo "$as_me: error: ambiguous option: $1
121458 Try \`$0 --help' for more information." >&2;}
121459    { (exit 1); exit 1; }; };;
121460   --help | --hel | -h )
121461     echo "$ac_cs_usage"; exit 0 ;;
121462   --debug | --d* | -d )
121463     debug=: ;;
121464   --file | --fil | --fi | --f )
121465     $ac_shift
121466     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
121467     ac_need_defaults=false;;
121468   --header | --heade | --head | --hea )
121469     $ac_shift
121470     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
121471     ac_need_defaults=false;;
121472   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
121473   | -silent | --silent | --silen | --sile | --sil | --si | --s)
121474     ac_cs_silent=: ;;
121475
121476   # This is an error.
121477   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
121478 Try \`$0 --help' for more information." >&5
121479 echo "$as_me: error: unrecognized option: $1
121480 Try \`$0 --help' for more information." >&2;}
121481    { (exit 1); exit 1; }; } ;;
121482
121483   *) ac_config_targets="$ac_config_targets $1" ;;
121484
121485   esac
121486   shift
121487 done
121488
121489 ac_configure_extra_args=
121490
121491 if $ac_cs_silent; then
121492   exec 6>/dev/null
121493   ac_configure_extra_args="$ac_configure_extra_args --silent"
121494 fi
121495
121496 _ACEOF
121497 cat >>$CONFIG_STATUS <<_ACEOF
121498 if \$ac_cs_recheck; then
121499   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
121500   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
121501 fi
121502
121503 _ACEOF
121504
121505 cat >>$CONFIG_STATUS <<_ACEOF
121506 #
121507 # INIT-COMMANDS section.
121508 #
121509
121510
121511 srcdir="$srcdir"
121512 host="$host"
121513 target="$target"
121514 with_multisubdir="$with_multisubdir"
121515 with_multisrctop="$with_multisrctop"
121516 with_target_subdir="$with_target_subdir"
121517 ac_configure_args="${multilib_arg} ${ac_configure_args}"
121518 multi_basedir="$multi_basedir"
121519 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
121520 CC="$CC"
121521
121522
121523 # The HP-UX ksh and POSIX shell print the target directory to stdout
121524 # if CDPATH is set.
121525 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
121526
121527 sed_quote_subst='$sed_quote_subst'
121528 double_quote_subst='$double_quote_subst'
121529 delay_variable_subst='$delay_variable_subst'
121530 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
121531 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
121532 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
121533 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
121534 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
121535 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
121536 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
121537 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
121538 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
121539 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
121540 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
121541 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
121542 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
121543 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
121544 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
121545 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
121546 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
121547 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
121548 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
121549 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
121550 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
121551 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
121552 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
121553 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
121554 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
121555 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
121556 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
121557 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121558 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
121559 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
121560 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
121561 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
121562 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
121563 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
121564 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121565 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121566 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121567 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
121568 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
121569 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
121570 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
121571 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
121572 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
121573 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"`'
121574 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
121575 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
121576 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
121577 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
121578 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
121579 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
121580 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
121581 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
121582 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
121583 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
121584 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
121585 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121586 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121587 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
121588 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
121589 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
121590 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
121591 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
121592 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121593 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121594 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121595 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121596 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121597 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121598 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
121599 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
121600 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
121601 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
121602 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
121603 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
121604 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
121605 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
121606 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
121607 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
121608 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
121609 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
121610 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
121611 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
121612 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
121613 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121614 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
121615 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
121616 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121617 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
121618 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
121619 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
121620 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
121621 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
121622 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
121623 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
121624 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
121625 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
121626 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
121627 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
121628 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121629 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121630 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121631 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
121632 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
121633 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
121634 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
121635 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
121636 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
121637 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
121638 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
121639 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
121640 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
121641 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
121642 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
121643 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
121644 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
121645 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
121646 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121647 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121648 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121649 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121650 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121651 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121652 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121653 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121654 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121655 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121656 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121657 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121658 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121659 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121660 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121661 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121662 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121663 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121664 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121665 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121666 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121667 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121668 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121669 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121670 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121671 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121672 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121673 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121674 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121675 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121676 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121677 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121678 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121679 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121680 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121681 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121682 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121683 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121684 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121685 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121686 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121687 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121688 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121689 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121690 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121691 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121692
121693 LTCC='$LTCC'
121694 LTCFLAGS='$LTCFLAGS'
121695 compiler='$compiler_DEFAULT'
121696
121697 # Quote evaled strings.
121698 for var in SED \
121699 GREP \
121700 EGREP \
121701 FGREP \
121702 LD \
121703 NM \
121704 LN_S \
121705 lt_SP2NL \
121706 lt_NL2SP \
121707 reload_flag \
121708 deplibs_check_method \
121709 file_magic_cmd \
121710 AR \
121711 AR_FLAGS \
121712 STRIP \
121713 RANLIB \
121714 CC \
121715 CFLAGS \
121716 compiler \
121717 lt_cv_sys_global_symbol_pipe \
121718 lt_cv_sys_global_symbol_to_cdecl \
121719 lt_cv_sys_global_symbol_to_c_name_address \
121720 SHELL \
121721 ECHO \
121722 lt_prog_compiler_no_builtin_flag \
121723 lt_prog_compiler_wl \
121724 lt_prog_compiler_pic \
121725 lt_prog_compiler_static \
121726 lt_cv_prog_compiler_c_o \
121727 need_locks \
121728 shrext_cmds \
121729 export_dynamic_flag_spec \
121730 whole_archive_flag_spec \
121731 compiler_needs_object \
121732 with_gnu_ld \
121733 allow_undefined_flag \
121734 no_undefined_flag \
121735 hardcode_libdir_flag_spec \
121736 hardcode_libdir_flag_spec_ld \
121737 hardcode_libdir_separator \
121738 fix_srcfile_path \
121739 exclude_expsyms \
121740 include_expsyms \
121741 file_list_spec \
121742 variables_saved_for_relink \
121743 libname_spec \
121744 library_names_spec \
121745 soname_spec \
121746 finish_eval \
121747 old_striplib \
121748 striplib \
121749 predep_objects \
121750 postdep_objects \
121751 predeps \
121752 postdeps \
121753 compiler_lib_search_path \
121754 LD_CXX \
121755 compiler_CXX \
121756 lt_prog_compiler_no_builtin_flag_CXX \
121757 lt_prog_compiler_wl_CXX \
121758 lt_prog_compiler_pic_CXX \
121759 lt_prog_compiler_static_CXX \
121760 lt_cv_prog_compiler_c_o_CXX \
121761 export_dynamic_flag_spec_CXX \
121762 whole_archive_flag_spec_CXX \
121763 compiler_needs_object_CXX \
121764 with_gnu_ld_CXX \
121765 allow_undefined_flag_CXX \
121766 no_undefined_flag_CXX \
121767 hardcode_libdir_flag_spec_CXX \
121768 hardcode_libdir_flag_spec_ld_CXX \
121769 hardcode_libdir_separator_CXX \
121770 fix_srcfile_path_CXX \
121771 exclude_expsyms_CXX \
121772 include_expsyms_CXX \
121773 file_list_spec_CXX \
121774 predep_objects_CXX \
121775 postdep_objects_CXX \
121776 predeps_CXX \
121777 postdeps_CXX \
121778 compiler_lib_search_path_CXX; do
121779     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
121780     *[\\\\\\\`\\"\\\$]*)
121781       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
121782       ;;
121783     *)
121784       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
121785       ;;
121786     esac
121787 done
121788
121789 # Double-quote double-evaled strings.
121790 for var in reload_cmds \
121791 old_postinstall_cmds \
121792 old_postuninstall_cmds \
121793 old_archive_cmds \
121794 extract_expsyms_cmds \
121795 old_archive_from_new_cmds \
121796 old_archive_from_expsyms_cmds \
121797 archive_cmds \
121798 archive_expsym_cmds \
121799 module_cmds \
121800 module_expsym_cmds \
121801 export_symbols_cmds \
121802 prelink_cmds \
121803 postinstall_cmds \
121804 postuninstall_cmds \
121805 finish_cmds \
121806 sys_lib_search_path_spec \
121807 sys_lib_dlsearch_path_spec \
121808 old_archive_cmds_CXX \
121809 old_archive_from_new_cmds_CXX \
121810 old_archive_from_expsyms_cmds_CXX \
121811 archive_cmds_CXX \
121812 archive_expsym_cmds_CXX \
121813 module_cmds_CXX \
121814 module_expsym_cmds_CXX \
121815 export_symbols_cmds_CXX \
121816 prelink_cmds_CXX; do
121817     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
121818     *[\\\\\\\`\\"\\\$]*)
121819       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
121820       ;;
121821     *)
121822       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
121823       ;;
121824     esac
121825 done
121826
121827 # Fix-up fallback echo if it was mangled by the above quoting rules.
121828 case \$lt_ECHO in
121829 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
121830   ;;
121831 esac
121832
121833 ac_aux_dir='$ac_aux_dir'
121834 xsi_shell='$xsi_shell'
121835 lt_shell_append='$lt_shell_append'
121836
121837 # See if we are running on zsh, and set the options which allow our
121838 # commands through without removal of \ escapes INIT.
121839 if test -n "\${ZSH_VERSION+set}" ; then
121840    setopt NO_GLOB_SUBST
121841 fi
121842
121843
121844     PACKAGE='$PACKAGE'
121845     VERSION='$VERSION'
121846     TIMESTAMP='$TIMESTAMP'
121847     RM='$RM'
121848     ofile='$ofile'
121849
121850
121851
121852
121853
121854
121855 GCC="$GCC"
121856 CC="$CC"
121857 acx_cv_header_stdint="$acx_cv_header_stdint"
121858 acx_cv_type_int8_t="$acx_cv_type_int8_t"
121859 acx_cv_type_int16_t="$acx_cv_type_int16_t"
121860 acx_cv_type_int32_t="$acx_cv_type_int32_t"
121861 acx_cv_type_int64_t="$acx_cv_type_int64_t"
121862 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
121863 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
121864 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
121865 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
121866 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
121867 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
121868 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
121869 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
121870 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
121871
121872
121873 # Variables needed in config.status (file generation) which aren't already
121874 # passed by autoconf.
121875 SUBDIRS="$SUBDIRS"
121876
121877
121878 _ACEOF
121879
121880
121881
121882 cat >>$CONFIG_STATUS <<\_ACEOF
121883 for ac_config_target in $ac_config_targets
121884 do
121885   case "$ac_config_target" in
121886   # Handling of arguments.
121887   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
121888   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
121889   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
121890   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
121891   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
121892   "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
121893   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
121894   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
121895   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
121896   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
121897   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
121898   "include/gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
121899   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
121900   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
121901   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
121902 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
121903    { (exit 1); exit 1; }; };;
121904   esac
121905 done
121906
121907 # If the user did not use the arguments to specify the items to instantiate,
121908 # then the envvar interface is used.  Set only those that are not.
121909 # We use the long form for the default assignment because of an extremely
121910 # bizarre bug on SunOS 4.1.3.
121911 if $ac_need_defaults; then
121912   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
121913   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
121914   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
121915 fi
121916
121917 # Have a temporary directory for convenience.  Make it in the build tree
121918 # simply because there is no reason to put it here, and in addition,
121919 # creating and moving files from /tmp can sometimes cause problems.
121920 # Create a temporary directory, and hook for its removal unless debugging.
121921 $debug ||
121922 {
121923   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
121924   trap '{ (exit 1); exit 1; }' 1 2 13 15
121925 }
121926
121927 # Create a (secure) tmp directory for tmp files.
121928
121929 {
121930   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
121931   test -n "$tmp" && test -d "$tmp"
121932 }  ||
121933 {
121934   tmp=./confstat$$-$RANDOM
121935   (umask 077 && mkdir $tmp)
121936 } ||
121937 {
121938    echo "$me: cannot create a temporary directory in ." >&2
121939    { (exit 1); exit 1; }
121940 }
121941
121942 _ACEOF
121943
121944 cat >>$CONFIG_STATUS <<_ACEOF
121945
121946 #
121947 # CONFIG_FILES section.
121948 #
121949
121950 # No need to generate the scripts if there are no CONFIG_FILES.
121951 # This happens for instance when ./config.status config.h
121952 if test -n "\$CONFIG_FILES"; then
121953   # Protect against being on the right side of a sed subst in config.status.
121954   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
121955    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
121956 s,@SHELL@,$SHELL,;t t
121957 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
121958 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
121959 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
121960 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
121961 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
121962 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
121963 s,@exec_prefix@,$exec_prefix,;t t
121964 s,@prefix@,$prefix,;t t
121965 s,@program_transform_name@,$program_transform_name,;t t
121966 s,@bindir@,$bindir,;t t
121967 s,@sbindir@,$sbindir,;t t
121968 s,@libexecdir@,$libexecdir,;t t
121969 s,@datadir@,$datadir,;t t
121970 s,@sysconfdir@,$sysconfdir,;t t
121971 s,@sharedstatedir@,$sharedstatedir,;t t
121972 s,@localstatedir@,$localstatedir,;t t
121973 s,@libdir@,$libdir,;t t
121974 s,@includedir@,$includedir,;t t
121975 s,@oldincludedir@,$oldincludedir,;t t
121976 s,@infodir@,$infodir,;t t
121977 s,@mandir@,$mandir,;t t
121978 s,@build_alias@,$build_alias,;t t
121979 s,@host_alias@,$host_alias,;t t
121980 s,@target_alias@,$target_alias,;t t
121981 s,@DEFS@,$DEFS,;t t
121982 s,@ECHO_C@,$ECHO_C,;t t
121983 s,@ECHO_N@,$ECHO_N,;t t
121984 s,@ECHO_T@,$ECHO_T,;t t
121985 s,@LIBS@,$LIBS,;t t
121986 s,@libtool_VERSION@,$libtool_VERSION,;t t
121987 s,@multi_basedir@,$multi_basedir,;t t
121988 s,@build@,$build,;t t
121989 s,@build_cpu@,$build_cpu,;t t
121990 s,@build_vendor@,$build_vendor,;t t
121991 s,@build_os@,$build_os,;t t
121992 s,@host@,$host,;t t
121993 s,@host_cpu@,$host_cpu,;t t
121994 s,@host_vendor@,$host_vendor,;t t
121995 s,@host_os@,$host_os,;t t
121996 s,@target@,$target,;t t
121997 s,@target_cpu@,$target_cpu,;t t
121998 s,@target_vendor@,$target_vendor,;t t
121999 s,@target_os@,$target_os,;t t
122000 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
122001 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
122002 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
122003 s,@CYGPATH_W@,$CYGPATH_W,;t t
122004 s,@PACKAGE@,$PACKAGE,;t t
122005 s,@VERSION@,$VERSION,;t t
122006 s,@ACLOCAL@,$ACLOCAL,;t t
122007 s,@AUTOCONF@,$AUTOCONF,;t t
122008 s,@AUTOMAKE@,$AUTOMAKE,;t t
122009 s,@AUTOHEADER@,$AUTOHEADER,;t t
122010 s,@MAKEINFO@,$MAKEINFO,;t t
122011 s,@install_sh@,$install_sh,;t t
122012 s,@STRIP@,$STRIP,;t t
122013 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
122014 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
122015 s,@mkdir_p@,$mkdir_p,;t t
122016 s,@AWK@,$AWK,;t t
122017 s,@SET_MAKE@,$SET_MAKE,;t t
122018 s,@am__leading_dot@,$am__leading_dot,;t t
122019 s,@AMTAR@,$AMTAR,;t t
122020 s,@am__tar@,$am__tar,;t t
122021 s,@am__untar@,$am__untar,;t t
122022 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
122023 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
122024 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
122025 s,@CC@,$CC,;t t
122026 s,@ac_ct_CC@,$ac_ct_CC,;t t
122027 s,@EXEEXT@,$EXEEXT,;t t
122028 s,@OBJEXT@,$OBJEXT,;t t
122029 s,@CXX@,$CXX,;t t
122030 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
122031 s,@CFLAGS@,$CFLAGS,;t t
122032 s,@CXXFLAGS@,$CXXFLAGS,;t t
122033 s,@LN_S@,$LN_S,;t t
122034 s,@AS@,$AS,;t t
122035 s,@ac_ct_AS@,$ac_ct_AS,;t t
122036 s,@AR@,$AR,;t t
122037 s,@ac_ct_AR@,$ac_ct_AR,;t t
122038 s,@RANLIB@,$RANLIB,;t t
122039 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
122040 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
122041 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
122042 s,@MAINT@,$MAINT,;t t
122043 s,@CPP@,$CPP,;t t
122044 s,@CPPFLAGS@,$CPPFLAGS,;t t
122045 s,@EGREP@,$EGREP,;t t
122046 s,@LIBTOOL@,$LIBTOOL,;t t
122047 s,@SED@,$SED,;t t
122048 s,@FGREP@,$FGREP,;t t
122049 s,@GREP@,$GREP,;t t
122050 s,@LD@,$LD,;t t
122051 s,@DUMPBIN@,$DUMPBIN,;t t
122052 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
122053 s,@NM@,$NM,;t t
122054 s,@lt_ECHO@,$lt_ECHO,;t t
122055 s,@LDFLAGS@,$LDFLAGS,;t t
122056 s,@CXXCPP@,$CXXCPP,;t t
122057 s,@enable_shared@,$enable_shared,;t t
122058 s,@enable_static@,$enable_static,;t t
122059 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
122060 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
122061 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
122062 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
122063 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
122064 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
122065 s,@WERROR@,$WERROR,;t t
122066 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
122067 s,@CSTDIO_H@,$CSTDIO_H,;t t
122068 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
122069 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
122070 s,@check_msgfmt@,$check_msgfmt,;t t
122071 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
122072 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
122073 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
122074 s,@USE_NLS@,$USE_NLS,;t t
122075 s,@CLOCALE_H@,$CLOCALE_H,;t t
122076 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
122077 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
122078 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
122079 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
122080 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
122081 s,@CMONEY_CC@,$CMONEY_CC,;t t
122082 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
122083 s,@CTIME_H@,$CTIME_H,;t t
122084 s,@CTIME_CC@,$CTIME_CC,;t t
122085 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
122086 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
122087 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
122088 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
122089 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
122090 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
122091 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
122092 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
122093 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
122094 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
122095 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
122096 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
122097 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
122098 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
122099 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
122100 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
122101 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
122102 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
122103 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
122104 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
122105 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
122106 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
122107 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
122108 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
122109 s,@LIBICONV@,$LIBICONV,;t t
122110 s,@LTLIBICONV@,$LTLIBICONV,;t t
122111 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
122112 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
122113 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
122114 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
122115 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
122116 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
122117 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
122118 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
122119 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
122120 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
122121 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
122122 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
122123 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
122124 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
122125 s,@baseline_dir@,$baseline_dir,;t t
122126 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
122127 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
122128 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
122129 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
122130 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
122131 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
122132 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
122133 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
122134 s,@gxx_include_dir@,$gxx_include_dir,;t t
122135 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
122136 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
122137 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
122138 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
122139 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
122140 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
122141 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
122142 s,@LIBOBJS@,$LIBOBJS,;t t
122143 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
122144 CEOF
122145
122146 _ACEOF
122147
122148   cat >>$CONFIG_STATUS <<\_ACEOF
122149   # Split the substitutions into bite-sized pieces for seds with
122150   # small command number limits, like on Digital OSF/1 and HP-UX.
122151   ac_max_sed_lines=48
122152   ac_sed_frag=1 # Number of current file.
122153   ac_beg=1 # First line for current file.
122154   ac_end=$ac_max_sed_lines # Line after last line for current file.
122155   ac_more_lines=:
122156   ac_sed_cmds=
122157   while $ac_more_lines; do
122158     if test $ac_beg -gt 1; then
122159       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
122160     else
122161       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
122162     fi
122163     if test ! -s $tmp/subs.frag; then
122164       ac_more_lines=false
122165     else
122166       # The purpose of the label and of the branching condition is to
122167       # speed up the sed processing (if there are no `@' at all, there
122168       # is no need to browse any of the substitutions).
122169       # These are the two extra sed commands mentioned above.
122170       (echo ':t
122171   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
122172       if test -z "$ac_sed_cmds"; then
122173         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
122174       else
122175         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
122176       fi
122177       ac_sed_frag=`expr $ac_sed_frag + 1`
122178       ac_beg=$ac_end
122179       ac_end=`expr $ac_end + $ac_max_sed_lines`
122180     fi
122181   done
122182   if test -z "$ac_sed_cmds"; then
122183     ac_sed_cmds=cat
122184   fi
122185 fi # test -n "$CONFIG_FILES"
122186
122187 _ACEOF
122188 cat >>$CONFIG_STATUS <<\_ACEOF
122189 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
122190   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
122191   case $ac_file in
122192   - | *:- | *:-:* ) # input from stdin
122193         cat >$tmp/stdin
122194         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
122195         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
122196   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
122197         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
122198   * )   ac_file_in=$ac_file.in ;;
122199   esac
122200
122201   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
122202   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
122203 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122204          X"$ac_file" : 'X\(//\)[^/]' \| \
122205          X"$ac_file" : 'X\(//\)$' \| \
122206          X"$ac_file" : 'X\(/\)' \| \
122207          .     : '\(.\)' 2>/dev/null ||
122208 echo X"$ac_file" |
122209     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122210           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122211           /^X\(\/\/\)$/{ s//\1/; q; }
122212           /^X\(\/\).*/{ s//\1/; q; }
122213           s/.*/./; q'`
122214   { if $as_mkdir_p; then
122215     mkdir -p "$ac_dir"
122216   else
122217     as_dir="$ac_dir"
122218     as_dirs=
122219     while test ! -d "$as_dir"; do
122220       as_dirs="$as_dir $as_dirs"
122221       as_dir=`(dirname "$as_dir") 2>/dev/null ||
122222 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122223          X"$as_dir" : 'X\(//\)[^/]' \| \
122224          X"$as_dir" : 'X\(//\)$' \| \
122225          X"$as_dir" : 'X\(/\)' \| \
122226          .     : '\(.\)' 2>/dev/null ||
122227 echo X"$as_dir" |
122228     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122229           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122230           /^X\(\/\/\)$/{ s//\1/; q; }
122231           /^X\(\/\).*/{ s//\1/; q; }
122232           s/.*/./; q'`
122233     done
122234     test ! -n "$as_dirs" || mkdir $as_dirs
122235   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
122236 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
122237    { (exit 1); exit 1; }; }; }
122238
122239   ac_builddir=.
122240
122241 if test "$ac_dir" != .; then
122242   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
122243   # A "../" for each directory in $ac_dir_suffix.
122244   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
122245 else
122246   ac_dir_suffix= ac_top_builddir=
122247 fi
122248
122249 case $srcdir in
122250   .)  # No --srcdir option.  We are building in place.
122251     ac_srcdir=.
122252     if test -z "$ac_top_builddir"; then
122253        ac_top_srcdir=.
122254     else
122255        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
122256     fi ;;
122257   [\\/]* | ?:[\\/]* )  # Absolute path.
122258     ac_srcdir=$srcdir$ac_dir_suffix;
122259     ac_top_srcdir=$srcdir ;;
122260   *) # Relative path.
122261     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
122262     ac_top_srcdir=$ac_top_builddir$srcdir ;;
122263 esac
122264
122265 # Do not use `cd foo && pwd` to compute absolute paths, because
122266 # the directories may not exist.
122267 case `pwd` in
122268 .) ac_abs_builddir="$ac_dir";;
122269 *)
122270   case "$ac_dir" in
122271   .) ac_abs_builddir=`pwd`;;
122272   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
122273   *) ac_abs_builddir=`pwd`/"$ac_dir";;
122274   esac;;
122275 esac
122276 case $ac_abs_builddir in
122277 .) ac_abs_top_builddir=${ac_top_builddir}.;;
122278 *)
122279   case ${ac_top_builddir}. in
122280   .) ac_abs_top_builddir=$ac_abs_builddir;;
122281   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
122282   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
122283   esac;;
122284 esac
122285 case $ac_abs_builddir in
122286 .) ac_abs_srcdir=$ac_srcdir;;
122287 *)
122288   case $ac_srcdir in
122289   .) ac_abs_srcdir=$ac_abs_builddir;;
122290   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
122291   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
122292   esac;;
122293 esac
122294 case $ac_abs_builddir in
122295 .) ac_abs_top_srcdir=$ac_top_srcdir;;
122296 *)
122297   case $ac_top_srcdir in
122298   .) ac_abs_top_srcdir=$ac_abs_builddir;;
122299   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
122300   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
122301   esac;;
122302 esac
122303
122304
122305   case $INSTALL in
122306   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
122307   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
122308   esac
122309
122310   if test x"$ac_file" != x-; then
122311     { echo "$as_me:$LINENO: creating $ac_file" >&5
122312 echo "$as_me: creating $ac_file" >&6;}
122313     rm -f "$ac_file"
122314   fi
122315   # Let's still pretend it is `configure' which instantiates (i.e., don't
122316   # use $as_me), people would be surprised to read:
122317   #    /* config.h.  Generated by config.status.  */
122318   if test x"$ac_file" = x-; then
122319     configure_input=
122320   else
122321     configure_input="$ac_file.  "
122322   fi
122323   configure_input=$configure_input"Generated from `echo $ac_file_in |
122324                                      sed 's,.*/,,'` by configure."
122325
122326   # First look for the input files in the build tree, otherwise in the
122327   # src tree.
122328   ac_file_inputs=`IFS=:
122329     for f in $ac_file_in; do
122330       case $f in
122331       -) echo $tmp/stdin ;;
122332       [\\/$]*)
122333          # Absolute (can't be DOS-style, as IFS=:)
122334          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
122335 echo "$as_me: error: cannot find input file: $f" >&2;}
122336    { (exit 1); exit 1; }; }
122337          echo "$f";;
122338       *) # Relative
122339          if test -f "$f"; then
122340            # Build tree
122341            echo "$f"
122342          elif test -f "$srcdir/$f"; then
122343            # Source tree
122344            echo "$srcdir/$f"
122345          else
122346            # /dev/null tree
122347            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
122348 echo "$as_me: error: cannot find input file: $f" >&2;}
122349    { (exit 1); exit 1; }; }
122350          fi;;
122351       esac
122352     done` || { (exit 1); exit 1; }
122353 _ACEOF
122354 cat >>$CONFIG_STATUS <<_ACEOF
122355   sed "$ac_vpsub
122356 $extrasub
122357 _ACEOF
122358 cat >>$CONFIG_STATUS <<\_ACEOF
122359 :t
122360 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
122361 s,@configure_input@,$configure_input,;t t
122362 s,@srcdir@,$ac_srcdir,;t t
122363 s,@abs_srcdir@,$ac_abs_srcdir,;t t
122364 s,@top_srcdir@,$ac_top_srcdir,;t t
122365 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
122366 s,@builddir@,$ac_builddir,;t t
122367 s,@abs_builddir@,$ac_abs_builddir,;t t
122368 s,@top_builddir@,$ac_top_builddir,;t t
122369 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
122370 s,@INSTALL@,$ac_INSTALL,;t t
122371 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
122372   rm -f $tmp/stdin
122373   if test x"$ac_file" != x-; then
122374     mv $tmp/out $ac_file
122375   else
122376     cat $tmp/out
122377     rm -f $tmp/out
122378   fi
122379
122380   # Run the commands associated with the file.
122381   case $ac_file in
122382     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
122383   esac
122384 done
122385 _ACEOF
122386 cat >>$CONFIG_STATUS <<\_ACEOF
122387
122388 #
122389 # CONFIG_HEADER section.
122390 #
122391
122392 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
122393 # NAME is the cpp macro being defined and VALUE is the value it is being given.
122394 #
122395 # ac_d sets the value in "#define NAME VALUE" lines.
122396 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
122397 ac_dB='[         ].*$,\1#\2'
122398 ac_dC=' '
122399 ac_dD=',;t'
122400 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
122401 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
122402 ac_uB='$,\1#\2define\3'
122403 ac_uC=' '
122404 ac_uD=',;t'
122405
122406 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
122407   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
122408   case $ac_file in
122409   - | *:- | *:-:* ) # input from stdin
122410         cat >$tmp/stdin
122411         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
122412         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
122413   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
122414         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
122415   * )   ac_file_in=$ac_file.in ;;
122416   esac
122417
122418   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
122419 echo "$as_me: creating $ac_file" >&6;}
122420
122421   # First look for the input files in the build tree, otherwise in the
122422   # src tree.
122423   ac_file_inputs=`IFS=:
122424     for f in $ac_file_in; do
122425       case $f in
122426       -) echo $tmp/stdin ;;
122427       [\\/$]*)
122428          # Absolute (can't be DOS-style, as IFS=:)
122429          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
122430 echo "$as_me: error: cannot find input file: $f" >&2;}
122431    { (exit 1); exit 1; }; }
122432          # Do quote $f, to prevent DOS paths from being IFS'd.
122433          echo "$f";;
122434       *) # Relative
122435          if test -f "$f"; then
122436            # Build tree
122437            echo "$f"
122438          elif test -f "$srcdir/$f"; then
122439            # Source tree
122440            echo "$srcdir/$f"
122441          else
122442            # /dev/null tree
122443            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
122444 echo "$as_me: error: cannot find input file: $f" >&2;}
122445    { (exit 1); exit 1; }; }
122446          fi;;
122447       esac
122448     done` || { (exit 1); exit 1; }
122449   # Remove the trailing spaces.
122450   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
122451
122452 _ACEOF
122453
122454 # Transform confdefs.h into two sed scripts, `conftest.defines' and
122455 # `conftest.undefs', that substitutes the proper values into
122456 # config.h.in to produce config.h.  The first handles `#define'
122457 # templates, and the second `#undef' templates.
122458 # And first: Protect against being on the right side of a sed subst in
122459 # config.status.  Protect against being in an unquoted here document
122460 # in config.status.
122461 rm -f conftest.defines conftest.undefs
122462 # Using a here document instead of a string reduces the quoting nightmare.
122463 # Putting comments in sed scripts is not portable.
122464 #
122465 # `end' is used to avoid that the second main sed command (meant for
122466 # 0-ary CPP macros) applies to n-ary macro definitions.
122467 # See the Autoconf documentation for `clear'.
122468 cat >confdef2sed.sed <<\_ACEOF
122469 s/[\\&,]/\\&/g
122470 s,[\\$`],\\&,g
122471 t clear
122472 : clear
122473 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
122474 t end
122475 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
122476 : end
122477 _ACEOF
122478 # If some macros were called several times there might be several times
122479 # the same #defines, which is useless.  Nevertheless, we may not want to
122480 # sort them, since we want the *last* AC-DEFINE to be honored.
122481 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
122482 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
122483 rm -f confdef2sed.sed
122484
122485 # This sed command replaces #undef with comments.  This is necessary, for
122486 # example, in the case of _POSIX_SOURCE, which is predefined and required
122487 # on some systems where configure will not decide to define it.
122488 cat >>conftest.undefs <<\_ACEOF
122489 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
122490 _ACEOF
122491
122492 # Break up conftest.defines because some shells have a limit on the size
122493 # of here documents, and old seds have small limits too (100 cmds).
122494 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
122495 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
122496 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
122497 echo '  :' >>$CONFIG_STATUS
122498 rm -f conftest.tail
122499 while grep . conftest.defines >/dev/null
122500 do
122501   # Write a limited-size here document to $tmp/defines.sed.
122502   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
122503   # Speed up: don't consider the non `#define' lines.
122504   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
122505   # Work around the forget-to-reset-the-flag bug.
122506   echo 't clr' >>$CONFIG_STATUS
122507   echo ': clr' >>$CONFIG_STATUS
122508   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
122509   echo 'CEOF
122510   sed -f $tmp/defines.sed $tmp/in >$tmp/out
122511   rm -f $tmp/in
122512   mv $tmp/out $tmp/in
122513 ' >>$CONFIG_STATUS
122514   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
122515   rm -f conftest.defines
122516   mv conftest.tail conftest.defines
122517 done
122518 rm -f conftest.defines
122519 echo '  fi # grep' >>$CONFIG_STATUS
122520 echo >>$CONFIG_STATUS
122521
122522 # Break up conftest.undefs because some shells have a limit on the size
122523 # of here documents, and old seds have small limits too (100 cmds).
122524 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
122525 rm -f conftest.tail
122526 while grep . conftest.undefs >/dev/null
122527 do
122528   # Write a limited-size here document to $tmp/undefs.sed.
122529   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
122530   # Speed up: don't consider the non `#undef'
122531   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
122532   # Work around the forget-to-reset-the-flag bug.
122533   echo 't clr' >>$CONFIG_STATUS
122534   echo ': clr' >>$CONFIG_STATUS
122535   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
122536   echo 'CEOF
122537   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
122538   rm -f $tmp/in
122539   mv $tmp/out $tmp/in
122540 ' >>$CONFIG_STATUS
122541   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
122542   rm -f conftest.undefs
122543   mv conftest.tail conftest.undefs
122544 done
122545 rm -f conftest.undefs
122546
122547 cat >>$CONFIG_STATUS <<\_ACEOF
122548   # Let's still pretend it is `configure' which instantiates (i.e., don't
122549   # use $as_me), people would be surprised to read:
122550   #    /* config.h.  Generated by config.status.  */
122551   if test x"$ac_file" = x-; then
122552     echo "/* Generated by configure.  */" >$tmp/config.h
122553   else
122554     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
122555   fi
122556   cat $tmp/in >>$tmp/config.h
122557   rm -f $tmp/in
122558   if test x"$ac_file" != x-; then
122559     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
122560       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
122561 echo "$as_me: $ac_file is unchanged" >&6;}
122562     else
122563       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
122564 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122565          X"$ac_file" : 'X\(//\)[^/]' \| \
122566          X"$ac_file" : 'X\(//\)$' \| \
122567          X"$ac_file" : 'X\(/\)' \| \
122568          .     : '\(.\)' 2>/dev/null ||
122569 echo X"$ac_file" |
122570     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122571           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122572           /^X\(\/\/\)$/{ s//\1/; q; }
122573           /^X\(\/\).*/{ s//\1/; q; }
122574           s/.*/./; q'`
122575       { if $as_mkdir_p; then
122576     mkdir -p "$ac_dir"
122577   else
122578     as_dir="$ac_dir"
122579     as_dirs=
122580     while test ! -d "$as_dir"; do
122581       as_dirs="$as_dir $as_dirs"
122582       as_dir=`(dirname "$as_dir") 2>/dev/null ||
122583 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122584          X"$as_dir" : 'X\(//\)[^/]' \| \
122585          X"$as_dir" : 'X\(//\)$' \| \
122586          X"$as_dir" : 'X\(/\)' \| \
122587          .     : '\(.\)' 2>/dev/null ||
122588 echo X"$as_dir" |
122589     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122590           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122591           /^X\(\/\/\)$/{ s//\1/; q; }
122592           /^X\(\/\).*/{ s//\1/; q; }
122593           s/.*/./; q'`
122594     done
122595     test ! -n "$as_dirs" || mkdir $as_dirs
122596   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
122597 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
122598    { (exit 1); exit 1; }; }; }
122599
122600       rm -f $ac_file
122601       mv $tmp/config.h $ac_file
122602     fi
122603   else
122604     cat $tmp/config.h
122605     rm -f $tmp/config.h
122606   fi
122607 # Compute $ac_file's index in $config_headers.
122608 _am_stamp_count=1
122609 for _am_header in $config_headers :; do
122610   case $_am_header in
122611     $ac_file | $ac_file:* )
122612       break ;;
122613     * )
122614       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
122615   esac
122616 done
122617 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
122618 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122619          X$ac_file : 'X\(//\)[^/]' \| \
122620          X$ac_file : 'X\(//\)$' \| \
122621          X$ac_file : 'X\(/\)' \| \
122622          .     : '\(.\)' 2>/dev/null ||
122623 echo X$ac_file |
122624     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122625           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122626           /^X\(\/\/\)$/{ s//\1/; q; }
122627           /^X\(\/\).*/{ s//\1/; q; }
122628           s/.*/./; q'`/stamp-h$_am_stamp_count
122629 done
122630 _ACEOF
122631 cat >>$CONFIG_STATUS <<\_ACEOF
122632
122633 #
122634 # CONFIG_COMMANDS section.
122635 #
122636 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
122637   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
122638   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
122639   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
122640 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122641          X"$ac_dest" : 'X\(//\)[^/]' \| \
122642          X"$ac_dest" : 'X\(//\)$' \| \
122643          X"$ac_dest" : 'X\(/\)' \| \
122644          .     : '\(.\)' 2>/dev/null ||
122645 echo X"$ac_dest" |
122646     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122647           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122648           /^X\(\/\/\)$/{ s//\1/; q; }
122649           /^X\(\/\).*/{ s//\1/; q; }
122650           s/.*/./; q'`
122651   { if $as_mkdir_p; then
122652     mkdir -p "$ac_dir"
122653   else
122654     as_dir="$ac_dir"
122655     as_dirs=
122656     while test ! -d "$as_dir"; do
122657       as_dirs="$as_dir $as_dirs"
122658       as_dir=`(dirname "$as_dir") 2>/dev/null ||
122659 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122660          X"$as_dir" : 'X\(//\)[^/]' \| \
122661          X"$as_dir" : 'X\(//\)$' \| \
122662          X"$as_dir" : 'X\(/\)' \| \
122663          .     : '\(.\)' 2>/dev/null ||
122664 echo X"$as_dir" |
122665     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122666           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122667           /^X\(\/\/\)$/{ s//\1/; q; }
122668           /^X\(\/\).*/{ s//\1/; q; }
122669           s/.*/./; q'`
122670     done
122671     test ! -n "$as_dirs" || mkdir $as_dirs
122672   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
122673 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
122674    { (exit 1); exit 1; }; }; }
122675
122676   ac_builddir=.
122677
122678 if test "$ac_dir" != .; then
122679   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
122680   # A "../" for each directory in $ac_dir_suffix.
122681   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
122682 else
122683   ac_dir_suffix= ac_top_builddir=
122684 fi
122685
122686 case $srcdir in
122687   .)  # No --srcdir option.  We are building in place.
122688     ac_srcdir=.
122689     if test -z "$ac_top_builddir"; then
122690        ac_top_srcdir=.
122691     else
122692        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
122693     fi ;;
122694   [\\/]* | ?:[\\/]* )  # Absolute path.
122695     ac_srcdir=$srcdir$ac_dir_suffix;
122696     ac_top_srcdir=$srcdir ;;
122697   *) # Relative path.
122698     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
122699     ac_top_srcdir=$ac_top_builddir$srcdir ;;
122700 esac
122701
122702 # Do not use `cd foo && pwd` to compute absolute paths, because
122703 # the directories may not exist.
122704 case `pwd` in
122705 .) ac_abs_builddir="$ac_dir";;
122706 *)
122707   case "$ac_dir" in
122708   .) ac_abs_builddir=`pwd`;;
122709   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
122710   *) ac_abs_builddir=`pwd`/"$ac_dir";;
122711   esac;;
122712 esac
122713 case $ac_abs_builddir in
122714 .) ac_abs_top_builddir=${ac_top_builddir}.;;
122715 *)
122716   case ${ac_top_builddir}. in
122717   .) ac_abs_top_builddir=$ac_abs_builddir;;
122718   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
122719   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
122720   esac;;
122721 esac
122722 case $ac_abs_builddir in
122723 .) ac_abs_srcdir=$ac_srcdir;;
122724 *)
122725   case $ac_srcdir in
122726   .) ac_abs_srcdir=$ac_abs_builddir;;
122727   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
122728   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
122729   esac;;
122730 esac
122731 case $ac_abs_builddir in
122732 .) ac_abs_top_srcdir=$ac_top_srcdir;;
122733 *)
122734   case $ac_top_srcdir in
122735   .) ac_abs_top_srcdir=$ac_abs_builddir;;
122736   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
122737   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
122738   esac;;
122739 esac
122740
122741
122742   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
122743 echo "$as_me: executing $ac_dest commands" >&6;}
122744   case $ac_dest in
122745     default-1 )
122746 # Only add multilib support code if we just rebuilt the top-level
122747 # Makefile.
122748 case " $CONFIG_FILES " in
122749  *" Makefile "*)
122750    ac_file=Makefile . ${multi_basedir}/config-ml.in
122751    ;;
122752 esac ;;
122753     libtool )
122754
122755     # See if we are running on zsh, and set the options which allow our
122756     # commands through without removal of \ escapes.
122757     if test -n "${ZSH_VERSION+set}" ; then
122758       setopt NO_GLOB_SUBST
122759     fi
122760
122761     cfgfile="${ofile}T"
122762     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
122763     $RM "$cfgfile"
122764
122765     cat <<_LT_EOF >> "$cfgfile"
122766 #! $SHELL
122767
122768 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
122769 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
122770 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
122771 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
122772 #
122773 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
122774 # 2006, 2007 Free Software Foundation, Inc.
122775 #
122776 # This file is part of GNU Libtool:
122777 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
122778 #
122779 # This program is free software; you can redistribute it and/or modify
122780 # it under the terms of the GNU General Public License as published by
122781 # the Free Software Foundation; either version 2 of the License, or
122782 # (at your option) any later version.
122783 #
122784 # This program is distributed in the hope that it will be useful, but
122785 # WITHOUT ANY WARRANTY; without even the implied warranty of
122786 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
122787 # General Public License for more details.
122788 #
122789 # You should have received a copy of the GNU General Public License
122790 # along with this program; if not, a copy can be downloaded from
122791 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
122792 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
122793 # MA 02110-1301, USA.
122794 #
122795 # As a special exception to the GNU General Public License, if you
122796 # distribute this file as part of a program that contains a
122797 # configuration script generated by Autoconf, you may include it under
122798 # the same distribution terms that you use for the rest of that program.
122799
122800
122801 # The names of the tagged configurations supported by this script.
122802 available_tags="CXX "
122803
122804 # ### BEGIN LIBTOOL CONFIG
122805
122806 # Which release of libtool.m4 was used?
122807 macro_version=$macro_version
122808 macro_revision=$macro_revision
122809
122810 # Whether or not to build shared libraries.
122811 build_libtool_libs=$enable_shared
122812
122813 # Whether or not to build static libraries.
122814 build_old_libs=$enable_static
122815
122816 # What type of objects to build.
122817 pic_mode=$pic_mode
122818
122819 # Whether or not to optimize for fast installation.
122820 fast_install=$enable_fast_install
122821
122822 # The host system.
122823 host_alias=$host_alias
122824 host=$host
122825 host_os=$host_os
122826
122827 # The build system.
122828 build_alias=$build_alias
122829 build=$build
122830 build_os=$build_os
122831
122832 # A sed program that does not truncate output.
122833 SED=$lt_SED
122834
122835 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
122836 Xsed="\$SED -e 1s/^X//"
122837
122838 # A grep program that handles long lines.
122839 GREP=$lt_GREP
122840
122841 # An ERE matcher.
122842 EGREP=$lt_EGREP
122843
122844 # A literal string matcher.
122845 FGREP=$lt_FGREP
122846
122847 # A BSD- or MS-compatible name lister.
122848 NM=$lt_NM
122849
122850 # Whether we need soft or hard links.
122851 LN_S=$lt_LN_S
122852
122853 # What is the maximum length of a command?
122854 max_cmd_len=$max_cmd_len
122855
122856 # Object file suffix (normally "o").
122857 objext=$ac_objext
122858
122859 # Executable file suffix (normally "").
122860 exeext=$exeext
122861
122862 # whether the shell understands "unset".
122863 lt_unset=$lt_unset
122864
122865 # turn spaces into newlines.
122866 SP2NL=$lt_lt_SP2NL
122867
122868 # turn newlines into spaces.
122869 NL2SP=$lt_lt_NL2SP
122870
122871 # How to create reloadable object files.
122872 reload_flag=$lt_reload_flag
122873 reload_cmds=$lt_reload_cmds
122874
122875 # Method to check whether dependent libraries are shared objects.
122876 deplibs_check_method=$lt_deplibs_check_method
122877
122878 # Command to use when deplibs_check_method == "file_magic".
122879 file_magic_cmd=$lt_file_magic_cmd
122880
122881 # The archiver.
122882 AR=$lt_AR
122883 AR_FLAGS=$lt_AR_FLAGS
122884
122885 # A symbol stripping program.
122886 STRIP=$lt_STRIP
122887
122888 # Commands used to install an old-style archive.
122889 RANLIB=$lt_RANLIB
122890 old_postinstall_cmds=$lt_old_postinstall_cmds
122891 old_postuninstall_cmds=$lt_old_postuninstall_cmds
122892
122893 # A C compiler.
122894 LTCC=$lt_CC
122895
122896 # LTCC compiler flags.
122897 LTCFLAGS=$lt_CFLAGS
122898
122899 # Take the output of nm and produce a listing of raw symbols and C names.
122900 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
122901
122902 # Transform the output of nm in a proper C declaration.
122903 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
122904
122905 # Transform the output of nm in a C name address pair.
122906 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
122907
122908 # The name of the directory that contains temporary libtool files.
122909 objdir=$objdir
122910
122911 # Shell to use when invoking shell scripts.
122912 SHELL=$lt_SHELL
122913
122914 # An echo program that does not interpret backslashes.
122915 ECHO=$lt_ECHO
122916
122917 # Used to examine libraries when file_magic_cmd begins with "file".
122918 MAGIC_CMD=$MAGIC_CMD
122919
122920 # Must we lock files when doing compilation?
122921 need_locks=$lt_need_locks
122922
122923 # Old archive suffix (normally "a").
122924 libext=$libext
122925
122926 # Shared library suffix (normally ".so").
122927 shrext_cmds=$lt_shrext_cmds
122928
122929 # The commands to extract the exported symbol list from a shared archive.
122930 extract_expsyms_cmds=$lt_extract_expsyms_cmds
122931
122932 # Variables whose values should be saved in libtool wrapper scripts and
122933 # restored at link time.
122934 variables_saved_for_relink=$lt_variables_saved_for_relink
122935
122936 # Do we need the "lib" prefix for modules?
122937 need_lib_prefix=$need_lib_prefix
122938
122939 # Do we need a version for libraries?
122940 need_version=$need_version
122941
122942 # Library versioning type.
122943 version_type=$version_type
122944
122945 # Shared library runtime path variable.
122946 runpath_var=$runpath_var
122947
122948 # Shared library path variable.
122949 shlibpath_var=$shlibpath_var
122950
122951 # Is shlibpath searched before the hard-coded library search path?
122952 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
122953
122954 # Format of library name prefix.
122955 libname_spec=$lt_libname_spec
122956
122957 # List of archive names.  First name is the real one, the rest are links.
122958 # The last name is the one that the linker finds with -lNAME
122959 library_names_spec=$lt_library_names_spec
122960
122961 # The coded name of the library, if different from the real name.
122962 soname_spec=$lt_soname_spec
122963
122964 # Command to use after installation of a shared archive.
122965 postinstall_cmds=$lt_postinstall_cmds
122966
122967 # Command to use after uninstallation of a shared archive.
122968 postuninstall_cmds=$lt_postuninstall_cmds
122969
122970 # Commands used to finish a libtool library installation in a directory.
122971 finish_cmds=$lt_finish_cmds
122972
122973 # As "finish_cmds", except a single script fragment to be evaled but
122974 # not shown.
122975 finish_eval=$lt_finish_eval
122976
122977 # Whether we should hardcode library paths into libraries.
122978 hardcode_into_libs=$hardcode_into_libs
122979
122980 # Compile-time system search path for libraries.
122981 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
122982
122983 # Run-time system search path for libraries.
122984 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
122985
122986 # Whether dlopen is supported.
122987 dlopen_support=$enable_dlopen
122988
122989 # Whether dlopen of programs is supported.
122990 dlopen_self=$enable_dlopen_self
122991
122992 # Whether dlopen of statically linked programs is supported.
122993 dlopen_self_static=$enable_dlopen_self_static
122994
122995 # Commands to strip libraries.
122996 old_striplib=$lt_old_striplib
122997 striplib=$lt_striplib
122998
122999
123000 # The linker used to build libraries.
123001 LD=$lt_LD
123002
123003 # Commands used to build an old-style archive.
123004 old_archive_cmds=$lt_old_archive_cmds
123005
123006 # A language specific compiler.
123007 CC=$lt_compiler
123008
123009 # Is the compiler the GNU compiler?
123010 with_gcc=$GCC
123011
123012 # Compiler flag to turn off builtin functions.
123013 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
123014
123015 # How to pass a linker flag through the compiler.
123016 wl=$lt_lt_prog_compiler_wl
123017
123018 # Additional compiler flags for building library objects.
123019 pic_flag=$lt_lt_prog_compiler_pic
123020
123021 # Compiler flag to prevent dynamic linking.
123022 link_static_flag=$lt_lt_prog_compiler_static
123023
123024 # Does compiler simultaneously support -c and -o options?
123025 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
123026
123027 # Whether or not to add -lc for building shared libraries.
123028 build_libtool_need_lc=$archive_cmds_need_lc
123029
123030 # Whether or not to disallow shared libs when runtime libs are static.
123031 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
123032
123033 # Compiler flag to allow reflexive dlopens.
123034 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
123035
123036 # Compiler flag to generate shared objects directly from archives.
123037 whole_archive_flag_spec=$lt_whole_archive_flag_spec
123038
123039 # Whether the compiler copes with passing no objects directly.
123040 compiler_needs_object=$lt_compiler_needs_object
123041
123042 # Create an old-style archive from a shared archive.
123043 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
123044
123045 # Create a temporary old-style archive to link instead of a shared archive.
123046 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
123047
123048 # Commands used to build a shared archive.
123049 archive_cmds=$lt_archive_cmds
123050 archive_expsym_cmds=$lt_archive_expsym_cmds
123051
123052 # Commands used to build a loadable module if different from building
123053 # a shared archive.
123054 module_cmds=$lt_module_cmds
123055 module_expsym_cmds=$lt_module_expsym_cmds
123056
123057 # Whether we are building with GNU ld or not.
123058 with_gnu_ld=$lt_with_gnu_ld
123059
123060 # Flag that allows shared libraries with undefined symbols to be built.
123061 allow_undefined_flag=$lt_allow_undefined_flag
123062
123063 # Flag that enforces no undefined symbols.
123064 no_undefined_flag=$lt_no_undefined_flag
123065
123066 # Flag to hardcode \$libdir into a binary during linking.
123067 # This must work even if \$libdir does not exist
123068 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
123069
123070 # If ld is used when linking, flag to hardcode \$libdir into a binary
123071 # during linking.  This must work even if \$libdir does not exist.
123072 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
123073
123074 # Whether we need a single "-rpath" flag with a separated argument.
123075 hardcode_libdir_separator=$lt_hardcode_libdir_separator
123076
123077 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
123078 # DIR into the resulting binary.
123079 hardcode_direct=$hardcode_direct
123080
123081 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
123082 # DIR into the resulting binary and the resulting library dependency is
123083 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
123084 # library is relocated.
123085 hardcode_direct_absolute=$hardcode_direct_absolute
123086
123087 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
123088 # into the resulting binary.
123089 hardcode_minus_L=$hardcode_minus_L
123090
123091 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
123092 # into the resulting binary.
123093 hardcode_shlibpath_var=$hardcode_shlibpath_var
123094
123095 # Set to "yes" if building a shared library automatically hardcodes DIR
123096 # into the library and all subsequent libraries and executables linked
123097 # against it.
123098 hardcode_automatic=$hardcode_automatic
123099
123100 # Set to yes if linker adds runtime paths of dependent libraries
123101 # to runtime path list.
123102 inherit_rpath=$inherit_rpath
123103
123104 # Whether libtool must link a program against all its dependency libraries.
123105 link_all_deplibs=$link_all_deplibs
123106
123107 # Fix the shell variable \$srcfile for the compiler.
123108 fix_srcfile_path=$lt_fix_srcfile_path
123109
123110 # Set to "yes" if exported symbols are required.
123111 always_export_symbols=$always_export_symbols
123112
123113 # The commands to list exported symbols.
123114 export_symbols_cmds=$lt_export_symbols_cmds
123115
123116 # Symbols that should not be listed in the preloaded symbols.
123117 exclude_expsyms=$lt_exclude_expsyms
123118
123119 # Symbols that must always be exported.
123120 include_expsyms=$lt_include_expsyms
123121
123122 # Commands necessary for linking programs (against libraries) with templates.
123123 prelink_cmds=$lt_prelink_cmds
123124
123125 # Specify filename containing input files.
123126 file_list_spec=$lt_file_list_spec
123127
123128 # How to hardcode a shared library path into an executable.
123129 hardcode_action=$hardcode_action
123130
123131 # Dependencies to place before and after the objects being linked to
123132 # create a shared library.
123133 predep_objects=$lt_predep_objects
123134 postdep_objects=$lt_postdep_objects
123135 predeps=$lt_predeps
123136 postdeps=$lt_postdeps
123137
123138 # The library search path used internally by the compiler when linking
123139 # a shared library.
123140 compiler_lib_search_path=$lt_compiler_lib_search_path
123141
123142 # ### END LIBTOOL CONFIG
123143
123144 _LT_EOF
123145
123146   case $host_os in
123147   aix3*)
123148     cat <<\_LT_EOF >> "$cfgfile"
123149 # AIX sometimes has problems with the GCC collect2 program.  For some
123150 # reason, if we set the COLLECT_NAMES environment variable, the problems
123151 # vanish in a puff of smoke.
123152 if test "X${COLLECT_NAMES+set}" != Xset; then
123153   COLLECT_NAMES=
123154   export COLLECT_NAMES
123155 fi
123156 _LT_EOF
123157     ;;
123158   esac
123159
123160
123161 ltmain="$ac_aux_dir/ltmain.sh"
123162
123163
123164   # We use sed instead of cat because bash on DJGPP gets confused if
123165   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
123166   # text mode, it properly converts lines to CR/LF.  This bash problem
123167   # is reportedly fixed, but why not run on old versions too?
123168   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
123169     || (rm -f "$cfgfile"; exit 1)
123170
123171   case $xsi_shell in
123172   yes)
123173     cat << \_LT_EOF >> "$cfgfile"
123174 # func_dirname file append nondir_replacement
123175 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
123176 # otherwise set result to NONDIR_REPLACEMENT.
123177 func_dirname ()
123178 {
123179   case ${1} in
123180     */*) func_dirname_result="${1%/*}${2}" ;;
123181     *  ) func_dirname_result="${3}" ;;
123182   esac
123183 }
123184
123185 # func_basename file
123186 func_basename ()
123187 {
123188   func_basename_result="${1##*/}"
123189 }
123190
123191 # func_stripname prefix suffix name
123192 # strip PREFIX and SUFFIX off of NAME.
123193 # PREFIX and SUFFIX must not contain globbing or regex special
123194 # characters, hashes, percent signs, but SUFFIX may contain a leading
123195 # dot (in which case that matches only a dot).
123196 func_stripname ()
123197 {
123198   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
123199   # positional parameters, so assign one to ordinary parameter first.
123200   func_stripname_result=${3}
123201   func_stripname_result=${func_stripname_result#"${1}"}
123202   func_stripname_result=${func_stripname_result%"${2}"}
123203 }
123204
123205 # func_opt_split
123206 func_opt_split ()
123207 {
123208   func_opt_split_opt=${1%%=*}
123209   func_opt_split_arg=${1#*=}
123210 }
123211
123212 # func_lo2o object
123213 func_lo2o ()
123214 {
123215   case ${1} in
123216     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
123217     *)    func_lo2o_result=${1} ;;
123218   esac
123219 }
123220 _LT_EOF
123221     ;;
123222   *) # Bourne compatible functions.
123223     cat << \_LT_EOF >> "$cfgfile"
123224 # func_dirname file append nondir_replacement
123225 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
123226 # otherwise set result to NONDIR_REPLACEMENT.
123227 func_dirname ()
123228 {
123229   # Extract subdirectory from the argument.
123230   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
123231   if test "X$func_dirname_result" = "X${1}"; then
123232     func_dirname_result="${3}"
123233   else
123234     func_dirname_result="$func_dirname_result${2}"
123235   fi
123236 }
123237
123238 # func_basename file
123239 func_basename ()
123240 {
123241   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
123242 }
123243
123244 # func_stripname prefix suffix name
123245 # strip PREFIX and SUFFIX off of NAME.
123246 # PREFIX and SUFFIX must not contain globbing or regex special
123247 # characters, hashes, percent signs, but SUFFIX may contain a leading
123248 # dot (in which case that matches only a dot).
123249 # func_strip_suffix prefix name
123250 func_stripname ()
123251 {
123252   case ${2} in
123253     .*) func_stripname_result=`$ECHO "X${3}" \
123254            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
123255     *)  func_stripname_result=`$ECHO "X${3}" \
123256            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
123257   esac
123258 }
123259
123260 # sed scripts:
123261 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
123262 my_sed_long_arg='1s/^-[^=]*=//'
123263
123264 # func_opt_split
123265 func_opt_split ()
123266 {
123267   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
123268   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
123269 }
123270
123271 # func_lo2o object
123272 func_lo2o ()
123273 {
123274   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
123275 }
123276 _LT_EOF
123277 esac
123278
123279 case $lt_shell_append in
123280   yes)
123281     cat << \_LT_EOF >> "$cfgfile"
123282
123283 # func_append var value
123284 # Append VALUE to the end of shell variable VAR.
123285 func_append ()
123286 {
123287   eval "$1+=\$2"
123288 }
123289 _LT_EOF
123290     ;;
123291   *)
123292     cat << \_LT_EOF >> "$cfgfile"
123293
123294 # func_append var value
123295 # Append VALUE to the end of shell variable VAR.
123296 func_append ()
123297 {
123298   eval "$1=\$$1\$2"
123299 }
123300 _LT_EOF
123301     ;;
123302   esac
123303
123304
123305   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
123306     || (rm -f "$cfgfile"; exit 1)
123307
123308   mv -f "$cfgfile" "$ofile" ||
123309     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
123310   chmod +x "$ofile"
123311
123312
123313     cat <<_LT_EOF >> "$ofile"
123314
123315 # ### BEGIN LIBTOOL TAG CONFIG: CXX
123316
123317 # The linker used to build libraries.
123318 LD=$lt_LD_CXX
123319
123320 # Commands used to build an old-style archive.
123321 old_archive_cmds=$lt_old_archive_cmds_CXX
123322
123323 # A language specific compiler.
123324 CC=$lt_compiler_CXX
123325
123326 # Is the compiler the GNU compiler?
123327 with_gcc=$GCC_CXX
123328
123329 # Compiler flag to turn off builtin functions.
123330 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
123331
123332 # How to pass a linker flag through the compiler.
123333 wl=$lt_lt_prog_compiler_wl_CXX
123334
123335 # Additional compiler flags for building library objects.
123336 pic_flag=$lt_lt_prog_compiler_pic_CXX
123337
123338 # Compiler flag to prevent dynamic linking.
123339 link_static_flag=$lt_lt_prog_compiler_static_CXX
123340
123341 # Does compiler simultaneously support -c and -o options?
123342 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
123343
123344 # Whether or not to add -lc for building shared libraries.
123345 build_libtool_need_lc=$archive_cmds_need_lc_CXX
123346
123347 # Whether or not to disallow shared libs when runtime libs are static.
123348 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
123349
123350 # Compiler flag to allow reflexive dlopens.
123351 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
123352
123353 # Compiler flag to generate shared objects directly from archives.
123354 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
123355
123356 # Whether the compiler copes with passing no objects directly.
123357 compiler_needs_object=$lt_compiler_needs_object_CXX
123358
123359 # Create an old-style archive from a shared archive.
123360 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
123361
123362 # Create a temporary old-style archive to link instead of a shared archive.
123363 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
123364
123365 # Commands used to build a shared archive.
123366 archive_cmds=$lt_archive_cmds_CXX
123367 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
123368
123369 # Commands used to build a loadable module if different from building
123370 # a shared archive.
123371 module_cmds=$lt_module_cmds_CXX
123372 module_expsym_cmds=$lt_module_expsym_cmds_CXX
123373
123374 # Whether we are building with GNU ld or not.
123375 with_gnu_ld=$lt_with_gnu_ld_CXX
123376
123377 # Flag that allows shared libraries with undefined symbols to be built.
123378 allow_undefined_flag=$lt_allow_undefined_flag_CXX
123379
123380 # Flag that enforces no undefined symbols.
123381 no_undefined_flag=$lt_no_undefined_flag_CXX
123382
123383 # Flag to hardcode \$libdir into a binary during linking.
123384 # This must work even if \$libdir does not exist
123385 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
123386
123387 # If ld is used when linking, flag to hardcode \$libdir into a binary
123388 # during linking.  This must work even if \$libdir does not exist.
123389 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
123390
123391 # Whether we need a single "-rpath" flag with a separated argument.
123392 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
123393
123394 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
123395 # DIR into the resulting binary.
123396 hardcode_direct=$hardcode_direct_CXX
123397
123398 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
123399 # DIR into the resulting binary and the resulting library dependency is
123400 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
123401 # library is relocated.
123402 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
123403
123404 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
123405 # into the resulting binary.
123406 hardcode_minus_L=$hardcode_minus_L_CXX
123407
123408 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
123409 # into the resulting binary.
123410 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
123411
123412 # Set to "yes" if building a shared library automatically hardcodes DIR
123413 # into the library and all subsequent libraries and executables linked
123414 # against it.
123415 hardcode_automatic=$hardcode_automatic_CXX
123416
123417 # Set to yes if linker adds runtime paths of dependent libraries
123418 # to runtime path list.
123419 inherit_rpath=$inherit_rpath_CXX
123420
123421 # Whether libtool must link a program against all its dependency libraries.
123422 link_all_deplibs=$link_all_deplibs_CXX
123423
123424 # Fix the shell variable \$srcfile for the compiler.
123425 fix_srcfile_path=$lt_fix_srcfile_path_CXX
123426
123427 # Set to "yes" if exported symbols are required.
123428 always_export_symbols=$always_export_symbols_CXX
123429
123430 # The commands to list exported symbols.
123431 export_symbols_cmds=$lt_export_symbols_cmds_CXX
123432
123433 # Symbols that should not be listed in the preloaded symbols.
123434 exclude_expsyms=$lt_exclude_expsyms_CXX
123435
123436 # Symbols that must always be exported.
123437 include_expsyms=$lt_include_expsyms_CXX
123438
123439 # Commands necessary for linking programs (against libraries) with templates.
123440 prelink_cmds=$lt_prelink_cmds_CXX
123441
123442 # Specify filename containing input files.
123443 file_list_spec=$lt_file_list_spec_CXX
123444
123445 # How to hardcode a shared library path into an executable.
123446 hardcode_action=$hardcode_action_CXX
123447
123448 # Dependencies to place before and after the objects being linked to
123449 # create a shared library.
123450 predep_objects=$lt_predep_objects_CXX
123451 postdep_objects=$lt_postdep_objects_CXX
123452 predeps=$lt_predeps_CXX
123453 postdeps=$lt_postdeps_CXX
123454
123455 # The library search path used internally by the compiler when linking
123456 # a shared library.
123457 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
123458
123459 # ### END LIBTOOL TAG CONFIG: CXX
123460 _LT_EOF
123461
123462  ;;
123463     include/gstdint.h )
123464 if test "$GCC" = yes; then
123465   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
123466 else
123467   echo "/* generated for $CC */" > tmp-stdint.h
123468 fi
123469
123470 sed 's/^ *//' >> tmp-stdint.h <<EOF
123471
123472   #ifndef GCC_GENERATED_STDINT_H
123473   #define GCC_GENERATED_STDINT_H 1
123474
123475   #include <sys/types.h>
123476 EOF
123477
123478 if test "$acx_cv_header_stdint" != stdint.h; then
123479   echo "#include <stddef.h>" >> tmp-stdint.h
123480 fi
123481 if test "$acx_cv_header_stdint" != stddef.h; then
123482   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
123483 fi
123484
123485 sed 's/^ *//' >> tmp-stdint.h <<EOF
123486   /* glibc uses these symbols as guards to prevent redefinitions.  */
123487   #ifdef __int8_t_defined
123488   #define _INT8_T
123489   #define _INT16_T
123490   #define _INT32_T
123491   #endif
123492   #ifdef __uint32_t_defined
123493   #define _UINT32_T
123494   #endif
123495
123496 EOF
123497
123498 # ----------------- done header, emit basic int types -------------
123499 if test "$acx_cv_header_stdint" = stddef.h; then
123500   sed 's/^ *//' >> tmp-stdint.h <<EOF
123501
123502     #ifndef _UINT8_T
123503     #define _UINT8_T
123504     #ifndef __uint8_t_defined
123505     #define __uint8_t_defined
123506     typedef unsigned $acx_cv_type_int8_t uint8_t;
123507     #endif
123508     #endif
123509
123510     #ifndef _UINT16_T
123511     #define _UINT16_T
123512     #ifndef __uint16_t_defined
123513     #define __uint16_t_defined
123514     typedef unsigned $acx_cv_type_int16_t uint16_t;
123515     #endif
123516     #endif
123517
123518     #ifndef _UINT32_T
123519     #define _UINT32_T
123520     #ifndef __uint32_t_defined
123521     #define __uint32_t_defined
123522     typedef unsigned $acx_cv_type_int32_t uint32_t;
123523     #endif
123524     #endif
123525
123526     #ifndef _INT8_T
123527     #define _INT8_T
123528     #ifndef __int8_t_defined
123529     #define __int8_t_defined
123530     typedef $acx_cv_type_int8_t int8_t;
123531     #endif
123532     #endif
123533
123534     #ifndef _INT16_T
123535     #define _INT16_T
123536     #ifndef __int16_t_defined
123537     #define __int16_t_defined
123538     typedef $acx_cv_type_int16_t int16_t;
123539     #endif
123540     #endif
123541
123542     #ifndef _INT32_T
123543     #define _INT32_T
123544     #ifndef __int32_t_defined
123545     #define __int32_t_defined
123546     typedef $acx_cv_type_int32_t int32_t;
123547     #endif
123548     #endif
123549 EOF
123550 elif test "$ac_cv_type_u_int32_t" = yes; then
123551   sed 's/^ *//' >> tmp-stdint.h <<EOF
123552
123553     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
123554     #ifndef _INT8_T
123555     #define _INT8_T
123556     #endif
123557     #ifndef _INT16_T
123558     #define _INT16_T
123559     #endif
123560     #ifndef _INT32_T
123561     #define _INT32_T
123562     #endif
123563
123564     #ifndef _UINT8_T
123565     #define _UINT8_T
123566     #ifndef __uint8_t_defined
123567     #define __uint8_t_defined
123568     typedef u_int8_t uint8_t;
123569     #endif
123570     #endif
123571
123572     #ifndef _UINT16_T
123573     #define _UINT16_T
123574     #ifndef __uint16_t_defined
123575     #define __uint16_t_defined
123576     typedef u_int16_t uint16_t;
123577     #endif
123578     #endif
123579
123580     #ifndef _UINT32_T
123581     #define _UINT32_T
123582     #ifndef __uint32_t_defined
123583     #define __uint32_t_defined
123584     typedef u_int32_t uint32_t;
123585     #endif
123586     #endif
123587 EOF
123588 else
123589   sed 's/^ *//' >> tmp-stdint.h <<EOF
123590
123591     /* Some systems have guard macros to prevent redefinitions, define them.  */
123592     #ifndef _INT8_T
123593     #define _INT8_T
123594     #endif
123595     #ifndef _INT16_T
123596     #define _INT16_T
123597     #endif
123598     #ifndef _INT32_T
123599     #define _INT32_T
123600     #endif
123601     #ifndef _UINT8_T
123602     #define _UINT8_T
123603     #endif
123604     #ifndef _UINT16_T
123605     #define _UINT16_T
123606     #endif
123607     #ifndef _UINT32_T
123608     #define _UINT32_T
123609     #endif
123610 EOF
123611 fi
123612
123613 # ------------- done basic int types, emit int64_t types ------------
123614 if test "$ac_cv_type_uint64_t" = yes; then
123615   sed 's/^ *//' >> tmp-stdint.h <<EOF
123616
123617     /* system headers have good uint64_t and int64_t */
123618     #ifndef _INT64_T
123619     #define _INT64_T
123620     #endif
123621     #ifndef _UINT64_T
123622     #define _UINT64_T
123623     #endif
123624 EOF
123625 elif test "$ac_cv_type_u_int64_t" = yes; then
123626   sed 's/^ *//' >> tmp-stdint.h <<EOF
123627
123628     /* system headers have an u_int64_t (and int64_t) */
123629     #ifndef _INT64_T
123630     #define _INT64_T
123631     #endif
123632     #ifndef _UINT64_T
123633     #define _UINT64_T
123634     #ifndef __uint64_t_defined
123635     #define __uint64_t_defined
123636     typedef u_int64_t uint64_t;
123637     #endif
123638     #endif
123639 EOF
123640 elif test -n "$acx_cv_type_int64_t"; then
123641   sed 's/^ *//' >> tmp-stdint.h <<EOF
123642
123643     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
123644     #ifndef _INT64_T
123645     #define _INT64_T
123646     typedef $acx_cv_type_int64_t int64_t;
123647     #endif
123648     #ifndef _UINT64_T
123649     #define _UINT64_T
123650     #ifndef __uint64_t_defined
123651     #define __uint64_t_defined
123652     typedef unsigned $acx_cv_type_int64_t uint64_t;
123653     #endif
123654     #endif
123655 EOF
123656 else
123657   sed 's/^ *//' >> tmp-stdint.h <<EOF
123658
123659     /* some common heuristics for int64_t, using compiler-specific tests */
123660     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
123661     #ifndef _INT64_T
123662     #define _INT64_T
123663     #ifndef __int64_t_defined
123664     typedef long long int64_t;
123665     #endif
123666     #endif
123667     #ifndef _UINT64_T
123668     #define _UINT64_T
123669     typedef unsigned long long uint64_t;
123670     #endif
123671
123672     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
123673     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
123674        does not implement __extension__.  But that compiler doesn't define
123675        __GNUC_MINOR__.  */
123676     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
123677     # define __extension__
123678     # endif
123679
123680     # ifndef _INT64_T
123681     # define _INT64_T
123682     __extension__ typedef long long int64_t;
123683     # endif
123684     # ifndef _UINT64_T
123685     # define _UINT64_T
123686     __extension__ typedef unsigned long long uint64_t;
123687     # endif
123688
123689     #elif !defined __STRICT_ANSI__
123690     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
123691
123692     #  ifndef _INT64_T
123693     #  define _INT64_T
123694     typedef __int64 int64_t;
123695     #  endif
123696     #  ifndef _UINT64_T
123697     #  define _UINT64_T
123698     typedef unsigned __int64 uint64_t;
123699     #  endif
123700     # endif /* compiler */
123701
123702     #endif /* ANSI version */
123703 EOF
123704 fi
123705
123706 # ------------- done int64_t types, emit intptr types ------------
123707 if test "$ac_cv_type_uintptr_t" != yes; then
123708   sed 's/^ *//' >> tmp-stdint.h <<EOF
123709
123710     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
123711     #ifndef __uintptr_t_defined
123712     typedef u$acx_cv_type_intptr_t uintptr_t;
123713     #endif
123714     #ifndef __intptr_t_defined
123715     typedef $acx_cv_type_intptr_t  intptr_t;
123716     #endif
123717 EOF
123718 fi
123719
123720 # ------------- done intptr types, emit int_least types ------------
123721 if test "$ac_cv_type_int_least32_t" != yes; then
123722   sed 's/^ *//' >> tmp-stdint.h <<EOF
123723
123724     /* Define int_least types */
123725     typedef int8_t     int_least8_t;
123726     typedef int16_t    int_least16_t;
123727     typedef int32_t    int_least32_t;
123728     #ifdef _INT64_T
123729     typedef int64_t    int_least64_t;
123730     #endif
123731
123732     typedef uint8_t    uint_least8_t;
123733     typedef uint16_t   uint_least16_t;
123734     typedef uint32_t   uint_least32_t;
123735     #ifdef _UINT64_T
123736     typedef uint64_t   uint_least64_t;
123737     #endif
123738 EOF
123739 fi
123740
123741 # ------------- done intptr types, emit int_fast types ------------
123742 if test "$ac_cv_type_int_fast32_t" != yes; then
123743       sed 's/^ *//' >> tmp-stdint.h <<EOF
123744
123745     /* Define int_fast types.  short is often slow */
123746     typedef int8_t       int_fast8_t;
123747     typedef int          int_fast16_t;
123748     typedef int32_t      int_fast32_t;
123749     #ifdef _INT64_T
123750     typedef int64_t      int_fast64_t;
123751     #endif
123752
123753     typedef uint8_t      uint_fast8_t;
123754     typedef unsigned int uint_fast16_t;
123755     typedef uint32_t     uint_fast32_t;
123756     #ifdef _UINT64_T
123757     typedef uint64_t     uint_fast64_t;
123758     #endif
123759 EOF
123760 fi
123761
123762 if test "$ac_cv_type_uintmax_t" != yes; then
123763   sed 's/^ *//' >> tmp-stdint.h <<EOF
123764
123765     /* Define intmax based on what we found */
123766     #ifdef _INT64_T
123767     typedef int64_t       intmax_t;
123768     #else
123769     typedef long          intmax_t;
123770     #endif
123771     #ifdef _UINT64_T
123772     typedef uint64_t      uintmax_t;
123773     #else
123774     typedef unsigned long uintmax_t;
123775     #endif
123776 EOF
123777 fi
123778
123779 sed 's/^ *//' >> tmp-stdint.h <<EOF
123780
123781   #endif /* GCC_GENERATED_STDINT_H */
123782 EOF
123783
123784 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
123785   rm -f tmp-stdint.h
123786 else
123787   mv -f tmp-stdint.h include/gstdint.h
123788 fi
123789
123790  ;;
123791     default ) if test -n "$CONFIG_FILES"; then
123792    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
123793    # that multilib installs will end up installed in the correct place.
123794    # The testsuite needs it for multilib-aware ABI baseline files.
123795    # To work around this not being passed down from config-ml.in ->
123796    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
123797    # append it here.  Only modify Makefiles that have just been created.
123798    #
123799    # Also, get rid of this simulated-VPATH thing that automake does.
123800    cat > vpsed << \_EOF
123801 s!`test -f '$<' || echo '$(srcdir)/'`!!
123802 _EOF
123803    for i in $SUBDIRS; do
123804     case $CONFIG_FILES in
123805      *${i}/Makefile*)
123806        #echo "Adding MULTISUBDIR to $i/Makefile"
123807        sed -f vpsed $i/Makefile > tmp
123808        grep '^MULTISUBDIR =' Makefile >> tmp
123809        mv tmp $i/Makefile
123810        ;;
123811     esac
123812    done
123813    rm vpsed
123814  fi
123815  (cd include && ${MAKE-make})
123816  ;;
123817   esac
123818 done
123819 _ACEOF
123820
123821 cat >>$CONFIG_STATUS <<\_ACEOF
123822
123823 { (exit 0); exit 0; }
123824 _ACEOF
123825 chmod +x $CONFIG_STATUS
123826 ac_clean_files=$ac_clean_files_save
123827
123828
123829 # configure is writing to config.log, and then calls config.status.
123830 # config.status does its own redirection, appending to config.log.
123831 # Unfortunately, on DOS this fails, as config.log is still kept open
123832 # by configure, so config.status won't be able to write to it; its
123833 # output is simply discarded.  So we exec the FD to /dev/null,
123834 # effectively closing config.log, so it can be properly (re)opened and
123835 # appended to by config.status.  When coming back to configure, we
123836 # need to make the FD available again.
123837 if test "$no_create" != yes; then
123838   ac_cs_success=:
123839   ac_config_status_args=
123840   test "$silent" = yes &&
123841     ac_config_status_args="$ac_config_status_args --quiet"
123842   exec 5>/dev/null
123843   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
123844   exec 5>>config.log
123845   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
123846   # would make configure fail if this is the last instruction.
123847   $ac_cs_success || { (exit 1); exit 1; }
123848 fi
123849